diff --git a/lib/fixer.js b/lib/fixer.js index bb78231..9a1ccc9 100644 --- a/lib/fixer.js +++ b/lib/fixer.js @@ -139,7 +139,7 @@ module.exports = { } }, - fixDependencies: function (data, strict) { + fixDependencies: function (data) { objectifyDeps(data, this.warn) addOptionalDepsToDeps(data, this.warn) this.fixBundleDependenciesField(data) @@ -415,7 +415,7 @@ function parsePerson (person) { return obj } -function addOptionalDepsToDeps (data, warn) { +function addOptionalDepsToDeps (data) { var o = data.optionalDependencies if (!o) { return diff --git a/lib/normalize.js b/lib/normalize.js index bf71d2c..e806f11 100644 --- a/lib/normalize.js +++ b/lib/normalize.js @@ -26,7 +26,7 @@ function normalize (data, warn, strict) { strict = false } if (!warn || data.private) { - warn = function (msg) { /* noop */ } + warn = function () { /* noop */ } } if (data.scripts &&