Skip to content

Commit 37a1fa1

Browse files
authoredAug 12, 2021
Merge pull request #2152 from snyk/chore/remove-update-notifier
chore: remove update notifier
2 parents fa5bc2e + 6b91de7 commit 37a1fa1

File tree

5 files changed

+1
-84
lines changed

5 files changed

+1
-84
lines changed
 

‎package.json

-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
"strip-ansi": "^5.2.0",
141141
"tar": "^6.1.2",
142142
"tempy": "^1.0.1",
143-
"update-notifier": "^5.1.0",
144143
"uuid": "^8.3.2",
145144
"wrap-ansi": "^5.1.0",
146145
"yaml": "^1.10.2"
@@ -155,7 +154,6 @@
155154
"@types/restify": "^8.4.2",
156155
"@types/sarif": "^2.1.2",
157156
"@types/sinon": "^7.5.0",
158-
"@types/update-notifier": "^4.1.0",
159157
"@typescript-eslint/eslint-plugin": "2.18.0",
160158
"@typescript-eslint/parser": "^2.0.0",
161159
"ajv": "^6.12.6",

‎src/cli/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import spinner = require('../lib/spinner');
2222
import errors = require('../lib/errors/legacy-errors');
2323
import ansiEscapes = require('ansi-escapes');
2424
import { isPathToPackageFile } from '../lib/detect';
25-
import { updateCheck } from '../lib/updater';
2625
import {
2726
MissingTargetFileError,
2827
FileFlagBadInputError,
@@ -236,7 +235,6 @@ function checkPaths(args) {
236235
type AllSupportedCliOptions = Options & MonitorOptions & TestOptions;
237236

238237
async function main() {
239-
updateCheck();
240238
checkRuntime();
241239

242240
let res;

‎src/lib/updater.ts

-30
This file was deleted.

‎test/updater.test.ts

-49
This file was deleted.

‎tsconfig.settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"pretty": true,
66
"moduleResolution": "node",
77
"target": "es2018",
8-
"lib": ["ES2018", "dom"],
8+
"lib": ["ES2018", "ES2019", "dom"],
99
"module": "commonjs",
1010
"allowJs": true,
1111
"sourceMap": true,

0 commit comments

Comments
 (0)
Please sign in to comment.