🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

re2

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re2 - npm Package Compare versions

Comparing version

to
1.12.0

tests/worker.js

2

package.json
{
"name": "re2",
"version": "1.11.0",
"version": "1.12.0",
"description": "Bindings for RE2: fast, safe alternative to backtracking regular expression engines.",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/uhop/node-re2",

'use strict';
var RE2 = require('./build/Release/re2.node');
const RE2 = require('./build/Release/re2');
if (typeof Symbol != 'undefined') {
Symbol.match &&
(RE2.prototype[Symbol.match] = function(str) {
(RE2.prototype[Symbol.match] = function (str) {
return this.match(str);
});
Symbol.search &&
(RE2.prototype[Symbol.search] = function(str) {
(RE2.prototype[Symbol.search] = function (str) {
return this.search(str);
});
Symbol.replace &&
(RE2.prototype[Symbol.replace] = function(str, repl) {
(RE2.prototype[Symbol.replace] = function (str, repl) {
return this.replace(str, repl);
});
Symbol.split &&
(RE2.prototype[Symbol.split] = function(str, limit) {
(RE2.prototype[Symbol.split] = function (str, limit) {
return this.split(str, limit);

@@ -21,0 +21,0 @@ });

@@ -353,2 +353,3 @@ # node-re2

- 1.12.0 *Updated the way `re2` objects are constructed.*
- 1.11.0 *Updated the way to initialize the extension (thx [BannerBomb](https://github.com/BannerBomb)).*

@@ -355,0 +356,0 @@ - 1.10.5 *Bugfix for optional groups (thx [Josh Yudaken](https://github.com/qix)), the latest version of `re2`.*

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet