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

koa-cors

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-cors - npm Package Compare versions

Comparing version 0.0.3 to 0.0.5

7

index.js
/**
* CORS middleware
*
* @param {Object} [options]
* @param {Object} [settings]
* @return {Function}

@@ -19,2 +19,4 @@ * @api public

yield next;
var options = settings;

@@ -82,9 +84,6 @@

this.status = 204;
return;
}
return yield next;
}
};
{
"name": "koa-cors",
"version": "0.0.3",
"description": "CORS middleware for koa",
"version": "0.0.5",
"description": "CORS middleware for Koa",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

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