From aa773172311dcada759dfbaac485f4bc6e00bc21 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:31:11 +0800 Subject: added babel --- .../plugin-transform-private-methods/LICENSE | 22 ++++++++++++++ .../plugin-transform-private-methods/README.md | 19 ++++++++++++ .../plugin-transform-private-methods/lib/index.js | 23 ++++++++++++++ .../lib/index.js.map | 1 + .../plugin-transform-private-methods/package.json | 35 ++++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 node_modules/@babel/plugin-transform-private-methods/LICENSE create mode 100644 node_modules/@babel/plugin-transform-private-methods/README.md create mode 100644 node_modules/@babel/plugin-transform-private-methods/lib/index.js create mode 100644 node_modules/@babel/plugin-transform-private-methods/lib/index.js.map create mode 100644 node_modules/@babel/plugin-transform-private-methods/package.json (limited to 'node_modules/@babel/plugin-transform-private-methods') diff --git a/node_modules/@babel/plugin-transform-private-methods/LICENSE b/node_modules/@babel/plugin-transform-private-methods/LICENSE new file mode 100644 index 00000000..f31575ec --- /dev/null +++ b/node_modules/@babel/plugin-transform-private-methods/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-private-methods/README.md b/node_modules/@babel/plugin-transform-private-methods/README.md new file mode 100644 index 00000000..69275309 --- /dev/null +++ b/node_modules/@babel/plugin-transform-private-methods/README.md @@ -0,0 +1,19 @@ +# @babel/plugin-transform-private-methods + +> This plugin transforms private class methods + +See our website [@babel/plugin-transform-private-methods](https://babeljs.io/docs/en/babel-plugin-transform-private-methods) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/plugin-transform-private-methods +``` + +or using yarn: + +```sh +yarn add @babel/plugin-transform-private-methods --dev +``` diff --git a/node_modules/@babel/plugin-transform-private-methods/lib/index.js b/node_modules/@babel/plugin-transform-private-methods/lib/index.js new file mode 100644 index 00000000..90768352 --- /dev/null +++ b/node_modules/@babel/plugin-transform-private-methods/lib/index.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _helperPluginUtils = require("@babel/helper-plugin-utils"); +var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin"); +var _default = (0, _helperPluginUtils.declare)((api, options) => { + api.assertVersion(7); + return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({ + name: "transform-private-methods", + api, + feature: _helperCreateClassFeaturesPlugin.FEATURES.privateMethods, + loose: options.loose, + manipulateOptions(opts, parserOpts) { + parserOpts.plugins.push("classPrivateMethods"); + } + }); +}); +exports.default = _default; + +//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/plugin-transform-private-methods/lib/index.js.map b/node_modules/@babel/plugin-transform-private-methods/lib/index.js.map new file mode 100644 index 00000000..0bd88ec7 --- /dev/null +++ b/node_modules/@babel/plugin-transform-private-methods/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_helperPluginUtils","require","_helperCreateClassFeaturesPlugin","_default","declare","api","options","assertVersion","createClassFeaturePlugin","name","feature","FEATURES","privateMethods","loose","manipulateOptions","opts","parserOpts","plugins","push","exports","default"],"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @babel/development/plugin-name */\n\nimport { declare } from \"@babel/helper-plugin-utils\";\nimport {\n createClassFeaturePlugin,\n FEATURES,\n} from \"@babel/helper-create-class-features-plugin\";\n\nexport interface Options {\n loose?: boolean;\n}\n\nexport default declare((api, options: Options) => {\n api.assertVersion(7);\n\n return createClassFeaturePlugin({\n name: \"transform-private-methods\",\n\n api,\n feature: FEATURES.privateMethods,\n loose: options.loose,\n\n manipulateOptions(opts, parserOpts) {\n parserOpts.plugins.push(\"classPrivateMethods\");\n },\n });\n});\n"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,gCAAA,GAAAD,OAAA;AAGoD,IAAAE,QAAA,GAMrC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAEC,OAAgB,KAAK;EAChDD,GAAG,CAACE,aAAa,CAAC,CAAC,CAAC;EAEpB,OAAO,IAAAC,yDAAwB,EAAC;IAC9BC,IAAI,EAAE,2BAA2B;IAEjCJ,GAAG;IACHK,OAAO,EAAEC,yCAAQ,CAACC,cAAc;IAChCC,KAAK,EAAEP,OAAO,CAACO,KAAK;IAEpBC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MAClCA,UAAU,CAACC,OAAO,CAACC,IAAI,CAAC,qBAAqB,CAAC;IAChD;EACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAjB,QAAA"} \ No newline at end of file diff --git a/node_modules/@babel/plugin-transform-private-methods/package.json b/node_modules/@babel/plugin-transform-private-methods/package.json new file mode 100644 index 00000000..b6ddbe34 --- /dev/null +++ b/node_modules/@babel/plugin-transform-private-methods/package.json @@ -0,0 +1,35 @@ +{ + "name": "@babel/plugin-transform-private-methods", + "version": "7.22.5", + "description": "This plugin transforms private class methods", + "repository": { + "type": "git", + "url": "https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-transform-private-methods" + }, + "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-private-methods", + "license": "MIT", + "publishConfig": { + "access": "public" + }, + "main": "./lib/index.js", + "keywords": [ + "babel-plugin" + ], + "dependencies": { + "@babel/helper-create-class-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" + }, + "engines": { + "node": ">=6.9.0" + }, + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" +} \ No newline at end of file -- cgit v1.2.3