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

View File

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

View File

@@ -0,0 +1,5 @@
# babel-helper-get-function-arity
## Usage
TODO

View File

@@ -0,0 +1,22 @@
"use strict";
exports.__esModule = true;
exports.default = function (node) {
var params = node.params;
for (var i = 0; i < params.length; i++) {
var param = params[i];
if (t.isAssignmentPattern(param) || t.isRestElement(param)) {
return i;
}
}
return params.length;
};
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; } }
module.exports = exports["default"];

View File

@@ -0,0 +1,89 @@
{
"_args": [
[
"babel-helper-get-function-arity@^6.24.1",
"/home/bernhard/freifunk-app/node_modules/babel-helper-function-name"
]
],
"_from": "babel-helper-get-function-arity@>=6.24.1 <7.0.0",
"_id": "babel-helper-get-function-arity@6.24.1",
"_inCache": true,
"_installable": true,
"_location": "/babel-helper-get-function-arity",
"_nodeVersion": "6.9.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/babel-helper-get-function-arity-6.24.1.tgz_1491578346809_0.3132424324285239"
},
"_npmUser": {
"email": "hi@henryzoo.com",
"name": "hzoo"
},
"_npmVersion": "3.10.10",
"_phantomChildren": {},
"_requested": {
"name": "babel-helper-get-function-arity",
"raw": "babel-helper-get-function-arity@^6.24.1",
"rawSpec": "^6.24.1",
"scope": null,
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-helper-function-name",
"/babel-plugin-transform-es2015-parameters"
],
"_resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
"_shasum": "8f7782aa93407c41d3aa50908f89b031b1b6853d",
"_shrinkwrap": null,
"_spec": "babel-helper-get-function-arity@^6.24.1",
"_where": "/home/bernhard/freifunk-app/node_modules/babel-helper-function-name",
"dependencies": {
"babel-runtime": "^6.22.0",
"babel-types": "^6.24.1"
},
"description": "Helper function to get function arity",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "8f7782aa93407c41d3aa50908f89b031b1b6853d",
"tarball": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-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-get-function-arity",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity"
},
"scripts": {},
"version": "6.24.1"
}