baryonsoft / overleaf

GNU Affero General Public License v3.0
0 stars 0 forks source link

Update dependency xregexp to v5 #220

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xregexp (source) ^4.3.0 -> ^5.0.0 age adoption passing confidence

Release Notes

slevithan/xregexp (xregexp) ### [`v5.1.1`](https://togithub.com/slevithan/xregexp/compare/v5.1.0...v5.1.1) [Compare Source](https://togithub.com/slevithan/xregexp/compare/v5.1.0...v5.1.1) ### [`v5.1.0`](https://togithub.com/slevithan/xregexp/releases/tag/v5.1.0) [Compare Source](https://togithub.com/slevithan/xregexp/compare/v5.0.2...v5.1.0) **Breaking Changes** - `XRegExp.matchRecursive`: When doing a global, non-sticky search and providing `valueNames`, return an empty array if no matches are found, rather than an array with one object containing a `between` value that contains the whole target string (this change is to match every other case when no matches are found, e.g. when not providing `valueNames`, not using global with flag `g`, or doing a sticky search with flag `y`): [`6e1711e`](https://togithub.com/slevithan/xregexp/commit/6e1711e) **Improvements** - `XRegExp.matchRecursive`: Add support for matching with unbalanced delimiters (new `unbalanced` option with supported values `'error'` \[default], `'skip'`, and `'skip-lazy'`): [#​96](https://togithub.com/slevithan/xregexp/issues/96) - Upgrade to Unicode 14.0.0: [`0f52a62`](https://togithub.com/slevithan/xregexp/commit/0f52a62) ### [`v5.0.2`](https://togithub.com/slevithan/xregexp/releases/tag/v5.0.2) [Compare Source](https://togithub.com/slevithan/xregexp/compare/v5.0.1...v5.0.2) - Fix TypeScript definition for `XRegExp.matchChain`: [#​325](https://togithub.com/slevithan/xregexp/issues/325) - Fix `XRegExp.escape` to handle `-`, `,`, and `#` in a way that is compatible with ES6 flag `u`: [#​323](https://togithub.com/slevithan/xregexp/issues/323) ### [`v5.0.1`](https://togithub.com/slevithan/xregexp/releases/tag/v5.0.1) [Compare Source](https://togithub.com/slevithan/xregexp/compare/v5.0.0...v5.0.1) - Hotfix for broken npm package. - Adds `docs` folder with extensive documentation. ### [`v5.0.0`](https://togithub.com/slevithan/xregexp/releases/tag/v5.0.0) [Compare Source](https://togithub.com/slevithan/xregexp/compare/v4.4.1...v5.0.0) **Breaking Changes** - Enable the `namespacing` feature by default for alignment with ES2018 (moves named capture properties to the `groups` object of matches and to the last argument of replacement callbacks): [https://github.com/slevithan/xregexp/pull/316](https://togithub.com/slevithan/xregexp/pull/316) - Handle ES2018 capture names (mostly this adds support for an extended set of Unicode characters, but it also prevents using a number as the first character in a capture name): [https://github.com/slevithan/xregexp/pull/247](https://togithub.com/slevithan/xregexp/pull/247) - Remove support for Unicode blocks, for alignment with ES2018 (use Unicode scripts instead): [https://github.com/slevithan/xregexp/issues/225](https://togithub.com/slevithan/xregexp/issues/225) **Improvements** - Support optional '`Script=`' prefix (from ES2018 syntax) for Unicode script tokens: [https://github.com/slevithan/xregexp/issues/225](https://togithub.com/slevithan/xregexp/issues/225) - `XRegExp.matchRecursive`: Add delimiter and position info to error when unbalanced delimiters are found: [https://github.com/slevithan/xregexp/issues/293](https://togithub.com/slevithan/xregexp/issues/293) - Avoid inserting unneeded `(?:)` into native regex source in more cases: https://github.com/slevithan/xregexp/commit/076f9501965d9ddc4f1cf7b7626c77993b396a01 and https://github.com/slevithan/xregexp/commit/d78a26216691c975acf5424f371db9763f307c7a - Defer to native flag `s` in ES2018 environments: https://github.com/slevithan/xregexp/commit/98abea85ed0da1e1b40d9b26cc6a299c297b8eae **Bug Fixes** - `XRegExp.exec`: Preserve the `groups` object that comes from native ES2018 named capture: https://github.com/slevithan/xregexp/commit/c4a83e76fc3e1ab5a9053618267dff33edd1174e - `XRegExp.exec`: Set the `groups` property to `undefined` if there are no named captures: [https://github.com/slevithan/xregexp/issues/320](https://togithub.com/slevithan/xregexp/issues/320) - `XRegExp.escape`: Escape whitespace in a way that works with ES6 flag `u`: [https://github.com/slevithan/xregexp/issues/197](https://togithub.com/slevithan/xregexp/issues/197) - `XRegExp.replace`: Throw when using native named capture and a numbered backreference one higher than the number of captures in the replacement text: [https://github.com/slevithan/xregexp/issues/317](https://togithub.com/slevithan/xregexp/issues/317) - `XRegExp.replace`: Fix edge case issues with replacement text syntax: [https://github.com/slevithan/xregexp/issues/318](https://togithub.com/slevithan/xregexp/issues/318)

Configuration

πŸ“… Schedule: Branch creation - "every weekday" (UTC), 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.

renovate[bot] commented 1 year ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.