From 4675e5f5900f7afe1efef7e528482174a4289fa6 Mon Sep 17 00:00:00 2001 From: Animesh Jain Date: Thu, 20 Aug 2020 17:33:58 +0530 Subject: [PATCH] Using 'var' instead of 'let' (#14) Fixing failed to compile issue during react build. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d323ae9..32f5c87 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ module.exports = { var data = obj while (index < len - 1) { - let part = parts[index] + var part = parts[index] if ( part === '__proto__' || part === 'constructor' ||