123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- Object.defineProperty(exports, '__esModule', { value: true });
- const aggregateErrors = require('./aggregate-errors.js');
- const browser = require('./browser.js');
- const dsn = require('./dsn.js');
- const error = require('./error.js');
- const worldwide = require('./worldwide.js');
- const index = require('./instrument/index.js');
- const is = require('./is.js');
- const isBrowser = require('./isBrowser.js');
- const logger = require('./logger.js');
- const memo = require('./memo.js');
- const misc = require('./misc.js');
- const node = require('./node.js');
- const normalize = require('./normalize.js');
- const object = require('./object.js');
- const path = require('./path.js');
- const promisebuffer = require('./promisebuffer.js');
- const requestdata = require('./requestdata.js');
- const severity = require('./severity.js');
- const stacktrace = require('./stacktrace.js');
- const string = require('./string.js');
- const supports = require('./supports.js');
- const syncpromise = require('./syncpromise.js');
- const time = require('./time.js');
- const tracing = require('./tracing.js');
- const env = require('./env.js');
- const envelope = require('./envelope.js');
- const clientreport = require('./clientreport.js');
- const ratelimit = require('./ratelimit.js');
- const baggage = require('./baggage.js');
- const url = require('./url.js');
- const userIntegrations = require('./userIntegrations.js');
- const cache = require('./cache.js');
- const eventbuilder = require('./eventbuilder.js');
- const anr = require('./anr.js');
- const lru = require('./lru.js');
- const _asyncNullishCoalesce = require('./buildPolyfills/_asyncNullishCoalesce.js');
- const _asyncOptionalChain = require('./buildPolyfills/_asyncOptionalChain.js');
- const _asyncOptionalChainDelete = require('./buildPolyfills/_asyncOptionalChainDelete.js');
- const _nullishCoalesce = require('./buildPolyfills/_nullishCoalesce.js');
- const _optionalChain = require('./buildPolyfills/_optionalChain.js');
- const _optionalChainDelete = require('./buildPolyfills/_optionalChainDelete.js');
- const console = require('./instrument/console.js');
- const dom = require('./instrument/dom.js');
- const xhr = require('./instrument/xhr.js');
- const fetch = require('./instrument/fetch.js');
- const history = require('./instrument/history.js');
- const globalError = require('./instrument/globalError.js');
- const globalUnhandledRejection = require('./instrument/globalUnhandledRejection.js');
- const _handlers = require('./instrument/_handlers.js');
- const nodeStackTrace = require('./node-stack-trace.js');
- const escapeStringForRegex = require('./vendor/escapeStringForRegex.js');
- const supportsHistory = require('./vendor/supportsHistory.js');
- exports.applyAggregateErrorsToEvent = aggregateErrors.applyAggregateErrorsToEvent;
- exports.getComponentName = browser.getComponentName;
- exports.getDomElement = browser.getDomElement;
- exports.getLocationHref = browser.getLocationHref;
- exports.htmlTreeAsString = browser.htmlTreeAsString;
- exports.dsnFromString = dsn.dsnFromString;
- exports.dsnToString = dsn.dsnToString;
- exports.makeDsn = dsn.makeDsn;
- exports.SentryError = error.SentryError;
- exports.GLOBAL_OBJ = worldwide.GLOBAL_OBJ;
- exports.getGlobalObject = worldwide.getGlobalObject;
- exports.getGlobalSingleton = worldwide.getGlobalSingleton;
- exports.addInstrumentationHandler = index.addInstrumentationHandler;
- exports.isDOMError = is.isDOMError;
- exports.isDOMException = is.isDOMException;
- exports.isElement = is.isElement;
- exports.isError = is.isError;
- exports.isErrorEvent = is.isErrorEvent;
- exports.isEvent = is.isEvent;
- exports.isInstanceOf = is.isInstanceOf;
- exports.isNaN = is.isNaN;
- exports.isParameterizedString = is.isParameterizedString;
- exports.isPlainObject = is.isPlainObject;
- exports.isPrimitive = is.isPrimitive;
- exports.isRegExp = is.isRegExp;
- exports.isString = is.isString;
- exports.isSyntheticEvent = is.isSyntheticEvent;
- exports.isThenable = is.isThenable;
- exports.isVueViewModel = is.isVueViewModel;
- exports.isBrowser = isBrowser.isBrowser;
- exports.CONSOLE_LEVELS = logger.CONSOLE_LEVELS;
- exports.consoleSandbox = logger.consoleSandbox;
- exports.logger = logger.logger;
- exports.originalConsoleMethods = logger.originalConsoleMethods;
- exports.memoBuilder = memo.memoBuilder;
- exports.addContextToFrame = misc.addContextToFrame;
- exports.addExceptionMechanism = misc.addExceptionMechanism;
- exports.addExceptionTypeValue = misc.addExceptionTypeValue;
- exports.arrayify = misc.arrayify;
- exports.checkOrSetAlreadyCaught = misc.checkOrSetAlreadyCaught;
- exports.getEventDescription = misc.getEventDescription;
- exports.parseSemver = misc.parseSemver;
- exports.uuid4 = misc.uuid4;
- exports.dynamicRequire = node.dynamicRequire;
- exports.isNodeEnv = node.isNodeEnv;
- exports.loadModule = node.loadModule;
- exports.normalize = normalize.normalize;
- exports.normalizeToSize = normalize.normalizeToSize;
- exports.normalizeUrlToBase = normalize.normalizeUrlToBase;
- exports.walk = normalize.walk;
- exports.addNonEnumerableProperty = object.addNonEnumerableProperty;
- exports.convertToPlainObject = object.convertToPlainObject;
- exports.dropUndefinedKeys = object.dropUndefinedKeys;
- exports.extractExceptionKeysForMessage = object.extractExceptionKeysForMessage;
- exports.fill = object.fill;
- exports.getOriginalFunction = object.getOriginalFunction;
- exports.markFunctionWrapped = object.markFunctionWrapped;
- exports.objectify = object.objectify;
- exports.urlEncode = object.urlEncode;
- exports.basename = path.basename;
- exports.dirname = path.dirname;
- exports.isAbsolute = path.isAbsolute;
- exports.join = path.join;
- exports.normalizePath = path.normalizePath;
- exports.relative = path.relative;
- exports.resolve = path.resolve;
- exports.makePromiseBuffer = promisebuffer.makePromiseBuffer;
- exports.DEFAULT_USER_INCLUDES = requestdata.DEFAULT_USER_INCLUDES;
- exports.addRequestDataToEvent = requestdata.addRequestDataToEvent;
- exports.addRequestDataToTransaction = requestdata.addRequestDataToTransaction;
- exports.extractPathForTransaction = requestdata.extractPathForTransaction;
- exports.extractRequestData = requestdata.extractRequestData;
- exports.winterCGHeadersToDict = requestdata.winterCGHeadersToDict;
- exports.winterCGRequestToRequestData = requestdata.winterCGRequestToRequestData;
- exports.severityFromString = severity.severityFromString;
- exports.severityLevelFromString = severity.severityLevelFromString;
- exports.validSeverityLevels = severity.validSeverityLevels;
- exports.createStackParser = stacktrace.createStackParser;
- exports.getFunctionName = stacktrace.getFunctionName;
- exports.nodeStackLineParser = stacktrace.nodeStackLineParser;
- exports.stackParserFromStackParserOptions = stacktrace.stackParserFromStackParserOptions;
- exports.stripSentryFramesAndReverse = stacktrace.stripSentryFramesAndReverse;
- exports.isMatchingPattern = string.isMatchingPattern;
- exports.safeJoin = string.safeJoin;
- exports.snipLine = string.snipLine;
- exports.stringMatchesSomePattern = string.stringMatchesSomePattern;
- exports.truncate = string.truncate;
- exports.isNativeFetch = supports.isNativeFetch;
- exports.supportsDOMError = supports.supportsDOMError;
- exports.supportsDOMException = supports.supportsDOMException;
- exports.supportsErrorEvent = supports.supportsErrorEvent;
- exports.supportsFetch = supports.supportsFetch;
- exports.supportsNativeFetch = supports.supportsNativeFetch;
- exports.supportsReferrerPolicy = supports.supportsReferrerPolicy;
- exports.supportsReportingObserver = supports.supportsReportingObserver;
- exports.SyncPromise = syncpromise.SyncPromise;
- exports.rejectedSyncPromise = syncpromise.rejectedSyncPromise;
- exports.resolvedSyncPromise = syncpromise.resolvedSyncPromise;
- Object.defineProperty(exports, '_browserPerformanceTimeOriginMode', {
- enumerable: true,
- get: () => time._browserPerformanceTimeOriginMode
- });
- exports.browserPerformanceTimeOrigin = time.browserPerformanceTimeOrigin;
- exports.dateTimestampInSeconds = time.dateTimestampInSeconds;
- exports.timestampInSeconds = time.timestampInSeconds;
- exports.timestampWithMs = time.timestampWithMs;
- exports.TRACEPARENT_REGEXP = tracing.TRACEPARENT_REGEXP;
- exports.extractTraceparentData = tracing.extractTraceparentData;
- exports.generateSentryTraceHeader = tracing.generateSentryTraceHeader;
- exports.propagationContextFromHeaders = tracing.propagationContextFromHeaders;
- exports.tracingContextFromHeaders = tracing.tracingContextFromHeaders;
- exports.getSDKSource = env.getSDKSource;
- exports.isBrowserBundle = env.isBrowserBundle;
- exports.addItemToEnvelope = envelope.addItemToEnvelope;
- exports.createAttachmentEnvelopeItem = envelope.createAttachmentEnvelopeItem;
- exports.createEnvelope = envelope.createEnvelope;
- exports.createEventEnvelopeHeaders = envelope.createEventEnvelopeHeaders;
- exports.envelopeContainsItemType = envelope.envelopeContainsItemType;
- exports.envelopeItemTypeToDataCategory = envelope.envelopeItemTypeToDataCategory;
- exports.forEachEnvelopeItem = envelope.forEachEnvelopeItem;
- exports.getSdkMetadataForEnvelopeHeader = envelope.getSdkMetadataForEnvelopeHeader;
- exports.parseEnvelope = envelope.parseEnvelope;
- exports.serializeEnvelope = envelope.serializeEnvelope;
- exports.createClientReportEnvelope = clientreport.createClientReportEnvelope;
- exports.DEFAULT_RETRY_AFTER = ratelimit.DEFAULT_RETRY_AFTER;
- exports.disabledUntil = ratelimit.disabledUntil;
- exports.isRateLimited = ratelimit.isRateLimited;
- exports.parseRetryAfterHeader = ratelimit.parseRetryAfterHeader;
- exports.updateRateLimits = ratelimit.updateRateLimits;
- exports.BAGGAGE_HEADER_NAME = baggage.BAGGAGE_HEADER_NAME;
- exports.MAX_BAGGAGE_STRING_LENGTH = baggage.MAX_BAGGAGE_STRING_LENGTH;
- exports.SENTRY_BAGGAGE_KEY_PREFIX = baggage.SENTRY_BAGGAGE_KEY_PREFIX;
- exports.SENTRY_BAGGAGE_KEY_PREFIX_REGEX = baggage.SENTRY_BAGGAGE_KEY_PREFIX_REGEX;
- exports.baggageHeaderToDynamicSamplingContext = baggage.baggageHeaderToDynamicSamplingContext;
- exports.dynamicSamplingContextToSentryBaggageHeader = baggage.dynamicSamplingContextToSentryBaggageHeader;
- exports.getNumberOfUrlSegments = url.getNumberOfUrlSegments;
- exports.getSanitizedUrlString = url.getSanitizedUrlString;
- exports.parseUrl = url.parseUrl;
- exports.stripUrlQueryAndFragment = url.stripUrlQueryAndFragment;
- exports.addOrUpdateIntegration = userIntegrations.addOrUpdateIntegration;
- exports.makeFifoCache = cache.makeFifoCache;
- exports.eventFromMessage = eventbuilder.eventFromMessage;
- exports.eventFromUnknownInput = eventbuilder.eventFromUnknownInput;
- exports.exceptionFromError = eventbuilder.exceptionFromError;
- exports.parseStackFrames = eventbuilder.parseStackFrames;
- exports.callFrameToStackFrame = anr.callFrameToStackFrame;
- exports.watchdogTimer = anr.watchdogTimer;
- exports.LRUMap = lru.LRUMap;
- exports._asyncNullishCoalesce = _asyncNullishCoalesce._asyncNullishCoalesce;
- exports._asyncOptionalChain = _asyncOptionalChain._asyncOptionalChain;
- exports._asyncOptionalChainDelete = _asyncOptionalChainDelete._asyncOptionalChainDelete;
- exports._nullishCoalesce = _nullishCoalesce._nullishCoalesce;
- exports._optionalChain = _optionalChain._optionalChain;
- exports._optionalChainDelete = _optionalChainDelete._optionalChainDelete;
- exports.addConsoleInstrumentationHandler = console.addConsoleInstrumentationHandler;
- exports.addClickKeypressInstrumentationHandler = dom.addClickKeypressInstrumentationHandler;
- exports.SENTRY_XHR_DATA_KEY = xhr.SENTRY_XHR_DATA_KEY;
- exports.addXhrInstrumentationHandler = xhr.addXhrInstrumentationHandler;
- exports.addFetchInstrumentationHandler = fetch.addFetchInstrumentationHandler;
- exports.addHistoryInstrumentationHandler = history.addHistoryInstrumentationHandler;
- exports.addGlobalErrorInstrumentationHandler = globalError.addGlobalErrorInstrumentationHandler;
- exports.addGlobalUnhandledRejectionInstrumentationHandler = globalUnhandledRejection.addGlobalUnhandledRejectionInstrumentationHandler;
- exports.resetInstrumentationHandlers = _handlers.resetInstrumentationHandlers;
- exports.filenameIsInApp = nodeStackTrace.filenameIsInApp;
- exports.escapeStringForRegex = escapeStringForRegex.escapeStringForRegex;
- exports.supportsHistory = supportsHistory.supportsHistory;
- //# sourceMappingURL=index.js.map
|