@tsed/di
Advanced tools
Comparing version 5.0.5 to 5.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const core_1 = require("@tsed/core"); | ||
@@ -346,11 +347,13 @@ const ts_log_debug_1 = require("ts-log-debug"); | ||
*/ | ||
async load() { | ||
// TODO copy all provider from GlobalProvider registry. In future this action will be performed from Bootstrap class | ||
ProviderRegistry_1.GlobalProviders.forEach((p, k) => { | ||
if (!this.has(k)) { | ||
this.set(k, p.clone()); | ||
} | ||
load() { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
// TODO copy all provider from GlobalProvider registry. In future this action will be performed from Bootstrap class | ||
ProviderRegistry_1.GlobalProviders.forEach((p, k) => { | ||
if (!this.has(k)) { | ||
this.set(k, p.clone()); | ||
} | ||
}); | ||
this.build(); | ||
return Promise.all([this.emit("$onInit")]); | ||
}); | ||
this.build(); | ||
return Promise.all([this.emit("$onInit")]); | ||
} | ||
@@ -357,0 +360,0 @@ /** |
{ | ||
"name": "@tsed/di", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"description": "DI module for Ts.ED Framework", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.js", | ||
"tslib": "^1.8.0", | ||
"@tsed/core": "5.0.5" | ||
"@tsed/core": "5.0.6" | ||
}, | ||
@@ -27,3 +27,3 @@ "peerDependencies": {}, | ||
"license": "MIT", | ||
"gitHead": "28898c85c347dfa31bac6450458afbe871b5707c" | ||
"gitHead": "b7bfcdd39e3938af7bb248d9a2c571963d0cba29" | ||
} |
import {Store} from "@tsed/core"; | ||
import {IInjectableProperties} from "@tsed/di"; | ||
import {IInjectableProperties} from "../interfaces/IInjectableProperties"; | ||
@@ -4,0 +4,0 @@ /** |
import {Store} from "@tsed/core"; | ||
import {IInjectableProperties} from "@tsed/di"; | ||
import {IInjectableProperties} from "../interfaces/IInjectableProperties"; | ||
@@ -4,0 +4,0 @@ /** |
Sorry, the diff of this file is not supported yet
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
203449
4474
+ Added@tsed/core@5.0.6(transitive)
- Removed@tsed/core@5.0.5(transitive)
Updated@tsed/core@5.0.6