@xyo-network/base
Advanced tools
Comparing version 0.55.8-alpha.0 to 0.55.9-alpha.0
{ | ||
"name": "@xyo-network/base", | ||
"version": "0.55.8-alpha.0", | ||
"version": "0.55.9-alpha.0", | ||
"description": "A base class for the Xyo Network", | ||
@@ -10,3 +10,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@xyo-network/logger": "^0.55.8-alpha.0", | ||
"@xyo-network/logger": "^0.55.9-alpha.0", | ||
"fast-safe-stringify": "^2.0.6" | ||
@@ -23,3 +23,3 @@ }, | ||
}, | ||
"gitHead": "276868c46de4a29d5163cf7cbadf2a11c5aec959" | ||
"gitHead": "70501fb6695d77441d4836fb19b7cbf617ed102a" | ||
} |
@@ -13,3 +13,3 @@ /* | ||
import { XyoLogger } from '@xyo-network/logger' | ||
import safeStringify from 'fast-safe-stringify' | ||
import fastSafeStringify from 'fast-safe-stringify' | ||
@@ -33,3 +33,3 @@ /** | ||
public static stringify(value: any): string { | ||
return safeStringify(value, (key, v) => { | ||
return fastSafeStringify(value, (key: any, v: any) => { | ||
if (v === '[Circular]') { | ||
@@ -40,3 +40,3 @@ return | ||
return v | ||
}, 2) | ||
}, 2) | ||
} | ||
@@ -79,3 +79,3 @@ | ||
fn() | ||
}, timeMs) | ||
}, timeMs) | ||
aggregator[key] = t | ||
@@ -82,0 +82,0 @@ return () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
349454