Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 26, 2024
1 parent 4c9ec84 commit ad04288
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@
"version"
],
"dependencies": {
"boxen": "^7.1.1",
"boxen": "^8.0.0",
"chalk": "^5.3.0",
"configstore": "^6.0.0",
"configstore": "^7.0.0",
"import-lazy": "^4.0.0",
"is-in-ci": "^0.1.0",
"is-in-ci": "^1.0.0",
"is-installed-globally": "^1.0.0",
"is-npm": "^6.0.0",
"latest-version": "^9.0.0",
"pupa": "^3.1.0",
"semver": "^7.6.2",
"semver": "^7.6.3",
"semver-diff": "^4.0.0",
"xdg-basedir": "^5.1.0"
},
"devDependencies": {
"ava": "^5.3.1",
"ava": "^6.1.3",
"clear-module": "^4.1.2",
"esmock": "^2.6.6",
"esmock": "^2.6.7",
"fixture-stdout": "^0.2.1",
"strip-ansi": "^7.1.0",
"xo": "^0.58.0"
"xo": "^0.59.2"
},
"ava": {
"timeout": "20s",
Expand Down
5 changes: 4 additions & 1 deletion test/update-notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ test.beforeEach(() => {
test.afterEach(() => {
delete process.env.NO_UPDATE_NOTIFIER;
process.argv = argv;

setTimeout(() => {
fs.unlinkSync(configstorePath);
try {
fs.unlinkSync(configstorePath);
} catch {}
}, 10_000);
});

Expand Down
4 changes: 2 additions & 2 deletions update-notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export default class UpdateNotifier {
update;

// Semi-private (used for tests)
_packageName;
_packageName; // eslint-disable-line lines-between-class-members
_shouldNotifyInNpmScript;

#options;
#options; // eslint-disable-line lines-between-class-members
#packageVersion;
#updateCheckInterval;
#isDisabled;
Expand Down

0 comments on commit ad04288

Please sign in to comment.