Socket
Socket
Sign inDemoInstall

@sentry/browser

Package Overview
Dependencies
Maintainers
11
Versions
529
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.30.0 to 8.31.0

9

build/npm/cjs/utils/lazyLoadIntegration.js

@@ -71,4 +71,11 @@ Object.defineProperty(exports, '__esModule', { value: true });

helpers.WINDOW.document.body.appendChild(script);
const currentScript = helpers.WINDOW.document.currentScript;
const parent = helpers.WINDOW.document.body || helpers.WINDOW.document.head || (currentScript && currentScript.parentElement);
if (parent) {
parent.appendChild(script);
} else {
throw new Error(`Could not find parent element to insert lazy-loaded ${name} script`);
}
try {

@@ -75,0 +82,0 @@ await waitForLoad;

@@ -69,4 +69,11 @@ import { getClient, SDK_VERSION } from '@sentry/core';

WINDOW.document.body.appendChild(script);
const currentScript = WINDOW.document.currentScript;
const parent = WINDOW.document.body || WINDOW.document.head || (currentScript && currentScript.parentElement);
if (parent) {
parent.appendChild(script);
} else {
throw new Error(`Could not find parent element to insert lazy-loaded ${name} script`);
}
try {

@@ -73,0 +80,0 @@ await waitForLoad;

18

package.json
{
"name": "@sentry/browser",
"version": "8.30.0",
"version": "8.31.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.30.0",
"@sentry-internal/feedback": "8.30.0",
"@sentry-internal/replay": "8.30.0",
"@sentry-internal/replay-canvas": "8.30.0",
"@sentry/core": "8.30.0",
"@sentry/types": "8.30.0",
"@sentry/utils": "8.30.0"
"@sentry-internal/browser-utils": "8.31.0",
"@sentry-internal/feedback": "8.31.0",
"@sentry-internal/replay": "8.31.0",
"@sentry-internal/replay-canvas": "8.31.0",
"@sentry/core": "8.31.0",
"@sentry/types": "8.31.0",
"@sentry/utils": "8.31.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "8.30.0",
"@sentry-internal/integration-shims": "8.31.0",
"fake-indexeddb": "^4.0.1"

@@ -54,0 +54,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