fix(core): update

This commit is contained in:
2019-07-04 17:03:15 +02:00
parent 37b32d5d5d
commit 91d57c84f4
4 changed files with 222 additions and 46 deletions

View File

@ -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;
}

View File

@ -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
}