Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
16
Maintainers
5
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.10.3 to 4.11.0

6

History.md
4.11.0 / 2018-10-19
==================
**features**
* [[`fdc1ee5`](http://github.com/eggjs/egg-core/commit/fdc1ee546bc504dbf85d78f33ff61eaa266c0d02)] - feat: add 'configWillLoad' hook to lifecycle (#187) (fengmk2 <<fengmk2@gmail.com>>)
4.10.3 / 2018-09-29

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

@@ -132,2 +132,11 @@ 'use strict';

triggerConfigWillLoad() {
for (const boot of this[BOOTS]) {
if (boot.configWillLoad) {
boot.configWillLoad();
}
}
this.triggerConfigDidLoad();
}
triggerConfigDidLoad() {

@@ -134,0 +143,0 @@ for (const boot of this[BOOTS]) {

4

lib/loader/mixin/custom.js

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

this[LOAD_BOOT_HOOK]('app');
this.lifecycle.triggerConfigDidLoad();
this.lifecycle.triggerConfigWillLoad();
},

@@ -46,3 +46,3 @@

this[LOAD_BOOT_HOOK]('agent');
this.lifecycle.triggerConfigDidLoad();
this.lifecycle.triggerConfigWillLoad();
},

@@ -49,0 +49,0 @@

{
"name": "egg-core",
"version": "4.10.3",
"version": "4.11.0",
"description": "A core Pluggable framework based on koa",

@@ -27,3 +27,3 @@ "main": "index.js",

"bugs": {
"url": "https://github.com/eggjs/egg-core/issues"
"url": "https://github.com/eggjs/egg/issues"
},

@@ -35,3 +35,11 @@ "homepage": "https://github.com/eggjs/egg-core#readme",

"ci": {
"version": "8, 10"
"type": "travis",
"os": {
"travis": "linux, osx, windows"
},
"version": "8, 10",
"afterScript": "after_success:\n - npminstall codecov && codecov --disable=gcov -f .nyc_output/*.json",
"license": {
"year": 2016
}
},

@@ -38,0 +46,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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