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