Skip to content

Commit

Permalink
fix(deps): remove deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Oct 27, 2016
1 parent 184c25e commit ab8b901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions index.js
Expand Up @@ -7,8 +7,6 @@

'use strict'

var arrMap = require('arr-map')

/**
* > Get function arguments names.
*
Expand Down Expand Up @@ -57,7 +55,7 @@ module.exports = function functionArguments (fn) {
fnStr = '(' + fnStr + ')'

var match = fnStr.match(/\(([\s\S]*)\)/)
return match ? arrMap(match[1].split(','), function (param) {
return match ? match[1].split(',').map(function (param) {
return param.trim()
}) : []
}
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -20,9 +20,7 @@
"precommit": "git add --all",
"commit": "git-cz"
},
"dependencies": {
"arr-map": "^2.0.0"
},
"dependencies": {},
"devDependencies": {
"commitizen": "^2.8.6",
"coveralls": "^2.11.12",
Expand Down

0 comments on commit ab8b901

Please sign in to comment.