Bump xregexp from 4.3.0 to 5.0.2 in /backend
Created by: dependabot[bot]
Bumps xregexp from 4.3.0 to 5.0.2.
Release notes
Sourced from xregexp's releases.
v5.0.2
- Fix TypeScript definition for
XRegExp.matchChain
: #325- Fix
XRegExp.escape
to handle-
,,
, and#
in a way that is compatible with ES6 flagu
: #323v5.0.1
- Hotfix for broken npm package.
- Adds
docs
folder with extensive documentation.v5.0.0
Breaking Changes
- Enable the
namespacing
feature by default for alignment with ES2018 (moves named capture properties to thegroups
object of matches and to the last argument of replacement callbacks): slevithan/xregexp#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): slevithan/xregexp#247
- Remove support for Unicode blocks, for alignment with ES2018 (use Unicode scripts instead): slevithan/xregexp#225
Improvements
- Support optional '
Script=
' prefix (from ES2018 syntax) for Unicode script tokens: slevithan/xregexp#225XRegExp.matchRecursive
: Add delimiter and position info to error when unbalanced delimiters are found: slevithan/xregexp#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/98abea85ed0da1e1b40d9b26cc6a299c297b8eaeBug Fixes
XRegExp.exec
: Preserve thegroups
object that comes from native ES2018 named capture: https://github.com/slevithan/xregexp/commit/c4a83e76fc3e1ab5a9053618267dff33edd1174eXRegExp.exec
: Set thegroups
property toundefined
if there are no named captures: slevithan/xregexp#320XRegExp.escape
: Escape whitespace in a way that works with ES6 flagu
: slevithan/xregexp#197XRegExp.replace
: Throw when using native named capture and a numbered backreference one higher than the number of captures in the replacement text: slevithan/xregexp#317XRegExp.replace
: Fix edge case issues with replacement text syntax: slevithan/xregexp#318v4.4.1
- Add browser field to package.json to fix webpack: slevithan/xregexp#308
v4.4.0
Commits
-
87aa57e
Bump version to 5.0.2 -
6baec08
Update all dependencies (except dtslint - update to lastest nonbreaking version) -
ca8d82a
Minor tweaks to docs -
616df23
Update type tests for ChainArrayElement type definition -
06500ba
Fix ChainArrayElement type definition (fixes #325) -
c34a926
XRegExp.escape: Escape # and , in way that works with ES6 flag u (#323) -
93f3001
Add missing paren, fix lint, fix test, add test -
618573b
XRegExp.escape: Escape hyphen in way that works with ES6 flag u (fixes #323) -
8300a02
Bump version to 5.0.1 -
a7ba78a
Unicode Base: Update comment to remove mention of blocks - Additional commits viewable in compare view
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)