@ipld/is-circular
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -32,3 +32,3 @@ var Node = require('./lib/node') | ||
if (val instanceof Object) { | ||
if (parentList.contains(val) || _isCircular(val, parentList)) { | ||
if (parentList.contains(val) || _isCircular(CID, val, parentList)) { | ||
return true | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "@ipld/is-circular", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "high-performance, zero-dependency circular reference check for objects (or arrays)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6255