Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
141
Maintainers
14
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.30.2 to 4.31.0

CHANGELOG.md

10

lib/egg.js

@@ -41,5 +41,9 @@ 'use strict';

// enable asyncLocalStorage by default
// https://github.com/koajs/koa/pull/1721
super({ asyncLocalStorage: enableAsyncLocalStorage });
// disable koa als and use egg logic
super({ asyncLocalStorage: false });
// can access the AsyncLocalStorage instance in global
if (enableAsyncLocalStorage) {
const { getAsyncLocalStorage } = require('gals');
this.ctxStorage = getAsyncLocalStorage();
}

@@ -46,0 +50,0 @@ this.timing = new Timing();

{
"name": "egg-core",
"version": "4.30.2",
"version": "4.31.0",
"publishConfig": {

@@ -69,2 +69,3 @@ "tag": "latest-4"

"extend2": "^1.0.0",
"gals": "^1.0.2",
"get-ready": "^2.0.1",

@@ -71,0 +72,0 @@ "globby": "^10.0.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc