1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/patches/undeclared-identifiers+1.1.2.patch

13 lines
507 B
Diff
Raw Normal View History

diff --git a/node_modules/undeclared-identifiers/index.js b/node_modules/undeclared-identifiers/index.js
index c331176..127765d 100644
--- a/node_modules/undeclared-identifiers/index.js
+++ b/node_modules/undeclared-identifiers/index.js
@@ -50,7 +50,7 @@ var bindingVisitor = {
}
}
- state.undeclared[node.name] = true
+ Reflect.defineProperty(state.undeclared, node.name, { value: true, writable: true, enumerable: true, configurable: true })
}
if (state.wildcard &&