This repository was archived by the owner on Apr 28, 2021. It is now read-only.
[Snyk] Upgrade i18n from 0.5.0 to 0.13.2 #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.5.0 to 0.13.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.
Release notes
Package name: i18n
-
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
- backward compatible default to singleton with
- create an instance of i18n by
- dependabot bumbed minimist
-
0.11.0 - 2020-08-03
- Fallbacks can use wildcards (#361) by PR #362
- New mustache options to tweak tags and/or disable mustache parsing (#436)
- Mitigated Uncaught Exception on malformed query param (#356, #422) by PR #442
- Use of single pipe character should not be interpreted as range (#274, #388). Fixed by PR #435
-
0.10.0 - 2020-05-24
- Adds support for priming i18n with static catalogs (PR #432)
- Adds support for custom callback/hook on missing translations thru
-
0.9.1 - 2020-05-03
- Catch race condition in parallel fs tasks (PR #431)
- Update packages, remove unused
-
0.9.0 - 2020-04-17
- Support for floats (as
-
0.8.6 - 2020-03-17
-
0.8.5 - 2020-01-26
-
0.8.4 - 2019-10-24
-
0.8.3 - 2016-06-21
-
0.8.2 - 2016-04-20
-
0.8.1 - 2016-03-03
-
0.8.0 - 2016-02-28
-
0.7.0 - 2016-02-15
-
0.6.0 - 2016-01-31
-
0.5.0 - 2014-06-14
from i18n GitHub release notesFixed
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
Added
const i18n = require('i18n')const i18n = new I18n()Example:
0.11.1 - 2020-08-04
Fixed
Minimist is a sub-dependency of
mochaandmessageformat:$ npm ls minimist i18n@0.11.0 ├─┬ messageformat@2.3.0 │ └─┬ make-plural@4.3.0 │ └── minimist@1.2.5 └─┬ mocha@7.1.2 └─┬ mkdirp@0.5.5 └── minimist@1.2.5 dedupedAdded
Fixed
Thanks to @ einfallstoll i18n got much more developer friendly by adding two extra configuration options for working with translation
filescatalogs.Added
missingKeyFnoption ℗ #433 )Examples
staticCatalog
Instead of letting i18n load translations from a given directory you may now pass your js object right on configuration, ie:
This opens up for a ton of possible ways to handle translations in your very own desired way. But be warned: "Great power comes with great responsibility".
missingKeyFn
Want to get a warning on missing translations? Add missing translations with an indicator? Or even want to try an external service (like deepl.com) to provide an automated translated proposal of a missing phrase?
Fixed
urlAdded
numberorstring) in__n()(#305 )audit fix
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