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

koa2-nginx

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

koa2-nginx - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

4

lib/utils/index.js
const httpProxyMiddleware = require('http-proxy-middleware');
const c2k = require('koa2-connect');
exports.getProxyMiddleware = function(proxyConfig) {
function getProxyMiddleware(proxyConfig) {
const context = proxyConfig.context;

@@ -10,3 +10,3 @@

}
};
}

@@ -13,0 +13,0 @@ exports.setupProxyFeature = function(options) {

{
"name": "koa2-nginx",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "This is an http-proxy koa proxy middleware that can be used after bodyparse",

@@ -5,0 +5,0 @@ "main": "index.js",

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