Comparing version 3.5.0 to 3.6.0
3.6.0 / 2017-05-02 | ||
================== | ||
* feat: add fullPath property on class instance (#82) | ||
3.5.0 / 2017-04-26 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -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 }); |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83693
2188