Comparing version 4.1.3 to 5.0.0
5.0.0 / 2018-06-19 | ||
================== | ||
* bump deps | ||
* fix bug that set Content-Type not working. (#105) | ||
4.1.2 / 2017-12-14 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -139,3 +139,3 @@ /** | ||
} | ||
ctx.type = type(path, encodingExt) | ||
if (!ctx.type) ctx.type = type(path, encodingExt) | ||
ctx.body = fs.createReadStream(path) | ||
@@ -142,0 +142,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/send", | ||
"version": "4.1.3", | ||
"version": "5.0.0", | ||
"keywords": [ | ||
@@ -17,20 +17,20 @@ "koa", | ||
"devDependencies": { | ||
"eslint": "^3.19.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-node": "^4.2.2", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"iltorb": "^1.2.1", | ||
"istanbul": "0", | ||
"koa": "2", | ||
"mocha": "3", | ||
"should": "11", | ||
"supertest": "3" | ||
"eslint": "^4.19.1", | ||
"eslint-config-standard": "^11.0.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-promise": "^3.8.0", | ||
"eslint-plugin-standard": "^3.1.0", | ||
"iltorb": "^2.3.2", | ||
"istanbul": "^0.4.5", | ||
"koa": "^2.5.1", | ||
"mocha": "^5.2.0", | ||
"should": "^13.2.1", | ||
"supertest": "^3.1.0" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"debug": "^2.6.3", | ||
"http-errors": "^1.6.1", | ||
"mz": "^2.6.0", | ||
"debug": "^3.1.0", | ||
"http-errors": "^1.6.3", | ||
"mz": "^2.7.0", | ||
"resolve-path": "^1.4.0" | ||
@@ -40,5 +40,5 @@ }, | ||
"lint": "eslint --fix .", | ||
"test": "mocha --require should --reporter spec", | ||
"test-cov": "istanbul cover ./node_modules/.bin/_mocha -- --require should", | ||
"test-travis": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should" | ||
"test": "mocha --require should --reporter spec --exit", | ||
"test-cov": "istanbul cover ./node_modules/.bin/_mocha -- --require should --exit", | ||
"test-travis": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should --exit" | ||
}, | ||
@@ -45,0 +45,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12096
+ Addeddebug@3.2.7(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removedms@2.0.0(transitive)
Updateddebug@^3.1.0
Updatedhttp-errors@^1.6.3
Updatedmz@^2.7.0