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-call-delegate/README.md generated vendored Normal file
View File

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

84
node_modules/@babel/helper-call-delegate/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,84 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _helperHoistVariables() {
const data = _interopRequireDefault(require("@babel/helper-hoist-variables"));
_helperHoistVariables = function () {
return data;
};
return data;
}
function t() {
const data = _interopRequireWildcard(require("@babel/types"));
t = function () {
return data;
};
return data;
}
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const visitor = {
enter(path, state) {
if (path.isThisExpression()) {
state.foundThis = true;
}
if (path.isReferencedIdentifier({
name: "arguments"
})) {
state.foundArguments = true;
}
},
Function(path) {
path.skip();
}
};
function _default(path, scope = path.scope) {
const {
node
} = path;
const container = t().functionExpression(null, [], node.body, node.generator, node.async);
let callee = container;
let args = [];
(0, _helperHoistVariables().default)(path, id => scope.push({
id
}));
const state = {
foundThis: false,
foundArguments: false
};
path.traverse(visitor, state);
if (state.foundArguments) {
callee = t().memberExpression(container, t().identifier("apply"));
args = [];
if (state.foundThis) {
args.push(t().thisExpression());
}
if (state.foundArguments) {
if (!state.foundThis) args.push(t().nullLiteral());
args.push(t().identifier("arguments"));
}
}
let call = t().callExpression(callee, args);
if (node.generator) call = t().yieldExpression(call, true);
return t().returnStatement(call);
}

84
node_modules/@babel/helper-call-delegate/package.json generated vendored Normal file
View File

@@ -0,0 +1,84 @@
{
"_args": [
[
"@babel/helper-call-delegate@7.0.0-beta.54",
"/home/bernhard/freifunk-app/node_modules/@babel/plugin-transform-parameters"
]
],
"_from": "@babel/helper-call-delegate@7.0.0-beta.54",
"_id": "@babel/helper-call-delegate@7.0.0-beta.54",
"_inCache": true,
"_installable": true,
"_location": "/@babel/helper-call-delegate",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/helper-call-delegate_7.0.0-beta.54_1531764026444_0.07373169676723057"
},
"_npmUser": {
"email": "hi@henryzoo.com",
"name": "hzoo"
},
"_phantomChildren": {},
"_requested": {
"name": "@babel/helper-call-delegate",
"raw": "@babel/helper-call-delegate@7.0.0-beta.54",
"rawSpec": "7.0.0-beta.54",
"scope": "@babel",
"spec": "7.0.0-beta.54",
"type": "version"
},
"_requiredBy": [
"/@babel/plugin-transform-parameters"
],
"_resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.54.tgz",
"_shasum": "f6b72cfd832fb26eb2a806e18de05f88d3a8f302",
"_shrinkwrap": null,
"_spec": "@babel/helper-call-delegate@7.0.0-beta.54",
"_where": "/home/bernhard/freifunk-app/node_modules/@babel/plugin-transform-parameters",
"dependencies": {
"@babel/helper-hoist-variables": "7.0.0-beta.54",
"@babel/traverse": "7.0.0-beta.54",
"@babel/types": "7.0.0-beta.54"
},
"description": "Helper function to call delegate",
"devDependencies": {},
"directories": {},
"dist": {
"fileCount": 5,
"shasum": "f6b72cfd832fb26eb2a806e18de05f88d3a8f302",
"tarball": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.54.tgz",
"unpackedSize": 2958
},
"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-call-delegate",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-call-delegate"
},
"version": "7.0.0-beta.54"
}