Socket
Socket
Sign inDemoInstall

koa-send

Package Overview
Dependencies
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-send - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

History.md

@@ -0,1 +1,7 @@

2.0.2 / 2015-10-23
==================
* fix stats info when path does not finish with slash and format is enabled
2.0.1 / 2015-10-14

@@ -2,0 +8,0 @@ ==================

3

index.js

@@ -78,4 +78,5 @@ /**

if (stats.isDirectory()) {
if (opts.format) {
if (opts.format && index) {
path += '/' + index;
stats = yield fs.stat(path);
} else {

@@ -82,0 +83,0 @@ return;

@@ -5,3 +5,3 @@ {

"repository": "koajs/send",
"version": "2.0.1",
"version": "2.0.2",
"keywords": [

@@ -8,0 +8,0 @@ "koa",

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