This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
i18n | ^0.13.2 -> ^0.15.0 |
Release Notes
mashpie/i18n-node
v0.15.1
v0.15.0
: 0.15.0 - Feature
Added
New parser
configuration option allows to change the default JSON
parser to any other parser with same signature, ie:
const YAML = require('yaml')
/**
* 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 MR #488
v0.14.2
: - Bugfix
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.
const i18n = new I18n({
// [...]
retryInDefaultLocale: true,
syncFiles: true,
})
v0.14.1
: - Maintenance
Fixed
- upgrade all dev dependencies without breaking changes
- upgrade all dependencies without breaking changes
This also updates to mocha 9.2.0 (https://github.com/mochajs/mocha/issues/4814) which fixes https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
v0.14.0
: - Upgrade
Changed
- replaces sprintf-js with fast-printf #453
- replaces deprecated messageformat with @messageformat/core #472
- drops node support <10
- local dev defaults to node 16
v0.13.4
: - Maintenance
Fixed
- upgrade all dev dependencies without breaking changes
- upgrade all dependencies without breaking changes
see aa60ac7
, 3139881
and 4e6963f
for details
Added
- test directory traversal (#486)
v0.13.3
: - Maintenance
Fixed
- upgrade transitive dev dependency of eslint, mocha, zombie to lodash@4.17.21
- upgrade transitive dev dependency of zombie to url-parse@1.5.1
- upgrade transitive dev dependency of eslint-plugin-import to hosted-git-info@2.8.9
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.