Socket
Socket
Sign inDemoInstall

@sentry/browser

Package Overview
Dependencies
Maintainers
11
Versions
523
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/browser - npm Package Compare versions

Comparing version 8.22.0 to 8.23.0

7

build/npm/cjs/sdk.js

@@ -52,3 +52,8 @@ Object.defineProperty(exports, '__esModule', { value: true });

function shouldShowBrowserExtensionError() {
const windowWithMaybeExtension = helpers.WINDOW ;
const windowWithMaybeExtension =
typeof helpers.WINDOW.window !== 'undefined' && (helpers.WINDOW );
if (!windowWithMaybeExtension) {
// No need to show the error if we're not in a browser window environment (e.g. service workers)
return false;
}

@@ -55,0 +60,0 @@ const extensionKey = windowWithMaybeExtension.chrome ? 'chrome' : 'browser';

@@ -50,3 +50,8 @@ import { inboundFiltersIntegration, functionToStringIntegration, dedupeIntegration, getIntegrationsToSetup, initAndBind, getCurrentScope, lastEventId, getReportDialogEndpoint, startSession, captureSession, getClient } from '@sentry/core';

function shouldShowBrowserExtensionError() {
const windowWithMaybeExtension = WINDOW ;
const windowWithMaybeExtension =
typeof WINDOW.window !== 'undefined' && (WINDOW );
if (!windowWithMaybeExtension) {
// No need to show the error if we're not in a browser window environment (e.g. service workers)
return false;
}

@@ -53,0 +58,0 @@ const extensionKey = windowWithMaybeExtension.chrome ? 'chrome' : 'browser';

23

package.json
{
"name": "@sentry/browser",
"version": "8.22.0",
"version": "8.23.0",
"description": "Official Sentry SDK for browsers",

@@ -42,12 +42,12 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry-internal/browser-utils": "8.22.0",
"@sentry-internal/feedback": "8.22.0",
"@sentry-internal/replay": "8.22.0",
"@sentry-internal/replay-canvas": "8.22.0",
"@sentry/core": "8.22.0",
"@sentry/types": "8.22.0",
"@sentry/utils": "8.22.0"
"@sentry-internal/browser-utils": "8.23.0",
"@sentry-internal/feedback": "8.23.0",
"@sentry-internal/replay": "8.23.0",
"@sentry-internal/replay-canvas": "8.23.0",
"@sentry/core": "8.23.0",
"@sentry/types": "8.23.0",
"@sentry/utils": "8.23.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "8.22.0",
"@sentry-internal/integration-shims": "8.23.0",
"fake-indexeddb": "^4.0.1"

@@ -74,5 +74,4 @@ },

"size:check": "cat build/bundles/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES2017: \",$1,\"kB\";}'",
"test": "yarn test:unit",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test": "vitest run",
"test:watch": "vitest --watch",
"yalc:publish": "yalc publish --push --sig"

@@ -79,0 +78,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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