Skip to content

Commit

Permalink
Merge pull request #622 from adunkman/fix-security-vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
thornjad committed Apr 27, 2020
2 parents ed8ff1f + 817e11d commit 943c609
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 40 deletions.
5 changes: 1 addition & 4 deletions bin/http-server
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ var colors = require('colors/safe'),
portfinder = require('portfinder'),
opener = require('opener'),
fs = require('fs'),
argv = require('optimist')
.boolean('cors')
.boolean('log-ip')
.argv;
argv = require('minimist')(process.argv.slice(2));
var ifaces = os.networkInterfaces();

process.title = 'http-server';
Expand Down
42 changes: 7 additions & 35 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 @@ -84,8 +84,8 @@
"corser": "^2.0.1",
"ecstatic": "^3.3.2",
"http-proxy": "^1.17.0",
"minimist": "^1.2.5",
"opener": "^1.5.1",
"optimist": "~0.6.1",
"portfinder": "^1.0.20",
"secure-compare": "3.0.1",
"union": "~0.5.0"
Expand Down

0 comments on commit 943c609

Please sign in to comment.