@furystack/inject
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -16,3 +16,5 @@ "use strict"; | ||
const singletons = Array.from(this.cachedSingletons.entries()).map((e) => e[1]); | ||
const disposeRequests = singletons.map(async (s) => { | ||
const disposeRequests = singletons | ||
.filter((s) => s !== this) | ||
.map(async (s) => { | ||
if (s.dispose) { | ||
@@ -19,0 +21,0 @@ await s.dispose(); |
{ | ||
"name": "@furystack/inject", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Core FuryStack package", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -8,3 +8,5 @@ import { IDisposable } from "@sensenet/client-utils"; | ||
const singletons = Array.from(this.cachedSingletons.entries()).map((e) => e[1]); | ||
const disposeRequests = singletons.map(async (s) => { | ||
const disposeRequests = singletons | ||
.filter((s) => s !== this) | ||
.map(async (s) => { | ||
if (s.dispose) { | ||
@@ -11,0 +13,0 @@ await s.dispose(); |
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
29677
153