@jymfony/autoloader
Advanced tools
Comparing version 0.1.0-alpha.4 to 0.1.0-alpha.5
{ | ||
"name": "@jymfony/autoloader", | ||
"version": "0.1.0-alpha.4", | ||
"version": "0.1.0-alpha.5", | ||
"description": "Jymfony Autoloader", | ||
@@ -21,3 +21,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@jymfony/util": "0.1.0-alpha.4" | ||
"@jymfony/util": "0.1.0-alpha.5" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
@@ -99,3 +99,2 @@ const Finder = require('./Finder'); | ||
Symbol.reflection = Symbol('reflection'); | ||
Object.prototype.__construct = function () { }; | ||
@@ -102,0 +101,0 @@ let rootDir = this._finder.findRoot(); |
@@ -7,2 +7,2 @@ /** | ||
module.exports = ReflectionException; | ||
module.exports = global.ReflectionException = ReflectionException; |
@@ -82,2 +82,6 @@ let ClassNotFoundException = undefined; | ||
if ('__construct' === name) { | ||
return undefined; | ||
} | ||
if (undefined === target[name]) { | ||
@@ -84,0 +88,0 @@ let found; |
@@ -1,2 +0,2 @@ | ||
const ReflectionException = require('../Exception/ReflectionException'); | ||
require('../Exception/ReflectionException'); | ||
@@ -180,5 +180,3 @@ let Storage = function () {}; | ||
isSubclassOf(parentClass) { | ||
let parent = Object.getPrototypeOf(this._constructor); | ||
return parent.prototype instanceof parentClass; | ||
return this._constructor.prototype instanceof parentClass; | ||
} | ||
@@ -185,0 +183,0 @@ |
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
1589
55002
+ Added@jymfony/exceptions@0.1.0-alpha.5(transitive)
+ Added@jymfony/util@0.1.0-alpha.5(transitive)
- Removed@jymfony/exceptions@0.1.0-alpha.4(transitive)
- Removed@jymfony/util@0.1.0-alpha.4(transitive)
Updated@jymfony/util@0.1.0-alpha.5