Skip to content

Commit db197ef

Browse files
author
Nir Maoz
authored
Remove lodash.clonedeep dependency (#446)
1 parent 865c3ed commit db197ef

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

__TESTS__/backwardsComaptibility/sideBySideUrls.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import cloneDeep from 'lodash/cloneDeep';
1+
// eslint-disable-next-line import/extensions
2+
import {cloneDeep} from '../../src/internal/utils/cloneDeep';
23
import {
34
createTestURL,
45
createTestURLUsingRealLegacy
6+
// eslint-disable-next-line import/extensions
57
} from "./transformationLegacyTests/utils/createTestURL";
68

79
type CompatibilityTestCase = {

__TESTS__/unit/analytics/analytics.node.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
import pkg from '../../../package.json';
7+
// eslint-disable-next-line import/extensions
78
import {createNewImageWithAnalytics} from "./testUtils/createNewImageWithAnalytics";
89

910
// Since packageVersion value is only set during build, we need to mock it during tests

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@
8787
"typescript": "^3.9.3",
8888
"webpack": "^4.44.1"
8989
},
90-
"dependencies": {
91-
"@types/lodash.clonedeep": "^4.5.6",
92-
"lodash.clonedeep": "^4.5.0"
93-
},
9490
"exports": {
9591
"./bundles/umd/package.json": "./bundles/umd/package.json",
9692
"./package.json": "./package.json",
@@ -110,4 +106,4 @@
110106
"default": "./index.js"
111107
}
112108
}
113-
}
109+
}

0 commit comments

Comments
 (0)