fix(core): update
This commit is contained in:
@ -6,7 +6,9 @@ export class Smartjson {
|
||||
// ======
|
||||
static parse = JSON.parse;
|
||||
|
||||
static stringify = plugins.stableJson;
|
||||
static stringify = async (objArg: any, optionsArg: plugins.stableJson.Options) => {
|
||||
return plugins.stableJson(objArg, optionsArg)
|
||||
};
|
||||
|
||||
// ========
|
||||
// INSTANCE
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as lodash from 'lodash';
|
||||
import * as stableJson from 'fast-json-stable-stringify';
|
||||
import stableJson from 'fast-json-stable-stringify';
|
||||
|
||||
export {
|
||||
lodash,
|
||||
|
Reference in New Issue
Block a user