Comparing version 2.4.36 to 2.4.37
@@ -24,3 +24,3 @@ "use strict"; | ||
function getMetadata(type) { | ||
if ([Object, Array, Error, null].includes(type)) { | ||
if ([Object, Object.prototype, Array, Array.prototype, Error, Error.prototype, null].includes(type)) { | ||
return new MetadataType(); | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "power-di", | ||
"version": "2.4.36", | ||
"version": "2.4.37", | ||
"description": "A lightweight Dependency Injection library. Using es6 and other features, remove unnecessary concepts, easy and convenient to use.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
217550