Skip to content

Commit f950bc7

Browse files
committed
Replace lodash with lodash-es
1 parent b31be16 commit f950bc7

File tree

4 files changed

+31
-32
lines changed

4 files changed

+31
-32
lines changed

angular.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
"inlineStyleLanguage": "scss",
6161
"assets": ["playground/favicon.ico", "playground/assets"],
6262
"styles": ["playground/styles.scss"],
63-
"scripts": [],
64-
"allowedCommonJsDependencies": ["lodash"]
63+
"scripts": []
6564
},
6665
"configurations": {
6766
"production": {

lib/src/utils/distinctUntilObjectChanged.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isEqual } from 'lodash';
1+
import { isEqual } from 'lodash-es';
22
import { distinctUntilChanged, Observable } from 'rxjs';
33

44
export const distinctUntilObjectChanged = () => {

package-lock.json

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@angular/platform-browser": "^15.1.1",
5555
"@angular/platform-browser-dynamic": "^15.1.1",
5656
"@angular/router": "^15.1.1",
57-
"lodash.isequal": "^4.5.0",
57+
"lodash-es": "^4.17.21",
5858
"rxjs": "~7.5.0",
5959
"tslib": "^2.3.0",
6060
"zone.js": "~0.12.0"
@@ -71,7 +71,7 @@
7171
"@angular/compiler-cli": "^15.1.1",
7272
"@schuchard/prettier": "^5.1.0",
7373
"@types/jest": "29.2.6",
74-
"@types/lodash.isequal": "^4.5.6",
74+
"@types/lodash-es": "^4.17.6",
7575
"@typescript-eslint/eslint-plugin": "5.44.0",
7676
"@typescript-eslint/parser": "5.44.0",
7777
"changelog-machine": "^1.0.2",
@@ -84,4 +84,4 @@
8484
"tslint-config-prettier": "latest",
8585
"typescript": "~4.8.2"
8686
}
87-
}
87+
}

0 commit comments

Comments
 (0)