Socket
Socket
Sign inDemoInstall

winston-appinsights-transport

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-appinsights-transport - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

3

CHANGELOG.md
# ApplicationInsights Winstron Transport
## 0.1.6
- expose request log api
## 0.1.5

@@ -4,0 +7,0 @@ - deactivate uncaughtExceptionHandler

@@ -10,2 +10,10 @@ import * as TransportStream from 'winston-transport';

}
export interface AppInsightsRequest {
name: string;
url: string;
source?: string;
duration: number;
resultCode: string | number;
success: boolean;
}
export declare enum Levels {

@@ -25,2 +33,3 @@ fatal = 0,

log({message, level, ...properties}: TransportStream.TransportLogInfo, callback: Function): any;
request(req: AppInsightsRequest, properties: AppInsightsCustomFields): void;
}

5

dist/index.js

@@ -62,3 +62,3 @@ "use strict";

};
//process.on('uncaughtException', unhandledError); // hack to fix the crashes...
process.on('uncaughtException', unhandledError);
process.on('unhandledRejection', unhandledError);

@@ -83,4 +83,7 @@ }

}
request(req, properties) {
this.client.trackRequest(Object.assign({}, req, { properties: Object.assign({}, properties, this.customFields) }));
}
}
exports.AppInsightsTransport = AppInsightsTransport;
//# sourceMappingURL=index.js.map
{
"name": "winston-appinsights-transport",
"version": "0.1.5",
"version": "0.1.6",
"description": "A winston transport for Application Insights",

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

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