diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/babel-helper-get-function-arity | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) | |
download | wallet-core-cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585.tar.xz |
remove node_modules
Diffstat (limited to 'node_modules/babel-helper-get-function-arity')
4 files changed, 0 insertions, 42 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 47cdd2c65..000000000 --- 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 2263230cd..000000000 --- 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 929dc41e1..000000000 --- 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 d12fb37a0..000000000 --- a/node_modules/babel-helper-get-function-arity/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "babel-helper-get-function-arity", - "version": "6.24.1", - "description": "Helper function to get function arity", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity", - "license": "MIT", - "main": "lib/index.js", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } -} |