[Snyk] Upgrade i18n from 0.11.1 to 0.13.3 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade i18n from 0.11.1 to 0.13.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: i18n
Fixed
Fixed
Fixed
Details
A preinstall script was added to force resolving specific versions of lodash and ajv. Those are sub-dependencies of zombie and its packages. Zombie is devDependency of i18n. But zombie still refers to older versions reported to vulnerable - so I decided to force fixed versions.
Of course that
preinstall
should count on anynpm install i18n
, it's renamed toforce-resolutions
so I can still resolve audit issues in dev while also supporting clean installs.now reads as
And doesn't get triggered by
npm install
.Added
retryInDefaultLocale
as proposed by PR #206header
as proposed by PRs #390 and #407Fixed
Changed
Added
const i18n = require('i18n')
const i18n = new I18n()
Example:
* require I18n with capital I as constructor
*/
const { I18n } = require("i18n");
/**
* create a new instance with it's configuration
*/
const i18n = new I18n({
locales:['en', 'de'],
directory: __dirname + '/locales'
});
0.11.1 - 2020-08-04
Fixed
Minimist is a sub-dependency of
mocha
andmessageformat
:Commit messages
Package name: i18n
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs