@@ -120,9 +120,155 @@ export type { ReportDialogOptions } from './report-dialog';
120
120
export { _INTERNAL_captureLog , _INTERNAL_flushLogsBuffer } from './logs/exports' ;
121
121
export { consoleLoggingIntegration } from './logs/console-integration' ;
122
122
123
- // TODO: Make this structure pretty again and don't do "export *"
124
- export * from './utils-hoist/index' ;
125
123
// TODO: Make this structure pretty again and don't do "export *"
126
124
export * from './types-hoist/index' ;
127
125
128
126
export type { FeatureFlag } from './featureFlags' ;
127
+
128
+ export { applyAggregateErrorsToEvent } from './utils-hoist/aggregate-errors' ;
129
+ export { getBreadcrumbLogLevelFromHttpStatusCode } from './utils-hoist/breadcrumb-log-level' ;
130
+ export { getComponentName , getLocationHref , htmlTreeAsString } from './utils-hoist/browser' ;
131
+ export { dsnFromString , dsnToString , makeDsn } from './utils-hoist/dsn' ;
132
+ // eslint-disable-next-line deprecation/deprecation
133
+ export { SentryError } from './utils-hoist/error' ;
134
+ export { GLOBAL_OBJ } from './utils-hoist/worldwide' ;
135
+ export type { InternalGlobal } from './utils-hoist/worldwide' ;
136
+ export { addConsoleInstrumentationHandler } from './utils-hoist/instrument/console' ;
137
+ export { addFetchEndInstrumentationHandler , addFetchInstrumentationHandler } from './utils-hoist/instrument/fetch' ;
138
+ export { addGlobalErrorInstrumentationHandler } from './utils-hoist/instrument/globalError' ;
139
+ export { addGlobalUnhandledRejectionInstrumentationHandler } from './utils-hoist/instrument/globalUnhandledRejection' ;
140
+ export {
141
+ addHandler ,
142
+ maybeInstrument ,
143
+ resetInstrumentationHandlers ,
144
+ triggerHandlers ,
145
+ } from './utils-hoist/instrument/handlers' ;
146
+ export {
147
+ isDOMError ,
148
+ isDOMException ,
149
+ isElement ,
150
+ isError ,
151
+ isErrorEvent ,
152
+ isEvent ,
153
+ isInstanceOf ,
154
+ isParameterizedString ,
155
+ isPlainObject ,
156
+ isPrimitive ,
157
+ isRegExp ,
158
+ isString ,
159
+ isSyntheticEvent ,
160
+ isThenable ,
161
+ isVueViewModel ,
162
+ } from './utils-hoist/is' ;
163
+ export { isBrowser } from './utils-hoist/isBrowser' ;
164
+ export { CONSOLE_LEVELS , consoleSandbox , logger , originalConsoleMethods } from './utils-hoist/logger' ;
165
+ export type { Logger } from './utils-hoist/logger' ;
166
+ export {
167
+ addContextToFrame ,
168
+ addExceptionMechanism ,
169
+ addExceptionTypeValue ,
170
+ checkOrSetAlreadyCaught ,
171
+ getEventDescription ,
172
+ parseSemver ,
173
+ uuid4 ,
174
+ } from './utils-hoist/misc' ;
175
+ export { isNodeEnv , loadModule } from './utils-hoist/node' ;
176
+ export { normalize , normalizeToSize , normalizeUrlToBase } from './utils-hoist/normalize' ;
177
+ export {
178
+ addNonEnumerableProperty ,
179
+ convertToPlainObject ,
180
+ // eslint-disable-next-line deprecation/deprecation
181
+ dropUndefinedKeys ,
182
+ extractExceptionKeysForMessage ,
183
+ fill ,
184
+ getOriginalFunction ,
185
+ markFunctionWrapped ,
186
+ objectify ,
187
+ } from './utils-hoist/object' ;
188
+ export { basename , dirname , isAbsolute , join , normalizePath , relative , resolve } from './utils-hoist/path' ;
189
+ export { makePromiseBuffer , SENTRY_BUFFER_FULL_ERROR } from './utils-hoist/promisebuffer' ;
190
+ export type { PromiseBuffer } from './utils-hoist/promisebuffer' ;
191
+ export { severityLevelFromString } from './utils-hoist/severity' ;
192
+ export {
193
+ UNKNOWN_FUNCTION ,
194
+ createStackParser ,
195
+ getFramesFromEvent ,
196
+ getFunctionName ,
197
+ stackParserFromStackParserOptions ,
198
+ stripSentryFramesAndReverse ,
199
+ } from './utils-hoist/stacktrace' ;
200
+ export { filenameIsInApp , node , nodeStackLineParser } from './utils-hoist/node-stack-trace' ;
201
+ export { isMatchingPattern , safeJoin , snipLine , stringMatchesSomePattern , truncate } from './utils-hoist/string' ;
202
+ export {
203
+ isNativeFunction ,
204
+ supportsDOMError ,
205
+ supportsDOMException ,
206
+ supportsErrorEvent ,
207
+ supportsFetch ,
208
+ supportsHistory ,
209
+ supportsNativeFetch ,
210
+ supportsReferrerPolicy ,
211
+ supportsReportingObserver ,
212
+ } from './utils-hoist/supports' ;
213
+ export { SyncPromise , rejectedSyncPromise , resolvedSyncPromise } from './utils-hoist/syncpromise' ;
214
+ export { browserPerformanceTimeOrigin , dateTimestampInSeconds , timestampInSeconds } from './utils-hoist/time' ;
215
+ export {
216
+ TRACEPARENT_REGEXP ,
217
+ extractTraceparentData ,
218
+ generateSentryTraceHeader ,
219
+ propagationContextFromHeaders ,
220
+ } from './utils-hoist/tracing' ;
221
+ export { getSDKSource , isBrowserBundle } from './utils-hoist/env' ;
222
+ export type { SdkSource } from './utils-hoist/env' ;
223
+ export {
224
+ addItemToEnvelope ,
225
+ createAttachmentEnvelopeItem ,
226
+ createEnvelope ,
227
+ createEventEnvelopeHeaders ,
228
+ createSpanEnvelopeItem ,
229
+ envelopeContainsItemType ,
230
+ envelopeItemTypeToDataCategory ,
231
+ forEachEnvelopeItem ,
232
+ getSdkMetadataForEnvelopeHeader ,
233
+ parseEnvelope ,
234
+ serializeEnvelope ,
235
+ } from './utils-hoist/envelope' ;
236
+ export { createClientReportEnvelope } from './utils-hoist/clientreport' ;
237
+ export {
238
+ DEFAULT_RETRY_AFTER ,
239
+ disabledUntil ,
240
+ isRateLimited ,
241
+ parseRetryAfterHeader ,
242
+ updateRateLimits ,
243
+ } from './utils-hoist/ratelimit' ;
244
+ export type { RateLimits } from './utils-hoist/ratelimit' ;
245
+ export {
246
+ MAX_BAGGAGE_STRING_LENGTH ,
247
+ SENTRY_BAGGAGE_KEY_PREFIX ,
248
+ SENTRY_BAGGAGE_KEY_PREFIX_REGEX ,
249
+ baggageHeaderToDynamicSamplingContext ,
250
+ dynamicSamplingContextToSentryBaggageHeader ,
251
+ parseBaggageHeader ,
252
+ objectToBaggageHeader ,
253
+ } from './utils-hoist/baggage' ;
254
+ export {
255
+ getSanitizedUrlString ,
256
+ parseUrl ,
257
+ stripUrlQueryAndFragment ,
258
+ parseStringToURLObject ,
259
+ isURLObjectRelative ,
260
+ getSanitizedUrlStringFromUrlObject ,
261
+ } from './utils-hoist/url' ;
262
+ export {
263
+ eventFromMessage ,
264
+ eventFromUnknownInput ,
265
+ exceptionFromError ,
266
+ parseStackFrames ,
267
+ } from './utils-hoist/eventbuilder' ;
268
+ export { callFrameToStackFrame , watchdogTimer } from './utils-hoist/anr' ;
269
+ export { LRUMap } from './utils-hoist/lru' ;
270
+ export { generateTraceId , generateSpanId } from './utils-hoist/propagationContext' ;
271
+ export { vercelWaitUntil } from './utils-hoist/vercelWaitUntil' ;
272
+ export { SDK_VERSION } from './utils-hoist/version' ;
273
+ export { getDebugImagesForResources , getFilenameToDebugIdMap } from './utils-hoist/debug-ids' ;
274
+ export { escapeStringForRegex } from './utils-hoist/vendor/escapeStringForRegex' ;
0 commit comments