Socket
Socket
Sign inDemoInstall

@snapshot-labs/snapshot-sentry

Package Overview
Dependencies
9
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.1 to 1.5.2

5

dist/index.js

@@ -105,3 +105,6 @@ "use strict";

function capture(e, captureContext) {
if (shouldDisable()) {
if (process.env.NODE_ENV === 'test') {
return;
}
else if (shouldDisable()) {
return console.error(e);

@@ -108,0 +111,0 @@ }

2

package.json
{
"name": "@snapshot-labs/snapshot-sentry",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",

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

@@ -96,3 +96,5 @@ import * as Sentry from '@sentry/node';

export function capture(e: any, captureContext?: any) {
if (shouldDisable()) {
if (process.env.NODE_ENV === 'test') {
return;
} else if (shouldDisable()) {
return console.error(e);

@@ -99,0 +101,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc