koa-static
Advanced tools
Comparing version 2.0.0 to 2.1.0
2.1.0 / 2017-02-03 | ||
================== | ||
* bump deps | ||
2.0.0 / 2016-01-07 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/static", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"keywords": [ | ||
@@ -18,11 +18,11 @@ "koa", | ||
"devDependencies": { | ||
"istanbul-harmony": "0", | ||
"istanbul": "0", | ||
"koa": "1", | ||
"mocha": "2", | ||
"supertest": "1" | ||
"mocha": "3", | ||
"supertest": "3" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"debug": "*", | ||
"koa-send": "~3.1.0" | ||
"debug": "^2.6.0", | ||
"koa-send": "^3.3.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "scripts": { |
@@ -10,5 +10,4 @@ # koa-static | ||
Koa static file serving middleware, wrapper for [`koa-send`](https://github.com/koajs/send). | ||
Static file serving middleware. | ||
## Installation | ||
@@ -37,2 +36,4 @@ | ||
- `defer` If true, serves after `yield next`, allowing any downstream middleware to respond first. | ||
- `gzip` Try to serve the gzipped version of a file automatically when gzip is supported by a client and if the requested file with .gz extension exists. defaults to true. | ||
- `extensions` Try to match extensions from passed array to search for file when no extension is sufficed in URL. First found is served. (defaults to `false`) | ||
@@ -60,2 +61,8 @@ ## Example | ||
### See also | ||
- [koajs/conditional-get](https://github.com/koajs/conditional-get) Conditional GET support for koa | ||
- [koajs/compress](https://github.com/koajs/compress) Compress middleware for koa | ||
- [koajs/mount](https://github.com/koajs/mount) Mount `koa-static` to a specific path | ||
## License | ||
@@ -62,0 +69,0 @@ |
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
6340
0
85
+ Addeddebug@2.6.9(transitive)
+ Addedkoa-send@3.3.0(transitive)
+ Addedms@2.0.0(transitive)
- Removeddebug@4.3.4(transitive)
- Removedkoa-send@3.1.1(transitive)
- Removedms@2.1.2(transitive)
Updateddebug@^2.6.0
Updatedkoa-send@^3.3.0