File tree 3 files changed +24
-1
lines changed
3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env node
2
2
3
+ const updateNotifier = require ( "update-notifier" )
4
+ const pkg = require ( "./package.json" )
5
+
6
+ updateNotifier ( { pkg } ) . notify ( )
7
+
3
8
require ( "./dist/index.js" ) ;
Original file line number Diff line number Diff line change 54
54
"minimist" : " ^1.2.0" ,
55
55
"rimraf" : " ^2.6.1" ,
56
56
"shell-escape" : " ^0.2.0" ,
57
- "tmp" : " ^0.0.31"
57
+ "tmp" : " ^0.0.31" ,
58
+ "update-notifier" : " ^2.2.0"
58
59
}
59
60
}
Original file line number Diff line number Diff line change @@ -1138,6 +1138,10 @@ iconv-lite@0.4.13:
1138
1138
version "0.4.13"
1139
1139
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2"
1140
1140
1141
+ import-lazy@^2.1.0 :
1142
+ version "2.1.0"
1143
+ resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43"
1144
+
1141
1145
imurmurhash@^0.1.4 :
1142
1146
version "0.1.4"
1143
1147
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -2881,6 +2885,19 @@ update-notifier@^2.1.0:
2881
2885
semver-diff "^2.0.0"
2882
2886
xdg-basedir "^3.0.0"
2883
2887
2888
+ update-notifier@^2.2.0 :
2889
+ version "2.2.0"
2890
+ resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.2.0.tgz#1b5837cf90c0736d88627732b661c138f86de72f"
2891
+ dependencies :
2892
+ boxen "^1.0.0"
2893
+ chalk "^1.0.0"
2894
+ configstore "^3.0.0"
2895
+ import-lazy "^2.1.0"
2896
+ is-npm "^1.0.0"
2897
+ latest-version "^3.0.0"
2898
+ semver-diff "^2.0.0"
2899
+ xdg-basedir "^3.0.0"
2900
+
2884
2901
url-parse-lax@^1.0.0 :
2885
2902
version "1.0.0"
2886
2903
resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73"
You can’t perform that action at this time.
0 commit comments