mirror of
https://github.com/jwetzell/aas-js.git
synced 2026-09-08 21:59:07 +00:00
remove lodash
This commit is contained in:
Generated
+1
-9
@@ -3794,11 +3794,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lodash": {
|
|
||||||
"version": "4.17.21",
|
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
||||||
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
||||||
},
|
|
||||||
"node_modules/lodash.merge": {
|
"node_modules/lodash.merge": {
|
||||||
"version": "4.6.2",
|
"version": "4.6.2",
|
||||||
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
||||||
@@ -6212,10 +6207,7 @@
|
|||||||
"packages/lib": {
|
"packages/lib": {
|
||||||
"name": "aas-lib",
|
"name": "aas-lib",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT"
|
||||||
"dependencies": {
|
|
||||||
"lodash": "^4.17.21"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"packages/webui": {
|
"packages/webui": {
|
||||||
"name": "aas-webui",
|
"name": "aas-webui",
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
/* eslint-disable no-bitwise */
|
/* eslint-disable no-bitwise */
|
||||||
const _ = require('lodash');
|
|
||||||
|
|
||||||
class Console {
|
class Console {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.sportInitialized = false;
|
this.sportInitialized = false;
|
||||||
@@ -82,7 +80,9 @@ class Console {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (this.propertiesToDelete) {
|
if (this.propertiesToDelete) {
|
||||||
this.state = _.omit(this.state, this.propertiesToDelete);
|
this.propertiesToDelete.forEach((property) => {
|
||||||
|
delete this.state[property];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,8 +11,5 @@
|
|||||||
"email": "me@jwetzell.com",
|
"email": "me@jwetzell.com",
|
||||||
"url": "https://jwetzell.com"
|
"url": "https://jwetzell.com"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT"
|
||||||
"dependencies": {
|
|
||||||
"lodash": "^4.17.21"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user