Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit f7908b0

Browse files
Merge pull request #44 from stackhawk/update-lodash
Update lodash
2 parents 0579a10 + b63626e commit f7908b0

File tree

4 files changed

+6
-57
lines changed

4 files changed

+6
-57
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16
1+
v16.20.0

package-lock.json

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

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
},
5050
"license": "MIT",
5151
"peerDependencies": {
52-
"lodash.debounce": "^4.x.x",
53-
"lodash.throttle": "^4.x.x",
52+
"lodash": "^4.x.x",
5453
"react": ">= 16.x.x",
5554
"redux": "^4.x.x",
5655
"rxjs": "^6.x.x"
@@ -64,8 +63,6 @@
6463
"@types/chai": "^4.2.11",
6564
"@types/jest": "^24.0.25",
6665
"@types/lodash": "^4.14.151",
67-
"@types/lodash.debounce": "^4.0.6",
68-
"@types/lodash.throttle": "^4.1.6",
6966
"@types/mocha": "^5.2.5",
7067
"@types/node": "^10.17.21",
7168
"@types/react": "^16.9.35",
@@ -93,8 +90,7 @@
9390
"html-webpack-plugin": "^5.5.0",
9491
"jest": "^27.3.1",
9592
"jest-environment-jsdom": "^27.0.6",
96-
"lodash.debounce": "^4.0.8",
97-
"lodash.throttle": "4.1.1",
93+
"lodash": "^4.17.21",
9894
"mocha": "^9.1.3",
9995
"prettier": "^2.0.5",
10096
"prettier-eslint": "^12.0.0",

src/naiveasync/controllable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
import lodashDebounce from "lodash.debounce";
3-
import lodashThrottle from "lodash.throttle";
2+
import { debounce as lodashDebounce, throttle as lodashThrottle } from "lodash";
43
import { Action, Dispatch, Middleware, Reducer } from "redux";
54
import { Observable, Subject, Subscription } from "rxjs";
65
// tslint:disable-next-line: no-submodule-imports

0 commit comments

Comments
 (0)