File tree 3 files changed +13
-10
lines changed
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 38
38
" version"
39
39
],
40
40
"dependencies" : {
41
- "boxen" : " ^7.1.1 " ,
41
+ "boxen" : " ^8.0.0 " ,
42
42
"chalk" : " ^5.3.0" ,
43
- "configstore" : " ^6 .0.0" ,
43
+ "configstore" : " ^7 .0.0" ,
44
44
"import-lazy" : " ^4.0.0" ,
45
- "is-in-ci" : " ^0.1 .0" ,
45
+ "is-in-ci" : " ^1.0 .0" ,
46
46
"is-installed-globally" : " ^1.0.0" ,
47
47
"is-npm" : " ^6.0.0" ,
48
48
"latest-version" : " ^9.0.0" ,
49
49
"pupa" : " ^3.1.0" ,
50
- "semver" : " ^7.6.2 " ,
50
+ "semver" : " ^7.6.3 " ,
51
51
"semver-diff" : " ^4.0.0" ,
52
52
"xdg-basedir" : " ^5.1.0"
53
53
},
54
54
"devDependencies" : {
55
- "ava" : " ^5.3.1 " ,
55
+ "ava" : " ^6.1.3 " ,
56
56
"clear-module" : " ^4.1.2" ,
57
- "esmock" : " ^2.6.6 " ,
57
+ "esmock" : " ^2.6.7 " ,
58
58
"fixture-stdout" : " ^0.2.1" ,
59
59
"strip-ansi" : " ^7.1.0" ,
60
- "xo" : " ^0.58.0 "
60
+ "xo" : " ^0.59.2 "
61
61
},
62
62
"ava" : {
63
63
"timeout" : " 20s" ,
Original file line number Diff line number Diff line change @@ -24,8 +24,11 @@ test.beforeEach(() => {
24
24
test . afterEach ( ( ) => {
25
25
delete process . env . NO_UPDATE_NOTIFIER ;
26
26
process . argv = argv ;
27
+
27
28
setTimeout ( ( ) => {
28
- fs . unlinkSync ( configstorePath ) ;
29
+ try {
30
+ fs . unlinkSync ( configstorePath ) ;
31
+ } catch { }
29
32
} , 10_000 ) ;
30
33
} ) ;
31
34
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ export default class UpdateNotifier {
25
25
update ;
26
26
27
27
// Semi-private (used for tests)
28
- _packageName ;
28
+ _packageName ; // eslint-disable-line lines-between-class-members
29
29
_shouldNotifyInNpmScript ;
30
30
31
- #options;
31
+ #options; // eslint-disable-line lines-between-class-members
32
32
#packageVersion;
33
33
#updateCheckInterval;
34
34
#isDisabled;
You can’t perform that action at this time.
0 commit comments