Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsed/di

Package Overview
Dependencies
Maintainers
5
Versions
1007
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/di - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

19

lib/services/InjectorService.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc