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 lodash.template and i18next-parser #130

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 21, 2023

Removes lodash.template. It's no longer used after updating ancestor dependency i18next-parser. These dependencies need to be updated together.

Removes lodash.template

Updates i18next-parser from 0.13.0 to 8.6.0

Release notes

Sourced from i18next-parser's releases.

8.0.0

  • BREAKING: Drop support for Node 14
  • Add support for Node 20

7.0.0

  • BREAKING: change the API for defaultValue. Deprecate skipDefaultValues and useKeysAsDefaultValues options. #676
  • Add support for shouldUnescape option in jsx-lexer #678
  • Add support for .ts, .json and .yaml config #673
  • Update dependencies

Migrating from 6.x to 7.x

he API to manage what default value is being used was getting too complicated. This version simplifies the API by deprecating the skipDefaultValues and useKeysAsDefaultValues options and adding a value argument when the defaultValue option is used as a function. Here are couple example of how it can be used:

To replace skipDefaultValue, make the following change:

// 5.x.x
{
  skipDefaultValues: true
}
// 6.x.x
{
defaultValue: function (locale, namespace, key, value) {
return '';
}
}

To replace useKeysAsDefaultValues, make the following change:

// 5.x.x
{
  useKeysAsDefaultValues: true
}
// 6.x.x
{
defaultValue: function (locale, namespace, key, value) {
return key;
}
}

And now you have complete control over the logic:

// 6.x.x
</tr></table> 

... (truncated)

Changelog

Sourced from i18next-parser's changelog.

8.6.0

  • Emit warning on non-literal content inside of Trans #881
  • Update dependencies

8.5.0

  • Improve warnings #805
  • Remove unused dependencies #877
  • Update dependencies

8.4.0

  • Fix extracting Trans component without key, but with default value #871 #249
  • FIX type error in index.d.ts #873 #868
  • Update dependencies

8.3.0

  • Allow ignoring typecheck-helper functions around Trans tag variables #863
  • Skip extracting dynamic children in Trans components #862
  • Extract format parameter from Trans component interpolations #861
  • Update dependencies

8.2.0

  • Add support for patterns in the keepRemoved option #693 #700
  • Improve namespace extraction from hook/HOC #854
  • Update dependencies

8.1.0

  • Allow to disable plural handling #825 #463
  • Update dependencies

8.0.0

  • Drop support for node 14
  • Add support for node 20

7.9.0

  • Add support for string concatenation in default values #817
  • Update dependencies

7.8.0

  • Add support for user-defined component functions #803 #804
  • Update dependencies

... (truncated)

Commits

You can trigger a rebase of this PR 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Removes [lodash.template](https://github.com/lodash/lodash). It's no longer used after updating ancestor dependency [i18next-parser](https://github.com/i18next/i18next-parser). These dependencies need to be updated together.


Removes `lodash.template`

Updates `i18next-parser` from 0.13.0 to 8.6.0
- [Release notes](https://github.com/i18next/i18next-parser/releases)
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-parser/commits/8.6.0)

---
updated-dependencies:
- dependency-name: lodash.template
  dependency-type: indirect
- dependency-name: i18next-parser
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 21, 2023
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants