summaryrefslogtreecommitdiffstats
path: root/node_modules/babel-helper-get-function-arity
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
commit81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch)
tree8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/babel-helper-get-function-arity
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/babel-helper-get-function-arity')
-rw-r--r--node_modules/babel-helper-get-function-arity/.npmignore3
-rw-r--r--node_modules/babel-helper-get-function-arity/README.md5
-rw-r--r--node_modules/babel-helper-get-function-arity/lib/index.js22
-rw-r--r--node_modules/babel-helper-get-function-arity/package.json41
4 files changed, 0 insertions, 71 deletions
diff --git a/node_modules/babel-helper-get-function-arity/.npmignore b/node_modules/babel-helper-get-function-arity/.npmignore
deleted file mode 100644
index 47cdd2c..0000000
--- a/node_modules/babel-helper-get-function-arity/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-src
-test
-node_modules
diff --git a/node_modules/babel-helper-get-function-arity/README.md b/node_modules/babel-helper-get-function-arity/README.md
deleted file mode 100644
index 2263230..0000000
--- a/node_modules/babel-helper-get-function-arity/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# babel-helper-get-function-arity
-
-## Usage
-
-TODO
diff --git a/node_modules/babel-helper-get-function-arity/lib/index.js b/node_modules/babel-helper-get-function-arity/lib/index.js
deleted file mode 100644
index 929dc41..0000000
--- a/node_modules/babel-helper-get-function-arity/lib/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"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"]; \ No newline at end of file
diff --git a/node_modules/babel-helper-get-function-arity/package.json b/node_modules/babel-helper-get-function-arity/package.json
deleted file mode 100644
index 23cb95b..0000000
--- a/node_modules/babel-helper-get-function-arity/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "_from": "babel-helper-get-function-arity@^6.24.1",
- "_id": "babel-helper-get-function-arity@6.24.1",
- "_inBundle": false,
- "_integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
- "_location": "/babel-helper-get-function-arity",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "babel-helper-get-function-arity@^6.24.1",
- "name": "babel-helper-get-function-arity",
- "escapedName": "babel-helper-get-function-arity",
- "rawSpec": "^6.24.1",
- "saveSpec": null,
- "fetchSpec": "^6.24.1"
- },
- "_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",
- "_spec": "babel-helper-get-function-arity@^6.24.1",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-helper-function-name",
- "bundleDependencies": false,
- "dependencies": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- },
- "deprecated": false,
- "description": "Helper function to get function arity",
- "license": "MIT",
- "main": "lib/index.js",
- "name": "babel-helper-get-function-arity",
- "repository": {
- "type": "git",
- "url": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity"
- },
- "version": "6.24.1"
-}