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

3
node_modules/babel-helper-hoist-variables/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,3 @@
src
test
node_modules

5
node_modules/babel-helper-hoist-variables/README.md generated vendored Normal file
View File

@@ -0,0 +1,5 @@
# babel-helper-hoist-variables
## Usage
TODO

71
node_modules/babel-helper-hoist-variables/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,71 @@
"use strict";
exports.__esModule = true;
var _getIterator2 = require("babel-runtime/core-js/get-iterator");
var _getIterator3 = _interopRequireDefault(_getIterator2);
exports.default = function (path, emit) {
var kind = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "var";
path.traverse(visitor, { kind: kind, emit: emit });
};
var _babelTypes = require("babel-types");
var t = _interopRequireWildcard(_babelTypes);
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)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var visitor = {
Scope: function Scope(path, state) {
if (state.kind === "let") path.skip();
},
Function: function Function(path) {
path.skip();
},
VariableDeclaration: function VariableDeclaration(path, state) {
if (state.kind && path.node.kind !== state.kind) return;
var nodes = [];
var declarations = path.get("declarations");
var firstId = void 0;
for (var _iterator = declarations, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {
var _ref;
if (_isArray) {
if (_i >= _iterator.length) break;
_ref = _iterator[_i++];
} else {
_i = _iterator.next();
if (_i.done) break;
_ref = _i.value;
}
var declar = _ref;
firstId = declar.node.id;
if (declar.node.init) {
nodes.push(t.expressionStatement(t.assignmentExpression("=", declar.node.id, declar.node.init)));
}
for (var name in declar.getBindingIdentifiers()) {
state.emit(t.identifier(name), name);
}
}
if (path.parentPath.isFor({ left: path.node })) {
path.replaceWith(firstId);
} else {
path.replaceWithMultiple(nodes);
}
}
};
module.exports = exports["default"];

88
node_modules/babel-helper-hoist-variables/package.json generated vendored Normal file
View File

@@ -0,0 +1,88 @@
{
"_args": [
[
"babel-helper-hoist-variables@^6.24.1",
"/home/bernhard/freifunk-app/node_modules/babel-helper-call-delegate"
]
],
"_from": "babel-helper-hoist-variables@>=6.24.1 <7.0.0",
"_id": "babel-helper-hoist-variables@6.24.1",
"_inCache": true,
"_installable": true,
"_location": "/babel-helper-hoist-variables",
"_nodeVersion": "6.9.0",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/babel-helper-hoist-variables-6.24.1.tgz_1491578346811_0.8418492812197655"
},
"_npmUser": {
"email": "hi@henryzoo.com",
"name": "hzoo"
},
"_npmVersion": "3.10.10",
"_phantomChildren": {},
"_requested": {
"name": "babel-helper-hoist-variables",
"raw": "babel-helper-hoist-variables@^6.24.1",
"rawSpec": "^6.24.1",
"scope": null,
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-helper-call-delegate"
],
"_resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
"_shasum": "1ecb27689c9d25513eadbc9914a73f5408be7a76",
"_shrinkwrap": null,
"_spec": "babel-helper-hoist-variables@^6.24.1",
"_where": "/home/bernhard/freifunk-app/node_modules/babel-helper-call-delegate",
"dependencies": {
"babel-runtime": "^6.22.0",
"babel-types": "^6.24.1"
},
"description": "Helper function to hoist variables",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "1ecb27689c9d25513eadbc9914a73f5408be7a76",
"tarball": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz"
},
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "amasad",
"email": "amjad.masad@gmail.com"
},
{
"name": "hzoo",
"email": "hi@henryzoo.com"
},
{
"name": "jmm",
"email": "npm-public@jessemccarthy.net"
},
{
"name": "loganfsmyth",
"email": "loganfsmyth@gmail.com"
},
{
"name": "sebmck",
"email": "sebmck@gmail.com"
},
{
"name": "thejameskyle",
"email": "me@thejameskyle.com"
}
],
"name": "babel-helper-hoist-variables",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables"
},
"scripts": {},
"version": "6.24.1"
}