Releases: slevithan/oniguruma-to-es
Releases · slevithan/oniguruma-to-es
v0.4.0
🚨 Breaking
- Changed the shape of
toDetails
results when subclass details are included. - Renamed the types used for options objects.
🚀 Features
EmulatedRegExp
automatically adjusts subpattern matches and indices to account for injected emulation groups.- Uses
EmulatedRegExp
for patterns with atomic groups or possessive quantifiers, unless optionavoidSubclass
is enabled. - Added
target
optionauto
(hat-tip @antfu for idea). - Improved
\G
support so it works with additional patterns.
🐞 Fixes
- Added missing Unicode case folding for Latin small long s (
ſ
, U+017F).
v0.3.0
🚨 Breaking
- Changed the default
maxRecursionDepth
from6
to5
.
🚀 Features
- Added support for multiple, non-overlapping recursions.
- Added support for indirect recursion.
🐞 Fixes
- Fixed a bug with some group types when using recursion by number.
- Improved some cases of
\G
emulation.
v0.2.0
🚨 Breaking
- Changed
target
valueESNext
toES2025
. The features used are all slated for ES2025.
🐞 Fixes
- Error for unsupported grapheme boundary
\y
,\Y
. - Error for unsupported octal UTF-encoded bytes above
\177
. - Error for incomplete, invalid, or unsupported octal code point
\o{…}
.