Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 18, 2021

This PR contains the following updates:

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

Release Notes

slevithan/xregexp (xregexp)

v5.1.2

Compare Source

Bug Fixes

  • Fix prototype pollution vulnerability in pattern caches: #​362

v5.1.1

Compare Source

Improvements

  • Support and defer to native /d flag in ES2021 environments
  • Upgrade to Unicode 14.0.0 final
  • Remove zuul as devDependency

Bug Fixes

  • Fix types path in package.json
  • Minor docs fixes

v5.1.0

Compare Source

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

Improvements

  • XRegExp.matchRecursive: Add support for matching with unbalanced delimiters (new unbalanced option with supported values 'error' [default], 'skip', and 'skip-lazy'): #​96
  • Upgrade to Unicode 14.0.0: 0f52a62

v5.0.2

Compare Source

  • Fix TypeScript definition for XRegExp.matchChain: #​325
  • Fix XRegExp.escape to handle -, ,, and # in a way that is compatible with ES6 flag u: #​323

v5.0.1

Compare Source

  • Hotfix for broken npm package.
  • Adds docs folder with extensive documentation.

v5.0.0

Compare Source

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): #​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): #​247
  • Remove support for Unicode blocks, for alignment with ES2018 (use Unicode scripts instead): #​225

Improvements

  • Support optional 'Script=' prefix (from ES2018 syntax) for Unicode script tokens: #​225
  • XRegExp.matchRecursive: Add delimiter and position info to error when unbalanced delimiters are found: #​293
  • Avoid inserting unneeded (?:) into native regex source in more cases: 076f950 and d78a262
  • Defer to native flag s in ES2018 environments: 98abea8

Bug Fixes

  • XRegExp.exec: Preserve the groups object that comes from native ES2018 named capture: c4a83e7
  • XRegExp.exec: Set the groups property to undefined if there are no named captures: #​320
  • XRegExp.escape: Escape whitespace in a way that works with ES6 flag u: #​197
  • XRegExp.replace: Throw when using native named capture and a numbered backreference one higher than the number of captures in the replacement text: #​317
  • XRegExp.replace: Fix edge case issues with replacement text syntax: #​318

Configuration

📅 Schedule: Branch creation - Between 05:00 AM and 05:59 AM, every 14 days ( * 5 */14 * * ) in timezone Europe/Stockholm, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/xregexp-5.x branch from 307e245 to abaaf32 Compare August 5, 2022 10:41
@renovate renovate bot force-pushed the renovate/xregexp-5.x branch from abaaf32 to ffcbc9a Compare August 1, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant