publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
961 stars 1.83k forks source link

Bump i18n-js from 3.8.0 to 4.2.2 #11594

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps i18n-js from 3.8.0 to 4.2.2.

Changelog

Sourced from i18n-js's changelog.

v4.2.2 - Dec 30, 2022

  • [Changed] Do not re-export files whose contents haven't changed.
  • [Changed] Translations will always be deep sorted.
  • [Fixed] Remove procs from translations before exporting files.

v4.2.1 - Dec 25, 2022

  • [Changed] Change plugin api to be based on instance methods. This avoids having to pass in the config for each and every method. It also allows us adding helper methods to the base class.
  • [Fixed] Fix performance issues with embed fallback translations' initial implementation.

v4.2.0 - Dec 10, 2022

  • [Added] Add I18nJS::Plugin.after_export(files:, config:) method, that's called whenever whenever I18nJS finishes exporting files. You can use it to further process files, or generate new files based on the exported files.
  • [Added] Bult-in plugin I18nJS::ExportFilesPlugin, which allows exporting files out of the translations file by using a custom template.

v4.1.0 - Dec 09, 2022

  • [Added] Parse configuration files as erb.
  • [Changed] I18n.listen(run_on_start:) was added to control if files should be exported during I18n.listen's boot. The default value is true.
  • [Added] Now it's possible to transform translations before exporting them using a stable plugin api.
  • [Added] Built-in plugin I18nJS::EmbedFallbackTranslationsPlugin, which allows embedding missing translations on exported files.
  • [Deprecated] The i18n check has been deprecated. Use i18n lint:translations instead.
  • [Added] Use i18n lint:scripts to lint JavaScript/TypeScript.
  • [Fixed] Expand paths passed to I18nJS.listen(locales_dir:).

v4.0.1 - Aug 25, 2022

  • [Fixed] Shell out export to avoid handling I18n reloading heuristics.
  • [Changed] I18nJS.listen now accepts a directories list to watch.
  • [Changed] I18nJS.listen now accepts listen options via :options.

v4.0.0 - Jul 29, 2022

  • Official release of i18n-js v4.0.0.
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 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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #11594 (90bf7d6) into main (f845ccd) will decrease coverage by 3.91%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/publiclab/plots2/pull/11594/graphs/tree.svg?width=650&height=150&src=pr&token=FahMFdiDeF&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab)](https://codecov.io/gh/publiclab/plots2/pull/11594?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab) ```diff @@ Coverage Diff @@ ## main #11594 +/- ## ========================================== - Coverage 83.33% 79.41% -3.92% ========================================== Files 93 93 Lines 5772 5792 +20 ========================================== - Hits 4810 4600 -210 - Misses 962 1192 +230 ``` | [Impacted Files](https://codecov.io/gh/publiclab/plots2/pull/11594?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab) | Coverage Δ | | |---|---|---| | [app/channels/application\_cable/channel.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NoYW5uZWxzL2FwcGxpY2F0aW9uX2NhYmxlL2NoYW5uZWwucmI=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: | | [app/channels/application\_cable/connection.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NoYW5uZWxzL2FwcGxpY2F0aW9uX2NhYmxlL2Nvbm5lY3Rpb24ucmI=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: | | [app/channels/user\_channel.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NoYW5uZWxzL3VzZXJfY2hhbm5lbC5yYg==) | `0.00% <0.00%> (-83.34%)` | :arrow_down: | | [app/channels/user\_notification\_channel.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NoYW5uZWxzL3VzZXJfbm90aWZpY2F0aW9uX2NoYW5uZWwucmI=) | `0.00% <0.00%> (-83.34%)` | :arrow_down: | | [app/channels/room\_channel.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NoYW5uZWxzL3Jvb21fY2hhbm5lbC5yYg==) | `0.00% <0.00%> (-71.43%)` | :arrow_down: | | [app/helpers/comment\_helper.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2hlbHBlcnMvY29tbWVudF9oZWxwZXIucmI=) | `34.61% <0.00%> (-65.39%)` | :arrow_down: | | [app/controllers/openid\_controller.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NvbnRyb2xsZXJzL29wZW5pZF9jb250cm9sbGVyLnJi) | `16.23% <0.00%> (-37.67%)` | :arrow_down: | | [app/controllers/comment\_controller.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NvbnRyb2xsZXJzL2NvbW1lbnRfY29udHJvbGxlci5yYg==) | `66.92% <0.00%> (-16.16%)` | :arrow_down: | | [app/controllers/subscription\_controller.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NvbnRyb2xsZXJzL3N1YnNjcmlwdGlvbl9jb250cm9sbGVyLnJi) | `63.00% <0.00%> (-13.00%)` | :arrow_down: | | [app/controllers/application\_controller.rb](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab#diff-YXBwL2NvbnRyb2xsZXJzL2FwcGxpY2F0aW9uX2NvbnRyb2xsZXIucmI=) | `84.37% <0.00%> (-6.25%)` | :arrow_down: | | ... and [19 more](https://codecov.io/gh/publiclab/plots2/pull/11594/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=publiclab) | |
dependabot[bot] commented 1 year ago

Superseded by #11655.