Socket
Socket
Sign inDemoInstall

send

Package Overview
Dependencies
9
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.3 to 0.7.4

5

History.md

@@ -0,1 +1,6 @@

0.7.4 / 2014-08-04
==================
* Fix serving index files without root dir
0.7.3 / 2014-07-29

@@ -2,0 +7,0 @@ ==================

6

lib/send.js

@@ -457,3 +457,3 @@

// index file support
if (this._index.length && this.hasTrailingSlash()) {
if (this._index.length && this.path[this.path.length - 1] === '/') {
this.sendIndex(path);

@@ -577,3 +577,3 @@ return res;

var p = path + self._index[i];
var p = join(path, self._index[i]);

@@ -589,4 +589,2 @@ debug('stat "%s"', p);

if (!this.hasTrailingSlash()) path += '/';
next();

@@ -593,0 +591,0 @@ };

{
"name": "send",
"description": "Better streaming static file server with Range and conditional-GET support",
"version": "0.7.3",
"version": "0.7.4",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc