diff --git a/package.json b/package.json index 750fcbe..6708a68 100644 --- a/package.json +++ b/package.json @@ -40,21 +40,21 @@ "has-yarn": "^2.1.0", "import-lazy": "^2.1.0", "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", + "is-installed-globally": "^0.3.2", "is-npm": "^5.0.0", "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", + "latest-version": "^5.1.0", + "pupa": "^2.1.1", "semver": "^7.3.2", "semver-diff": "^3.1.1", "xdg-basedir": "^4.0.0" }, "devDependencies": { "ava": "^2.4.0", - "clear-module": "^4.0.0", + "clear-module": "^4.1.1", "fixture-stdout": "^0.2.1", "mock-require": "^3.0.3", "strip-ansi": "^6.0.0", - "xo": "^0.33.1" + "xo": "^0.34.1" } } diff --git a/test/notify.js b/test/notify.js index 8223fd0..f0c7cca 100644 --- a/test/notify.js +++ b/test/notify.js @@ -1,4 +1,4 @@ -import util from 'util'; +import {inherits} from 'util'; import clearModule from 'clear-module'; import FixtureStdout from 'fixture-stdout'; import stripAnsi from 'strip-ansi'; @@ -26,7 +26,7 @@ const setupTest = isNpmReturnValue => { process.stdout.isTTY = true; mock('is-npm', {isNpmOrYarn: isNpmReturnValue || false}); const updateNotifier = require('..'); - util.inherits(Control, updateNotifier.UpdateNotifier); + inherits(Control, updateNotifier.UpdateNotifier); }; let errorLogs = '';