@xylabs/object
Advanced tools
Comparing version 3.0.23 to 3.0.24
@@ -155,3 +155,2 @@ // src/AsTypeFactory.ts | ||
var toJsonValue = (value, cycleList, maxDepth = 3) => { | ||
console.log(`toJsonValue: ${maxDepth}`); | ||
if (maxDepth <= 0 && typeof value === "object") { | ||
@@ -158,0 +157,0 @@ return "[MaxDepth]"; |
@@ -157,3 +157,2 @@ // src/AsTypeFactory.ts | ||
var toJsonValue = (value, cycleList, maxDepth = 3) => { | ||
console.log(`toJsonValue: ${maxDepth}`); | ||
if (maxDepth <= 0 && typeof value === "object") { | ||
@@ -160,0 +159,0 @@ return "[MaxDepth]"; |
@@ -14,5 +14,5 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.0.23", | ||
"@xylabs/logger": "^3.0.23", | ||
"@xylabs/promise": "^3.0.23" | ||
"@xylabs/assert": "^3.0.24", | ||
"@xylabs/logger": "^3.0.24", | ||
"@xylabs/promise": "^3.0.24" | ||
}, | ||
@@ -62,4 +62,4 @@ "devDependencies": { | ||
"sideEffects": false, | ||
"version": "3.0.23", | ||
"version": "3.0.24", | ||
"type": "module" | ||
} |
@@ -16,3 +16,2 @@ import { JsonArray, JsonObject, JsonValue } from './JsonObject' | ||
const toJsonValue = (value: unknown, cycleList?: unknown[], maxDepth = 3): JsonValue => { | ||
console.log(`toJsonValue: ${maxDepth}`) | ||
if (maxDepth <= 0 && typeof value === 'object') { | ||
@@ -19,0 +18,0 @@ return '[MaxDepth]' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
213695
1370
Updated@xylabs/assert@^3.0.24
Updated@xylabs/logger@^3.0.24
Updated@xylabs/promise@^3.0.24