initial commit taken from gitlab.lrz.de

This commit is contained in:
privatereese
2018-08-24 18:09:42 +02:00
parent ae54ed4c48
commit fc05486403
28494 changed files with 2159823 additions and 0 deletions

19
node_modules/@babel/helper-plugin-utils/README.md generated vendored Normal file
View File

@@ -0,0 +1,19 @@
# @babel/helper-plugin-utils
> General utilities for plugins to use
See our website [@babel/helper-plugin-utils](https://babeljs.io/docs/en/next/babel-helper-plugin-utils.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/helper-plugin-utils
```
or using yarn:
```sh
yarn add @babel/helper-plugin-utils --dev
```

77
node_modules/@babel/helper-plugin-utils/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,77 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.declare = declare;
function declare(builder) {
return (api, options, dirname) => {
if (!api.assertVersion) {
api = Object.assign(copyApiObject(api), {
assertVersion(range) {
throwVersionError(range, api.version);
}
});
}
return builder(api, options || {}, dirname);
};
}
function copyApiObject(api) {
let proto = null;
if (typeof api.version === "string" && /^7\./.test(api.version)) {
proto = Object.getPrototypeOf(api);
if (proto && (!has(proto, "version") || !has(proto, "transform") || !has(proto, "template") || !has(proto, "types"))) {
proto = null;
}
}
return Object.assign({}, proto, api);
}
function has(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}
function throwVersionError(range, version) {
if (typeof range === "number") {
if (!Number.isInteger(range)) {
throw new Error("Expected string or integer value.");
}
range = `^${range}.0.0-0`;
}
if (typeof range !== "string") {
throw new Error("Expected string or integer value.");
}
const limit = Error.stackTraceLimit;
if (typeof limit === "number" && limit < 25) {
Error.stackTraceLimit = 25;
}
let err;
if (version.slice(0, 2) === "7.") {
err = new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` + `You'll need to update your @babel/core version.`);
} else {
err = new Error(`Requires Babel "${range}", but was loaded with "${version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`);
}
if (typeof limit === "number") {
Error.stackTraceLimit = limit;
}
throw Object.assign(err, {
code: "BABEL_VERSION_UNSUPPORTED",
version,
range
});
}

111
node_modules/@babel/helper-plugin-utils/package.json generated vendored Normal file
View File

@@ -0,0 +1,111 @@
{
"_args": [
[
"@babel/helper-plugin-utils@7.0.0-beta.54",
"/home/bernhard/freifunk-app/node_modules/@babel/plugin-external-helpers"
]
],
"_from": "@babel/helper-plugin-utils@7.0.0-beta.54",
"_id": "@babel/helper-plugin-utils@7.0.0-beta.54",
"_inCache": true,
"_installable": true,
"_location": "/@babel/helper-plugin-utils",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/helper-plugin-utils_7.0.0-beta.54_1531763984982_0.11652407562383038"
},
"_npmUser": {
"email": "hi@henryzoo.com",
"name": "hzoo"
},
"_phantomChildren": {},
"_requested": {
"name": "@babel/helper-plugin-utils",
"raw": "@babel/helper-plugin-utils@7.0.0-beta.54",
"rawSpec": "7.0.0-beta.54",
"scope": "@babel",
"spec": "7.0.0-beta.54",
"type": "version"
},
"_requiredBy": [
"/@babel/plugin-external-helpers",
"/@babel/plugin-proposal-class-properties",
"/@babel/plugin-proposal-object-rest-spread",
"/@babel/plugin-syntax-class-properties",
"/@babel/plugin-syntax-dynamic-import",
"/@babel/plugin-syntax-flow",
"/@babel/plugin-syntax-jsx",
"/@babel/plugin-syntax-object-rest-spread",
"/@babel/plugin-transform-arrow-functions",
"/@babel/plugin-transform-block-scoping",
"/@babel/plugin-transform-classes",
"/@babel/plugin-transform-computed-properties",
"/@babel/plugin-transform-destructuring",
"/@babel/plugin-transform-exponentiation-operator",
"/@babel/plugin-transform-flow-strip-types",
"/@babel/plugin-transform-for-of",
"/@babel/plugin-transform-function-name",
"/@babel/plugin-transform-literals",
"/@babel/plugin-transform-modules-commonjs",
"/@babel/plugin-transform-object-assign",
"/@babel/plugin-transform-parameters",
"/@babel/plugin-transform-react-display-name",
"/@babel/plugin-transform-react-jsx",
"/@babel/plugin-transform-react-jsx-source",
"/@babel/plugin-transform-shorthand-properties",
"/@babel/plugin-transform-spread",
"/@babel/plugin-transform-template-literals"
],
"_resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.54.tgz",
"_shasum": "61d2a9a0f9a3e31838a458debb9eebd7bdd249b4",
"_shrinkwrap": null,
"_spec": "@babel/helper-plugin-utils@7.0.0-beta.54",
"_where": "/home/bernhard/freifunk-app/node_modules/@babel/plugin-external-helpers",
"author": {
"email": "loganfsmyth@gmail.com",
"name": "Logan Smyth"
},
"dependencies": {},
"description": "General utilities for plugins to use",
"devDependencies": {},
"directories": {},
"dist": {
"fileCount": 7,
"shasum": "61d2a9a0f9a3e31838a458debb9eebd7bdd249b4",
"tarball": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.54.tgz",
"unpackedSize": 5478
},
"homepage": "https://babeljs.io/",
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "danez",
"email": "daniel@tschinder.de"
},
{
"name": "existentialism",
"email": "bng412@gmail.com"
},
{
"name": "hzoo",
"email": "hi@henryzoo.com"
},
{
"name": "loganfsmyth",
"email": "loganfsmyth@gmail.com"
},
{
"name": "xtuc",
"email": "contact@xtuc.fr"
}
],
"name": "@babel/helper-plugin-utils",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-plugin-utils"
},
"version": "7.0.0-beta.54"
}

95
node_modules/@babel/helper-plugin-utils/src/index.js generated vendored Normal file
View File

@@ -0,0 +1,95 @@
export function declare(builder) {
return (api, options, dirname) => {
if (!api.assertVersion) {
// Inject a custom version of 'assertVersion' for Babel 6 and early
// versions of Babel 7's beta that didn't have it.
api = Object.assign(copyApiObject(api), {
assertVersion(range) {
throwVersionError(range, api.version);
},
});
}
return builder(api, options || {}, dirname);
};
}
function copyApiObject(api) {
// Babel >= 7 <= beta.41 passed the API as a new object that had
// babel/core as the prototype. While slightly faster, it also
// means that the Object.assign copy below fails. Rather than
// keep complexity, the Babel 6 behavior has been reverted and this
// normalizes all that for Babel 7.
let proto = null;
if (typeof api.version === "string" && /^7\./.test(api.version)) {
proto = Object.getPrototypeOf(api);
if (
proto &&
(!has(proto, "version") ||
!has(proto, "transform") ||
!has(proto, "template") ||
!has(proto, "types"))
) {
proto = null;
}
}
return {
...proto,
...api,
};
}
function has(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}
function throwVersionError(range, version) {
if (typeof range === "number") {
if (!Number.isInteger(range)) {
throw new Error("Expected string or integer value.");
}
range = `^${range}.0.0-0`;
}
if (typeof range !== "string") {
throw new Error("Expected string or integer value.");
}
const limit = Error.stackTraceLimit;
if (typeof limit === "number" && limit < 25) {
// Bump up the limit if needed so that users are more likely
// to be able to see what is calling Babel.
Error.stackTraceLimit = 25;
}
let err;
if (version.slice(0, 2) === "7.") {
err = new Error(
`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` +
`You'll need to update your @babel/core version.`,
);
} else {
err = new Error(
`Requires Babel "${range}", but was loaded with "${version}". ` +
`If you are sure you have a compatible version of @babel/core, ` +
`it is likely that something in your build process is loading the ` +
`wrong version. Inspect the stack trace of this error to look for ` +
`the first entry that doesn't mention "@babel/core" or "babel-core" ` +
`to see what is calling Babel.`,
);
}
if (typeof limit === "number") {
Error.stackTraceLimit = limit;
}
throw Object.assign(
err,
({
code: "BABEL_VERSION_UNSUPPORTED",
version,
range,
}: any),
);
}