Socket
Socket
Sign inDemoInstall

koa-send

Package Overview
Dependencies
14
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

7

History.md
2.0.2 / 2015-10-23
2.0.3 / 2018-09-12
==================
* fix stats info when path does not finish with slash and format is enabled
**others**
* [[`8f7be5f`](http://github.com/koajs/send/commit/8f7be5f74dff21845164be82d5d34b183d7dc697)] - deps: pin debug@3 to support node 4 (#111) (fengmk2 <<fengmk2@gmail.com>>)
* [[`e5d8510`](http://github.com/koajs/send/commit/e5d85103e43690548a1e88d65548a6f3403621f1)] - 2.0.1 (haoxin <<coderhaoxin@outlook.com>>),
2.0.1 / 2015-10-14

@@ -8,0 +9,0 @@ ==================

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

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

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

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

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

@@ -25,3 +25,3 @@ "koa",

"dependencies": {
"debug": "*",
"debug": "^3.2.5",
"mz": "^2.0.0",

@@ -34,3 +34,6 @@ "resolve-path": "^1.2.1"

"test-travis": "node ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"
},
"publishConfig": {
"tag": "latest-2"
}
}
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