@babel/plugin-transform-unicode-sets-regex
Advanced tools
+2
-2
| import { createRegExpFeaturePlugin } from '@babel/helper-create-regexp-features-plugin'; | ||
| import { declare } from '@babel/helper-plugin-utils'; | ||
| var index = declare(api => { | ||
| api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.3"); | ||
| const index = declare(api => { | ||
| api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.4"); | ||
| return createRegExpFeaturePlugin({ | ||
@@ -7,0 +7,0 @@ name: "transform-unicode-sets-regex", |
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","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.0.0-0 || ^8.0.0\"));\n\n return createRegExpFeaturePlugin({\n name: \"transform-unicode-sets-regex\",\n feature: \"unicodeSetsFlag\",\n });\n});\n"],"names":["declare","api","assertVersion","createRegExpFeaturePlugin","name","feature"],"mappings":";;;AAIA,YAAeA,OAAO,CAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAA,kCAAuC,CAAC;AAEzD,EAAA,OAAOC,yBAAyB,CAAC;AAC/BC,IAAAA,IAAI,EAAE,8BAA8B;AACpCC,IAAAA,OAAO,EAAE;AACX,GAAC,CAAC;AACJ,CAAC,CAAC;;;;"} | ||
| {"version":3,"file":"index.js","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.0.0-0 || ^8.0.0\"));\n\n return createRegExpFeaturePlugin({\n name: \"transform-unicode-sets-regex\",\n feature: \"unicodeSetsFlag\",\n });\n});\n"],"names":["declare","api","assertVersion","createRegExpFeaturePlugin","name","feature"],"mappings":";;;AAIA,cAAeA,OAAO,CAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAA,kCAAuC,CAAC;AAEzD,EAAA,OAAOC,yBAAyB,CAAC;AAC/BC,IAAAA,IAAI,EAAE,8BAA8B;AACpCC,IAAAA,OAAO,EAAE;AACX,GAAC,CAAC;AACJ,CAAC,CAAC;;;;"} |
+6
-6
| { | ||
| "name": "@babel/plugin-transform-unicode-sets-regex", | ||
| "version": "8.0.0-rc.3", | ||
| "version": "8.0.0-rc.4", | ||
| "description": "Compile regular expressions' unicodeSets (v) flag.", | ||
@@ -30,11 +30,11 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-unicode-sets-regex", | ||
| "dependencies": { | ||
| "@babel/helper-create-regexp-features-plugin": "^8.0.0-rc.3", | ||
| "@babel/helper-plugin-utils": "^8.0.0-rc.3" | ||
| "@babel/helper-create-regexp-features-plugin": "^8.0.0-rc.4", | ||
| "@babel/helper-plugin-utils": "^8.0.0-rc.4" | ||
| }, | ||
| "peerDependencies": { | ||
| "@babel/core": "^8.0.0-rc.3" | ||
| "@babel/core": "^8.0.0-rc.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^8.0.0-rc.3", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-rc.3" | ||
| "@babel/core": "^8.0.0-rc.4", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-rc.4" | ||
| }, | ||
@@ -41,0 +41,0 @@ "author": "The Babel Team (https://babel.dev/team)", |
4369
0.05%