mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-03 11:34:51 +01:00
composer and npm
This commit is contained in:
26
conf/site/node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js
generated
vendored
26
conf/site/node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js
generated
vendored
@@ -175,8 +175,8 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
},
|
||||
|
||||
exit(path, state) {
|
||||
const undefinedIdent = path.scope.buildUndefinedNode();
|
||||
const exportIdent = path.scope.generateUid("export");
|
||||
const scope = path.scope;
|
||||
const exportIdent = scope.generateUid("export");
|
||||
const contextIdent = state.contextIdent;
|
||||
const exportMap = Object.create(null);
|
||||
const modules = [];
|
||||
@@ -223,14 +223,14 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
beforeBody.push(path.node);
|
||||
removedPaths.push(path);
|
||||
} else if (path.isClassDeclaration()) {
|
||||
variableIds.push(path.node.id);
|
||||
variableIds.push(_core.types.cloneNode(path.node.id));
|
||||
path.replaceWith(_core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.cloneNode(path.node.id), _core.types.toExpression(path.node))));
|
||||
} else if (path.isImportDeclaration()) {
|
||||
const source = path.node.source.value;
|
||||
pushModule(source, "imports", path.node.specifiers);
|
||||
|
||||
for (const name of Object.keys(path.getBindingIdentifiers())) {
|
||||
path.scope.removeBinding(name);
|
||||
scope.removeBinding(name);
|
||||
variableIds.push(_core.types.identifier(name));
|
||||
}
|
||||
|
||||
@@ -245,8 +245,8 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
if (declar.isClassDeclaration()) {
|
||||
if (id) {
|
||||
exportNames.push("default");
|
||||
exportValues.push(undefinedIdent);
|
||||
variableIds.push(id);
|
||||
exportValues.push(scope.buildUndefinedNode());
|
||||
variableIds.push(_core.types.cloneNode(id));
|
||||
addExportName(id.name, "default");
|
||||
path.replaceWith(_core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.cloneNode(id), _core.types.toExpression(declar.node))));
|
||||
} else {
|
||||
@@ -286,8 +286,8 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
} else if (path.isClass()) {
|
||||
const name = declar.node.id.name;
|
||||
exportNames.push(name);
|
||||
exportValues.push(undefinedIdent);
|
||||
variableIds.push(declar.node.id);
|
||||
exportValues.push(scope.buildUndefinedNode());
|
||||
variableIds.push(_core.types.cloneNode(declar.node.id));
|
||||
path.replaceWith(_core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.cloneNode(declar.node.id), _core.types.toExpression(declar.node))));
|
||||
addExportName(name, name);
|
||||
} else {
|
||||
@@ -298,7 +298,7 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
} else {
|
||||
const specifiers = path.node.specifiers;
|
||||
|
||||
if (specifiers && specifiers.length) {
|
||||
if (specifiers == null ? void 0 : specifiers.length) {
|
||||
if (path.node.source) {
|
||||
pushModule(path.node.source.value, "exports", specifiers);
|
||||
path.remove();
|
||||
@@ -306,7 +306,7 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
const nodes = [];
|
||||
|
||||
for (const specifier of specifiers) {
|
||||
const binding = path.scope.getBinding(specifier.local.name);
|
||||
const binding = scope.getBinding(specifier.local.name);
|
||||
|
||||
if (binding && _core.types.isFunctionDeclaration(binding.path.node)) {
|
||||
exportNames.push(specifier.exported.name);
|
||||
@@ -329,7 +329,7 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
|
||||
modules.forEach(function (specifiers) {
|
||||
let setterBody = [];
|
||||
const target = path.scope.generateUid(specifiers.key);
|
||||
const target = scope.generateUid(specifiers.key);
|
||||
|
||||
for (let specifier of specifiers.imports) {
|
||||
if (_core.types.isImportNamespaceSpecifier(specifier)) {
|
||||
@@ -370,7 +370,7 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
|
||||
if (!hasInit) {
|
||||
exportNames.push(name);
|
||||
exportValues.push(undefinedIdent);
|
||||
exportValues.push(scope.buildUndefinedNode());
|
||||
}
|
||||
}, null);
|
||||
|
||||
@@ -385,7 +385,7 @@ var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
path.traverse(reassignmentVisitor, {
|
||||
exports: exportMap,
|
||||
buildCall: buildExportCall,
|
||||
scope: path.scope
|
||||
scope
|
||||
});
|
||||
|
||||
for (const path of removedPaths) {
|
||||
|
||||
41
conf/site/node_modules/@babel/plugin-transform-modules-systemjs/package.json
generated
vendored
41
conf/site/node_modules/@babel/plugin-transform-modules-systemjs/package.json
generated
vendored
@@ -1,47 +1,51 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"@babel/plugin-transform-modules-systemjs@7.9.0",
|
||||
"@babel/plugin-transform-modules-systemjs@7.10.5",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "@babel/plugin-transform-modules-systemjs@7.9.0",
|
||||
"_id": "@babel/plugin-transform-modules-systemjs@7.9.0",
|
||||
"_from": "@babel/plugin-transform-modules-systemjs@7.10.5",
|
||||
"_id": "@babel/plugin-transform-modules-systemjs@7.10.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-FsiAv/nao/ud2ZWy4wFacoLOm5uxl0ExSQ7ErvP7jpoihLR6Cq90ilOFyX9UXct3rbtKsAiZ9kFt5XGfPe/5SQ==",
|
||||
"_integrity": "sha512-f4RLO/OL14/FP1AEbcsWMzpbUz6tssRaeQg11RH1BP/XnPpRoVwgeYViMFacnkaw4k4wjRSjn3ip1Uw9TaXuMw==",
|
||||
"_location": "/@babel/plugin-transform-modules-systemjs",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/plugin-transform-modules-systemjs@7.9.0",
|
||||
"raw": "@babel/plugin-transform-modules-systemjs@7.10.5",
|
||||
"name": "@babel/plugin-transform-modules-systemjs",
|
||||
"escapedName": "@babel%2fplugin-transform-modules-systemjs",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.9.0",
|
||||
"rawSpec": "7.10.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.9.0"
|
||||
"fetchSpec": "7.10.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.0.tgz",
|
||||
"_spec": "7.9.0",
|
||||
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.5.tgz",
|
||||
"_spec": "7.10.5",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-hoist-variables": "^7.8.3",
|
||||
"@babel/helper-module-transforms": "^7.9.0",
|
||||
"@babel/helper-plugin-utils": "^7.8.3",
|
||||
"babel-plugin-dynamic-import-node": "^2.3.0"
|
||||
"@babel/helper-hoist-variables": "^7.10.4",
|
||||
"@babel/helper-module-transforms": "^7.10.5",
|
||||
"@babel/helper-plugin-utils": "^7.10.4",
|
||||
"babel-plugin-dynamic-import-node": "^2.3.3"
|
||||
},
|
||||
"description": "This plugin transforms ES2015 modules to SystemJS",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.9.0",
|
||||
"@babel/helper-plugin-test-runner": "^7.8.3",
|
||||
"@babel/core": "^7.10.5",
|
||||
"@babel/helper-plugin-test-runner": "^7.10.4",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.0"
|
||||
},
|
||||
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02",
|
||||
"gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7",
|
||||
"homepage": "https://github.com/babel/babel#readme",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
@@ -56,7 +60,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-modules-systemjs"
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-transform-modules-systemjs"
|
||||
},
|
||||
"version": "7.9.0"
|
||||
"version": "7.10.5"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user