Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump i18n from 0.11.1 to 0.15.1 #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 18, 2024

Bumps i18n from 0.11.1 to 0.15.1.

Release notes

Sourced from i18n's releases.

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 PR #488

0.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,
})

0.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 (mochajs/mocha#4814) which fixes GHSA-qrpm-p2h7-hrv2

0.14.0 - Upgrade

Changed

  • replaces sprintf-js with fast-printf #453

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [i18n](https://github.com/mashpie/i18n-node) from 0.11.1 to 0.15.1.
- [Release notes](https://github.com/mashpie/i18n-node/releases)
- [Changelog](https://github.com/mashpie/i18n-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mashpie/i18n-node/commits)

---
updated-dependencies:
- dependency-name: i18n
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants