File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 42
42
"configstore" : " ^6.0.0" ,
43
43
"import-lazy" : " ^4.0.0" ,
44
44
"is-in-ci" : " ^0.1.0" ,
45
- "is-installed-globally" : " ^0.4 .0" ,
45
+ "is-installed-globally" : " ^1.0 .0" ,
46
46
"is-npm" : " ^6.0.0" ,
47
- "latest-version" : " ^7 .0.0" ,
47
+ "latest-version" : " ^9 .0.0" ,
48
48
"pupa" : " ^3.1.0" ,
49
- "semver" : " ^7.5.4 " ,
49
+ "semver" : " ^7.6.2 " ,
50
50
"semver-diff" : " ^4.0.0" ,
51
51
"xdg-basedir" : " ^5.1.0"
52
52
},
53
53
"devDependencies" : {
54
54
"ava" : " ^5.3.1" ,
55
55
"clear-module" : " ^4.1.2" ,
56
- "esmock" : " ^2.5.8 " ,
56
+ "esmock" : " ^2.6.6 " ,
57
57
"fixture-stdout" : " ^0.2.1" ,
58
58
"strip-ansi" : " ^7.1.0" ,
59
- "xo" : " ^0.56 .0"
59
+ "xo" : " ^0.58 .0"
60
60
},
61
61
"ava" : {
62
62
"timeout" : " 20s" ,
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ export default class UpdateNotifier {
35
35
36
36
constructor ( options = { } ) {
37
37
this . #options = options ;
38
- options . pkg = options . pkg ?? { } ;
39
- options . distTag = options . distTag ?? 'latest' ;
38
+ options . pkg ??= { } ;
39
+ options . distTag ??= 'latest' ;
40
40
41
41
// Reduce pkg to the essential keys. with fallback to deprecated options
42
42
// TODO: Remove deprecated options at some point far into the future
You can’t perform that action at this time.
0 commit comments