@babel/helper-create-regexp-features-plugin
Advanced tools
Comparing version 7.12.1 to 7.12.7
@@ -18,4 +18,2 @@ "use strict"; | ||
var _helperRegex = require("@babel/helper-regex"); | ||
var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure")); | ||
@@ -25,2 +23,6 @@ | ||
function pullFlag(node, flag) { | ||
node.flags = node.flags.replace(flag, ""); | ||
} | ||
const version = _package.default.version.split(".").reduce((v, x) => v * 1e5 + +x, 0); | ||
@@ -104,7 +106,7 @@ | ||
if ((0, _features.hasFeature)(features, _features.FEATURES.unicodeFlag)) { | ||
(0, _helperRegex.pullFlag)(node, "u"); | ||
pullFlag(node, "u"); | ||
} | ||
if ((0, _features.hasFeature)(features, _features.FEATURES.dotAllFlag)) { | ||
(0, _helperRegex.pullFlag)(node, "s"); | ||
pullFlag(node, "s"); | ||
} | ||
@@ -111,0 +113,0 @@ } |
{ | ||
"name": "@babel/helper-create-regexp-features-plugin", | ||
"version": "7.12.1", | ||
"version": "7.12.7", | ||
"author": "The Babel Team (https://babeljs.io/team)", | ||
@@ -22,3 +22,2 @@ "license": "MIT", | ||
"@babel/helper-annotate-as-pure": "^7.10.4", | ||
"@babel/helper-regex": "^7.10.4", | ||
"regexpu-core": "^4.7.1" | ||
@@ -30,5 +29,5 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.1", | ||
"@babel/core": "7.12.7", | ||
"@babel/helper-plugin-test-runner": "7.10.4" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # @babel/helper-create-regexp-features-plugin | ||
See our website [@babel/helper-create-regexp-features-plugin](https://babeljs.io/docs/en/next/babel-helper-create-regexp-features-plugin.html) for more information. | ||
See our website [@babel/helper-create-regexp-features-plugin](https://babeljs.io/docs/en/babel-helper-create-regexp-features-plugin) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
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
3
159
7726
- Removed@babel/helper-regex@^7.10.4
- Removed@babel/helper-regex@7.10.5(transitive)
- Removedlodash@4.17.21(transitive)