diff --git a/clone.js b/clone.js index b45f27f..6d3a53d 100644 --- a/clone.js +++ b/clone.js @@ -44,7 +44,7 @@ export const clone = (obj, seen) => { if (descriptor && (descriptor.get || descriptor.set)) { Object.defineProperty(newObj, key, descriptor); } else { - newObj[key] = this._clone(obj[key], seen); + newObj[key] = clone(obj[key], seen); } } } diff --git a/package.json b/package.json index cf59f25..b1867ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/helpers", - "version": "1.1.0", + "version": "1.1.1", "description": "", "main": "closest.js", "scripts": {