first
This commit is contained in:
22
node_modules/@babel/plugin-transform-dynamic-import/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/plugin-transform-dynamic-import/LICENSE
generated
vendored
Normal file
@ -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.
|
19
node_modules/@babel/plugin-transform-dynamic-import/README.md
generated
vendored
Normal file
19
node_modules/@babel/plugin-transform-dynamic-import/README.md
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# @babel/plugin-transform-dynamic-import
|
||||
|
||||
> Transform import() expressions
|
||||
|
||||
See our website [@babel/plugin-transform-dynamic-import](https://babeljs.io/docs/en/babel-plugin-transform-dynamic-import) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-transform-dynamic-import
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-transform-dynamic-import --dev
|
||||
```
|
42
node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
generated
vendored
Normal file
42
node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
var _pluginSyntaxDynamicImport = require("@babel/plugin-syntax-dynamic-import");
|
||||
const SUPPORTED_MODULES = ["commonjs", "amd", "systemjs"];
|
||||
const MODULES_NOT_FOUND = `\
|
||||
@babel/plugin-transform-dynamic-import depends on a modules
|
||||
transform plugin. Supported plugins are:
|
||||
- @babel/plugin-transform-modules-commonjs ^7.4.0
|
||||
- @babel/plugin-transform-modules-amd ^7.4.0
|
||||
- @babel/plugin-transform-modules-systemjs ^7.4.0
|
||||
|
||||
If you are using Webpack or Rollup and thus don't want
|
||||
Babel to transpile your imports and exports, you can use
|
||||
the @babel/plugin-syntax-dynamic-import plugin and let your
|
||||
bundler handle dynamic imports.
|
||||
`;
|
||||
var _default = (0, _helperPluginUtils.declare)(api => {
|
||||
api.assertVersion(7);
|
||||
return {
|
||||
name: "transform-dynamic-import",
|
||||
inherits: _pluginSyntaxDynamicImport.default,
|
||||
pre() {
|
||||
this.file.set("@babel/plugin-proposal-dynamic-import", "7.22.5");
|
||||
},
|
||||
visitor: {
|
||||
Program() {
|
||||
const modules = this.file.get("@babel/plugin-transform-modules-*");
|
||||
if (!SUPPORTED_MODULES.includes(modules)) {
|
||||
throw new Error(MODULES_NOT_FOUND);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
exports.default = _default;
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"names":["_helperPluginUtils","require","_pluginSyntaxDynamicImport","SUPPORTED_MODULES","MODULES_NOT_FOUND","_default","declare","api","assertVersion","name","inherits","syntaxDynamicImport","default","pre","file","set","visitor","Program","modules","get","includes","Error","exports"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\nimport syntaxDynamicImport from \"@babel/plugin-syntax-dynamic-import\";\n\nconst SUPPORTED_MODULES = [\"commonjs\", \"amd\", \"systemjs\"];\n\nconst MODULES_NOT_FOUND = `\\\n@babel/plugin-transform-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;\n\nexport default declare(api => {\n api.assertVersion(7);\n\n return {\n name: \"transform-dynamic-import\",\n inherits: syntaxDynamicImport.default,\n\n pre() {\n // We keep using the old name, for compatibility with older\n // version of the CommonJS transform.\n this.file.set(\n \"@babel/plugin-proposal-dynamic-import\",\n PACKAGE_JSON.version,\n );\n },\n\n visitor: {\n Program() {\n const modules = this.file.get(\"@babel/plugin-transform-modules-*\");\n\n if (!SUPPORTED_MODULES.includes(modules)) {\n throw new Error(MODULES_NOT_FOUND);\n }\n },\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,0BAAA,GAAAD,OAAA;AAEA,MAAME,iBAAiB,GAAG,CAAC,UAAU,EAAE,KAAK,EAAE,UAAU,CAAC;AAEzD,MAAMC,iBAAiB,GAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAAC,IAAAC,QAAA,GAEa,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAC,CAAC,CAAC;EAEpB,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAChCC,QAAQ,EAAEC,0BAAmB,CAACC,OAAO;IAErCC,GAAGA,CAAA,EAAG;MAGJ,IAAI,CAACC,IAAI,CAACC,GAAG,CACX,uCAAuC,UAEzC,CAAC;IACH,CAAC;IAEDC,OAAO,EAAE;MACPC,OAAOA,CAAA,EAAG;QACR,MAAMC,OAAO,GAAG,IAAI,CAACJ,IAAI,CAACK,GAAG,CAAC,mCAAmC,CAAC;QAElE,IAAI,CAAChB,iBAAiB,CAACiB,QAAQ,CAACF,OAAO,CAAC,EAAE;UACxC,MAAM,IAAIG,KAAK,CAACjB,iBAAiB,CAAC;QACpC;MACF;IACF;EACF,CAAC;AACH,CAAC,CAAC;AAAAkB,OAAA,CAAAV,OAAA,GAAAP,QAAA"}
|
67
node_modules/@babel/plugin-transform-dynamic-import/package.json
generated
vendored
Normal file
67
node_modules/@babel/plugin-transform-dynamic-import/package.json
generated
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"_from": "@babel/plugin-transform-dynamic-import@^7.22.5",
|
||||
"_id": "@babel/plugin-transform-dynamic-import@7.22.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-0MC3ppTB1AMxd8fXjSrbPa7LT9hrImt+/fcj+Pg5YMD7UQyWp/02+JWpdnCymmsXwIx5Z+sYn1bwCn4ZJNvhqQ==",
|
||||
"_location": "/@babel/plugin-transform-dynamic-import",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "@babel/plugin-transform-dynamic-import@^7.22.5",
|
||||
"name": "@babel/plugin-transform-dynamic-import",
|
||||
"escapedName": "@babel%2fplugin-transform-dynamic-import",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "^7.22.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^7.22.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.5.tgz",
|
||||
"_shasum": "d6908a8916a810468c4edff73b5b75bda6ad393e",
|
||||
"_spec": "@babel/plugin-transform-dynamic-import@^7.22.5",
|
||||
"_where": "C:\\Users\\zhouxueli\\Desktop\\scheduling-app\\node_modules\\@babel\\preset-env",
|
||||
"author": {
|
||||
"name": "The Babel Team",
|
||||
"url": "https://babel.dev/team"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "^7.22.5",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Transform import() expressions",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.5",
|
||||
"@babel/helper-plugin-test-runner": "^7.22.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./lib/index.js",
|
||||
"name": "@babel/plugin-transform-dynamic-import",
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-transform-dynamic-import"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"version": "7.22.5"
|
||||
}
|
Reference in New Issue
Block a user