jest-regex-util
Advanced tools
Comparing version 24.0.0 to 24.2.0
@@ -20,3 +20,2 @@ 'use strict'; | ||
* | ||
* | ||
*/ | ||
@@ -44,3 +43,3 @@ const escapePathForRegex = dir => { | ||
/(\/|(.)?\\(?![[\]{}()*+?.^$|\\]))/g, | ||
(_match, p1, p2) => (p2 && p2 !== '\\' ? p2 + '\\\\' : '\\\\') | ||
(_match, _, p2) => (p2 && p2 !== '\\' ? p2 + '\\\\' : '\\\\') | ||
); | ||
@@ -47,0 +46,0 @@ } |
{ | ||
"name": "jest-regex-util", | ||
"version": "24.0.0", | ||
"version": "24.2.0", | ||
"repository": { | ||
@@ -14,3 +14,4 @@ "type": "git", | ||
"main": "build/index.js", | ||
"gitHead": "634e5a54f46b2a62d1dc81a170562e6f4e55ad60" | ||
"types": "build/index.d.ts", | ||
"gitHead": "d23f1ef18567763ab0133372e376ae5026a23d4b" | ||
} |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
3583
6
55
1