Socket
Socket
Sign inDemoInstall

http-server

Package Overview
Dependencies
Maintainers
1
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.7.3 to 0.7.4

10

lib/http-server.js

@@ -39,3 +39,6 @@ var fs = require('fs'),

function (req, res) {
options.logFn && options.logFn(req, res);
if (options.logFn) {
options.logFn(req, res);
}
res.emit('next');

@@ -46,3 +49,3 @@ },

cache: this.cache,
showDir : this.showDir,
showDir: this.showDir,
autoIndex: this.autoIndex,

@@ -55,4 +58,5 @@ defaultExt: this.ext

if (options.https)
if (options.https) {
serverOptions.https = options.https;
}

@@ -59,0 +63,0 @@ this.server = union.createServer(serverOptions);

{
"name": "http-server",
"version": "0.7.3",
"author": "Nodejitsu <support@nodejitsu.com>",
"version": "0.7.4",
"description": "a simple zero-configuration command-line http server",

@@ -17,2 +16,3 @@ "main": "./lib/http-server",

"start": "node ./bin/http-server",
"pretest": "stylezero bin/ lib/ test",
"test": "vows --spec --isolate"

@@ -22,2 +22,6 @@ },

{
"name": "Charlie Robbins",
"email": "charlie.robbins@gmail.com"
},
{
"name": "Marak Squires",

@@ -52,15 +56,20 @@ "email": "marak.squires@gmail.com"

"email": "travis.person@gmail.com"
},
{
"name": "Jinkwon Lee",
"email" : "master@bdyne.net"
}
],
"dependencies": {
"colors": "0.6.x",
"optimist": "0.5.x",
"union": "0.3.x",
"colors": "1.0.3",
"optimist": "0.6.x",
"union": "~0.4.3",
"ecstatic": "~0.5.6",
"portfinder": "0.2.x",
"opener": "~1.3.0"
"opener": "~1.4.0"
},
"devDependencies": {
"vows": "0.7.x",
"request": "2.21.x"
"request": "2.49.x",
"stylezero": "2.1.1"
},

@@ -79,4 +88,5 @@ "bugs": {

"bin": {
"http-server": "./bin/http-server"
"http-server": "./bin/http-server",
"hs" : "./bin/http-server"
}
}

Sorry, the diff of this file is not supported yet

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