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

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 1.9.0 to 2.0.0

5

inversify-restify-utils/inversify-restify-utils-tests.ts

@@ -20,7 +20,2 @@ /// <reference path="./inversify-restify-utils.d.ts" />

})
.setErrorConfig((app: restify.Server) => {
app.use((req: restify.Request, res: restify.Response, next: restify.Next) => {
res.status(500).send("Something broke!");
});
})
.build()

@@ -27,0 +22,0 @@ .listen(3000, "localhost");

1

inversify-restify-utils/inversify-restify-utils.d.ts

@@ -20,3 +20,2 @@ // Type definitions for inversify 1.0.0-alpha.4

setConfig(fn: ConfigFunction): InversifyRestifyServer;
setErrorConfig(fn: ConfigFunction): InversifyRestifyServer;
build(): restify.Server;

@@ -23,0 +22,0 @@ }

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

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

@@ -261,14 +261,2 @@ // Definitions by: inversify <https://github.com/inversify>

export function makePropertyInjectDecorator(kernel: interfaces.Kernel):
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>)) => (proto: any, key: string) => void;
export function makePropertyInjectNamedDecorator(kernel: interfaces.Kernel):
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>), named: string) => (proto: any, key: string) => void;
export function makePropertyInjectTaggedDecorator(kernel: interfaces.Kernel):
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>), key: string, value: any) => (proto: any, propertyName: string) => void;
export function makePropertyMultiInjectDecorator(kernel: interfaces.Kernel):
(serviceIdentifier: (string|Symbol|interfaces.Newable<any>)) => (proto: any, key: string) => void;
// constraint helpers

@@ -275,0 +263,0 @@ export var traverseAncerstors: (request: interfaces.Request, constraint: (request: interfaces.Request) => boolean) => boolean;

2

package.json
{
"name": "inversify-dts",
"version": "1.9.0",
"version": "2.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