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.2.4 to 0.2.5

2

package.json
{
"name" : "http-server",
"preferGlobal": "true",
"version" : "0.2.4",
"version" : "0.2.5",
"author": "Marak Squires <marak.squires@gmail.com>",

@@ -6,0 +6,0 @@ "description" : "a simple zero-configuration command-line http server",

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

result.forEach(function(v, i) {
html += ('<tr><td>' + '<a href="' + req.url + '/' + v + '">' + v + '</a></td></tr>');
html += ('<tr><td>' + '<a href="' + ((req.url == '/') ? '' : req.url) + '/' + v + '">' + v + '</a></td></tr>');
});

@@ -253,0 +253,0 @@ html += '</table>';

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