koa-send
Advanced tools
Comparing version 2.0.2 to 2.0.3
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" | ||
} | ||
} |
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
8328
0
109
+ Addeddebug@3.2.7(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@4.3.5(transitive)
- Removedms@2.1.2(transitive)
Updateddebug@^3.2.5