File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env node
22
3+ const updateNotifier = require ( "update-notifier" )
4+ const pkg = require ( "./package.json" )
5+
6+ updateNotifier ( { pkg } ) . notify ( )
7+
38require ( "./dist/index.js" ) ;
Original file line number Diff line number Diff line change 5454 "minimist" : " ^1.2.0" ,
5555 "rimraf" : " ^2.6.1" ,
5656 "shell-escape" : " ^0.2.0" ,
57- "tmp" : " ^0.0.31"
57+ "tmp" : " ^0.0.31" ,
58+ "update-notifier" : " ^2.2.0"
5859 }
5960}
Original file line number Diff line number Diff line change @@ -1138,6 +1138,10 @@ iconv-lite@0.4.13:
11381138 version "0.4.13"
11391139 resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2"
11401140
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+
11411145imurmurhash@^0.1.4 :
11421146 version "0.1.4"
11431147 resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -2881,6 +2885,19 @@ update-notifier@^2.1.0:
28812885 semver-diff "^2.0.0"
28822886 xdg-basedir "^3.0.0"
28832887
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+
28842901url-parse-lax@^1.0.0 :
28852902 version "1.0.0"
28862903 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