@tsed/di
Advanced tools
Comparing version 5.34.1 to 5.34.2
@@ -68,3 +68,2 @@ "use strict"; | ||
exports.Container = Container; | ||
//# sourceMappingURL=Container.js.map | ||
//# sourceMappingURL=Container.js.map |
@@ -32,3 +32,2 @@ "use strict"; | ||
exports.LocalsContainer = LocalsContainer; | ||
//# sourceMappingURL=LocalsContainer.js.map | ||
//# sourceMappingURL=LocalsContainer.js.map |
@@ -161,3 +161,2 @@ "use strict"; | ||
exports.Provider = Provider; | ||
//# sourceMappingURL=Provider.js.map | ||
//# sourceMappingURL=Provider.js.map |
@@ -10,3 +10,2 @@ "use strict"; | ||
exports.ProviderStorable = ProviderStorable; | ||
//# sourceMappingURL=ProviderStorable.js.map | ||
//# sourceMappingURL=ProviderStorable.js.map |
@@ -17,3 +17,2 @@ "use strict"; | ||
exports.Configuration = Configuration; | ||
//# sourceMappingURL=configuration.js.map | ||
//# sourceMappingURL=configuration.js.map |
@@ -53,3 +53,2 @@ "use strict"; | ||
exports.Constant = Constant; | ||
//# sourceMappingURL=constant.js.map | ||
//# sourceMappingURL=constant.js.map |
@@ -45,3 +45,2 @@ "use strict"; | ||
exports.Inject = Inject; | ||
//# sourceMappingURL=inject.js.map | ||
//# sourceMappingURL=inject.js.map |
@@ -30,3 +30,2 @@ "use strict"; | ||
exports.Injectable = Injectable; | ||
//# sourceMappingURL=injectable.js.map | ||
//# sourceMappingURL=injectable.js.map |
@@ -26,3 +26,2 @@ "use strict"; | ||
exports.Intercept = Intercept; | ||
//# sourceMappingURL=intercept.js.map | ||
//# sourceMappingURL=intercept.js.map |
@@ -17,3 +17,2 @@ "use strict"; | ||
exports.Interceptor = Interceptor; | ||
//# sourceMappingURL=interceptor.js.map | ||
//# sourceMappingURL=interceptor.js.map |
@@ -1,4 +0,2 @@ | ||
import { IDIConfigurationOptions } from "../interfaces/IDIConfigurationOptions"; | ||
import { ProviderScope } from "../interfaces/ProviderScope"; | ||
import { TokenProvider } from "../interfaces/TokenProvider"; | ||
import { IDIConfigurationOptions, ProviderScope, TokenProvider } from "../interfaces"; | ||
export interface IModuleOptions extends IDIConfigurationOptions { | ||
@@ -5,0 +3,0 @@ /** |
@@ -5,10 +5,10 @@ "use strict"; | ||
const core_1 = require("@tsed/core"); | ||
const di_1 = require("@tsed/di"); | ||
const ProviderScope_1 = require("../interfaces/ProviderScope"); | ||
const interfaces_1 = require("../interfaces"); | ||
const configuration_1 = require("./configuration"); | ||
const injectable_1 = require("./injectable"); | ||
function Module(_a = {}) { | ||
var { imports, deps, root, scope } = _a, configuration = tslib_1.__rest(_a, ["imports", "deps", "root", "scope"]); | ||
return core_1.applyDecorators(configuration_1.Configuration(configuration), di_1.Injectable({ | ||
type: di_1.ProviderType.PROVIDER, | ||
scope: ProviderScope_1.ProviderScope.SINGLETON, | ||
return core_1.applyDecorators(configuration_1.Configuration(configuration), injectable_1.Injectable({ | ||
type: interfaces_1.ProviderType.PROVIDER, | ||
scope: interfaces_1.ProviderScope.SINGLETON, | ||
imports, | ||
@@ -21,3 +21,2 @@ deps, | ||
exports.Module = Module; | ||
//# sourceMappingURL=module.js.map | ||
//# sourceMappingURL=module.js.map |
@@ -16,3 +16,2 @@ "use strict"; | ||
exports.OverrideProvider = OverrideProvider; | ||
//# sourceMappingURL=overrideProvider.js.map | ||
//# sourceMappingURL=overrideProvider.js.map |
@@ -12,3 +12,2 @@ "use strict"; | ||
exports.OverrideService = overrideProvider_1.OverrideProvider; | ||
//# sourceMappingURL=overrideService.js.map | ||
//# sourceMappingURL=overrideService.js.map |
@@ -15,3 +15,2 @@ "use strict"; | ||
exports.Scope = Scope; | ||
//# sourceMappingURL=scope.js.map | ||
//# sourceMappingURL=scope.js.map |
@@ -17,3 +17,2 @@ "use strict"; | ||
exports.Service = Service; | ||
//# sourceMappingURL=service.js.map | ||
//# sourceMappingURL=service.js.map |
@@ -53,3 +53,2 @@ "use strict"; | ||
exports.Value = Value; | ||
//# sourceMappingURL=value.js.map | ||
//# sourceMappingURL=value.js.map |
@@ -56,3 +56,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=InjectionError.js.map | ||
//# sourceMappingURL=InjectionError.js.map |
@@ -10,3 +10,2 @@ "use strict"; | ||
exports.UndefinedTokenError = UndefinedTokenError; | ||
//# sourceMappingURL=UndefinedTokenError.js.map | ||
//# sourceMappingURL=UndefinedTokenError.js.map |
@@ -27,3 +27,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./errors/UndefinedTokenError"), exports); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IDIConfigurationOptions.js.map | ||
//# sourceMappingURL=IDIConfigurationOptions.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IDILogger.js.map | ||
//# sourceMappingURL=IDILogger.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IInjectableProperties.js.map | ||
//# sourceMappingURL=IInjectableProperties.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IInterceptor.js.map | ||
//# sourceMappingURL=IInterceptor.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IInterceptorContext.js.map | ||
//# sourceMappingURL=IInterceptorContext.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IInvokeOptions.js.map | ||
//# sourceMappingURL=IInvokeOptions.js.map |
@@ -9,3 +9,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./ProviderType"), exports); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
@@ -11,3 +11,2 @@ "use strict"; | ||
})(InjectablePropertyType = exports.InjectablePropertyType || (exports.InjectablePropertyType = {})); | ||
//# sourceMappingURL=InjectablePropertyType.js.map | ||
//# sourceMappingURL=InjectablePropertyType.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=IProvider.js.map | ||
//# sourceMappingURL=IProvider.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=OnDestroy.js.map | ||
//# sourceMappingURL=OnDestroy.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=OnInit.js.map | ||
//# sourceMappingURL=OnInit.js.map |
@@ -9,3 +9,2 @@ "use strict"; | ||
})(ProviderScope = exports.ProviderScope || (exports.ProviderScope = {})); | ||
//# sourceMappingURL=ProviderScope.js.map | ||
//# sourceMappingURL=ProviderScope.js.map |
@@ -16,3 +16,2 @@ "use strict"; | ||
})(ProviderType = exports.ProviderType || (exports.ProviderType = {})); | ||
//# sourceMappingURL=ProviderType.js.map | ||
//# sourceMappingURL=ProviderType.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=RegistrySettings.js.map | ||
//# sourceMappingURL=RegistrySettings.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=TokenProvider.js.map | ||
//# sourceMappingURL=TokenProvider.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=TypedProvidersRegistry.js.map | ||
//# sourceMappingURL=TypedProvidersRegistry.js.map |
@@ -86,3 +86,2 @@ "use strict"; | ||
exports.GlobalProviders = new GlobalProviderRegistry(); | ||
//# sourceMappingURL=GlobalProviders.js.map | ||
//# sourceMappingURL=GlobalProviders.js.map |
@@ -240,3 +240,2 @@ "use strict"; | ||
exports.registerInterceptor = GlobalProviders_1.GlobalProviders.createRegisterFn(interfaces_1.ProviderType.INTERCEPTOR); | ||
//# sourceMappingURL=ProviderRegistry.js.map | ||
//# sourceMappingURL=ProviderRegistry.js.map |
@@ -130,3 +130,2 @@ "use strict"; | ||
exports.DIConfiguration = DIConfiguration; | ||
//# sourceMappingURL=DIConfiguration.js.map | ||
//# sourceMappingURL=DIConfiguration.js.map |
@@ -468,3 +468,2 @@ "use strict"; | ||
exports.InjectorService = InjectorService; | ||
//# sourceMappingURL=InjectorService.js.map | ||
//# sourceMappingURL=InjectorService.js.map |
{ | ||
"name": "@tsed/di", | ||
"version": "5.34.1", | ||
"version": "5.34.2", | ||
"description": "DI module for Ts.ED Framework", | ||
@@ -8,8 +8,9 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@tsed/core": "5.34.2", | ||
"tslib": "^1.8.0" | ||
}, | ||
"peerDependencies": { | ||
"@tsed/core": "5.34.1" | ||
"scripts": { | ||
"build": "tsc --build tsconfig.compile.json", | ||
"build:doc": "tsc --build tsconfig.doc.json" | ||
}, | ||
"devDependencies": {}, | ||
"private": false, | ||
@@ -28,3 +29,3 @@ "repository": { | ||
"license": "MIT", | ||
"gitHead": "02dc66362474e8ed4aa01bc7caac2d33acdc7b8b" | ||
"gitHead": "269efd4bdca0498f06f4778f177a45a4a0ec9e98" | ||
} |
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
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
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
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
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
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
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
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
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
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
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
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
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
185254
119
2609
+ Added@tsed/core@5.34.2
+ Added@tsed/core@5.34.2(transitive)
- Removed@tsed/core@5.34.1(transitive)