fix: lodash dependencies (#4791)
This commit is contained in:
1 parent
887a892a5b
commit
4e16099ad3
12 files changed
+197
-165
No files matched your search
@@ -108,7 +108,6 @@
|
||||
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
||||
"@types/node": "^20.12.12",
|
||||
"identity-obj-proxy": "3.0.x",
|
||||
"lodash": "^4.17.21",
|
||||
"tailwindcss": "3.2.4"
|
||||
}
|
||||
}
|
||||
@@ -50,8 +50,7 @@
|
||||
"immutability-helper": "^3.1.1",
|
||||
"isomorphic-base64": "^1.0.2",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"lodash.mergewith": "^4.6.2",
|
||||
"lodash.isequal": "^4.5.0",
|
||||
"moment": "*",
|
||||
"object-hash": "2.1.1",
|
||||
"query-string": "^6.14.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import objectHash from 'object-hash';
|
||||
import isEqual from 'lodash.isequal';
|
||||
import { hotkeys } from '../utils';
|
||||
import isequal from 'lodash.isequal';
|
||||
import Hotkey from './Hotkey';
|
||||
|
||||
/**
|
||||
@@ -65,7 +65,7 @@ export class HotkeysManager {
|
||||
setHotkeys(hotkeyDefinitions = [], name = 'hotkey-definitions') {
|
||||
try {
|
||||
const definitions = this.getValidDefinitions(hotkeyDefinitions);
|
||||
if (isequal(definitions, this.hotkeyDefaults)) {
|
||||
if (isEqual(definitions, this.hotkeyDefaults)) {
|
||||
localStorage.removeItem(name);
|
||||
} else {
|
||||
localStorage.setItem(name, JSON.stringify(definitions));
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
"d3-selection": "3",
|
||||
"d3-shape": "3",
|
||||
"d3-zoom": "3",
|
||||
"lodash.debounce": "4.0.8",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"moment": "*",
|
||||
"mousetrap": "^1.6.5",
|
||||
"react": "^18.3.1",
|
||||
|
||||
Reference in new issue
Block a user