[Snyk] Upgrade i18n from 0.11.1 to 0.15.2 #67
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.15.2.
ℹ️ 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.
The recommended version is 12 versions ahead of your current version.
The recommended version was released 21 days ago.
Non-breaking changes
✅ Good News: No major version upgrades detected 🎉
This update appears to be a minor or patch version change, which typically indicates backward compatibility.
Issues fixed by the recommended upgrade:
SNYK-JS-MESSAGEFORMAT-13109646
Release notes
Package name: i18n
-
0.15.2 - 2025-09-26
- package updates
- replaces zombie with supertest
- replaces npm with pnpm
- local dev defaults to node 24
- drops node support in CI <18
- use codecov.io for coverage reporting
-
0.15.1 - 2022-09-22
-
0.15.0 - 2022-05-19
const YAML = require('yaml')
-
0.14.2 - 2022-03-05
-
0.14.1 - 2022-01-30
- upgrade all dev dependencies without breaking changes
- upgrade all dependencies without breaking changes
-
0.14.0 - 2022-01-23
- replaces sprintf-js with fast-printf #453
- replaces deprecated messageformat with @ messageformat/core #472
- drops node support <10
- local dev defaults to node 16
-
0.13.4 - 2021-12-29
- upgrade all dev dependencies without breaking changes
- upgrade all dependencies without breaking changes
- test directory traversal (#486)
-
0.13.3 - 2021-05-08
- upgrade transitive dev dependency of eslint, mocha, zombie to [email protected]
- upgrade transitive dev dependency of zombie to [email protected]
- upgrade transitive dev dependency of eslint-plugin-import to [email protected]
-
0.13.2 - 2020-08-21
- moved devDeps from dependencies to devDependencies #446
- removed unused packages from all dependencies
-
0.13.1 - 2020-08-20
- npx npm-force-resolutions failed #445
-
0.13.0 - 2020-08-20
- new option
- new option
- pre-commit hooks to ensure code-style (even on contributions)
- typos in README
- tooling: eslint with standard.js & prettier presets replaces jshint
-
0.12.0 - 2020-08-16
-
0.11.1 - 2020-08-04
from i18n GitHub release notesChanged
Added
New
parserconfiguration option allows to change the defaultJSONparser to any other parser with same signature, ie:/**
* JSON.stringify() -> YAML.stringify()
* JSON.parse() -> YAML.parse()
*/
i18n.configure({
extension: '.yml',
parser: YAML
})
replaces JSON with YAML, so locale files will now format as yaml files.
See https://github.com/mashpie/i18n-node#some-words-on-parser-option and https://github.com/mashpie/i18n-node/blob/master/test/i18n.configureParser.js
Kudos to @ mathiashsteffensen for providing the PR #488
Fixed
Fixes #493 - using i18n with a combination of retry and sync settings lead to a 'Maximum call stack size exceeded' exception due to an infinite loop while writing phrases to all locale files.
Fixed
This also updates to mocha 9.2.0 (mochajs/mocha#4814) which fixes GHSA-qrpm-p2h7-hrv2
Changed
Fixed
see aa60ac7, 3139881 and 4e6963f for details
Added
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
preinstallshould count on anynpm install i18n, it's renamed toforce-resolutionsso 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
retryInDefaultLocaleas proposed by PR #206headeras proposed by PRs #390 and #407Fixed
Changed
Important
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: