Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 4.1.3 to 5.0.0

6

History.md
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 @@ ==================

2

index.js

@@ -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": {

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