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 i18next-parser from 5.4.0 to 7.7.0 in /designer/client #4183

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2023

Bumps i18next-parser from 5.4.0 to 7.7.0.

Release notes

Sourced from i18next-parser's releases.

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
{
  defaultValue: function (locale, namespace, key, value) {
    if (locale === 'fr') {
      return '';
</tr></table> 

... (truncated)

Changelog

Sourced from i18next-parser's changelog.

7.7.0

  • Added missing types property to package.json #774 #775
  • Update dependencies

7.6.0

  • Fix a bug: typeArguments may be undefined #764 #765
  • Update dependencies

7.5.0

  • Add type declaration to the build #694 #695

7.4.0

  • Fix esm import in cjs project #761
  • Update dependencies

7.3.0

  • Parse namespace from t type arguments #703 #701
  • Extract namespace for render prop #702 #691
  • Updae dependencies

7.2.0

  • Allow for .mjs as a config file extension #733 #708
  • Update dependencies

7.1.0

  • Fix config loading on Windows #725 #698
  • Update dependencies

7.0.3

  • Fix a bug when using the cli and passing no config file #690
  • Update dependencies

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

6.6.0

  • Support custom yaml output options #626

... (truncated)

Commits
  • 3435168 Bump to 7.7.0
  • b34b401 Merge pull request #778 from i18next/dependabot/npm_and_yarn/master/esbuild-0...
  • 328e406 Merge pull request #767 from i18next/dependabot/npm_and_yarn/master/babel/run...
  • 3a79d49 Merge pull request #770 from i18next/dependabot/npm_and_yarn/master/typescrip...
  • 8ac5e7e Merge pull request #773 from i18next/dependabot/npm_and_yarn/master/prettier-...
  • ba14993 Merge pull request #777 from i18next/dependabot/npm_and_yarn/master/lint-stag...
  • 0660b18 Merge pull request #775 from peksipatongeis/fix/added-missing-types-property
  • d9b75cb Build(deps): bump esbuild from 0.17.2 to 0.17.8
  • 8263c3c Build(deps-dev): bump lint-staged from 13.1.0 to 13.1.2
  • 2735fbd Added missing types property to package.json
  • Additional commits viewable in compare view

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 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 [i18next-parser](https://github.com/i18next/i18next-parser) from 5.4.0 to 7.7.0.
- [Release notes](https://github.com/i18next/i18next-parser/releases)
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-parser@5.4.0...7.7.0)

---
updated-dependencies:
- dependency-name: i18next-parser
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ui labels Mar 27, 2023
@github-actions github-actions bot added the client client main fe label Mar 27, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 10, 2023

Superseded by #4282.

@dependabot dependabot bot closed this May 10, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/designer/client/i18next-parser-7.7.0 branch May 10, 2023 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client client main fe dependencies Pull requests that update a dependency file ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants