Skip to content

Commit 2980d33

Browse files
authoredJul 12, 2024··
Update dependencies (#234)
1 parent b4840e5 commit 2980d33

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@
4242
"configstore": "^6.0.0",
4343
"import-lazy": "^4.0.0",
4444
"is-in-ci": "^0.1.0",
45-
"is-installed-globally": "^0.4.0",
45+
"is-installed-globally": "^1.0.0",
4646
"is-npm": "^6.0.0",
47-
"latest-version": "^7.0.0",
47+
"latest-version": "^9.0.0",
4848
"pupa": "^3.1.0",
49-
"semver": "^7.5.4",
49+
"semver": "^7.6.2",
5050
"semver-diff": "^4.0.0",
5151
"xdg-basedir": "^5.1.0"
5252
},
5353
"devDependencies": {
5454
"ava": "^5.3.1",
5555
"clear-module": "^4.1.2",
56-
"esmock": "^2.5.8",
56+
"esmock": "^2.6.6",
5757
"fixture-stdout": "^0.2.1",
5858
"strip-ansi": "^7.1.0",
59-
"xo": "^0.56.0"
59+
"xo": "^0.58.0"
6060
},
6161
"ava": {
6262
"timeout": "20s",

‎update-notifier.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export default class UpdateNotifier {
3535

3636
constructor(options = {}) {
3737
this.#options = options;
38-
options.pkg = options.pkg ?? {};
39-
options.distTag = options.distTag ?? 'latest';
38+
options.pkg ??= {};
39+
options.distTag ??= 'latest';
4040

4141
// Reduce pkg to the essential keys. with fallback to deprecated options
4242
// TODO: Remove deprecated options at some point far into the future

0 commit comments

Comments
 (0)
Please sign in to comment.