fix(core): update
This commit is contained in:
@ -22,7 +22,7 @@ export class Smartjson {
|
||||
foldToObject() {
|
||||
let newFoldedObject: {[key: string]: any} = {};
|
||||
for (let keyName of this.saveableProperties) {
|
||||
newFoldedObject[keyName] = plugins.lodash.cloneDeep(this[keyName]);
|
||||
newFoldedObject[keyName] = plugins.lodashCloneDeep(this[keyName]);
|
||||
}
|
||||
return newFoldedObject;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import * as lodash from 'lodash';
|
||||
import lodashCloneDeep from 'lodash.clonedeep';
|
||||
import stableJson from 'fast-json-stable-stringify';
|
||||
|
||||
export {
|
||||
lodash,
|
||||
lodashCloneDeep,
|
||||
stableJson
|
||||
}
|
||||
|
Reference in New Issue
Block a user