New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/browser

Package Overview
Dependencies
Maintainers
10
Versions
574
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 9.0.0-alpha.2 to 9.0.0

build/npm/cjs/integrations/featureFlags/statsig/integration.js

13

build/npm/cjs/eventbuilder.js

@@ -179,2 +179,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

if (isWebAssemblyException(ex)) {
// For Node 18, Emscripten sets array[type, message] to the "message" property on the WebAssembly.Exception object
if (Array.isArray(ex.message) && ex.message.length == 2) {
return ex.message[1];
}
return 'wasm exception';
}
if (!message) {

@@ -188,7 +196,2 @@ return 'No error message';

// Emscripten sets array[type, message] to the "message" property on the WebAssembly.Exception object
if (isWebAssemblyException(ex) && Array.isArray(ex.message) && ex.message.length == 2) {
return ex.message[1];
}
return message;

@@ -195,0 +198,0 @@ }

@@ -35,2 +35,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const integration$3 = require('./integrations/featureFlags/unleash/integration.js');
const integration$4 = require('./integrations/featureFlags/statsig/integration.js');

@@ -153,2 +154,3 @@

exports.unleashIntegration = integration$3.unleashIntegration;
exports.statsigIntegration = integration$4.statsigIntegration;
//# sourceMappingURL=index.js.map

@@ -177,2 +177,10 @@ import { addExceptionMechanism, resolvedSyncPromise, isErrorEvent, isDOMError, isDOMException, addExceptionTypeValue, isError, isPlainObject, isEvent, isParameterizedString, getClient, normalizeToSize, extractExceptionKeysForMessage } from '@sentry/core';

if (isWebAssemblyException(ex)) {
// For Node 18, Emscripten sets array[type, message] to the "message" property on the WebAssembly.Exception object
if (Array.isArray(ex.message) && ex.message.length == 2) {
return ex.message[1];
}
return 'wasm exception';
}
if (!message) {

@@ -186,7 +194,2 @@ return 'No error message';

// Emscripten sets array[type, message] to the "message" property on the WebAssembly.Exception object
if (isWebAssemblyException(ex) && Array.isArray(ex.message) && ex.message.length == 2) {
return ex.message[1];
}
return message;

@@ -193,0 +196,0 @@ }

@@ -33,2 +33,3 @@ export { SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addIntegration, captureConsoleIntegration, captureEvent, captureException, captureFeedback, captureMessage, captureSession, close, continueTrace, createTransport, dedupeIntegration, endSession, extraErrorDataIntegration, flush, functionToStringIntegration, getActiveSpan, getClient, getCurrentScope, getGlobalScope, getIsolationScope, getRootSpan, getSpanDescendants, getSpanStatusFromHttpCode, inboundFiltersIntegration, isInitialized, lastEventId, makeMultiplexedTransport, moduleMetadataIntegration, parameterize, registerSpanErrorInstrumentation, rewriteFramesIntegration, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanToBaggageHeader, spanToJSON, spanToTraceHeader, startInactiveSpan, startNewTrace, startSession, startSpan, startSpanManual, suppressTracing, thirdPartyErrorFilterIntegration, updateSpanName, withActiveSpan, withIsolationScope, withScope, zodErrorsIntegration } from '@sentry/core';

export { unleashIntegration } from './integrations/featureFlags/unleash/integration.js';
export { statsigIntegration } from './integrations/featureFlags/statsig/integration.js';
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"type":"module","version":"9.0.0-alpha.2","sideEffects":false}
{"type":"module","version":"9.0.0","sideEffects":false}

@@ -26,2 +26,3 @@ export * from './exports';

export { unleashIntegration } from './integrations/featureFlags/unleash';
export { statsigIntegration } from './integrations/featureFlags/statsig';
//# sourceMappingURL=index.d.ts.map

@@ -26,2 +26,3 @@ export * from './exports';

export { unleashIntegration } from './integrations/featureFlags/unleash';
export { statsigIntegration } from './integrations/featureFlags/statsig';
//# sourceMappingURL=index.d.ts.map
{
"name": "@sentry/browser",
"version": "9.0.0-alpha.2",
"version": "9.0.0",
"description": "Official Sentry SDK for browsers",

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

"dependencies": {
"@sentry-internal/browser-utils": "9.0.0-alpha.2",
"@sentry-internal/feedback": "9.0.0-alpha.2",
"@sentry-internal/replay": "9.0.0-alpha.2",
"@sentry-internal/replay-canvas": "9.0.0-alpha.2",
"@sentry/core": "9.0.0-alpha.2"
"@sentry-internal/browser-utils": "9.0.0",
"@sentry-internal/feedback": "9.0.0",
"@sentry-internal/replay": "9.0.0",
"@sentry-internal/replay-canvas": "9.0.0",
"@sentry/core": "9.0.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "9.0.0-alpha.2",
"@sentry-internal/integration-shims": "9.0.0",
"fake-indexeddb": "^4.0.1"

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

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