Skip to content

Releases: le0pard/re2js

1.2.2

17 Feb 18:32
8663321

Choose a tag to compare

  • Improve typescript support

Full Changelog: 1.2.1...1.2.2

1.2.1

27 Jan 19:22
e50b7e0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.0...1.2.1

1.2.0

06 Sep 10:03
8576843

Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.2.0

Unicode 16 and `translateRegExp()` method

27 Feb 21:52
c4cde20

Choose a tag to compare

What's Changed

  • Support Unicode 16
  • Add translateRegExp() method to preprocesses a given regular expression string to ensure compatibility with RE2JS

Full Changelog: 1.0.1...1.1.0

Fixed `programSize()` d.ts return type

04 Feb 18:48
f331455

Choose a tag to compare

What's Changed

  • Fixed programSize() d.ts return type

Full Changelog: 1.0.0...1.0.1

1.0.0 - added additional regex checks, like have original re2 + programSize()

04 Feb 18:34
639d3e5

Choose a tag to compare

What's Changed

  • Added programSize() - represents a very approximate measure of a regexp's "cost". Larger numbers are more expensive than smaller numbers
  • Added regex checks for height, runes and size for parse tree in #15 - now it should raise same errors for too big or too nested regex as original re2
  • Fixed parseEscape to support only ASCII values (show error on invalid escape in regex)

Full Changelog: 0.4.3...1.0.0

Node.js 22 LTS + fix Unicode MAX_FOLD

19 Nov 22:38
597c0da

Choose a tag to compare

What's Changed

  • Moved to Node.js 22 LTS
  • Fix Unicode MAX_FOLD value for Unicode

Full Changelog: 0.4.2...0.4.3

Fix DOM Clobbering CVE from rollup build

24 Sep 14:24
778f2be

Choose a tag to compare

What's Changed

Full Changelog: 0.4.1...0.4.2

Fix transpile options and types

02 Dec 13:54
fc03a29

Choose a tag to compare

Release 0.4.0

31 Aug 19:53
9b1041f

Choose a tag to compare

What's Changed

  • Add support for (?<name>expr).

Full Changelog: 0.3.3...0.4.0