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

winston-appinsights-transport

Package Overview
Dependencies
Maintainers
3
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.2.0 to 0.3.0

40

CHANGELOG.md
# ApplicationInsights Winstron Transport
## 0.3.0
- Update dependencies
- Use provided type definitions by winston
## 0.2.2
- Updated dependencies due to GHSA-mh6f-8j2x-4483
- Updated peer dependencies
## 0.2.1
- Updated dependencies due to CVE-2018-3750
- Updated dependencies due to CVE-2018-16469
- Updated dependencies due to CVE-2018-3745
- Updated dependencies due to CVE-2017-16028
## 0.2.0
- expose maxBatchIntervalMs and useRetryDiskCache options
- Expose `maxBatchIntervalMs` and `useRetryDiskCache` options
## 0.1.7
- fix for request logging
- Fix for request logging
## 0.1.6
- expose request log api
- Expose request log api
## 0.1.5
- deactivate uncaughtExceptionHandler
- Deactivate `uncaughtExceptionHandler`
## 0.1.4
- fix for pm2
- Fix for pm2
## 0.1.3
- added type dir to package.json
- Added type dir to package.json
## 0.1.2
- added type declaration file for winston-transport
- Added type declaration file for winston-transport
## 0.1.1
- fixed wrong main entry in package.json
- Fixed wrong main entry in package.json

@@ -28,0 +52,0 @@ ## 0.1.0

13

dist/index.d.ts

@@ -28,11 +28,16 @@ import * as TransportStream from 'winston-transport';

info = 3,
debug = 4,
debug = 4
}
export declare const getApplicationInsightsSeverity: (level: string) => ai.Contracts.SeverityLevel;
export interface TransportLogInfo {
message: string;
level: string;
[x: string]: string;
}
export declare class AppInsightsTransport extends TransportStream {
private client;
private customFields;
constructor({instrumentationKey, customFields, clientOptions, ...options}: AppInsightsOptions & TransportStream.TransportOptions);
private handleUnhandledErrors();
log({message, level, ...properties}: TransportStream.TransportLogInfo, callback: Function): any;
constructor({ instrumentationKey, customFields, clientOptions, ...options }: AppInsightsOptions & TransportStream.TransportStreamOptions);
private handleUnhandledErrors;
log({ message, level, ...properties }: TransportLogInfo, callback: () => void): void;
}

@@ -43,4 +43,3 @@ "use strict";

// We disabled auto collecting exceptions and requests because we need to inject the request id manually
ai
.setup(instrumentationKey)
ai.setup(instrumentationKey)
.setAutoCollectConsole(false)

@@ -99,3 +98,3 @@ .setAutoCollectExceptions(false)

}
return callback(null);
return callback();
}

@@ -102,0 +101,0 @@ }

{
"name": "winston-appinsights-transport",
"version": "0.2.0",
"description": "A winston transport for Application Insights",
"version": "0.3.0",
"description": "A winston transport for Application Insights.",
"repository": {
"type": "git",
"url": "https://github.com/ZEISS/winston-appinsights-transport"
},
"main": "./dist/index.js",

@@ -9,18 +13,18 @@ "types": "./dist/index.d.ts",

"devDependencies": {
"@types/jest": "^22.1.3",
"@types/node": "^9.4.6",
"@types/winston": "^2.3.8",
"applicationinsights": "^1.0.2",
"jest": "^22.4.2",
"nodemon": "^1.15.1",
"ts-jest": "^22.0.4",
"ts-node": "^4.1.0",
"typescript": "^2.7.2",
"winston": "^3.0.0-rc1",
"winston-transport": "^3.0.1"
"@types/jest": "^23.3.14",
"@types/node": "^10.12.10",
"applicationinsights": "^1.7.4",
"jest": "^25.3.0",
"jest-cli": "^25.3.0",
"nodemon": "^1.18.6",
"ts-jest": "^25.4.0",
"ts-node": "^7.0.1",
"typescript": "^3.8.3",
"winston": "^3.2.1",
"winston-transport": "^4.3.0"
},
"peerDependencies": {
"winston": "^3.0.0-rc1",
"winston-transport": "^3.0.1",
"applicationinsights": "^1.0.2"
"winston": "^3.x",
"winston-transport": "^4.x",
"applicationinsights": "^1.x"
},

@@ -33,4 +37,4 @@ "scripts": {

},
"author": "",
"author": "ZEISS <portal@zeiss.com>",
"license": "MIT"
}

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