Skip to content

Commit

Permalink
fix(deps): update dependency yargs to v16 (#2015)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency yargs to v16
* chore: Fixed importing yargs Parser from yargs@16 dependency

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Luca Greco <lgreco@mozilla.com>
  • Loading branch information
3 people authored Jan 21, 2021
1 parent be598cc commit a5b9173
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 77 deletions.
260 changes: 184 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"update-notifier": "5.0.1",
"watchpack": "1.7.5",
"ws": "7.4.2",
"yargs": "15.4.1",
"yargs": "16.2.0",
"zip-dir": "1.0.2"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {readFileSync} from 'fs';
import camelCase from 'camelcase';
import decamelize from 'decamelize';
import yargs from 'yargs';
// TODO(rpl): try to remove the following suppress comment after updating flow to more recent versions.
// $FlowFixMe: flow doesn't seem to read yet the `exports` property from the yargs package.json.
import { Parser as yargsParser } from 'yargs/yargs';

import defaultCommands from './cmd';
Expand Down

0 comments on commit a5b9173

Please sign in to comment.