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
6
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 1.4.3 to 1.4.4

8

index.js

@@ -36,9 +36,9 @@

if (!opts.defer) {
return function *(next){
return function *static(next){
if (this.idempotent && (yield send(this, this.path, opts))) return;
yield next;
}
};
}
return function *(next){
return function *static(next){
yield next;

@@ -50,3 +50,3 @@

yield send(this, this.path, opts);
}
};
}

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

"repository": "koajs/static",
"version": "1.4.3",
"version": "1.4.4",
"keywords": [

@@ -8,0 +8,0 @@ "koa",

@@ -7,3 +7,3 @@ # koa-static [![Build Status](https://travis-ci.org/koajs/static.png)](https://travis-ci.org/koajs/static)

```js
```bash
$ npm install koa-static

@@ -10,0 +10,0 @@ ```

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