diff --git a/LICENSE b/LICENSE index b909eb6..b333a2b 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 19b521f..49ed373 100644 --- a/README.md +++ b/README.md @@ -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)).* @@ -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 diff --git a/binding.gyp b/binding.gyp index db156eb..df844b1 100644 --- a/binding.gyp +++ b/binding.gyp @@ -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", diff --git a/package-lock.json b/package-lock.json index 68f3c26..ac93969 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "re2", - "version": "1.21.0", + "version": "1.21.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "re2", - "version": "1.21.0", + "version": "1.21.1", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { @@ -15,7 +15,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" } @@ -72,9 +72,9 @@ } }, "node_modules/@types/node": { - "version": "20.14.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.1.tgz", - "integrity": "sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==", + "version": "20.14.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", + "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", "dev": true, "dependencies": { "undici-types": "~5.26.4" diff --git a/package.json b/package.json index c3faf3b..39e7a4d 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" }, diff --git a/vendor/re2 b/vendor/re2 index 2b354c6..1db129f 160000 --- a/vendor/re2 +++ b/vendor/re2 @@ -1 +1 @@ -Subproject commit 2b354c6ad0d0479dcff68dab23fb0d1143a482c2 +Subproject commit 1db129ff30e1151ca22baa4da826e9363f49eefb