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.26.0 to 8.27.0

9

build/npm/cjs/utils/lazyLoadIntegration.js

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

*/
async function lazyLoadIntegration(name) {
async function lazyLoadIntegration(
name,
scriptNonce,
) {
const bundle = LazyLoadableIntegrations[name];

@@ -60,2 +63,6 @@

if (scriptNonce) {
script.setAttribute('nonce', scriptNonce);
}
const waitForLoad = new Promise((resolve, reject) => {

@@ -62,0 +69,0 @@ script.addEventListener('load', () => resolve());

@@ -32,3 +32,6 @@ import { getClient, SDK_VERSION } from '@sentry/core';

*/
async function lazyLoadIntegration(name) {
async function lazyLoadIntegration(
name,
scriptNonce,
) {
const bundle = LazyLoadableIntegrations[name];

@@ -58,2 +61,6 @@

if (scriptNonce) {
script.setAttribute('nonce', scriptNonce);
}
const waitForLoad = new Promise((resolve, reject) => {

@@ -60,0 +67,0 @@ script.addEventListener('load', () => resolve());

2

build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts

@@ -24,4 +24,4 @@ import { IntegrationFn } from '@sentry/types';

*/
export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations): Promise<IntegrationFn>;
export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations, scriptNonce?: string): Promise<IntegrationFn>;
export {};
//# sourceMappingURL=lazyLoadIntegration.d.ts.map

@@ -24,4 +24,4 @@ import type { IntegrationFn } from '@sentry/types';

*/
export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations): Promise<IntegrationFn>;
export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations, scriptNonce?: string): Promise<IntegrationFn>;
export {};
//# sourceMappingURL=lazyLoadIntegration.d.ts.map
{
"name": "@sentry/browser",
"version": "8.26.0",
"version": "8.27.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.26.0",
"@sentry-internal/feedback": "8.26.0",
"@sentry-internal/replay": "8.26.0",
"@sentry-internal/replay-canvas": "8.26.0",
"@sentry/core": "8.26.0",
"@sentry/types": "8.26.0",
"@sentry/utils": "8.26.0"
"@sentry-internal/browser-utils": "8.27.0",
"@sentry-internal/feedback": "8.27.0",
"@sentry-internal/replay": "8.27.0",
"@sentry-internal/replay-canvas": "8.27.0",
"@sentry/core": "8.27.0",
"@sentry/types": "8.27.0",
"@sentry/utils": "8.27.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "8.26.0",
"@sentry-internal/integration-shims": "8.27.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