Socket
Socket
Sign inDemoInstall

http-server

Package Overview
Dependencies
Maintainers
4
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.2 to 0.5.3

4

lib/http-server.js

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

this.server = union.createServer({
before: [
before: (options.before || []).concat([
ecstatic(this.root, {

@@ -43,3 +43,3 @@ autoIndex: this.autoIndex,

})
],
]),
headers: this.headers || {}

@@ -46,0 +46,0 @@ });

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

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

],
"homepage": "http://nodeapps.github.com/http-server",
"scripts": {

@@ -18,0 +17,0 @@ "start": "node ./bin/http-server",

@@ -55,4 +55,8 @@ # http-server: a command-line http server

`-e` or `--ext` Default file extension (defaults to 'html')
`-s` or `--silent` In silent mode, log messages aren't logged to the console.
`-h` or `--help` Displays a list of commands and exits.
`-c` Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds. To disable caching, use -c-1.
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