Skip to content

Commit

Permalink
Update dependencies (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Jul 12, 2024
1 parent b4840e5 commit 2980d33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@
"configstore": "^6.0.0",
"import-lazy": "^4.0.0",
"is-in-ci": "^0.1.0",
"is-installed-globally": "^0.4.0",
"is-installed-globally": "^1.0.0",
"is-npm": "^6.0.0",
"latest-version": "^7.0.0",
"latest-version": "^9.0.0",
"pupa": "^3.1.0",
"semver": "^7.5.4",
"semver": "^7.6.2",
"semver-diff": "^4.0.0",
"xdg-basedir": "^5.1.0"
},
"devDependencies": {
"ava": "^5.3.1",
"clear-module": "^4.1.2",
"esmock": "^2.5.8",
"esmock": "^2.6.6",
"fixture-stdout": "^0.2.1",
"strip-ansi": "^7.1.0",
"xo": "^0.56.0"
"xo": "^0.58.0"
},
"ava": {
"timeout": "20s",
Expand Down
4 changes: 2 additions & 2 deletions update-notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default class UpdateNotifier {

constructor(options = {}) {
this.#options = options;
options.pkg = options.pkg ?? {};
options.distTag = options.distTag ?? 'latest';
options.pkg ??= {};
options.distTag ??= 'latest';

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

0 comments on commit 2980d33

Please sign in to comment.