Skip to content

Commit

Permalink
Update all package libraries to resolve npm audit warnings (#42)
Browse files Browse the repository at this point in the history
* Update all package libraries to resolve npm audit warnings

* Increment the version number

* Remove `ghooks` and added `npm audit` commands based on PR.

* Update package.json to include an npm audit and versioned the changelog.
  • Loading branch information
Jared-Dev authored Oct 8, 2018
1 parent ee2dc4b commit c85518a
Show file tree
Hide file tree
Showing 4 changed files with 5,582 additions and 28 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v2.2.0 | 2018-10-5
* Updates all packages to now pass an `npm audit` should be a non-breaking change

## v2.1.0 | 2015-11-02
* add: now resolves `index.js` when no file is provided. Fixes #20. Thanks @ehynds
* internal: Update nsp
Expand Down
2 changes: 1 addition & 1 deletion lib/remapify.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ setLogger = function setLogger (verbose) {
// eslint has a bug :(
transformAliases = function transformAliases (b, results) {
/* eslint-enable no-shadow*/
var expandedAliasesCount = _(results).pluck('aliases').map(_.size).reduce(function sum (total, count) {
var expandedAliasesCount = _.map(results, 'aliases').map(_.size).reduce(function sum (total, count) {
return total + count
}).valueOf()
, aliasMap = {}
Expand Down
Loading

0 comments on commit c85518a

Please sign in to comment.