diff options
Diffstat (limited to 'node_modules/@babel/plugin-transform-unicode-sets-regex/lib')
| -rw-r--r-- | node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js | 6 | ||||
| -rw-r--r-- | node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js.map | 2 |
2 files changed, 5 insertions, 3 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"); + } } }); }); diff --git a/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js.map b/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js.map index 8d28d25c..44120656 100644 --- a/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js.map +++ b/node_modules/@babel/plugin-transform-unicode-sets-regex/lib/index.js.map @@ -1 +1 @@ -{"version":3,"names":["_helperCreateRegexpFeaturesPlugin","require","_helperPluginUtils","_default","exports","default","declare","api","assertVersion","createRegExpFeaturePlugin","name","feature","manipulateOptions","opts","parserOpts","plugins","push"],"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @babel/development/plugin-name */\nimport { createRegExpFeaturePlugin } from \"@babel/helper-create-regexp-features-plugin\";\nimport { declare } from \"@babel/helper-plugin-utils\";\n\nexport default declare(api => {\n api.assertVersion(REQUIRED_VERSION(7));\n\n return createRegExpFeaturePlugin({\n name: \"transform-unicode-sets-regex\",\n feature: \"unicodeSetsFlag\",\n manipulateOptions(opts, parserOpts) {\n parserOpts.plugins.push(\"regexpUnicodeSets\");\n },\n });\n});\n"],"mappings":";;;;;;AACA,IAAAA,iCAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAAqD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEtC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAkB,CAAE,CAAC;EAEtC,OAAO,IAAAC,2DAAyB,EAAC;IAC/BC,IAAI,EAAE,8BAA8B;IACpCC,OAAO,EAAE,iBAAiB;IAC1BC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MAClCA,UAAU,CAACC,OAAO,CAACC,IAAI,CAAC,mBAAmB,CAAC;IAC9C;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
\ No newline at end of file +{"version":3,"names":["_helperCreateRegexpFeaturesPlugin","require","_helperPluginUtils","_default","exports","default","declare","api","assertVersion","createRegExpFeaturePlugin","name","feature","manipulateOptions","opts","parserOpts","plugins","push"],"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @babel/development/plugin-name */\nimport { createRegExpFeaturePlugin } from \"@babel/helper-create-regexp-features-plugin\";\nimport { declare } from \"@babel/helper-plugin-utils\";\n\nexport default declare(api => {\n api.assertVersion(REQUIRED_VERSION(7));\n\n return createRegExpFeaturePlugin({\n name: \"transform-unicode-sets-regex\",\n feature: \"unicodeSetsFlag\",\n manipulateOptions(opts, parserOpts) {\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) This plugin has been removed\n parserOpts.plugins.push(\"regexpUnicodeSets\");\n }\n },\n });\n});\n"],"mappings":";;;;;;AACA,IAAAA,iCAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAAqD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEtC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,uCAAoB,CAAC;EAEtC,OAAO,IAAAC,2DAAyB,EAAC;IAC/BC,IAAI,EAAE,8BAA8B;IACpCC,OAAO,EAAE,iBAAiB;IAC1BC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MACC;QAEjCA,UAAU,CAACC,OAAO,CAACC,IAAI,CAAC,mBAAmB,CAAC;MAC9C;IACF;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
\ No newline at end of file |
