You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

regexp-support

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regexp-support - npm Package Compare versions

Comparing version

to
1.0.1

lib/pattern.d.ts

3

index.d.ts

@@ -32,2 +32,5 @@ /**

};
pattern: {
namedCapturingGroups: boolean;
};
}>;

@@ -34,0 +37,0 @@ export import hasSupportFlag = lib.hasSupportFlag;

@@ -8,2 +8,3 @@ "use strict";

const flags_1 = require("./lib/flags");
const pattern_1 = require("./lib/pattern");
const _support = {

@@ -33,2 +34,6 @@ /**

flagsAll: {},
pattern: Object.keys(pattern_1.default).reduce(function (a, key) {
a[key] = pattern_1.testPattern(key);
return a;
}, pattern_1.default),
};

@@ -35,0 +40,0 @@ {

@@ -7,2 +7,3 @@ /**

import FlagsName from './lib/flags';
import PatternSupport, { testPattern } from './lib/pattern';

@@ -51,2 +52,8 @@ const _support = {

},
pattern: Object.keys(PatternSupport).reduce(function (a, key)
{
a[key] = testPattern(key);
return a;
}, PatternSupport),
};

@@ -53,0 +60,0 @@

2

package.json
{
"name": "regexp-support",
"version": "1.0.0",
"version": "1.0.1",
"description": "check RegExp ( regular expressions ) support",

@@ -5,0 +5,0 @@ "keywords": [

@@ -30,4 +30,8 @@ # regexp-support

{ flags:
{ dotAll: true,
s: true,
{ multiline: true,
m: true,
global: true,
g: true,
ignoreCase: true,
i: true,
sticky: true,

@@ -37,12 +41,9 @@ y: true,

u: true,
dotAll: true,
s: true,
freeSpacing: false,
x: false,
n: false,
multiline: true,
m: true,
global: true,
g: true,
ignoreCase: true,
i: true },
flagsAll: { g: true, i: true, m: true, s: true, u: true, y: true } }
n: false },
flagsAll: { g: true, i: true, m: true, s: true, u: true, y: true },
pattern: { namedCapturingGroups: true } }
```

@@ -49,0 +50,0 @@