From 3a552c5de94b3be9c9dff96f5d8bc29dc1fac989 Mon Sep 17 00:00:00 2001 From: trading_peter Date: Mon, 18 Apr 2022 23:08:45 +0200 Subject: [PATCH] Fix call. --- clone.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {