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.0.0 to 1.0.1

.publishrc

24

inversify-logger-middleware/inversify-logger-middleware.d.ts

@@ -6,3 +6,3 @@ // Type definitions for inversify 1.0.0-beta.2

/// <reference path="..//inversify/inversify.d.ts"/>
/// <reference path="../inversify/inversify.d.ts"/>

@@ -12,13 +12,13 @@ declare namespace inversifyLoggerMiddleware {

export interface ILoggerSettings {
request?: IRequestLogger;
request?: IRequestLoggerSettings;
time?: boolean;
}
export interface IRequestLogger {
export interface IRequestLoggerSettings {
serviceIdentifier?: boolean;
bindings?: IBindingLogger;
target?: ITargetLogger;
bindings?: IBindingLoggerSettings;
target?: ITargetLoggerSettings;
}
export interface IBindingLogger {
export interface IBindingLoggerSettings {
activated?: boolean;

@@ -37,3 +37,3 @@ serviceIdentifier?: boolean;

export interface ITargetLogger {
export interface ITargetLoggerSettings {
serviceIdentifier?: boolean;

@@ -44,4 +44,12 @@ name?: boolean;

export default function makeLoggerMiddleware(settings?: ILoggerSettings, renderer?: (out: string) => void): inversify.IMiddleware
export interface ILogEntry {
error: boolean;
exception: any;
rootRequest: any;
time: string;
}
export function makeLoggerMiddleware(settings?: ILoggerSettings, renderer?: (out: ILogEntry) => void): inversify.IMiddleware;
export function textSerializer(entry: ILogEntry): string;
}

@@ -48,0 +56,0 @@

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

// Type definitions for inversify 2.0.0-beta.4
// Type definitions for inversify 2.0.0-beta.6
// Project: https://github.com/inversify/InversifyJS

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

/// <reference path="../typings/index.d.ts" />
/// <reference path="../typings/globals/bluebird/index.d.ts" />
/// <reference path="../typings/globals/harmony-proxy/index.d.ts" />

@@ -9,0 +10,0 @@ interface Symbol {

{
"name": "inversify-dts",
"version": "1.0.0",
"version": "1.0.1",
"description": "The InversifyJS TypeScript type definitions",
"main": "index.js",
"scripts": {
"test": "gulp"
"test": "gulp",
"publish-please": "publish-please",
"prepublish": "publish-please guard"
},

@@ -29,2 +31,3 @@ "repository": {

"gulp-typescript": "^2.13.4",
"publish-please": "^2.1.3",
"run-sequence": "^1.2.0",

@@ -31,0 +34,0 @@ "tslint": "^3.10.2"

@@ -5,7 +5,5 @@ # inversify-dts

[![npm version](https://badge.fury.io/js/inversify-dts.svg)](http://badge.fury.io/js/inversify-dts)
[![Dependencies](https://david-dm.org/inversify/dts.svg)](https://david-dm.org/inversify/dts#info=dependencies)
[![Dependencies](https://david-dm.org/inversify/dts/dev-status.svg)](https://david-dm.org/inversify/dts/#info=devDependencies)
[![Dependencies](https://david-dm.org/inversify/dts/peer-status.svg)](https://david-dm.org/inversify/dts/#info=peerDependenciess)
[![Known Vulnerabilities](https://snyk.io/test/github/inversify/dts/badge.svg)](https://snyk.io/test/github/inversify/dts)

@@ -23,2 +21,3 @@

- [inversify-binding-decorators](https://github.com/inversify/inversify-binding-decorators)
- [inversify-express-utils](https://github.com/inversify/inversify-express-utils)

@@ -44,2 +43,6 @@ To use it you need to install it:

```ts
/// <reference path="node_modules/inversify-dts/inversify-express-utils/inversify-express-utils.d.ts" />
```
### License

@@ -46,0 +49,0 @@

/// <reference path="globals/bluebird/index.d.ts" />
/// <reference path="globals/express-serve-static-core/index.d.ts" />
/// <reference path="globals/express/index.d.ts" />
/// <reference path="globals/harmony-proxy/index.d.ts" />
/// <reference path="globals/mime/index.d.ts" />
/// <reference path="globals/node/index.d.ts" />
/// <reference path="globals/serve-static/index.d.ts" />

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