@furystack/inject
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -34,3 +34,3 @@ "use strict"; | ||
} | ||
const deps = (this.meta.get(ctor) || []).map((dep) => this.GetInstance(dep, local, [...dependencies, ctor])); | ||
const deps = (Injector.Default.meta.get(ctor) || []).map((dep) => this.GetInstance(dep, local, [...dependencies, ctor])); | ||
const newInstance = new ctor(...deps); | ||
@@ -37,0 +37,0 @@ this.SetInstance(newInstance); |
{ | ||
"name": "@furystack/inject", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Core FuryStack package", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -37,3 +37,3 @@ import { IDisposable } from "@sensenet/client-utils"; | ||
} | ||
const deps = (this.meta.get(ctor) || []).map((dep) => this.GetInstance(dep, local, [...dependencies, ctor])); | ||
const deps = (Injector.Default.meta.get(ctor) || []).map((dep) => this.GetInstance(dep, local, [...dependencies, ctor])); | ||
const newInstance = new ctor(...deps); | ||
@@ -40,0 +40,0 @@ this.SetInstance(newInstance); |
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
29507