@babel/helper-regex
Advanced tools
Comparing version 7.0.0-beta.42 to 7.0.0-beta.43
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.is = is; | ||
exports.pullFlag = pullFlag; | ||
var _pull = _interopRequireDefault(require("lodash/pull")); | ||
function _pull() { | ||
const data = _interopRequireDefault(require("lodash/pull")); | ||
_pull = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -16,6 +26,6 @@ | ||
function pullFlag(node, flag) { | ||
var flags = node.flags.split(""); | ||
const flags = node.flags.split(""); | ||
if (node.flags.indexOf(flag) < 0) return; | ||
(0, _pull.default)(flags, flag); | ||
(0, _pull().default)(flags, flag); | ||
node.flags = flags.join(""); | ||
} |
{ | ||
"name": "@babel/helper-regex", | ||
"version": "7.0.0-beta.42", | ||
"version": "7.0.0-beta.43", | ||
"description": "Helper function to check for literal RegEx", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-regex", |
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
1008
22