🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

container-ioc

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

container-ioc - npm Package Compare versions

Comparing version

to
1.7.17

import { ProviderToken } from './interfaces';
export declare function Injectable(injections?: ProviderToken[]): (target: object) => void;
export declare const Component: typeof Injectable;
export declare function Inject(token: any): (target: object, propertyKey: string | symbol, parameterIndex: number) => void;

@@ -17,2 +17,3 @@ "use strict";

exports.Injectable = Injectable;
exports.Component = Injectable;
function Inject(token) {

@@ -19,0 +20,0 @@ return (target, propertyKey, parameterIndex) => {

export { Container } from './container';
export { IContainer } from './container.interface';
export { Inject, Injectable } from './decorators';
export { Inject, Injectable, Component } from './decorators';
export { InjectionToken } from './injection-token';

@@ -5,0 +5,0 @@ export { IMetadataAnnotator } from './metadata/metadata-annotator.interface';

@@ -8,2 +8,3 @@ "use strict";

exports.Injectable = decorators_1.Injectable;
exports.Component = decorators_1.Component;
var injection_token_1 = require("./injection-token");

@@ -10,0 +11,0 @@ exports.InjectionToken = injection_token_1.InjectionToken;

{
"name": "container-ioc",
"version": "1.7.16",
"version": "1.7.17",
"description": "Dependency Injection and Inversion of Control (IoC) container",

@@ -5,0 +5,0 @@ "author": "Alexander Kozlov",