Skip to content

Releases: slevithan/oniguruma-to-es

v0.4.0

16 Nov 19:00
Compare
Choose a tag to compare

🚨 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 option avoidSubclass is enabled.
  • Added target option auto (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

13 Nov 17:37
Compare
Choose a tag to compare

🚨 Breaking

  • Changed the default maxRecursionDepth from 6 to 5.

🚀 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

11 Nov 10:37
Compare
Choose a tag to compare

🚨 Breaking

  • Changed target value ESNext to ES2025. 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{…}.

v0.1.1

09 Nov 20:32
Compare
Choose a tag to compare

🚀 Features

  • Improved the demo REPL.

🐞 Fixes

  • Improved handling of backreferences to nonparticipating captures.
  • Incomplete \g or \k with following < or ' is an error.

v0.1.0

09 Nov 19:57
Compare
Choose a tag to compare

Initial release.