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

@bpframework/middleware-koa-cors

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpframework/middleware-koa-cors - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -32,3 +32,3 @@ 'use strict';

name: exports.name,
afterRoute,
afterRoute: afterRoute.middleware,
beforeRoute,

@@ -35,0 +35,0 @@ initiator: (app) => {

@@ -47,3 +47,3 @@ 'use strict';

module.exports = async function (ctx) {
exports.middleware = async function (ctx) {

@@ -50,0 +50,0 @@ if (global[SYM_ENABLE]) {

@@ -15,3 +15,3 @@ 'use strict';

if (ctx.method.toLowerCase() == 'options') {
await afterRoute(ctx);
await afterRoute.middleware(ctx);
ctx.response.body = '';

@@ -18,0 +18,0 @@ return false;

@@ -34,3 +34,3 @@ {

"name": "@bpframework/middleware-koa-cors",
"version": "0.0.3"
"version": "0.0.4"
}
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