You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
652 B
15 lines
652 B
3 years ago
|
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() {
|