approval
approval copied to clipboard
Chore(deps): Bump @nextcloud/l10n from 2.2.0 to 3.1.0
Bumps @nextcloud/l10n from 2.2.0 to 3.1.0.
Release notes
Sourced from @nextcloud/l10n's releases.
v3.1.0
3.1.0 - 2024-05-07
Added
- Allow setting
escapeoption per parameter replacing.
For more security this should be used instead of disabling paramter escaping, see [pull request #756](nextcloud-libraries/nextcloud-l10n#756)// Example t( 'my-app', '{a}{userInput}{a_end}', { a: { value: '<a>', escape: false, }, userInput: somePossiblyInsecureValue, // This will be escaped a_end: { value: '</a>', escape: false, } }, )v3.0.1
What's Changed
- Fixed type definitions.
v3.0.0
What's Changed
- Create node-when-unrelated.yml by
@skjnldsvin nextcloud-libraries/nextcloud-l10n#646- chore: Add more tests for special cases on plural forms by
@susnuxin nextcloud-libraries/nextcloud-l10n#647- build(deps-dev): Bump
@rollup/plugin-typescriptfrom 11.1.1 to 11.1.2 by@dependabotin nextcloud-libraries/nextcloud-l10n#649- build(deps-dev): Bump tslib from 2.5.3 to 2.6.0 by
@dependabotin nextcloud-libraries/nextcloud-l10n#650- build(deps): Bump dompurify from 3.0.3 to 3.0.4 by
@dependabotin nextcloud-libraries/nextcloud-l10n#651- build(deps-dev): Bump rollup from 3.25.1 to 3.26.0 by
@dependabotin nextcloud-libraries/nextcloud-l10n#652- build(deps-dev): Bump ts-jest from 29.1.0 to 29.1.1 by
@dependabotin nextcloud-libraries/nextcloud-l10n#653- bump jest from 29.5.0 to 29.6.1 by
@dependabotin nextcloud-libraries/nextcloud-l10n#654- chore(deps): Bump tough-cookie from 4.1.2 to 4.1.3 by
@dependabotin nextcloud-libraries/nextcloud-l10n#657- bump jest-environment-jsdom from 29.5.0 to 29.6.1 by
@dependabotin nextcloud-libraries/nextcloud-l10n#655- bump rollup from 3.26.0 to 3.26.2 by
@dependabotin nextcloud-libraries/nextcloud-l10n#656- chore(deps-dev): Bump
@types/jestfrom 29.5.2 to 29.5.3 by@dependabotin nextcloud-libraries/nextcloud-l10n#659- chore(deps): Bump dompurify from 3.0.4 to 3.0.5 by
@dependabotin nextcloud-libraries/nextcloud-l10n#658- chore(deps-dev): Bump word-wrap from 1.2.3 to 1.2.4 by
@dependabotin nextcloud-libraries/nextcloud-l10n#660- chore(deps-dev): Bump rollup from 3.26.2 to 3.26.3 by
@dependabotin nextcloud-libraries/nextcloud-l10n#661- chore(deps-dev): Bump jest-environment-jsdom from 29.6.1 to 29.6.2 by
@dependabotin nextcloud-libraries/nextcloud-l10n#662
... (truncated)
Changelog
Sourced from @nextcloud/l10n's changelog.
3.1.0 - 2024-05-07
Added
- Allow setting
escapeoption per parameter replacing.
For more security this should be used instead of disabling paramter escaping, see [pull request #756](nextcloud-libraries/nextcloud-l10n#756)// Example t( 'my-app', '{a}{userInput}{a_end}', { a: { value: '<a>', escape: false, }, userInput: somePossiblyInsecureValue, // This will be escaped a_end: { value: '</a>', escape: false, } }, )3.0.1 - 2024-05-04
Fixed
- Ensure that built type definitions are bundled with the release and located in the correct directory
3.0.0 - 2024-05-02
Breaking changes
Instead of also sanitizing the replacing variables, now only the result is sanitized, see [pull request #648](nextcloud-libraries/nextcloud-l10n#648).
This will improve the performance if multiple placeholders are used and it allows this, while the string is still sanitized:
t( 'See {linkstart}documentation{linkend}', { linkstart: '<a ...>', linkend: '</a>', }, // No number undefined, { // Do not escape the result as we want the HTML anchor element </tr></table>
... (truncated)
Commits
e0b16b5Merge pull request #758 from nextcloud-libraries/chore/3-1-0a0e1f86chore: Prepare 3.1.0 release558a387Merge pull request #756 from nextcloud-libraries/feat/allow-per-replacement-e...5cf6b4bMerge pull request #757 from nextcloud-libraries/chore/workflows5e96b8ffix(ci): Update workflows from organization7775257feat: Allow settingescapeoption per parameter replacing91214fachore: Prepare release 3.0.184894b8fix: Ensure types are generated in the correct output directory2bf8d09Merge pull request #755 from nextcloud-libraries/dependabot/npm_and_yarn/domp...610bb86Merge pull request #754 from nextcloud-libraries/dependabot/npm_and_yarn/vite...- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.