File tree Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 5
5
* @see ContentfulClientAPI
6
6
*/
7
7
8
- import { assign } from 'lodash/object '
8
+ import assign from 'lodash/assign '
9
9
import version from '../version'
10
10
import createHttpClient from 'contentful-sdk-core/create-http-client'
11
11
import createContentfulApi from './create-contentful-api'
Original file line number Diff line number Diff line change 1
1
import test from 'blue-tape'
2
- import { filter , map } from 'lodash/collection'
2
+ import filter from 'lodash/filter'
3
+ import map from 'lodash/map'
3
4
import contentful from '../../'
4
5
5
6
const params = {
Original file line number Diff line number Diff line change 1
1
import test from 'tape'
2
- import { assign } from 'lodash/object '
3
- import { cloneDeep } from 'lodash/lang '
2
+ import assign from 'lodash/assign '
3
+ import cloneDeep from 'lodash/cloneDeep '
4
4
import { sysMock } from '../mocks'
5
5
6
6
import { wrapContentType , wrapContentTypeCollection } from '../../../lib/entities/content-type'
Original file line number Diff line number Diff line change 1
1
import test from 'tape'
2
2
3
3
import { entryMock , assetMock } from '../mocks'
4
- import { cloneDeep } from 'lodash/lang '
4
+ import cloneDeep from 'lodash/cloneDeep '
5
5
import { wrapEntry , wrapEntryCollection } from '../../../lib/entities/entry'
6
6
7
7
test ( 'Entry is wrapped' , ( t ) => {
Original file line number Diff line number Diff line change 1
- import { assign } from 'lodash/object '
2
- import { cloneDeep } from 'lodash/lang '
1
+ import assign from 'lodash/assign '
2
+ import cloneDeep from 'lodash/cloneDeep '
3
3
4
4
const linkMock = {
5
5
id : 'linkid' ,
Original file line number Diff line number Diff line change 1
1
import test from 'blue-tape'
2
2
import sinon from 'sinon'
3
- import { cloneDeep } from 'lodash/lang '
3
+ import cloneDeep from 'lodash/cloneDeep '
4
4
import { entryMock , assetMock } from './mocks'
5
5
import pagedSync from '../../lib/paged-sync'
6
6
You can’t perform that action at this time.
0 commit comments