Socket
Socket
Sign inDemoInstall

inversify-dts

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inversify-dts - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

6

inversify-binding-decorators/inversify-binding-decorators.d.ts

@@ -1,2 +0,2 @@

// Type definitions for inversify 1.0.0-beta.5
// Type definitions for inversify-binding-decorators 1.0.0
// Project: https://github.com/inversify/inversify-binding-decorators

@@ -48,6 +48,6 @@ // Definitions by: inversify <https://github.com/inversify/>

export function makeProvideDecorator(kernel: inversify.interfaces.Kernel):
(serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>)) => (target: any) => any;
(serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>) => (target: any) => any;
export function makeFluentProvideDecorator(kernel: inversify.interfaces.Kernel):
(serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>)) => interfaces.ProvideInWhenOnSyntax<any>;
(serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>) => interfaces.ProvideInWhenOnSyntax<any>;

@@ -54,0 +54,0 @@ }

@@ -0,1 +1,3 @@

/// <reference path="./inversify-devtools.d.ts" />
import render from "inversify-devtools";

@@ -2,0 +4,0 @@ import { Kernel } from "inversify";

@@ -1,4 +0,5 @@

// Type definitions for inversify 1.0.0-beta.1
// Type definitions for inversify-devtools 1.0.0
// Project: https://github.com/inversify/inversify-devtools
// Definitions by: inversify <https://github.com/inversify/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

@@ -5,0 +6,0 @@ /// <reference path="../inversify/inversify.d.ts" />

@@ -1,2 +0,2 @@

// Type definitions for inversify 1.0.0-alpha.4
// Type definitions for inversify-express-utils 1.0.0
// Project: https://github.com/inversify/inversify-express-utils

@@ -3,0 +3,0 @@ // Definitions by: inversify <https://github.com/inversify/>

@@ -1,2 +0,2 @@

// Type definitions for inversify-inject-decorators 1.0.0-beta.1
// Type definitions for inversify-inject-decorators 1.0.0
// Project: https://github.com/inversify/inversify-inject-decorators

@@ -6,16 +6,18 @@ // Definitions by: inversify <https://github.com/inversify/>

/// <reference path="../inversify/inversify.d.ts" />
declare namespace inversifyInjectDecorators {
interface InjectDecorators {
export interface InjectDecorators {
lazyInject: (serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>)) =>
lazyInject: (serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>) =>
(proto: any, key: string) => void;
lazyInjectNamed: (serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>), named: string) =>
lazyInjectNamed: (serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>, named: string) =>
(proto: any, key: string) => void;
lazyInjectTagged: (serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>), key: string, value: any) =>
lazyInjectTagged: (serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>, key: string, value: any) =>
(proto: any, propertyName: string) => void;
lazyMultiInject: (serviceIdentifier: (string|Symbol|inversify.interfaces.Newable<any>)) =>
lazyMultiInject: (serviceIdentifier: inversify.interfaces.ServiceIdentifier<any>) =>
(proto: any, key: string) => void;

@@ -30,3 +32,4 @@

declare module "inversify-inject-decorators" {
export = inversifyInjectDecorators;
let getDecorators: (kernel: inversify.interfaces.Kernel) => inversifyInjectDecorators.InjectDecorators;
export default getDecorators;
}

@@ -1,2 +0,2 @@

// Type definitions for inversify 1.0.0-beta.6
// Type definitions for inversify-logger-middleware 1.0.0
// Project: https://github.com/inversify/inversify-logger-middleware

@@ -3,0 +3,0 @@ // Definitions by: inversify <https://github.com/inversify/>

@@ -1,2 +0,2 @@

// Type definitions for inversify 1.0.0-alpha.4
// Type definitions for inversify-restify-utils 1.0.0
// Project: https://github.com/inversify/inversify-restify-utils

@@ -3,0 +3,0 @@ // Definitions by: inversify <https://github.com/inversify/>

@@ -1,2 +0,2 @@

// Type definitions for inversify 2.0.0-rc.9
// Type definitions for inversify 2.0.0-rc.12
// Project: https://github.com/inversify/InversifyJS

@@ -46,3 +46,3 @@ // Definitions by: inversify <https://github.com/inversify>

cache: T;
dynamicValue: () => T;
dynamicValue: (context: Context) => T;
scope: number; // BindingScope

@@ -221,3 +221,3 @@ type: number; // BindingType

toConstantValue(value: T): BindingWhenOnSyntax<T>;
toDynamicValue(func: () => T): BindingWhenOnSyntax<T>;
toDynamicValue(func: (context: Context) => T): BindingWhenOnSyntax<T>;
toConstructor<T2>(constructor: Newable<T2>): BindingWhenOnSyntax<T>;

@@ -224,0 +224,0 @@ toFactory<T2>(factory: FactoryCreator<T2>): BindingWhenOnSyntax<T>;

{
"name": "inversify-dts",
"version": "2.2.0",
"version": "3.0.0",
"description": "The InversifyJS TypeScript type definitions",

@@ -5,0 +5,0 @@ "main": "index.js",

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