New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koa-static

Package Overview
Dependencies
Maintainers
10
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-static - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

6

History.md
4.0.3 / 2018-05-17
==================
* npm: disable package-lock
* bump deps
4.0.2 / 2017-11-16

@@ -3,0 +9,0 @@ ==================

30

package.json

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

"repository": "koajs/static",
"version": "4.0.2",
"version": "4.0.3",
"keywords": [

@@ -18,23 +18,23 @@ "koa",

"devDependencies": {
"eslint": "^4.1.1",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.6.1",
"eslint-plugin-node": "^5.1.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.1.0",
"istanbul": "^0.4.5",
"koa": "^2.3.0",
"mocha": "^3.4.2",
"supertest": "^3.0.0"
"koa": "^2.5.1",
"mocha": "^5.1.1",
"supertest": "^3.1.0"
},
"license": "MIT",
"dependencies": {
"debug": "^2.6.8",
"koa-send": "^4.1.0"
"debug": "^3.1.0",
"koa-send": "^4.1.3"
},
"scripts": {
"lint": "eslint --fix .",
"test": "mocha --harmony --reporter spec",
"test-cov": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha",
"test-travis": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly"
"test": "mocha --harmony --reporter spec --exit",
"test-cov": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --exit",
"test-travis": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --exit"
},

@@ -41,0 +41,0 @@ "engines": {

@@ -36,2 +36,3 @@ # koa-static

- `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.
- `br` Try to serve the brotli version of a file automatically when brotli is supported by a client and if the requested file with .br extension exists (note, that brotli is only accepted over https). defaults to true.
- [setHeaders](https://github.com/koajs/send#setheaders) Function to set custom headers on response.

@@ -38,0 +39,0 @@ - `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`)

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