Blame SOURCES/deps-y18n-CVE-2020-7774.patch

710ffe
diff --git a/deps/npm/node_modules/y18n/index.js b/deps/npm/node_modules/y18n/index.js
710ffe
index d720681628..727362aac0 100644
710ffe
--- a/deps/npm/node_modules/y18n/index.js
710ffe
+++ b/deps/npm/node_modules/y18n/index.js
710ffe
@@ -11,7 +11,7 @@ function Y18N (opts) {
710ffe
   this.fallbackToLanguage = typeof opts.fallbackToLanguage === 'boolean' ? opts.fallbackToLanguage : true
710ffe
 
710ffe
   // internal stuff.
710ffe
-  this.cache = {}
710ffe
+  this.cache = Object.create(null)
710ffe
   this.writeQueue = []
710ffe
 }
710ffe