babel-plugin-transform-regexp-constructors
Advanced tools
Comparing version 0.2.0 to 0.3.0-alpha.a7421897
@@ -19,2 +19,5 @@ "use strict"; | ||
} | ||
pattern = pattern.replace(/\0/g, "\\0"); | ||
return t.regExpLiteral(pattern, flags); | ||
@@ -21,0 +24,0 @@ } |
{ | ||
"name": "babel-plugin-transform-regexp-constructors", | ||
"version": "0.2.0", | ||
"version": "0.3.0-alpha.a7421897", | ||
"description": "This changes RegExp constructors into literals if the RegExp arguments are strings.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2667
42
3