mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
66bd172980
* lavamoat - apply lavamoat protections to popup and notification * build - enable lavamoat for home * lavamoat - add missing ui overrides for react family * deps/patches - patch zxcvbn for ses compat
14 lines
533 B
Diff
14 lines
533 B
Diff
diff --git a/node_modules/zxcvbn/lib/matching.js b/node_modules/zxcvbn/lib/matching.js
|
|
index 3940bad..748da8b 100644
|
|
--- a/node_modules/zxcvbn/lib/matching.js
|
|
+++ b/node_modules/zxcvbn/lib/matching.js
|
|
@@ -13,7 +13,7 @@ build_ranked_dict = function(ordered_list) {
|
|
i = 1;
|
|
for (o = 0, len1 = ordered_list.length; o < len1; o++) {
|
|
word = ordered_list[o];
|
|
- result[word] = i;
|
|
+ Reflect.defineProperty(result, word, { value: i, configurable: true, enumerable: true, writable: true });
|
|
i += 1;
|
|
}
|
|
return result;
|