From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/lodash/_initCloneArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/lodash/_initCloneArray.js') diff --git a/node_modules/lodash/_initCloneArray.js b/node_modules/lodash/_initCloneArray.js index aef02120e..078c15af9 100644 --- a/node_modules/lodash/_initCloneArray.js +++ b/node_modules/lodash/_initCloneArray.js @@ -13,7 +13,7 @@ var hasOwnProperty = objectProto.hasOwnProperty; */ function initCloneArray(array) { var length = array.length, - result = array.constructor(length); + result = new array.constructor(length); // Add properties assigned by `RegExp#exec`. if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { -- cgit v1.2.3