@sentry/browser
Advanced tools
Comparing version 9.0.0-alpha.2 to 9.0.0
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1047889
333
11131
0
+ Added@sentry-internal/browser-utils@9.0.0(transitive)
+ Added@sentry-internal/feedback@9.0.0(transitive)
+ Added@sentry-internal/replay@9.0.0(transitive)
+ Added@sentry-internal/replay-canvas@9.0.0(transitive)
+ Added@sentry/core@9.0.0(transitive)
- Removed@sentry-internal/browser-utils@9.0.0-alpha.2(transitive)
- Removed@sentry-internal/feedback@9.0.0-alpha.2(transitive)
- Removed@sentry-internal/replay@9.0.0-alpha.2(transitive)
- Removed@sentry-internal/replay-canvas@9.0.0-alpha.2(transitive)
- Removed@sentry/core@9.0.0-alpha.2(transitive)
Updated@sentry/core@9.0.0