Skip to content

Commit

Permalink
New version: 1.21.1:
Browse files Browse the repository at this point in the history
* Updated dependencies.
* Updated the date on LICENSE.
* Updated release notes.
* This release fixes #210.
  • Loading branch information
uhop committed Jun 5, 2024
1 parent 5e779ce commit c23cd4e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The text of the BSD license is reproduced below.
The "New" BSD License:
**********************

Copyright (c) 2005-2020, Eugene Lazutkin
Copyright (c) 2005-2024, Eugene Lazutkin
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ console.log('re2_res : ' + re2_res); // prints: re2_res : abc,a,b,c

## Release history

- 1.21.1 *Fixed a memory regression reported by [matthewvalentine](https://github.com/matthewvalentine), thx! Updated deps.*
- 1.21.0 *Fixed the performance problem reported by [matthewvalentine](https://github.com/matthewvalentine) (thx!). The change improves performance for multiple use cases.*
- 1.20.12 *Updated deps. Maintenance chores. Fixes for buffer-related bugs: `exec()` index (reported by [matthewvalentine](https://github.com/matthewvalentine), thx) and `match()` index.*
- 1.20.11 *Updated deps. Added support for Node 22 (thx, [Elton Leong](https://github.com/eltonkl)).*
Expand All @@ -367,16 +368,9 @@ console.log('re2_res : ' + re2_res); // prints: re2_res : abc,a,b,c
- 1.20.2 *Fix: added a missing C++ file, which caused a bug on Alpine Linux. Thx, [rbitanga-manticore](https://github.com/rbitanga-manticore).*
- 1.20.1 *Fix: files included in the npm package to build the C++ code.*
- 1.20.0 *Updated RE2. New version uses `abseil-cpp` and required the adaptation work. Thx, [Stefano Rivera](https://github.com/stefanor).*
- 1.19.2 *Bugfix: infinite loop in matchAll() with empty matches. Thx, [ziyunfei](https://github.com/ziyunfei).*
- 1.19.1 *Bugfix: indices for the `d` flag when `lastIndex` is non zero. Bugfix: the match result. Thx, [teebu](https://github.com/teebu).*
- 1.19.0 *Added `hasIndices` AKA the `d` flag. Thx, [teebu](https://github.com/teebu).*
- 1.18.3 *Fixed bug with non-matched groups. Thx, [Dan Setterquist](https://github.com/dset).*
- 1.18.2 *Reference to the binary module by its full name.*
- 1.18.1 *Support for Node 16, 18, 20 + Darwin arm64 precompiled binaries.*
- 1.18.0 *Modified TS bindings, added a type test (thx, [Kenichi Kamiya](https://github.com/kachick) and [Jamie Magee](https://github.com/JamieMagee)).*

The rest can be consulted in the project's wiki [Release history](https://github.com/uhop/node-re2/wiki/Release-history).

## License

BSD
BSD-3-Clause
1 change: 1 addition & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"vendor/abseil-cpp/absl/hash/internal/city.cc",
"vendor/abseil-cpp/absl/hash/internal/hash.cc",
"vendor/abseil-cpp/absl/hash/internal/low_level_hash.cc",
"vendor/abseil-cpp/absl/log/internal/nullguard.cc",
"vendor/abseil-cpp/absl/numeric/int128.cc",
"vendor/abseil-cpp/absl/strings/ascii.cc",
"vendor/abseil-cpp/absl/strings/charconv.cc",
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "re2",
"version": "1.21.0",
"version": "1.21.1",
"description": "Bindings for RE2: fast, safe alternative to backtracking regular expression engines.",
"homepage": "https://github.com/uhop/node-re2",
"bugs": "https://github.com/uhop/node-re2/issues",
Expand All @@ -20,7 +20,7 @@
"node-gyp": "^10.1.0"
},
"devDependencies": {
"@types/node": "^20.14.1",
"@types/node": "^20.14.2",
"heya-unit": "^0.3.0",
"typescript": "^5.4.5"
},
Expand Down
2 changes: 1 addition & 1 deletion vendor/re2
Submodule re2 updated 75 files
+2 −2 .github/workflows/ci-bazel.yml
+8 −14 .github/workflows/ci-cmake.yml
+12 −9 .github/workflows/ci.yml
+3 −3 .github/workflows/pages.yml
+1 −1 .github/workflows/pr.yml
+7 −7 .github/workflows/python.yml
+1 −1 .github/workflows/release.yml
+37 −2 BUILD.bazel
+6 −1 CMakeLists.txt
+3 −3 MODULE.bazel
+5 −3 Makefile
+9 −2 python/_re2.cc
+1 −1 python/setup.py
+4 −4 re2/bitmap256.cc
+11 −9 re2/bitmap256.h
+9 −6 re2/bitstate.cc
+14 −11 re2/compile.cc
+26 −22 re2/dfa.cc
+8 −5 re2/filtered_re2.cc
+2 −0 re2/fuzzing/re2_fuzzer.cc
+3 −3 re2/mimics_pcre.cc
+21 −17 re2/nfa.cc
+17 −15 re2/onepass.cc
+14 −13 re2/parse.cc
+15 −13 re2/prefilter.cc
+3 −2 re2/prefilter.h
+18 −18 re2/prefilter_tree.cc
+5 −4 re2/prefilter_tree.h
+39 −31 re2/prog.cc
+42 −16 re2/prog.h
+56 −51 re2/re2.cc
+23 −27 re2/re2.h
+13 −11 re2/regexp.cc
+40 −11 re2/regexp.h
+15 −10 re2/set.cc
+13 −9 re2/simplify.cc
+9 −7 re2/sparse_array.h
+9 −7 re2/sparse_set.h
+8 −6 re2/testing/backtrack.cc
+1 −1 re2/testing/charclass_test.cc
+10 −7 re2/testing/compile_test.cc
+15 −12 re2/testing/dfa_test.cc
+5 −4 re2/testing/dump.cc
+1 −0 re2/testing/exhaustive1_test.cc
+2 −2 re2/testing/exhaustive2_test.cc
+3 −3 re2/testing/exhaustive3_test.cc
+0 −1 re2/testing/exhaustive_test.cc
+14 −5 re2/testing/exhaustive_tester.cc
+1 −0 re2/testing/exhaustive_tester.h
+12 −11 re2/testing/filtered_re2_test.cc
+2 −1 re2/testing/mimics_pcre_test.cc
+2 −3 re2/testing/null_walker.cc
+4 −2 re2/testing/parse_test.cc
+9 −6 re2/testing/possible_match_test.cc
+1 −1 re2/testing/random_test.cc
+4 −5 re2/testing/re2_arg_test.cc
+13 −9 re2/testing/re2_test.cc
+189 −153 re2/testing/regexp_benchmark.cc
+11 −7 re2/testing/regexp_generator.cc
+1 −0 re2/testing/regexp_generator.h
+3 −2 re2/testing/regexp_test.cc
+2 −1 re2/testing/required_prefix_test.cc
+6 −3 re2/testing/search_test.cc
+4 −4 re2/testing/set_test.cc
+2 −3 re2/testing/simplify_test.cc
+11 −8 re2/testing/string_generator.cc
+1 −0 re2/testing/string_generator.h
+6 −2 re2/testing/string_generator_test.cc
+46 −40 re2/testing/tester.cc
+1 −1 re2/testing/tester.h
+5 −4 re2/tostring.cc
+4 −3 re2/walker-inl.h
+0 −109 util/logging.h
+3 −2 util/pcre.cc
+16 −16 util/pcre.h

0 comments on commit c23cd4e

Please sign in to comment.