@paperbits/common
Advanced tools
Comparing version 0.1.636 to 0.1.637
@@ -138,2 +138,7 @@ export function isObject(item: any): boolean { | ||
else if (childNode instanceof Object) { | ||
if (childNode === source) { | ||
console.log(`Ciruclar reference: `, source); | ||
throw new Error(`Ciruclar reference detected. See the message above.`); | ||
} | ||
cleanupObject(childNode, options); | ||
@@ -140,0 +145,0 @@ |
{ | ||
"name": "@paperbits/common", | ||
"version": "0.1.636", | ||
"version": "0.1.637", | ||
"description": "Paperbits common components.", | ||
@@ -5,0 +5,0 @@ "author": "Paperbits", |
459145
11494