Skip to content

Commit c85518a

Browse files
authored
Update all package libraries to resolve npm audit warnings (#42)
* 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.
1 parent ee2dc4b commit c85518a

File tree

4 files changed

+5582
-28
lines changed

4 files changed

+5582
-28
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v2.2.0 | 2018-10-5
4+
* Updates all packages to now pass an `npm audit` should be a non-breaking change
5+
36
## v2.1.0 | 2015-11-02
47
* add: now resolves `index.js` when no file is provided. Fixes #20. Thanks @ehynds
58
* internal: Update nsp

lib/remapify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ setLogger = function setLogger (verbose) {
3030
// eslint has a bug :(
3131
transformAliases = function transformAliases (b, results) {
3232
/* eslint-enable no-shadow*/
33-
var expandedAliasesCount = _(results).pluck('aliases').map(_.size).reduce(function sum (total, count) {
33+
var expandedAliasesCount = _.map(results, 'aliases').map(_.size).reduce(function sum (total, count) {
3434
return total + count
3535
}).valueOf()
3636
, aliasMap = {}

0 commit comments

Comments
 (0)