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

koa

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

6

History.md
2.8.1 / 2019-08-19
==================
**fixes**
* [[`287e589`](http://github.com/koajs/koa/commit/287e589ac773d3738b2aa7d40e0b6d43dde5261b)] - fix: make options more compatibility (dead-horse <<dead_horse@qq.com>>)
2.8.0 / 2019-08-19

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

7

lib/application.js

@@ -47,9 +47,10 @@

constructor(options = {}) {
constructor(options) {
super();
options = options || {};
this.proxy = options.proxy || false;
this.middleware = [];
this.subdomainOffset = options.subdomainOffset || 2;
this.env = options.env || process.env.NODE_ENV || 'development';
this.keys = options.keys || undefined;
if (options.keys) this.keys = options.keys;
this.middleware = [];
this.context = Object.create(context);

@@ -56,0 +57,0 @@ this.request = Object.create(request);

{
"name": "koa",
"version": "2.8.0",
"version": "2.8.1",
"description": "Koa web app framework",

@@ -5,0 +5,0 @@ "main": "lib/application.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