|
1 |
| -export * from './aggregate-errors'; |
2 |
| -export * from './array'; |
3 |
| -export * from './breadcrumb-log-level'; |
4 |
| -export * from './browser'; |
5 |
| -export * from './dsn'; |
6 |
| -export * from './error'; |
7 |
| -export * from './worldwide'; |
8 |
| -export * from './instrument'; |
9 |
| -export * from './is'; |
10 |
| -export * from './isBrowser'; |
11 |
| -export * from './logger'; |
12 |
| -export * from './memo'; |
13 |
| -export * from './misc'; |
14 |
| -export * from './node'; |
15 |
| -export * from './normalize'; |
16 |
| -export * from './object'; |
17 |
| -export * from './path'; |
18 |
| -export * from './promisebuffer'; |
| 1 | +export { applyAggregateErrorsToEvent } from './aggregate-errors'; |
| 2 | +export { flatten } from './array'; |
| 3 | +export { getBreadcrumbLogLevelFromHttpStatusCode } from './breadcrumb-log-level'; |
| 4 | +export { getComponentName, getDomElement, getLocationHref, htmlTreeAsString } from './browser'; |
| 5 | +export { dsnFromString, dsnToString, makeDsn } from './dsn'; |
| 6 | +export { SentryError } from './error'; |
| 7 | +export { GLOBAL_OBJ, getGlobalSingleton } from './worldwide'; |
| 8 | +export type { InternalGlobal } from './worldwide'; |
| 9 | +export { addConsoleInstrumentationHandler } from './instrument/console'; |
| 10 | +export { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from './instrument/fetch'; |
| 11 | +export { addGlobalErrorInstrumentationHandler } from './instrument/globalError'; |
| 12 | +export { addGlobalUnhandledRejectionInstrumentationHandler } from './instrument/globalUnhandledRejection'; |
| 13 | +export { |
| 14 | + addHandler, |
| 15 | + maybeInstrument, |
| 16 | + resetInstrumentationHandlers, |
| 17 | + triggerHandlers, |
| 18 | +} from './instrument/handlers'; |
| 19 | +export { |
| 20 | + isDOMError, |
| 21 | + isDOMException, |
| 22 | + isElement, |
| 23 | + isError, |
| 24 | + isErrorEvent, |
| 25 | + isEvent, |
| 26 | + isInstanceOf, |
| 27 | + isParameterizedString, |
| 28 | + isPlainObject, |
| 29 | + isPrimitive, |
| 30 | + isRegExp, |
| 31 | + isString, |
| 32 | + isSyntheticEvent, |
| 33 | + isThenable, |
| 34 | + isVueViewModel, |
| 35 | +} from './is'; |
| 36 | +export { isBrowser } from './isBrowser'; |
| 37 | +export { CONSOLE_LEVELS, consoleSandbox, logger, originalConsoleMethods } from './logger'; |
| 38 | +export { memoBuilder } from './memo'; |
| 39 | +export { |
| 40 | + addContextToFrame, |
| 41 | + addExceptionMechanism, |
| 42 | + addExceptionTypeValue, |
| 43 | + arrayify, |
| 44 | + checkOrSetAlreadyCaught, |
| 45 | + getEventDescription, |
| 46 | + parseSemver, |
| 47 | + uuid4, |
| 48 | +} from './misc'; |
| 49 | +export { dynamicRequire, isNodeEnv, loadModule } from './node'; |
| 50 | +export { normalize, normalizeToSize, normalizeUrlToBase } from './normalize'; |
| 51 | +export { |
| 52 | + addNonEnumerableProperty, |
| 53 | + convertToPlainObject, |
| 54 | + dropUndefinedKeys, |
| 55 | + extractExceptionKeysForMessage, |
| 56 | + fill, |
| 57 | + getOriginalFunction, |
| 58 | + markFunctionWrapped, |
| 59 | + objectify, |
| 60 | + urlEncode, |
| 61 | +} from './object'; |
| 62 | +export { basename, dirname, isAbsolute, join, normalizePath, relative, resolve } from './path'; |
| 63 | +export { makePromiseBuffer } from './promisebuffer'; |
| 64 | +export type { PromiseBuffer } from './promisebuffer'; |
| 65 | + |
19 | 66 | // TODO: Remove requestdata export once equivalent integration is used everywhere
|
20 |
| -export * from './requestdata'; |
21 |
| -export * from './severity'; |
22 |
| -export * from './stacktrace'; |
23 |
| -export * from './node-stack-trace'; |
24 |
| -export * from './string'; |
25 |
| -export * from './supports'; |
26 |
| -export * from './syncpromise'; |
27 |
| -export * from './time'; |
28 |
| -export * from './tracing'; |
29 |
| -export * from './env'; |
30 |
| -export * from './envelope'; |
31 |
| -export * from './clientreport'; |
32 |
| -export * from './ratelimit'; |
33 |
| -export * from './baggage'; |
34 |
| -export * from './url'; |
35 |
| -export * from './cache'; |
36 |
| -export * from './eventbuilder'; |
37 |
| -export * from './anr'; |
38 |
| -export * from './lru'; |
39 |
| -export * from './buildPolyfills'; |
40 |
| -export * from './propagationContext'; |
41 |
| -export * from './vercelWaitUntil'; |
42 |
| -export * from './version'; |
43 |
| -export * from './debug-ids'; |
| 67 | +export { |
| 68 | + DEFAULT_USER_INCLUDES, |
| 69 | + addNormalizedRequestDataToEvent, |
| 70 | + addRequestDataToEvent, |
| 71 | + // eslint-disable-next-line deprecation/deprecation |
| 72 | + extractPathForTransaction, |
| 73 | + extractRequestData, |
| 74 | + winterCGHeadersToDict, |
| 75 | + winterCGRequestToRequestData, |
| 76 | +} from './requestdata'; |
| 77 | +export type { |
| 78 | + AddRequestDataToEventOptions, |
| 79 | + // eslint-disable-next-line deprecation/deprecation |
| 80 | + TransactionNamingScheme, |
| 81 | +} from './requestdata'; |
| 82 | + |
| 83 | +export { severityLevelFromString, validSeverityLevels } from './severity'; |
| 84 | +export { |
| 85 | + UNKNOWN_FUNCTION, |
| 86 | + createStackParser, |
| 87 | + getFramesFromEvent, |
| 88 | + getFunctionName, |
| 89 | + stackParserFromStackParserOptions, |
| 90 | + stripSentryFramesAndReverse, |
| 91 | +} from './stacktrace'; |
| 92 | +export { filenameIsInApp, node, nodeStackLineParser } from './node-stack-trace'; |
| 93 | +export { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate } from './string'; |
| 94 | +export { |
| 95 | + isNativeFunction, |
| 96 | + supportsDOMError, |
| 97 | + supportsDOMException, |
| 98 | + supportsErrorEvent, |
| 99 | + supportsFetch, |
| 100 | + supportsNativeFetch, |
| 101 | + supportsReferrerPolicy, |
| 102 | + supportsReportingObserver, |
| 103 | +} from './supports'; |
| 104 | +export { SyncPromise, rejectedSyncPromise, resolvedSyncPromise } from './syncpromise'; |
| 105 | +export { |
| 106 | + _browserPerformanceTimeOriginMode, |
| 107 | + browserPerformanceTimeOrigin, |
| 108 | + dateTimestampInSeconds, |
| 109 | + timestampInSeconds, |
| 110 | +} from './time'; |
| 111 | +export { |
| 112 | + TRACEPARENT_REGEXP, |
| 113 | + extractTraceparentData, |
| 114 | + generateSentryTraceHeader, |
| 115 | + propagationContextFromHeaders, |
| 116 | +} from './tracing'; |
| 117 | +export { getSDKSource, isBrowserBundle } from './env'; |
| 118 | +export type { SdkSource } from './env'; |
| 119 | +export { |
| 120 | + addItemToEnvelope, |
| 121 | + createAttachmentEnvelopeItem, |
| 122 | + createEnvelope, |
| 123 | + createEventEnvelopeHeaders, |
| 124 | + createSpanEnvelopeItem, |
| 125 | + envelopeContainsItemType, |
| 126 | + envelopeItemTypeToDataCategory, |
| 127 | + forEachEnvelopeItem, |
| 128 | + getSdkMetadataForEnvelopeHeader, |
| 129 | + parseEnvelope, |
| 130 | + serializeEnvelope, |
| 131 | +} from './envelope'; |
| 132 | +export { createClientReportEnvelope } from './clientreport'; |
| 133 | +export { |
| 134 | + DEFAULT_RETRY_AFTER, |
| 135 | + disabledUntil, |
| 136 | + isRateLimited, |
| 137 | + parseRetryAfterHeader, |
| 138 | + updateRateLimits, |
| 139 | +} from './ratelimit'; |
| 140 | +export type { RateLimits } from './ratelimit'; |
| 141 | +export { |
| 142 | + BAGGAGE_HEADER_NAME, |
| 143 | + MAX_BAGGAGE_STRING_LENGTH, |
| 144 | + SENTRY_BAGGAGE_KEY_PREFIX, |
| 145 | + SENTRY_BAGGAGE_KEY_PREFIX_REGEX, |
| 146 | + baggageHeaderToDynamicSamplingContext, |
| 147 | + dynamicSamplingContextToSentryBaggageHeader, |
| 148 | + parseBaggageHeader, |
| 149 | +} from './baggage'; |
| 150 | + |
| 151 | +export { getNumberOfUrlSegments, getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment } from './url'; |
| 152 | +export { makeFifoCache } from './cache'; |
| 153 | +export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames } from './eventbuilder'; |
| 154 | +export { callFrameToStackFrame, watchdogTimer } from './anr'; |
| 155 | +export { LRUMap } from './lru'; |
| 156 | +export { generatePropagationContext } from './propagationContext'; |
| 157 | +export { vercelWaitUntil } from './vercelWaitUntil'; |
| 158 | +export { SDK_VERSION } from './version'; |
| 159 | +export { getDebugImagesForResources, getFilenameToDebugIdMap } from './debug-ids'; |
| 160 | +export { escapeStringForRegex } from './vendor/escapeStringForRegex'; |
| 161 | +export { supportsHistory } from './vendor/supportsHistory'; |
| 162 | + |
| 163 | +export { _asyncNullishCoalesce } from './buildPolyfills/_asyncNullishCoalesce'; |
| 164 | +export { _asyncOptionalChain } from './buildPolyfills/_asyncOptionalChain'; |
| 165 | +export { _asyncOptionalChainDelete } from './buildPolyfills/_asyncOptionalChainDelete'; |
| 166 | +export { _nullishCoalesce } from './buildPolyfills/_nullishCoalesce'; |
| 167 | +export { _optionalChain } from './buildPolyfills/_optionalChain'; |
| 168 | +export { _optionalChainDelete } from './buildPolyfills/_optionalChainDelete'; |
0 commit comments