Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
5
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/index.cjs
generated
vendored
Executable file
5
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/index.cjs
generated
vendored
Executable file
|
@ -0,0 +1,5 @@
|
|||
Object.defineProperty(exports, "createPolyfillPlugins", {
|
||||
get: () => require("./polyfills.cjs")
|
||||
});
|
||||
|
||||
//# sourceMappingURL=index.cjs.map
|
1
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/index.cjs.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/index.cjs.map
generated
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["Object","defineProperty","exports","get","require"],"sources":["../../src/babel-7/index.cjs"],"sourcesContent":["Object.defineProperty(exports, \"createPolyfillPlugins\", {\n get: () => require(\"./polyfills.cjs\"),\n});\n"],"mappings":"AAAAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,uBAAuB,EAAE;EACtDC,GAAG,EAAEA,CAAA,KAAMC,OAAO,CAAC,iBAAiB;AACtC,CAAC,CAAC"}
|
50
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/polyfills.cjs
generated
vendored
Executable file
50
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/polyfills.cjs
generated
vendored
Executable file
|
@ -0,0 +1,50 @@
|
|||
;
|
||||
const pluginCorejs2 = require("babel-plugin-polyfill-corejs2").default;
|
||||
const pluginRegenerator = require("babel-plugin-polyfill-regenerator").default;
|
||||
const pluginsCompat = "#__secret_key__@babel/runtime__compatibility";
|
||||
function createCorejs2Plugin(options) {
|
||||
return (api, _, filename) => pluginCorejs2(api, options, filename);
|
||||
}
|
||||
function createRegeneratorPlugin(options, useRuntimeRegenerator, corejsPlugin) {
|
||||
if (!useRuntimeRegenerator) return corejsPlugin != null ? corejsPlugin : undefined;
|
||||
return (api, _, filename) => {
|
||||
return Object.assign({}, pluginRegenerator(api, options, filename), {
|
||||
inherits: corejsPlugin != null ? corejsPlugin : undefined
|
||||
});
|
||||
};
|
||||
}
|
||||
module.exports = function createBasePolyfillsPlugin({
|
||||
corejs,
|
||||
regenerator = true
|
||||
}, runtimeVersion, absoluteImports, corejs3Plugin) {
|
||||
let proposals = false;
|
||||
let rawVersion;
|
||||
if (typeof corejs === "object" && corejs !== null) {
|
||||
rawVersion = corejs.version;
|
||||
proposals = Boolean(corejs.proposals);
|
||||
} else {
|
||||
rawVersion = corejs;
|
||||
}
|
||||
const corejsVersion = rawVersion ? Number(rawVersion) : false;
|
||||
if (![false, 2, 3].includes(corejsVersion)) {
|
||||
throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(rawVersion)}.`);
|
||||
}
|
||||
if (proposals && (!corejsVersion || corejsVersion < 3)) {
|
||||
throw new Error("The 'proposals' option is only supported when using 'corejs: 3'");
|
||||
}
|
||||
if (typeof regenerator !== "boolean") {
|
||||
throw new Error("The 'regenerator' option must be undefined, or a boolean.");
|
||||
}
|
||||
const polyfillOpts = {
|
||||
method: "usage-pure",
|
||||
absoluteImports,
|
||||
[pluginsCompat]: {
|
||||
useBabelRuntime: true,
|
||||
runtimeVersion,
|
||||
ext: ""
|
||||
}
|
||||
};
|
||||
return createRegeneratorPlugin(polyfillOpts, regenerator, corejsVersion === 2 ? createCorejs2Plugin(polyfillOpts) : corejsVersion === 3 ? corejs3Plugin : null);
|
||||
};
|
||||
|
||||
//# sourceMappingURL=polyfills.cjs.map
|
1
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/polyfills.cjs.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/plugin-transform-runtime/lib/babel-7/polyfills.cjs.map
generated
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["pluginCorejs2","require","default","pluginRegenerator","pluginsCompat","createCorejs2Plugin","options","api","_","filename","createRegeneratorPlugin","useRuntimeRegenerator","corejsPlugin","undefined","Object","assign","inherits","module","exports","createBasePolyfillsPlugin","corejs","regenerator","runtimeVersion","absoluteImports","corejs3Plugin","proposals","rawVersion","version","Boolean","corejsVersion","Number","includes","Error","JSON","stringify","polyfillOpts","method","useBabelRuntime","ext"],"sources":["../../src/babel-7/polyfills.cjs"],"sourcesContent":["// TODO(Babel 8) Remove this file\nif (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Internal Babel error: This file should only be loaded in Babel 7\",\n );\n}\n\nconst pluginCorejs2 = require(\"babel-plugin-polyfill-corejs2\").default;\nconst pluginRegenerator = require(\"babel-plugin-polyfill-regenerator\").default;\n\nconst pluginsCompat = \"#__secret_key__@babel/runtime__compatibility\";\n\nfunction createCorejs2Plugin(options) {\n return (api, _, filename) => pluginCorejs2(api, options, filename);\n}\n\nfunction createRegeneratorPlugin(options, useRuntimeRegenerator, corejsPlugin) {\n if (!useRuntimeRegenerator) return corejsPlugin ?? undefined;\n return (api, _, filename) => {\n return {\n ...pluginRegenerator(api, options, filename),\n inherits: corejsPlugin ?? undefined,\n };\n };\n}\n\nmodule.exports = function createBasePolyfillsPlugin(\n { corejs, regenerator = true },\n runtimeVersion,\n absoluteImports,\n corejs3Plugin,\n) {\n let proposals = false;\n let rawVersion;\n\n if (typeof corejs === \"object\" && corejs !== null) {\n rawVersion = corejs.version;\n proposals = Boolean(corejs.proposals);\n } else {\n rawVersion = corejs;\n }\n\n const corejsVersion = rawVersion ? Number(rawVersion) : false;\n\n if (![false, 2, 3].includes(corejsVersion)) {\n throw new Error(\n `The \\`core-js\\` version must be false, 2 or 3, but got ${JSON.stringify(\n rawVersion,\n )}.`,\n );\n }\n\n if (proposals && (!corejsVersion || corejsVersion < 3)) {\n throw new Error(\n \"The 'proposals' option is only supported when using 'corejs: 3'\",\n );\n }\n\n if (typeof regenerator !== \"boolean\") {\n throw new Error(\n \"The 'regenerator' option must be undefined, or a boolean.\",\n );\n }\n\n const polyfillOpts = {\n method: \"usage-pure\",\n absoluteImports,\n [pluginsCompat]: { useBabelRuntime: true, runtimeVersion, ext: \"\" },\n };\n\n return createRegeneratorPlugin(\n polyfillOpts,\n regenerator,\n corejsVersion === 2\n ? createCorejs2Plugin(polyfillOpts)\n : corejsVersion === 3\n ? corejs3Plugin\n : null,\n );\n};\n"],"mappings":";AAOA,MAAMA,aAAa,GAAGC,OAAO,CAAC,+BAA+B,CAAC,CAACC,OAAO;AACtE,MAAMC,iBAAiB,GAAGF,OAAO,CAAC,mCAAmC,CAAC,CAACC,OAAO;AAE9E,MAAME,aAAa,GAAG,8CAA8C;AAEpE,SAASC,mBAAmBA,CAACC,OAAO,EAAE;EACpC,OAAO,CAACC,GAAG,EAAEC,CAAC,EAAEC,QAAQ,KAAKT,aAAa,CAACO,GAAG,EAAED,OAAO,EAAEG,QAAQ,CAAC;AACpE;AAEA,SAASC,uBAAuBA,CAACJ,OAAO,EAAEK,qBAAqB,EAAEC,YAAY,EAAE;EAC7E,IAAI,CAACD,qBAAqB,EAAE,OAAOC,YAAY,WAAZA,YAAY,GAAIC,SAAS;EAC5D,OAAO,CAACN,GAAG,EAAEC,CAAC,EAAEC,QAAQ,KAAK;IAC3B,OAAAK,MAAA,CAAAC,MAAA,KACKZ,iBAAiB,CAACI,GAAG,EAAED,OAAO,EAAEG,QAAQ,CAAC;MAC5CO,QAAQ,EAAEJ,YAAY,WAAZA,YAAY,GAAIC;IAAS;EAEvC,CAAC;AACH;AAEAI,MAAM,CAACC,OAAO,GAAG,SAASC,yBAAyBA,CACjD;EAAEC,MAAM;EAAEC,WAAW,GAAG;AAAK,CAAC,EAC9BC,cAAc,EACdC,eAAe,EACfC,aAAa,EACb;EACA,IAAIC,SAAS,GAAG,KAAK;EACrB,IAAIC,UAAU;EAEd,IAAI,OAAON,MAAM,KAAK,QAAQ,IAAIA,MAAM,KAAK,IAAI,EAAE;IACjDM,UAAU,GAAGN,MAAM,CAACO,OAAO;IAC3BF,SAAS,GAAGG,OAAO,CAACR,MAAM,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