mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
15 lines
652 B
Diff
15 lines
652 B
Diff
|
diff --git a/node_modules/colors/lib/extendStringPrototype.js b/node_modules/colors/lib/extendStringPrototype.js
|
||
|
index 46fd386..c7d0fc5 100644
|
||
|
--- a/node_modules/colors/lib/extendStringPrototype.js
|
||
|
+++ b/node_modules/colors/lib/extendStringPrototype.js
|
||
|
@@ -5,7 +5,8 @@ module['exports'] = function() {
|
||
|
// Extends prototype of native string object to allow for "foo".red syntax
|
||
|
//
|
||
|
var addProperty = function(color, func) {
|
||
|
- String.prototype.__defineGetter__(color, func);
|
||
|
+ // remove prototype mutation so this plays well with LavaMoat
|
||
|
+ // String.prototype.__defineGetter__(color, func);
|
||
|
};
|
||
|
|
||
|
addProperty('strip', function() {
|