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

winston-transport-sentry-node

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-transport-sentry-node - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

1

dist/transport.d.ts

@@ -6,2 +6,3 @@ import * as Sentry from "@sentry/node";

levelsMap?: SeverityOptions;
skipSentryInit?: boolean;
}

@@ -8,0 +9,0 @@ interface SeverityOptions {

4

dist/transport.js

@@ -41,3 +41,5 @@ "use strict";

this.silent = (opts && opts.silent) || false;
Sentry.init(SentryTransport.withDefaults((opts && opts.sentry) || {}));
if (!opts || !opts.skipSentryInit) {
Sentry.init(SentryTransport.withDefaults(opts && opts.sentry || {}));
}
}

@@ -44,0 +46,0 @@ log(info, callback) {

{
"name": "winston-transport-sentry-node",
"description": "@sentry/node transport for the winston v3 logger",
"version": "2.3.0",
"version": "2.4.0",
"author": "Andrew Avdeev <andrewww.avdeev@gmail.com>",

@@ -6,0 +6,0 @@ "keywords": [

@@ -18,2 +18,3 @@ import * as Sentry from "@sentry/node";

levelsMap?: SeverityOptions;
skipSentryInit?: boolean;
}

@@ -46,3 +47,6 @@

this.silent = (opts && opts.silent) || false;
Sentry.init(SentryTransport.withDefaults((opts && opts.sentry) || {}));
if (!opts || !opts.skipSentryInit) {
Sentry.init(SentryTransport.withDefaults(opts && opts.sentry || {}));
}
}

@@ -49,0 +53,0 @@

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