Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
30
my-app/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js
generated
vendored
Executable file
30
my-app/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js
generated
vendored
Executable file
|
@ -0,0 +1,30 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
var _default = exports.default = (0, _helperPluginUtils.declare)((api, {
|
||||
deprecatedAssertSyntax
|
||||
}) => {
|
||||
api.assertVersion("^7.22.0");
|
||||
if (deprecatedAssertSyntax != null && typeof deprecatedAssertSyntax !== "boolean") {
|
||||
throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.");
|
||||
}
|
||||
return {
|
||||
name: "syntax-import-attributes",
|
||||
manipulateOptions({
|
||||
parserOpts,
|
||||
generatorOpts
|
||||
}) {
|
||||
var _generatorOpts$import;
|
||||
(_generatorOpts$import = generatorOpts.importAttributesKeyword) != null ? _generatorOpts$import : generatorOpts.importAttributesKeyword = "with";
|
||||
parserOpts.plugins.push(["importAttributes", {
|
||||
deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax)
|
||||
}]);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
1
my-app/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map
generated
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_helperPluginUtils","require","_default","exports","default","declare","api","deprecatedAssertSyntax","assertVersion","Error","name","manipulateOptions","parserOpts","generatorOpts","_generatorOpts$import","importAttributesKeyword","plugins","push","Boolean"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport interface Options {\n deprecatedAssertSyntax?: boolean;\n}\n\nexport default declare((api, { deprecatedAssertSyntax }: Options) => {\n api.assertVersion(\n process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH\n ? PACKAGE_JSON.version\n : \"^7.22.0\",\n );\n\n if (\n deprecatedAssertSyntax != null &&\n typeof deprecatedAssertSyntax !== \"boolean\"\n ) {\n throw new Error(\n \"'deprecatedAssertSyntax' must be a boolean, if specified.\",\n );\n }\n\n return {\n name: \"syntax-import-attributes\",\n\n manipulateOptions({ parserOpts, generatorOpts }) {\n generatorOpts.importAttributesKeyword ??= \"with\";\n parserOpts.plugins.push([\n \"importAttributes\",\n { deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax) },\n ]);\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAMtC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAE;EAAEC;AAAgC,CAAC,KAAK;EACnED,GAAG,CAACE,aAAa,CAGX,SACN,CAAC;EAED,IACED,sBAAsB,IAAI,IAAI,IAC9B,OAAOA,sBAAsB,KAAK,SAAS,EAC3C;IACA,MAAM,IAAIE,KAAK,CACb,2DACF,CAAC;EACH;EAEA,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAAC;MAAEC,UAAU;MAAEC;IAAc,CAAC,EAAE;MAAA,IAAAC,qBAAA;MAC/C,CAAAA,qBAAA,GAAAD,aAAa,CAACE,uBAAuB,YAAAD,qBAAA,GAArCD,aAAa,CAACE,uBAAuB,GAAK,MAAM;MAChDH,UAAU,CAACI,OAAO,CAACC,IAAI,CAAC,CACtB,kBAAkB,EAClB;QAAEV,sBAAsB,EAAEW,OAAO,CAACX,sBAAsB;MAAE,CAAC,CAC5D,CAAC;IACJ;EACF,CAAC;AACH,CAAC,CAAC"}
|
Loading…
Add table
Add a link
Reference in a new issue