Socket
Socket
Sign inDemoInstall

http-server

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-server - npm Package Compare versions

Comparing version 0.5.5 to 0.6.0

8

lib/http-server.js

@@ -21,5 +21,5 @@ var fs = require('fs'),

}
if (options.headers) {
this.headers = options.headers;
this.headers = options.headers;
}

@@ -39,2 +39,6 @@

before: (options.before || []).concat([
function (req, res) {
options.logFn && options.logFn(req, res);
res.emit('next');
},
ecstatic({

@@ -41,0 +45,0 @@ root: this.root,

{
"name": "http-server",
"version": "0.5.5",
"version": "0.6.0",
"author": "Nodejitsu <support@nodejitsu.com>",

@@ -57,3 +57,4 @@ "description": "a simple zero-configuration command-line http server",

"ecstatic": "0.4.x",
"portfinder": "0.2.x"
"portfinder": "0.2.x",
"opener": "~1.3.0"
},

@@ -60,0 +61,0 @@ "devDependencies": {

@@ -11,3 +11,3 @@ # http-server: a command-line http server

curl http://npmjs.org/install.sh | sh
curl https://npmjs.org/install.sh | sh

@@ -14,0 +14,0 @@ Once you have `npm`:

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc