Skip to content

Commit

Permalink
fix: Use 'lodash-es' instead of 'lodash'
Browse files Browse the repository at this point in the history
  • Loading branch information
smockle committed Jan 8, 2025
1 parent 577bb38 commit e9a13f1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
19 changes: 14 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"test": "jest"
"test": "NODE_OPTIONS='--no-warnings=ExperimentalWarning --experimental-vm-modules' npx jest"
},
"repository": {
"type": "git",
Expand All @@ -19,11 +19,11 @@
},
"homepage": "https://github.com/smockle/matrix#readme",
"dependencies": {
"lodash": "^4.17.4",
"lodash-es": "^4.17.21",
"mathjs": "^14.0.1"
},
"devDependencies": {
"@types/lodash": "^4.17.14",
"@types/lodash-es": "^4.17.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fill, padStart, unzip } from "lodash";
import { fill, padStart, unzip } from "lodash-es";
import { inv } from "mathjs";

type Matrix = {
Expand Down

0 comments on commit e9a13f1

Please sign in to comment.