Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
Maintainers
5
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-core - npm Package Compare versions

Comparing version 4.10.1 to 4.10.2

6

History.md
4.10.2 / 2018-09-21
==================
**fixes**
* [[`0b0c23f`](http://github.com/eggjs/egg-core/commit/0b0c23f502fc0c2641fa7c1740a9777236e8f4db)] - fix: app.js export can be non-function (#182) (Yiyu He <<dead_horse@qq.com>>)
4.10.1 / 2018-09-21

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

5

lib/loader/mixin/custom.js

@@ -64,5 +64,8 @@ 'use strict';

this.lifecycle.addBootHook(bootHook);
} else {
} else if (is.function(bootHook)) {
// if is boot function, wrap to class
// for compatibility
this.lifecycle.addFunctionAsBootHook(bootHook);
} else {
this.options.logger.warn('[egg-loader] %s must exports a boot class', bootFilePath);
}

@@ -69,0 +72,0 @@ }

2

package.json
{
"name": "egg-core",
"version": "4.10.1",
"version": "4.10.2",
"description": "A core Pluggable framework based on koa",

@@ -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