Skip to content

Commit 429ce56

Browse files
committed
Merge branch 'fson-lodash-modules'
2 parents 8ed6c43 + 2f554d8 commit 429ce56

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

lib/entities/asset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {cloneDeep} from 'lodash/lang'
1+
import cloneDeep from 'lodash/cloneDeep'
22
import mixinToPlainObject from 'contentful-sdk-core/mixins/to-plain-object'
33
import freezeSys from 'contentful-sdk-core/freeze-sys'
44

lib/entities/content-type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {cloneDeep} from 'lodash/lang'
1+
import cloneDeep from 'lodash/cloneDeep'
22
import mixinToPlainObject from 'contentful-sdk-core/mixins/to-plain-object'
33
import freezeSys from 'contentful-sdk-core/freeze-sys'
44

lib/entities/entry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {cloneDeep} from 'lodash/lang'
2-
import {uniq} from 'lodash/array'
1+
import cloneDeep from 'lodash/cloneDeep'
2+
import uniq from 'lodash/uniq'
33
import mixinToPlainObject from 'contentful-sdk-core/mixins/to-plain-object'
44
import freezeSys from 'contentful-sdk-core/freeze-sys'
55
import mixinLinkGetters from '../mixins/link-getters'

lib/mixins/link-getters.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
import {map, each, find} from 'lodash/collection'
2-
import {get} from 'lodash/object'
3-
import {partial, memoize} from 'lodash/function'
1+
import map from 'lodash/map'
2+
import each from 'lodash/each'
3+
import find from 'lodash/find'
4+
import get from 'lodash/get'
5+
import partial from 'lodash/partial'
6+
import memoize from 'lodash/memoize'
47

58
/**
69
* Sets getters on links for a given response

lib/paged-sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* See <a href="https://www.contentful.com/developers/docs/concepts/sync/">Synchronization</a> for more information.
33
* @namespace Sync
44
*/
5-
import {filter} from 'lodash/collection'
6-
import {cloneDeep} from 'lodash/lang'
5+
import filter from 'lodash/filter'
6+
import cloneDeep from 'lodash/cloneDeep'
77
import createRequestConfig from 'contentful-sdk-core/create-request-config'
88
import freezeSys from 'contentful-sdk-core/freeze-sys'
99
import mixinLinkGetters from './mixins/link-getters'

0 commit comments

Comments
 (0)