Skip to content

Commit f9b803c

Browse files
Remove update notifier
1 parent 664a301 commit f9b803c

File tree

3 files changed

+2
-99
lines changed

3 files changed

+2
-99
lines changed

index.js

-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
#! /usr/bin/env node
22

3-
const updateNotifier = require("update-notifier")
4-
const pkg = require("./package.json")
5-
6-
const isCi = require("is-ci")
7-
8-
if (!isCi) {
9-
updateNotifier({ pkg }).notify({ isGlobal: false })
10-
}
11-
123
require("./dist/index.js")

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
"rimraf": "^2.6.3",
7979
"semver": "^5.6.0",
8080
"slash": "^2.0.0",
81-
"tmp": "^0.0.33",
82-
"update-notifier": "^2.5.0"
81+
"tmp": "^0.0.33"
8382
},
8483
"files": [
8584
"index.js",

yarn.lock

+1-88
Original file line numberDiff line numberDiff line change
@@ -723,18 +723,6 @@ boxen@^1.0.0:
723723
term-size "^0.1.0"
724724
widest-line "^1.0.0"
725725

726-
boxen@^1.2.1:
727-
version "1.3.0"
728-
resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b"
729-
dependencies:
730-
ansi-align "^2.0.0"
731-
camelcase "^4.0.0"
732-
chalk "^2.0.1"
733-
cli-boxes "^1.0.0"
734-
string-width "^2.0.0"
735-
term-size "^1.2.0"
736-
widest-line "^2.0.0"
737-
738726
brace-expansion@^1.1.7:
739727
version "1.1.7"
740728
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
@@ -922,10 +910,6 @@ chardet@^0.7.0:
922910
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
923911
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
924912

925-
ci-info@^1.0.0:
926-
version "1.0.0"
927-
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534"
928-
929913
ci-info@^2.0.0:
930914
version "2.0.0"
931915
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
@@ -1085,14 +1069,6 @@ cross-spawn-async@^2.1.1:
10851069
lru-cache "^4.0.0"
10861070
which "^1.2.8"
10871071

1088-
cross-spawn@^5.0.1:
1089-
version "5.1.0"
1090-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
1091-
dependencies:
1092-
lru-cache "^4.0.1"
1093-
shebang-command "^1.2.0"
1094-
which "^1.2.9"
1095-
10961072
cross-spawn@^6.0.0, cross-spawn@^6.0.5:
10971073
version "6.0.5"
10981074
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@@ -1401,18 +1377,6 @@ execa@^0.4.0:
14011377
path-key "^1.0.0"
14021378
strip-eof "^1.0.0"
14031379

1404-
execa@^0.7.0:
1405-
version "0.7.0"
1406-
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
1407-
dependencies:
1408-
cross-spawn "^5.0.1"
1409-
get-stream "^3.0.0"
1410-
is-stream "^1.1.0"
1411-
npm-run-path "^2.0.0"
1412-
p-finally "^1.0.0"
1413-
signal-exit "^3.0.0"
1414-
strip-eof "^1.0.0"
1415-
14161380
execa@^1.0.0:
14171381
version "1.0.0"
14181382
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
@@ -1717,12 +1681,6 @@ glob@^7.1.2, glob@^7.1.3:
17171681
once "^1.3.0"
17181682
path-is-absolute "^1.0.0"
17191683

1720-
global-dirs@^0.1.0:
1721-
version "0.1.1"
1722-
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
1723-
dependencies:
1724-
ini "^1.3.4"
1725-
17261684
globals@^11.1.0:
17271685
version "11.11.0"
17281686
resolved "https://registry.yarnpkg.com/globals/-/globals-11.11.0.tgz#dcf93757fa2de5486fbeed7118538adf789e9c2e"
@@ -1971,10 +1929,6 @@ inherits@2, inherits@~2.0.3:
19711929
version "2.0.3"
19721930
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
19731931

1974-
ini@^1.3.4:
1975-
version "1.3.5"
1976-
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
1977-
19781932
ini@~1.3.0:
19791933
version "1.3.4"
19801934
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
@@ -2068,12 +2022,6 @@ is-callable@^1.1.4:
20682022
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
20692023
integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
20702024

2071-
is-ci@^1.0.10:
2072-
version "1.0.10"
2073-
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e"
2074-
dependencies:
2075-
ci-info "^1.0.0"
2076-
20772025
is-ci@^2.0.0:
20782026
version "2.0.0"
20792027
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
@@ -2161,13 +2109,6 @@ is-glob@^4.0.0:
21612109
dependencies:
21622110
is-extglob "^2.1.1"
21632111

2164-
is-installed-globally@^0.1.0:
2165-
version "0.1.0"
2166-
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80"
2167-
dependencies:
2168-
global-dirs "^0.1.0"
2169-
is-path-inside "^1.0.0"
2170-
21712112
is-npm@^1.0.0:
21722113
version "1.0.0"
21732114
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
@@ -3094,7 +3035,7 @@ lowercase-keys@^1.0.1:
30943035
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f"
30953036
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==
30963037

3097-
lru-cache@^4.0.0, lru-cache@^4.0.1:
3038+
lru-cache@^4.0.0:
30983039
version "4.0.2"
30993040
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e"
31003041
dependencies:
@@ -4559,12 +4500,6 @@ term-size@^0.1.0:
45594500
dependencies:
45604501
execa "^0.4.0"
45614502

4562-
term-size@^1.2.0:
4563-
version "1.2.0"
4564-
resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69"
4565-
dependencies:
4566-
execa "^0.7.0"
4567-
45684503
terminal-link@^1.2.0:
45694504
version "1.2.0"
45704505
resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-1.2.0.tgz#ed1ac495da75a8c3eadc8a5db985226e451edffd"
@@ -4819,22 +4754,6 @@ update-notifier@^2.1.0:
48194754
semver-diff "^2.0.0"
48204755
xdg-basedir "^3.0.0"
48214756

4822-
update-notifier@^2.5.0:
4823-
version "2.5.0"
4824-
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6"
4825-
integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==
4826-
dependencies:
4827-
boxen "^1.2.1"
4828-
chalk "^2.0.1"
4829-
configstore "^3.0.0"
4830-
import-lazy "^2.1.0"
4831-
is-ci "^1.0.10"
4832-
is-installed-globally "^0.1.0"
4833-
is-npm "^1.0.0"
4834-
latest-version "^3.0.0"
4835-
semver-diff "^2.0.0"
4836-
xdg-basedir "^3.0.0"
4837-
48384757
uri-js@^4.2.2:
48394758
version "4.2.2"
48404759
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
@@ -4980,12 +4899,6 @@ widest-line@^1.0.0:
49804899
dependencies:
49814900
string-width "^1.0.1"
49824901

4983-
widest-line@^2.0.0:
4984-
version "2.0.0"
4985-
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.0.tgz#0142a4e8a243f8882c0233aa0e0281aa76152273"
4986-
dependencies:
4987-
string-width "^2.1.1"
4988-
49894902
wordwrap@~0.0.2:
49904903
version "0.0.3"
49914904
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"

0 commit comments

Comments
 (0)