Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-static

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-static - npm Package Compare versions

Comparing version 0.7.10 to 0.7.11

2

bin/cli.js

@@ -121,3 +121,3 @@ #!/usr/bin/env node

if (argv['spa'] && request.url.indexOf(".") == -1) {
file.serveFile(argv['indexFile'], 500, {}, request, response);
file.serveFile(argv['indexFile'], 200, {}, request, response);
} else {

@@ -124,0 +124,0 @@ file.serve(request, response, callback);

@@ -37,3 +37,3 @@ {

},
"version": "0.7.10",
"version": "0.7.11",
"engines": {

@@ -40,0 +40,0 @@ "node": ">= 0.4.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