nextcloud-libraries/nextcloud-l10n (@nextcloud/l10n)
### [`v3.1.0`](https://togithub.com/nextcloud-libraries/nextcloud-l10n/blob/HEAD/CHANGELOG.md#310---2024-05-07)
[Compare Source](https://togithub.com/nextcloud-libraries/nextcloud-l10n/compare/v3.0.1...v3.1.0)
##### Added
- Allow setting `escape` option per parameter replacing.\
For more security this should be used instead of disabling paramter escaping,
see [pull request #756](https://togithub.com/nextcloud-libraries/nextcloud-l10n/pull/756)
```js
// Example
t(
'my-app',
'{a}{userInput}{a_end}',
{
a: {
value: '',
escape: false,
},
userInput: somePossiblyInsecureValue, // This will be escaped
a_end: {
value: '',
escape: false,
}
},
)
```
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.0.1
->^3.1.0
Release Notes
nextcloud-libraries/nextcloud-l10n (@nextcloud/l10n)
### [`v3.1.0`](https://togithub.com/nextcloud-libraries/nextcloud-l10n/blob/HEAD/CHANGELOG.md#310---2024-05-07) [Compare Source](https://togithub.com/nextcloud-libraries/nextcloud-l10n/compare/v3.0.1...v3.1.0) ##### Added - Allow setting `escape` option per parameter replacing.\ For more security this should be used instead of disabling paramter escaping, see [pull request #756](https://togithub.com/nextcloud-libraries/nextcloud-l10n/pull/756) ```js // Example t( 'my-app', '{a}{userInput}{a_end}', { a: { value: '', escape: false, }, userInput: somePossiblyInsecureValue, // This will be escaped a_end: { value: '', escape: false, } }, ) ```Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.