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.8.0 to 0.8.1

2

lib/http-server.js

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

this.autoIndex = options.autoIndex !== 'false';
this.contentType = options.contentType || 'application/octet-stream';

@@ -75,2 +76,3 @@ if (options.ext) {

defaultExt: this.ext,
contentType: this.contentType,
handleError: typeof options.proxy !== 'string'

@@ -77,0 +79,0 @@ }));

9

package.json
{
"name": "http-server",
"version": "0.8.0",
"version": "0.8.1",
"description": "A simple zero-configuration command-line http server",

@@ -78,8 +78,3 @@ "main": "./lib/http-server",

},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/nodeapps/http-server/raw/master/LICENSE"
}
],
"license": "MIT",
"preferGlobal": "true",

@@ -86,0 +81,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc