Skip to content

Commit

Permalink
chore(deps): remove update-notifier
Browse files Browse the repository at this point in the history
This is a continuation of GoogleChrome/lighthouse#13588
  • Loading branch information
remcohaszing committed Feb 2, 2022
1 parent 5963dcc commit 677502f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 341 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"@types/sequelize": "^4.27.34",
"@types/tmp": "^0.1.0",
"@types/umzug": "^2.2.2",
"@types/update-notifier": "^2.5.0",
"@types/uuid": "^8.3.0",
"@types/yargs": "^12.0.8",
"@types/yargs-parser": "^11.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"lighthouse-logger": "1.2.0",
"open": "^7.1.0",
"tmp": "^0.1.0",
"update-notifier": "^3.0.1",
"uuid": "^8.3.1",
"yargs": "^15.4.1",
"yargs-parser": "^13.1.2"
Expand Down
3 changes: 0 additions & 3 deletions packages/cli/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

const yargs = require('yargs');
const yargsParser = require('yargs-parser');
const updateNotifier = require('update-notifier');
const {
loadAndParseRcFile,
hasOptedOutOfRcDetection,
Expand All @@ -25,8 +24,6 @@ const wizardCmd = require('./wizard/wizard.js');
const openCmd = require('./open/open.js');
const pkg = require('../package.json');

updateNotifier({pkg}).notify({defer: false});

/** @return {[string, (path: string) => LHCI.YargsOptions]|[LHCI.YargsOptions]} */
function createYargsConfigArguments() {
const simpleArgv = yargsParser(process.argv.slice(2), {envPrefix: 'LHCI'});
Expand Down
Loading

0 comments on commit 677502f

Please sign in to comment.