From 7f315a6db78870020877016ba0538726256e4dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Wed, 20 Feb 2019 10:16:06 -0800 Subject: [PATCH] bump libpickupdates again --- node_modules/libpickupdates/dist/update-picker.js | 6 +++--- node_modules/libpickupdates/package.json | 4 ++-- package-lock.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/node_modules/libpickupdates/dist/update-picker.js b/node_modules/libpickupdates/dist/update-picker.js index 5cd2d2228429b..f3116d765c71d 100644 --- a/node_modules/libpickupdates/dist/update-picker.js +++ b/node_modules/libpickupdates/dist/update-picker.js @@ -19,7 +19,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -const types = ['dependency', 'optionalDependency', 'devDependency']; +const types = ['dependencies', 'optionalDependencies', 'devDependencies']; function UpdatePicker({ outdated = {}, @@ -35,9 +35,9 @@ function UpdatePicker({ if (x.type === y.type) { return 0; } else if (types.indexOf(x.type) > types.indexOf(y.type)) { - return -1; - } else { return 1; + } else { + return -1; } }); const major = filterSemver(outdated, 'major'); diff --git a/node_modules/libpickupdates/package.json b/node_modules/libpickupdates/package.json index 854b218b28aa8..1e5b83ef36006 100644 --- a/node_modules/libpickupdates/package.json +++ b/node_modules/libpickupdates/package.json @@ -17,7 +17,7 @@ "#USER", "/" ], - "_resolved": "github:npm/libpickupdates#b5217c1d91ba91a5e9f8288cf3fe0eeb2803896f", + "_resolved": "github:npm/libpickupdates#f04ed78911669a50ce1c024ac38e26032a5695b6", "_spec": "npm/libpickupdates", "_where": "/Users/zkat/Documents/code/work/npm", "author": { @@ -42,7 +42,7 @@ }, "bundleDependencies": false, "dependencies": { - "ink": "^2.0.0-15", + "ink": "^2.0.0-16", "ink-spinner": "github:vadimdemedes/ink-spinner#next", "libnpm": "^2.0.1", "react": "^16.8.2", diff --git a/package-lock.json b/package-lock.json index 4b7b9d1d08462..6d8ed8f89534b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3011,10 +3011,10 @@ } }, "libpickupdates": { - "version": "github:npm/libpickupdates#b5217c1d91ba91a5e9f8288cf3fe0eeb2803896f", + "version": "github:npm/libpickupdates#f04ed78911669a50ce1c024ac38e26032a5695b6", "from": "github:npm/libpickupdates", "requires": { - "ink": "^2.0.0-15", + "ink": "^2.0.0-16", "ink-spinner": "github:vadimdemedes/ink-spinner#next", "libnpm": "^2.0.1", "react": "^16.8.2",