summaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-transform-unicode-property-regex
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:31:11 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:31:11 +0800
commitaa773172311dcada759dfbaac485f4bc6e00bc21 (patch)
treeca6d9a5eff3ab8f689f9acb4f0df791d9486813d /node_modules/@babel/plugin-transform-unicode-property-regex
parentc5a5384e846f242e901e859fe600d695d8990a9a (diff)
added babel
Diffstat (limited to 'node_modules/@babel/plugin-transform-unicode-property-regex')
-rw-r--r--node_modules/@babel/plugin-transform-unicode-property-regex/LICENSE22
-rw-r--r--node_modules/@babel/plugin-transform-unicode-property-regex/README.md19
-rw-r--r--node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js27
-rw-r--r--node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js.map1
-rw-r--r--node_modules/@babel/plugin-transform-unicode-property-regex/package.json41
5 files changed, 110 insertions, 0 deletions
diff --git a/node_modules/@babel/plugin-transform-unicode-property-regex/LICENSE b/node_modules/@babel/plugin-transform-unicode-property-regex/LICENSE
new file mode 100644
index 00000000..f31575ec
--- /dev/null
+++ b/node_modules/@babel/plugin-transform-unicode-property-regex/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2014-present Sebastian McKenzie and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/@babel/plugin-transform-unicode-property-regex/README.md b/node_modules/@babel/plugin-transform-unicode-property-regex/README.md
new file mode 100644
index 00000000..c7bde26d
--- /dev/null
+++ b/node_modules/@babel/plugin-transform-unicode-property-regex/README.md
@@ -0,0 +1,19 @@
+# @babel/plugin-transform-unicode-property-regex
+
+> Compile Unicode property escapes in Unicode regular expressions to ES5.
+
+See our website [@babel/plugin-transform-unicode-property-regex](https://babeljs.io/docs/en/babel-plugin-transform-unicode-property-regex) for more information.
+
+## Install
+
+Using npm:
+
+```sh
+npm install --save-dev @babel/plugin-transform-unicode-property-regex
+```
+
+or using yarn:
+
+```sh
+yarn add @babel/plugin-transform-unicode-property-regex --dev
+```
diff --git a/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js b/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js
new file mode 100644
index 00000000..a9c39b70
--- /dev/null
+++ b/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js
@@ -0,0 +1,27 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
+var _helperPluginUtils = require("@babel/helper-plugin-utils");
+var _default = (0, _helperPluginUtils.declare)((api, options) => {
+ api.assertVersion(7);
+ const {
+ useUnicodeFlag = true
+ } = options;
+ if (typeof useUnicodeFlag !== "boolean") {
+ throw new Error(".useUnicodeFlag must be a boolean, or undefined");
+ }
+ return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
+ name: "transform-unicode-property-regex",
+ feature: "unicodePropertyEscape",
+ options: {
+ useUnicodeFlag
+ }
+ });
+});
+exports.default = _default;
+
+//# sourceMappingURL=index.js.map
diff --git a/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js.map b/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js.map
new file mode 100644
index 00000000..a7f4f2e0
--- /dev/null
+++ b/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"names":["_helperCreateRegexpFeaturesPlugin","require","_helperPluginUtils","_default","declare","api","options","assertVersion","useUnicodeFlag","Error","createRegExpFeaturePlugin","name","feature","exports","default"],"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 interface Options {\n useUnicodeFlag?: boolean;\n}\n\nexport default declare((api, options: Options) => {\n api.assertVersion(7);\n\n const { useUnicodeFlag = true } = options;\n if (typeof useUnicodeFlag !== \"boolean\") {\n throw new Error(\".useUnicodeFlag must be a boolean, or undefined\");\n }\n\n return createRegExpFeaturePlugin({\n name: \"transform-unicode-property-regex\",\n feature: \"unicodePropertyEscape\",\n options: { useUnicodeFlag },\n });\n});\n"],"mappings":";;;;;;AACA,IAAAA,iCAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAAqD,IAAAE,QAAA,GAMtC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAEC,OAAgB,KAAK;EAChDD,GAAG,CAACE,aAAa,CAAC,CAAC,CAAC;EAEpB,MAAM;IAAEC,cAAc,GAAG;EAAK,CAAC,GAAGF,OAAO;EACzC,IAAI,OAAOE,cAAc,KAAK,SAAS,EAAE;IACvC,MAAM,IAAIC,KAAK,CAAC,iDAAiD,CAAC;EACpE;EAEA,OAAO,IAAAC,2DAAyB,EAAC;IAC/BC,IAAI,EAAE,kCAAkC;IACxCC,OAAO,EAAE,uBAAuB;IAChCN,OAAO,EAAE;MAAEE;IAAe;EAC5B,CAAC,CAAC;AACJ,CAAC,CAAC;AAAAK,OAAA,CAAAC,OAAA,GAAAX,QAAA"} \ No newline at end of file
diff --git a/node_modules/@babel/plugin-transform-unicode-property-regex/package.json b/node_modules/@babel/plugin-transform-unicode-property-regex/package.json
new file mode 100644
index 00000000..197a6a2d
--- /dev/null
+++ b/node_modules/@babel/plugin-transform-unicode-property-regex/package.json
@@ -0,0 +1,41 @@
+{
+ "name": "@babel/plugin-transform-unicode-property-regex",
+ "version": "7.22.5",
+ "description": "Compile Unicode property escapes in Unicode regular expressions to ES5.",
+ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-unicode-property-regex",
+ "license": "MIT",
+ "publishConfig": {
+ "access": "public"
+ },
+ "main": "./lib/index.js",
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "keywords": [
+ "babel-plugin",
+ "regex",
+ "regexp",
+ "regular expressions",
+ "unicode properties",
+ "unicode"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/babel/babel.git",
+ "directory": "packages/babel-plugin-transform-unicode-property-regex"
+ },
+ "bugs": "https://github.com/babel/babel/issues",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.22.5",
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.22.5",
+ "@babel/helper-plugin-test-runner": "^7.22.5"
+ },
+ "author": "The Babel Team (https://babel.dev/team)",
+ "type": "commonjs"
+} \ No newline at end of file