summaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js')
-rw-r--r--node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js b/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js
index b7f7dffe..2cb64dd3 100644
--- a/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js
+++ b/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js
@@ -7,12 +7,14 @@ exports.default = void 0;
var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
- api.assertVersion(7);
+ api.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");
return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
name: "transform-unicode-sets-regex",
feature: "unicodeSetsFlag",
manipulateOptions(opts, parserOpts) {
- parserOpts.plugins.push("regexpUnicodeSets");
+ {
+ parserOpts.plugins.push("regexpUnicodeSets");
+ }
}
});
});