Module @sentry/utils - v7.57.0

Sentry

Sentry JavaScript SDK Utilities

npm version npm dm npm dt

Links

General

Common utilities used by the Sentry JavaScript SDKs.

Note: This package is only meant to be used internally, and as such is not part of our public API contract and does not follow semver.

Index

Classes

Interfaces

Variables

Functions

addContextToFrame addItemToEnvelope addNonEnumerableProperty addOrUpdateIntegration addRequestDataToTransaction arrayify baggageHeaderToDynamicSamplingContext basename checkOrSetAlreadyCaught consoleSandbox convertToPlainObject createAttachmentEnvelopeItem createClientReportEnvelope createEnvelope createEventEnvelopeHeaders createStackParser dateTimestampInSeconds dirname disabledUntil dropUndefinedKeys dsnFromString dsnToString dynamicRequire dynamicSamplingContextToSentryBaggageHeader envelopeContainsItemType envelopeItemTypeToDataCategory escapeStringForRegex extractExceptionKeysForMessage extractPathForTransaction extractRequestData extractTraceparentData fill forEachEnvelopeItem generateSentryTraceHeader getDomElement getEventDescription getFunctionName getGlobalObject getGlobalSingleton getLocationHref getNumberOfUrlSegments getOriginalFunction getSDKSource getSanitizedUrlString getSdkMetadataForEnvelopeHeader htmlTreeAsString isAbsolute isBrowserBundle isDOMError isDOMException isElement isError isErrorEvent isEvent isInstanceOf isMatchingPattern isNaN isNativeFetch isNodeEnv isPlainObject isPrimitive isRateLimited isRegExp isString isSyntheticEvent isThenable join loadModule makeDsn makeFifoCache makePromiseBuffer markFunctionWrapped memoBuilder nodeStackLineParser normalize normalizePath normalizeToSize objectify parseEnvelope parseFetchArgs parseRetryAfterHeader parseSemver parseUrl rejectedSyncPromise relative resolve resolvedSyncPromise safeJoin serializeEnvelope severityFromString severityLevelFromString snipLine stackParserFromStackParserOptions stringMatchesSomePattern stripUrlQueryAndFragment supportsDOMError supportsDOMException supportsErrorEvent supportsFetch supportsHistory supportsNativeFetch supportsReferrerPolicy supportsReportingObserver timestampInSeconds timestampWithMs tracingContextFromHeaders truncate updateRateLimits urlEncode uuid4 walk

Generated using TypeDoc