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

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.5.0 to 3.6.0

5

History.md
3.6.0 / 2017-05-02
==================
* feat: add fullPath property on class instance (#82)
3.5.0 / 2017-04-26

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

5

lib/loader/file_loader.js

@@ -146,3 +146,6 @@ 'use strict';

if (exports == null) continue;
if (is.class(exports)) exports.prototype.pathName = pathName;
if (is.class(exports)) {
exports.prototype.pathName = pathName;
exports.prototype.fullPath = fullpath;
}

@@ -149,0 +152,0 @@ items.push({ fullpath, properties, exports });

1

lib/loader/mixin/controller.js

@@ -34,2 +34,3 @@ 'use strict';

obj.prototype.pathName = opt.pathName;
obj.prototype.fullPath = opt.path;
return wrapClass(obj);

@@ -36,0 +37,0 @@ }

{
"name": "egg-core",
"version": "3.5.0",
"version": "3.6.0",
"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