Skip to content

Commit e9a13f1

Browse files
committed
fix: Use 'lodash-es' instead of 'lodash'
1 parent 577bb38 commit e9a13f1

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

package-lock.json

Lines changed: 14 additions & 5 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
@@ -6,7 +6,7 @@
66
"main": "dist/index.js",
77
"scripts": {
88
"build": "tsc",
9-
"test": "jest"
9+
"test": "NODE_OPTIONS='--no-warnings=ExperimentalWarning --experimental-vm-modules' npx jest"
1010
},
1111
"repository": {
1212
"type": "git",
@@ -19,11 +19,11 @@
1919
},
2020
"homepage": "https://github.com/smockle/matrix#readme",
2121
"dependencies": {
22-
"lodash": "^4.17.4",
22+
"lodash-es": "^4.17.21",
2323
"mathjs": "^14.0.1"
2424
},
2525
"devDependencies": {
26-
"@types/lodash": "^4.17.14",
26+
"@types/lodash-es": "^4.17.12",
2727
"jest": "^29.7.0",
2828
"ts-jest": "^29.1.1",
2929
"typescript": "^5.2.2"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fill, padStart, unzip } from "lodash";
1+
import { fill, padStart, unzip } from "lodash-es";
22
import { inv } from "mathjs";
33

44
type Matrix = {

0 commit comments

Comments
 (0)