Files

Return to Package Diff Home.
Brought to you by Intrinsic.

Package Diff: y18n @ 4.0.0 .. 4.0.1

CHANGELOG.md

@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+
+### 4.0.1 (2020-11-30)
+
+### Bug Fixes
+
+* address prototype pollution issue ([#108](https://www.github.com/yargs/y18n/issues/108)) ([a9ac604](https://www.github.com/yargs/y18n/commit/a9ac604abf756dec9687be3843e2c93bfe581f25))
+
<a name="4.0.0"></a>
# [4.0.0](https://github.com/yargs/y18n/compare/v3.2.1...v4.0.0) (2017-10-10)

index.js

@@ -11,7 +11,7 @@
this.fallbackToLanguage = typeof opts.fallbackToLanguage === 'boolean' ? opts.fallbackToLanguage : true
// internal stuff.
- this.cache = {}
+ this.cache = Object.create(null)
this.writeQueue = []
}

package.json

@@ -1,6 +1,6 @@
{
"name": "y18n",
- "version": "4.0.0",
+ "version": "4.0.1",
"description": "the bare-bones internationalization library used by yargs",
"main": "index.js",
"scripts": {