Skip to content

Commit

Permalink
Update dependency commander to v12 (#351)
Browse files Browse the repository at this point in the history
Update dependency commander to v12 and address breaking change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alexander J. Lallier <alexanderlallier@gmail.com>
  • Loading branch information
renovate[bot] and alallier authored Aug 12, 2024
1 parent 6ee4ba4 commit b514dbe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
5 changes: 3 additions & 2 deletions bin/reload
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/usr/bin/env node

const program = require('commander')
const { program } = require('commander')
const supervisor = require('supervisor')
const path = require('path')
const os = require('os')
const clc = require('cli-color')

program.version(require('../package.json').version)
program
.version(require('../package.json').version)
.option('-b, --browser', 'Open in the browser automatically.')
.option('-n, --hostname [hostname]', 'If -b flag is being used, this allows for custom hostnames. Defaults to localhost.', 'localhost')
.option('-d, --dir [dir]', 'The directory to serve up. Defaults to current dir.', process.cwd())
Expand Down
16 changes: 8 additions & 8 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 @@ -25,7 +25,7 @@
"license": "MIT",
"dependencies": {
"cli-color": "~2.0.0",
"commander": "~9.4.0",
"commander": "~12.1.0",
"finalhandler": "~1.2.0",
"minimist": "~1.2.0",
"open": "^8.0.0",
Expand Down

0 comments on commit b514dbe

Please sign in to comment.