Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
Maintainers
4
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 3.4.0 to 3.4.1

5

History.md
3.4.1 / 2017-04-21
==================
* fix: should support module.exports = function*(ctx) {} as a controller (#79)
3.4.0 / 2017-04-18

@@ -3,0 +8,0 @@ ==================

3

lib/loader/mixin/controller.js

@@ -39,2 +39,5 @@ 'use strict';

}
if (is.generatorFunction(obj)) {
return wrapObject({ 'module.exports': obj }, opt.path)['module.exports'];
}
return obj;

@@ -41,0 +44,0 @@ },

2

package.json
{
"name": "egg-core",
"version": "3.4.0",
"version": "3.4.1",
"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