@snapshot-labs/snapshot-sentry
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -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 @@ } |
{ | ||
"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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15397
292
6