fix: lodash dependencies (#4791)

This commit is contained in:
Pedro H. Köhler authored and GitHub committed 2025-02-18 11:36:26 -05:00
1 parent 887a892a5b
commit 4e16099ad3
12 files changed
+197 -165

No files matched your search

+1 -2
View File
@@ -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",
+2 -2
View File
@@ -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));