Skip to content

Commit

Permalink
fix(deps): use minimist in place of optimist
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSwitch committed Apr 12, 2021
1 parent 5ea85dd commit c28d1cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 49 deletions.
49 changes: 5 additions & 44 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
},
"dependencies": {
"finalhandler": "^1.1.2",
"optimist": "^0.6.1",
"optimistic": "0.0.3",
"minimist": "^1.2.5",
"portfinder": "^1.0.28",
"serve-static": "^1.14.1"
},
Expand Down
4 changes: 1 addition & 3 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-disable no-console */
const localhost = require('./index.js');
const portfinder = require('portfinder');
const argv = require('optimist')
.boolean('cors')
.argv;
const argv = require('minimist')(process.argv);

const port = argv.p || parseInt(process.env.PORT);

Expand Down

0 comments on commit c28d1cf

Please # to comment.