Comparing version 0.0.13 to 0.0.14
@@ -70,3 +70,4 @@ 'use strict'; | ||
function circularClone(obj, hash = new WeakMap()) { | ||
function circularClone(obj, hash) { | ||
if (!hash) hash = new WeakMap(); | ||
// Do not try to clone primitives or functions | ||
@@ -73,0 +74,0 @@ if (Object(obj) !== obj || obj instanceof Function) return obj; |
{ | ||
"name": "reftools", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Utility functions to deal with references in objects", | ||
@@ -5,0 +5,0 @@ "main": "lib/recurse.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
35333
666