From d24acc84b2786a2fae0b8e00aedef653e813f32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com> Date: Wed, 11 Jan 2023 16:10:57 +0100 Subject: [PATCH] publish: fix: updated build dependencies generated from commit bf3079828709d34b56d3eaab32f98b1d9a388d1f --- index.js | 739 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 527 insertions(+), 212 deletions(-) diff --git a/index.js b/index.js index 1c435bb..d07c4a0 100644 --- a/index.js +++ b/index.js @@ -21,9 +21,9 @@ moment.tz.setDefault('Europe/Paris') // set the timezone const Sentry = __webpack_require__(1522) // eslint-disable-next-line -const Tracing = __webpack_require__(1601) // Needed for tracking performance in Sentry -const { version } = __webpack_require__(1638) -const { isDev } = __webpack_require__(1639) +const Tracing = __webpack_require__(1603) // Needed for tracking performance in Sentry +const { version } = __webpack_require__(1640) +const { isDev } = __webpack_require__(1641) const manualExecution = process.env.COZY_JOB_MANUAL_EXECUTION === 'true' ? true : false @@ -148796,7 +148796,7 @@ var Type = __webpack_require__(859); module.exports = function StringToNumber(argument) { if (Type(argument) !== 'String') { - throw new $TypeError('Conversion from \'BigInt\' to \'number\' is not allowed.'); + throw new $TypeError('Assertion failed: `argument` is not a String'); } if (isBinary(argument)) { return $Number($parseInteger($strSlice(argument, 2), 2)); @@ -148918,14 +148918,14 @@ module.exports = Number.isNaN || function isNaN(a) { /***/ }), /* 882 */ -/***/ ((module) => { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $isNaN = Number.isNaN || function (a) { return a !== a; }; +var $isNaN = __webpack_require__(881); -module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; +module.exports = function (x) { return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; /***/ }), @@ -216712,7 +216712,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "startTransaction": () => (/* reexport safe */ _sentry_core__WEBPACK_IMPORTED_MODULE_3__.startTransaction), /* harmony export */ "withScope": () => (/* reexport safe */ _sentry_core__WEBPACK_IMPORTED_MODULE_3__.withScope) /* harmony export */ }); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(1600); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(1602); /* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1523); /* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1537); /* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1524); @@ -216722,10 +216722,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1557); /* harmony import */ var _sdk_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1571); /* harmony import */ var _requestdata_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1587); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1596); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1598); /* harmony import */ var domain__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1359); /* harmony import */ var domain__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(domain__WEBPACK_IMPORTED_MODULE_10__); -/* harmony import */ var _handlers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1597); +/* harmony import */ var _handlers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1599); /* harmony import */ var _integrations_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1572); /* harmony import */ var _transports_http_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1558); @@ -216962,7 +216962,7 @@ class Hub { */ captureEvent(event, hint) { const eventId = hint && hint.event_id ? hint.event_id : (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_1__.uuid4)(); - if (event.type !== 'transaction') { + if (!event.type) { this._lastEventId = eventId; } @@ -216987,7 +216987,6 @@ class Hub { if (!scope || !client) return; - // eslint-disable-next-line @typescript-eslint/unbound-method const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } = (client.getOptions && client.getOptions()) || {}; @@ -219174,9 +219173,7 @@ function urlEncode(object) { * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor * an Error. */ -function convertToPlainObject( - value, -) +function convertToPlainObject(value) { if ((0,_is_js__WEBPACK_IMPORTED_MODULE_0__.isError)(value)) { @@ -219838,7 +219835,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SDK_VERSION": () => (/* binding */ SDK_VERSION) /* harmony export */ }); -const SDK_VERSION = '7.29.0'; +const SDK_VERSION = '7.30.0'; //# sourceMappingURL=version.js.map @@ -220069,7 +220066,9 @@ const DEFAULT_TRANSPORT_BUFFER_SIZE = 30; function createTransport( options, makeRequest, - buffer = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_0__.makePromiseBuffer)(options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE), + buffer = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_0__.makePromiseBuffer)( + options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE, + ), ) { let rateLimits = {}; @@ -220114,10 +220113,11 @@ function createTransport( } rateLimits = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_2__.updateRateLimits)(rateLimits, response); + return response; }, error => { - (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_4__.logger.error('Failed while sending event:', error); recordEnvelopeLoss('network_error'); + throw error; }, ); @@ -220880,6 +220880,14 @@ function createStackParser(...parsers) { const frames = []; for (const line of stack.split('\n').slice(skipFirst)) { + // Ignore lines over 1kb as they are unlikely to be stack frames. + // Many of the regular expressions use backtracking which results in run time that increases exponentially with + // input size. Huge strings can result in hangs/Denial of Service: + // https://github.com/getsentry/sentry-javascript/issues/2286 + if (line.length > 1024) { + continue; + } + // https://github.com/getsentry/sentry-javascript/issues/5459 // Remove webpack (error: *) wrappers const cleanedLine = line.replace(/\(error: (.*)\)/, '$1'); @@ -221953,6 +221961,13 @@ class BaseClient { } } + /** + * @inheritDoc + */ + addIntegration(integration) { + (0,_integration_js__WEBPACK_IMPORTED_MODULE_7__.setupIntegration)(integration, this._integrations); + } + /** * @inheritDoc */ @@ -222446,6 +222461,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "getIntegrationsToSetup": () => (/* binding */ getIntegrationsToSetup), /* harmony export */ "installedIntegrations": () => (/* binding */ installedIntegrations), +/* harmony export */ "setupIntegration": () => (/* binding */ setupIntegration), /* harmony export */ "setupIntegrations": () => (/* binding */ setupIntegrations) /* harmony export */ }); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1530); @@ -222531,18 +222547,23 @@ function setupIntegrations(integrations) { const integrationIndex = {}; integrations.forEach(integration => { - integrationIndex[integration.name] = integration; - - if (installedIntegrations.indexOf(integration.name) === -1) { - integration.setupOnce(_scope_js__WEBPACK_IMPORTED_MODULE_1__.addGlobalEventProcessor, _hub_js__WEBPACK_IMPORTED_MODULE_2__.getCurrentHub); - installedIntegrations.push(integration.name); - (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_3__.logger.log(`Integration installed: ${integration.name}`); - } + setupIntegration(integration, integrationIndex); }); return integrationIndex; } +/** Setup a single integration. */ +function setupIntegration(integration, integrationIndex) { + integrationIndex[integration.name] = integration; + + if (installedIntegrations.indexOf(integration.name) === -1) { + integration.setupOnce(_scope_js__WEBPACK_IMPORTED_MODULE_1__.addGlobalEventProcessor, _hub_js__WEBPACK_IMPORTED_MODULE_2__.getCurrentHub); + installedIntegrations.push(integration.name); + (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_3__.logger.log(`Integration installed: ${integration.name}`); + } +} + //# sourceMappingURL=integration.js.map @@ -222607,7 +222628,15 @@ function createEventEnvelope( tunnel, ) { const sdkInfo = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_0__.getSdkMetadataForEnvelopeHeader)(metadata); - const eventType = event.type || 'event'; + + /* + Note: Due to TS, event.type may be `replay_event`, theoretically. + In practice, we never call `createEventEnvelope` with `replay_event` type, + and we'd have to adjut a looot of types to make this work properly. + We want to avoid casting this around, as that could lead to bugs (e.g. when we add another type) + So the safe choice is to really guard against the replay_event type here. + */ + const eventType = event.type && event.type !== 'replay_event' ? event.type : 'event'; enhanceEventWithSdkInfo(event, metadata && metadata.sdk); @@ -222979,8 +223008,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "makeNodeTransport": () => (/* binding */ makeNodeTransport) /* harmony export */ }); -/* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1570); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1539); +/* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1570); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1539); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var https__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81); @@ -223019,7 +223048,18 @@ function streamFromBody(body) { * Creates a Transport that uses native the native 'http' and 'https' modules to send events to Sentry. */ function makeNodeTransport(options) { - const urlSegments = new url__WEBPACK_IMPORTED_MODULE_3__.URL(options.url); + let urlSegments; + + try { + urlSegments = new url__WEBPACK_IMPORTED_MODULE_3__.URL(options.url); + } catch (e) { + // eslint-disable-next-line no-console + console.warn( + '[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.', + ); + return (0,_sentry_core__WEBPACK_IMPORTED_MODULE_5__.createTransport)(options, () => Promise.resolve({})); + } + const isHttps = urlSegments.protocol === 'https:'; // Proxy prioritization: http => `options.proxy` | `process.env.http_proxy` @@ -223035,11 +223075,12 @@ function makeNodeTransport(options) { // TODO(v7): Evaluate if we can set keepAlive to true. This would involve testing for memory leaks in older node // versions(>= 8) as they had memory leaks when using it: #2555 const agent = proxy - ? (new (__webpack_require__(1559))(proxy) ) + ? // eslint-disable-next-line @typescript-eslint/no-var-requires + (new (__webpack_require__(1559))(proxy) ) : new nativeHttpModule.Agent({ keepAlive, maxSockets: 30, timeout: 2000 }); - const requestExecutor = createRequestExecutor(options, (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_5__._nullishCoalesce)(options.httpModule, () => ( nativeHttpModule)), agent); - return (0,_sentry_core__WEBPACK_IMPORTED_MODULE_6__.createTransport)(options, requestExecutor); + const requestExecutor = createRequestExecutor(options, (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_6__._nullishCoalesce)(options.httpModule, () => ( nativeHttpModule)), agent); + return (0,_sentry_core__WEBPACK_IMPORTED_MODULE_5__.createTransport)(options, requestExecutor); } /** @@ -223111,8 +223152,8 @@ function createRequestExecutor( // "Key-value pairs of header names and values. Header names are lower-cased." // https://nodejs.org/api/http.html#http_message_headers - const retryAfterHeader = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_5__._nullishCoalesce)(res.headers['retry-after'], () => ( null)); - const rateLimitsHeader = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_5__._nullishCoalesce)(res.headers['x-sentry-rate-limits'], () => ( null)); + const retryAfterHeader = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_6__._nullishCoalesce)(res.headers['retry-after'], () => ( null)); + const rateLimitsHeader = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_6__._nullishCoalesce)(res.headers['x-sentry-rate-limits'], () => ( null)); resolve({ statusCode: res.statusCode, @@ -224712,31 +224753,33 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "isAutoSessionTrackingEnabled": () => (/* binding */ isAutoSessionTrackingEnabled), /* harmony export */ "lastEventId": () => (/* binding */ lastEventId) /* harmony export */ }); -/* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(1546); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(1593); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1594); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(1523); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1553); -/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(1595); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1545); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(1536); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(1527); +/* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1546); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1595); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(1596); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(1523); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(1553); +/* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(1597); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1545); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(1536); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(1527); /* harmony import */ var domain__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1359); /* harmony import */ var domain__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(domain__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _client_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1549); /* harmony import */ var _integrations_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1572); -/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1591); +/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1593); /* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1557); /* harmony import */ var _integrations_console_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1573); /* harmony import */ var _integrations_http_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1575); /* harmony import */ var _integrations_onuncaughtexception_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1578); /* harmony import */ var _integrations_onunhandledrejection_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1580); /* harmony import */ var _integrations_contextlines_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1582); -/* harmony import */ var _integrations_context_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1585); -/* harmony import */ var _integrations_modules_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1584); -/* harmony import */ var _integrations_requestdata_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1586); -/* harmony import */ var _integrations_linkederrors_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1581); -/* harmony import */ var _transports_http_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(1558); +/* harmony import */ var _integrations_localvariables_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1591); +/* harmony import */ var _integrations_context_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1585); +/* harmony import */ var _integrations_modules_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1584); +/* harmony import */ var _integrations_requestdata_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1586); +/* harmony import */ var _integrations_linkederrors_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(1581); +/* harmony import */ var _transports_http_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(1558); + @@ -224760,8 +224803,8 @@ __webpack_require__.r(__webpack_exports__); const defaultIntegrations = [ // Common - new _sentry_core__WEBPACK_IMPORTED_MODULE_15__.InboundFilters(), - new _sentry_core__WEBPACK_IMPORTED_MODULE_16__.FunctionToString(), + new _sentry_core__WEBPACK_IMPORTED_MODULE_16__.InboundFilters(), + new _sentry_core__WEBPACK_IMPORTED_MODULE_17__.FunctionToString(), // Native Wrappers new _integrations_console_js__WEBPACK_IMPORTED_MODULE_5__.Console(), new _integrations_http_js__WEBPACK_IMPORTED_MODULE_6__.Http(), @@ -224770,11 +224813,12 @@ const defaultIntegrations = [ new _integrations_onunhandledrejection_js__WEBPACK_IMPORTED_MODULE_8__.OnUnhandledRejection(), // Event Info new _integrations_contextlines_js__WEBPACK_IMPORTED_MODULE_9__.ContextLines(), - new _integrations_context_js__WEBPACK_IMPORTED_MODULE_10__.Context(), - new _integrations_modules_js__WEBPACK_IMPORTED_MODULE_11__.Modules(), - new _integrations_requestdata_js__WEBPACK_IMPORTED_MODULE_12__.RequestData(), + new _integrations_localvariables_js__WEBPACK_IMPORTED_MODULE_10__.LocalVariables(), + new _integrations_context_js__WEBPACK_IMPORTED_MODULE_11__.Context(), + new _integrations_modules_js__WEBPACK_IMPORTED_MODULE_12__.Modules(), + new _integrations_requestdata_js__WEBPACK_IMPORTED_MODULE_13__.RequestData(), // Misc - new _integrations_linkederrors_js__WEBPACK_IMPORTED_MODULE_13__.LinkedErrors(), + new _integrations_linkederrors_js__WEBPACK_IMPORTED_MODULE_14__.LinkedErrors(), ]; /** @@ -224833,8 +224877,8 @@ const defaultIntegrations = [ * @see {@link NodeOptions} for documentation on configuration options. */ function init(options = {}) { - const carrier = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getMainCarrier)(); - const autoloadedIntegrations = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_18__._optionalChain)([carrier, 'access', _ => _.__SENTRY__, 'optionalAccess', _2 => _2.integrations]) || []; + const carrier = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getMainCarrier)(); + const autoloadedIntegrations = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_19__._optionalChain)([carrier, 'access', _ => _.__SENTRY__, 'optionalAccess', _2 => _2.integrations]) || []; options.defaultIntegrations = options.defaultIntegrations === false @@ -224879,18 +224923,18 @@ function init(options = {}) { // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any if (domain__WEBPACK_IMPORTED_MODULE_0__.active) { - (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.setHubOnCarrier)(carrier, (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getCurrentHub)()); + (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.setHubOnCarrier)(carrier, (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getCurrentHub)()); } // TODO(v7): Refactor this to reduce the logic above const clientOptions = { ...options, - stackParser: (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_19__.stackParserFromStackParserOptions)(options.stackParser || defaultStackParser), - integrations: (0,_sentry_core__WEBPACK_IMPORTED_MODULE_20__.getIntegrationsToSetup)(options), - transport: options.transport || _transports_http_js__WEBPACK_IMPORTED_MODULE_14__.makeNodeTransport, + stackParser: (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_20__.stackParserFromStackParserOptions)(options.stackParser || defaultStackParser), + integrations: (0,_sentry_core__WEBPACK_IMPORTED_MODULE_21__.getIntegrationsToSetup)(options), + transport: options.transport || _transports_http_js__WEBPACK_IMPORTED_MODULE_15__.makeNodeTransport, }; - (0,_sentry_core__WEBPACK_IMPORTED_MODULE_21__.initAndBind)(_client_js__WEBPACK_IMPORTED_MODULE_1__.NodeClient, clientOptions); + (0,_sentry_core__WEBPACK_IMPORTED_MODULE_22__.initAndBind)(_client_js__WEBPACK_IMPORTED_MODULE_1__.NodeClient, clientOptions); if (options.autoSessionTracking) { startSessionTracking(); @@ -224903,7 +224947,7 @@ function init(options = {}) { * @returns The last event id of a captured event. */ function lastEventId() { - return (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getCurrentHub)().lastEventId(); + return (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getCurrentHub)().lastEventId(); } /** @@ -224915,11 +224959,11 @@ function lastEventId() { * doesn't (or if there's no client defined). */ async function flush(timeout) { - const client = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getCurrentHub)().getClient(); + const client = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getCurrentHub)().getClient(); if (client) { return client.flush(timeout); } - (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_22__.logger.warn('Cannot flush events. No client defined.'); + (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_23__.logger.warn('Cannot flush events. No client defined.'); return Promise.resolve(false); } @@ -224932,11 +224976,11 @@ async function flush(timeout) { * doesn't (or if there's no client defined). */ async function close(timeout) { - const client = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getCurrentHub)().getClient(); + const client = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getCurrentHub)().getClient(); if (client) { return client.close(timeout); } - (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_22__.logger.warn('Cannot flush events and disable SDK. No client defined.'); + (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && _sentry_utils__WEBPACK_IMPORTED_MODULE_23__.logger.warn('Cannot flush events and disable SDK. No client defined.'); return Promise.resolve(false); } @@ -224964,8 +225008,8 @@ function getSentryRelease(fallback) { } // This supports the variable that sentry-webpack-plugin injects - if (_sentry_utils__WEBPACK_IMPORTED_MODULE_23__.GLOBAL_OBJ.SENTRY_RELEASE && _sentry_utils__WEBPACK_IMPORTED_MODULE_23__.GLOBAL_OBJ.SENTRY_RELEASE.id) { - return _sentry_utils__WEBPACK_IMPORTED_MODULE_23__.GLOBAL_OBJ.SENTRY_RELEASE.id; + if (_sentry_utils__WEBPACK_IMPORTED_MODULE_24__.GLOBAL_OBJ.SENTRY_RELEASE && _sentry_utils__WEBPACK_IMPORTED_MODULE_24__.GLOBAL_OBJ.SENTRY_RELEASE.id) { + return _sentry_utils__WEBPACK_IMPORTED_MODULE_24__.GLOBAL_OBJ.SENTRY_RELEASE.id; } return ( @@ -224987,20 +225031,20 @@ function getSentryRelease(fallback) { } /** Node.js stack parser */ -const defaultStackParser = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_19__.createStackParser)((0,_sentry_utils__WEBPACK_IMPORTED_MODULE_19__.nodeStackLineParser)(_module_js__WEBPACK_IMPORTED_MODULE_3__.getModule)); +const defaultStackParser = (0,_sentry_utils__WEBPACK_IMPORTED_MODULE_20__.createStackParser)((0,_sentry_utils__WEBPACK_IMPORTED_MODULE_20__.nodeStackLineParser)(_module_js__WEBPACK_IMPORTED_MODULE_3__.getModule)); /** * Enable automatic Session Tracking for the node process. */ function startSessionTracking() { - const hub = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_17__.getCurrentHub)(); + const hub = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_18__.getCurrentHub)(); hub.startSession(); // Emitted in the case of healthy sessions, error of `mechanism.handled: true` and unhandledrejections because // The 'beforeExit' event is not emitted for conditions causing explicit termination, // such as calling process.exit() or uncaught exceptions. // Ref: https://nodejs.org/api/process.html#process_event_beforeexit process.on('beforeExit', () => { - const session = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_18__._optionalChain)([hub, 'access', _3 => _3.getScope, 'call', _4 => _4(), 'optionalAccess', _5 => _5.getSession, 'call', _6 => _6()]); + const session = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_19__._optionalChain)([hub, 'access', _3 => _3.getScope, 'call', _4 => _4(), 'optionalAccess', _5 => _5.getSession, 'call', _6 => _6()]); const terminalStates = ['exited', 'crashed']; // Only call endSession, if the Session exists on Scope and SessionStatus is not a // Terminal Status i.e. Exited or Crashed because @@ -225026,6 +225070,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "ContextLines": () => (/* reexport safe */ _contextlines_js__WEBPACK_IMPORTED_MODULE_6__.ContextLines), /* harmony export */ "Http": () => (/* reexport safe */ _http_js__WEBPACK_IMPORTED_MODULE_1__.Http), /* harmony export */ "LinkedErrors": () => (/* reexport safe */ _linkederrors_js__WEBPACK_IMPORTED_MODULE_4__.LinkedErrors), +/* harmony export */ "LocalVariables": () => (/* reexport safe */ _localvariables_js__WEBPACK_IMPORTED_MODULE_9__.LocalVariables), /* harmony export */ "Modules": () => (/* reexport safe */ _modules_js__WEBPACK_IMPORTED_MODULE_5__.Modules), /* harmony export */ "OnUncaughtException": () => (/* reexport safe */ _onuncaughtexception_js__WEBPACK_IMPORTED_MODULE_2__.OnUncaughtException), /* harmony export */ "OnUnhandledRejection": () => (/* reexport safe */ _onunhandledrejection_js__WEBPACK_IMPORTED_MODULE_3__.OnUnhandledRejection), @@ -225040,6 +225085,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _contextlines_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1582); /* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1585); /* harmony import */ var _requestdata_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1586); +/* harmony import */ var _localvariables_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1591); + @@ -225880,10 +225927,8 @@ class OnUncaughtException { const client = (0,_sentry_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentHub)().getClient(); if (this._options.onFatalError) { - // eslint-disable-next-line @typescript-eslint/unbound-method onFatalError = this._options.onFatalError; } else if (client && client.getOptions().onFatalError) { - // eslint-disable-next-line @typescript-eslint/unbound-method onFatalError = client.getOptions().onFatalError ; } @@ -228342,12 +228387,285 @@ function extractQueryParams( /* 1591 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "LocalVariables": () => (/* binding */ LocalVariables) +/* harmony export */ }); +/* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1546); +/* harmony import */ var inspector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1592); +/* harmony import */ var inspector__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inspector__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var lru_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1583); +/* harmony import */ var lru_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lru_map__WEBPACK_IMPORTED_MODULE_1__); + + + + +/** + * Promise API is available as `Experimental` and in Node 19 only. + * + * Callback-based API is `Stable` since v14 and `Experimental` since v8. + * Because of that, we are creating our own `AsyncSession` class. + * + * https://nodejs.org/docs/latest-v19.x/api/inspector.html#promises-api + * https://nodejs.org/docs/latest-v14.x/api/inspector.html + */ +class AsyncSession extends inspector__WEBPACK_IMPORTED_MODULE_0__.Session { + /** @inheritdoc */ + configureAndConnect(onPause) { + this.connect(); + this.on('Debugger.paused', onPause); + this.post('Debugger.enable'); + // We only want to pause on uncaught exceptions + this.post('Debugger.setPauseOnExceptions', { state: 'uncaught' }); + } + + /** @inheritdoc */ + async getLocalVariables(objectId) { + const props = await this._getProperties(objectId); + const unrolled = {}; + + for (const prop of props) { + if ((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _ => _.value, 'optionalAccess', _2 => _2.objectId]) && (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _3 => _3.value, 'access', _4 => _4.className]) === 'Array') { + unrolled[prop.name] = await this._unrollArray(prop.value.objectId); + } else if ((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _5 => _5.value, 'optionalAccess', _6 => _6.objectId]) && (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _7 => _7.value, 'optionalAccess', _8 => _8.className]) === 'Object') { + unrolled[prop.name] = await this._unrollObject(prop.value.objectId); + } else if ((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _9 => _9.value, 'optionalAccess', _10 => _10.value]) || (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([prop, 'optionalAccess', _11 => _11.value, 'optionalAccess', _12 => _12.description])) { + unrolled[prop.name] = prop.value.value || `<${prop.value.description}>`; + } + } + + return unrolled; + } + + /** + * Gets all the PropertyDescriptors of an object + */ + _getProperties(objectId) { + return new Promise((resolve, reject) => { + this.post( + 'Runtime.getProperties', + { + objectId, + ownProperties: true, + }, + (err, params) => { + if (err) { + reject(err); + } else { + resolve(params.result); + } + }, + ); + }); + } + + /** + * Unrolls an array property + */ + async _unrollArray(objectId) { + const props = await this._getProperties(objectId); + return props + .filter(v => v.name !== 'length' && !isNaN(parseInt(v.name, 10))) + .sort((a, b) => parseInt(a.name, 10) - parseInt(b.name, 10)) + .map(v => (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([v, 'optionalAccess', _13 => _13.value, 'optionalAccess', _14 => _14.value])); + } + + /** + * Unrolls an object property + */ + async _unrollObject(objectId) { + const props = await this._getProperties(objectId); + return props + .map(v => [v.name, (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([v, 'optionalAccess', _15 => _15.value, 'optionalAccess', _16 => _16.value])]) + .reduce((obj, [key, val]) => { + obj[key] = val; + return obj; + }, {} ); + } +} + +// Add types for the exception event data + +/** Could this be an anonymous function? */ +function isAnonymous(name) { + return name !== undefined && ['', '?', '<anonymous>'].includes(name); +} + +/** Do the function names appear to match? */ +function functionNamesMatch(a, b) { + return a === b || (isAnonymous(a) && isAnonymous(b)); +} + +/** Creates a unique hash from stack frames */ +function hashFrames(frames) { + if (frames === undefined) { + return; + } + + // Only hash the 10 most recent frames (ie. the last 10) + return frames.slice(-10).reduce((acc, frame) => `${acc},${frame.function},${frame.lineno},${frame.colno}`, ''); +} + +/** + * We use the stack parser to create a unique hash from the exception stack trace + * This is used to lookup vars when the exception passes through the event processor + */ +function hashFromStack(stackParser, stack) { + if (stack === undefined) { + return undefined; + } + + return hashFrames(stackParser(stack, 1)); +} + +/** + * Adds local variables to exception frames + */ +class LocalVariables { + static __initStatic() {this.id = 'LocalVariables';} + + __init() {this.name = LocalVariables.id;} + + __init2() {this._cachedFrames = new lru_map__WEBPACK_IMPORTED_MODULE_1__.LRUMap(20);} + + constructor(_options = {}, _session = new AsyncSession()) {;this._session = _session;LocalVariables.prototype.__init.call(this);LocalVariables.prototype.__init2.call(this);} + + /** + * @inheritDoc + */ + setupOnce(addGlobalEventProcessor, getCurrentHub) { + this._setup(addGlobalEventProcessor, (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([getCurrentHub, 'call', _17 => _17(), 'access', _18 => _18.getClient, 'call', _19 => _19(), 'optionalAccess', _20 => _20.getOptions, 'call', _21 => _21()])); + } + + /** Setup in a way that's easier to call from tests */ + _setup( + addGlobalEventProcessor, + clientOptions, + ) { + if ((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([clientOptions, 'optionalAccess', _22 => _22._experiments, 'optionalAccess', _23 => _23.includeStackLocals])) { + this._session.configureAndConnect(ev => + this._handlePaused(clientOptions.stackParser, ev ), + ); + + addGlobalEventProcessor(async event => this._addLocalVariables(event)); + } + } + + /** + * Handle the pause event + */ + async _handlePaused( + stackParser, + { params: { reason, data, callFrames } }, + ) { + if (reason !== 'exception' && reason !== 'promiseRejection') { + return; + } + + // data.description contains the original error.stack + const exceptionHash = hashFromStack(stackParser, (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([data, 'optionalAccess', _24 => _24.description])); + + if (exceptionHash == undefined) { + return; + } + + const framePromises = callFrames.map(async ({ scopeChain, functionName, this: obj }) => { + const localScope = scopeChain.find(scope => scope.type === 'local'); + + const fn = obj.className === 'global' ? functionName : `${obj.className}.${functionName}`; + + if ((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([localScope, 'optionalAccess', _25 => _25.object, 'access', _26 => _26.objectId]) === undefined) { + return { function: fn }; + } + + const vars = await this._session.getLocalVariables(localScope.object.objectId); + + return { function: fn, vars }; + }); + + // We add the un-awaited promise to the cache rather than await here otherwise the event processor + // can be called before we're finished getting all the vars + this._cachedFrames.set(exceptionHash, Promise.all(framePromises)); + } + + /** + * Adds local variables event stack frames. + */ + async _addLocalVariables(event) { + for (const exception of (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([event, 'optionalAccess', _27 => _27.exception, 'optionalAccess', _28 => _28.values]) || []) { + await this._addLocalVariablesToException(exception); + } + + return event; + } + + /** + * Adds local variables to the exception stack frames. + */ + async _addLocalVariablesToException(exception) { + const hash = hashFrames((0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([exception, 'optionalAccess', _29 => _29.stacktrace, 'optionalAccess', _30 => _30.frames])); + + if (hash === undefined) { + return; + } + + // Check if we have local variables for an exception that matches the hash + // delete is identical to get but also removes the entry from the cache + const cachedFrames = await this._cachedFrames.delete(hash); + + if (cachedFrames === undefined) { + return; + } + + const frameCount = (0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([exception, 'access', _31 => _31.stacktrace, 'optionalAccess', _32 => _32.frames, 'optionalAccess', _33 => _33.length]) || 0; + + for (let i = 0; i < frameCount; i++) { + // Sentry frames are in reverse order + const frameIndex = frameCount - i - 1; + + // Drop out if we run out of frames to match up + if (!(0,_sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__._optionalChain)([exception, 'optionalAccess', _34 => _34.stacktrace, 'optionalAccess', _35 => _35.frames, 'optionalAccess', _36 => _36[frameIndex]]) || !cachedFrames[i]) { + break; + } + + if ( + // We need to have vars to add + cachedFrames[i].vars === undefined || + // We're not interested in frames that are not in_app because the vars are not relevant + exception.stacktrace.frames[frameIndex].in_app === false || + // The function names need to match + !functionNamesMatch(exception.stacktrace.frames[frameIndex].function, cachedFrames[i].function) + ) { + continue; + } + + exception.stacktrace.frames[frameIndex].vars = cachedFrames[i].vars; + } + } +}LocalVariables.__initStatic(); + + +//# sourceMappingURL=localvariables.js.map + + +/***/ }), +/* 1592 */ +/***/ ((module) => { + +"use strict"; +module.exports = require("inspector"); + +/***/ }), +/* 1593 */ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "getModule": () => (/* binding */ getModule) /* harmony export */ }); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1592); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1594); /** normalizes Windows paths */ @@ -228399,7 +228717,7 @@ function getModule(filename) { /***/ }), -/* 1592 */ +/* 1594 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228604,7 +228922,7 @@ function basename(path, ext) { /***/ }), -/* 1593 */ +/* 1595 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228800,7 +229118,7 @@ function _getEventFilterUrl(event) { /***/ }), -/* 1594 */ +/* 1596 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228845,7 +229163,7 @@ class FunctionToString {constructor() { FunctionToString.prototype.__init.call( /***/ }), -/* 1595 */ +/* 1597 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228895,7 +229213,7 @@ function initAndBind( /***/ }), -/* 1596 */ +/* 1598 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228951,7 +229269,7 @@ function deepReadDirSync(targetDir) { /***/ }), -/* 1597 */ +/* 1599 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -228968,7 +229286,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1538); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1532); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1599); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1601); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1577); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1590); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1533); @@ -228976,7 +229294,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var domain__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(domain__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _requestdata_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1587); /* harmony import */ var _sdk_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1571); -/* harmony import */ var _requestDataDeprecated_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1598); +/* harmony import */ var _requestDataDeprecated_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1600); @@ -229212,7 +229530,6 @@ function errorHandler(options res, next, ) { - // eslint-disable-next-line @typescript-eslint/unbound-method const shouldHandleError = (options && options.shouldHandleError) || defaultShouldHandleError; if (shouldHandleError(error)) { @@ -229270,7 +229587,7 @@ function errorHandler(options /***/ }), -/* 1598 */ +/* 1600 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229325,7 +229642,7 @@ function parseRequest(event, req, options = {}) { /***/ }), -/* 1599 */ +/* 1601 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229376,7 +229693,7 @@ function extractTraceparentData(traceparent) { /***/ }), -/* 1600 */ +/* 1602 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229385,15 +229702,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "FunctionToString": () => (/* reexport safe */ _functiontostring_js__WEBPACK_IMPORTED_MODULE_0__.FunctionToString), /* harmony export */ "InboundFilters": () => (/* reexport safe */ _inboundfilters_js__WEBPACK_IMPORTED_MODULE_1__.InboundFilters) /* harmony export */ }); -/* harmony import */ var _functiontostring_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1594); -/* harmony import */ var _inboundfilters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1593); +/* harmony import */ var _functiontostring_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1596); +/* harmony import */ var _inboundfilters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1595); //# sourceMappingURL=index.js.map /***/ }), -/* 1601 */ +/* 1603 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229417,16 +229734,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "startIdleTransaction": () => (/* reexport safe */ _hubextensions_js__WEBPACK_IMPORTED_MODULE_0__.startIdleTransaction), /* harmony export */ "stripUrlQueryAndFragment": () => (/* reexport safe */ _sentry_utils__WEBPACK_IMPORTED_MODULE_10__.stripUrlQueryAndFragment) /* harmony export */ }); -/* harmony import */ var _hubextensions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1602); -/* harmony import */ var _integrations_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1610); -/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1605); -/* harmony import */ var _spanstatus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1637); -/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1604); -/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1606); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1603); -/* harmony import */ var _browser_browsertracing_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1619); -/* harmony import */ var _browser_request_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1622); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1599); +/* harmony import */ var _hubextensions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1604); +/* harmony import */ var _integrations_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1612); +/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1607); +/* harmony import */ var _spanstatus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1639); +/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1606); +/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1608); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1605); +/* harmony import */ var _browser_browsertracing_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1621); +/* harmony import */ var _browser_request_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1624); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1601); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1589); @@ -229456,7 +229773,7 @@ if (typeof __SENTRY_TRACING__ === 'undefined' || __SENTRY_TRACING__) { /***/ }), -/* 1602 */ +/* 1604 */ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229470,10 +229787,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1532); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1528); -/* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1607); -/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1606); -/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1604); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1603); +/* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1609); +/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1608); +/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1606); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1605); /* module decorator */ module = __webpack_require__.hmd(module); @@ -229774,7 +230091,7 @@ function addExtensionMethods() { /***/ }), -/* 1603 */ +/* 1605 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229789,7 +230106,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "stripUrlQueryAndFragment": () => (/* reexport safe */ _sentry_utils__WEBPACK_IMPORTED_MODULE_1__.stripUrlQueryAndFragment) /* harmony export */ }); /* harmony import */ var _sentry_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1523); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1599); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1589); @@ -229835,7 +230152,7 @@ function secToMs(time) { /***/ }), -/* 1604 */ +/* 1606 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -229848,7 +230165,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1526); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1533); -/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1605); +/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1607); @@ -230129,7 +230446,7 @@ class Transaction extends _span_js__WEBPACK_IMPORTED_MODULE_0__.Span { /***/ }), -/* 1605 */ +/* 1607 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -230527,7 +230844,7 @@ function spanStatusfromHttpCode(httpStatus) { /***/ }), -/* 1606 */ +/* 1608 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -230541,8 +230858,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ }); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1526); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1536); -/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1605); -/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1604); +/* harmony import */ var _span_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1607); +/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1606); @@ -230847,7 +231164,7 @@ function clearActiveTransaction(hub) { /***/ }), -/* 1607 */ +/* 1609 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -230855,9 +231172,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "registerErrorInstrumentation": () => (/* binding */ registerErrorInstrumentation) /* harmony export */ }); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1608); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1610); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1536); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1603); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1605); @@ -230886,7 +231203,7 @@ function errorCallback() { /***/ }), -/* 1608 */ +/* 1610 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -230898,7 +231215,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _logger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1536); /* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1533); /* harmony import */ var _stacktrace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1545); -/* harmony import */ var _supports_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1609); +/* harmony import */ var _supports_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1611); /* harmony import */ var _worldwide_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1527); @@ -231477,7 +231794,7 @@ function instrumentUnhandledRejection() { /***/ }), -/* 1609 */ +/* 1611 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -231679,7 +231996,7 @@ function supportsHistory() { /***/ }), -/* 1610 */ +/* 1612 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -231694,14 +232011,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "Postgres": () => (/* reexport safe */ _node_postgres_js__WEBPACK_IMPORTED_MODULE_1__.Postgres), /* harmony export */ "Prisma": () => (/* reexport safe */ _node_prisma_js__WEBPACK_IMPORTED_MODULE_4__.Prisma) /* harmony export */ }); -/* harmony import */ var _node_express_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1611); -/* harmony import */ var _node_postgres_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1613); -/* harmony import */ var _node_mysql_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1614); -/* harmony import */ var _node_mongo_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1615); -/* harmony import */ var _node_prisma_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1616); -/* harmony import */ var _node_graphql_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1617); -/* harmony import */ var _node_apollo_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1618); -/* harmony import */ var _browser_browsertracing_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1619); +/* harmony import */ var _node_express_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1613); +/* harmony import */ var _node_postgres_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1615); +/* harmony import */ var _node_mysql_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1616); +/* harmony import */ var _node_mongo_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1617); +/* harmony import */ var _node_prisma_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1618); +/* harmony import */ var _node_graphql_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1619); +/* harmony import */ var _node_apollo_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1620); +/* harmony import */ var _browser_browsertracing_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1621); @@ -231715,7 +232032,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/* 1611 */ +/* 1613 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -231728,7 +232045,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1589); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1590); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1614); @@ -232070,7 +232387,7 @@ function getLayerRoutePathString(isArray, lrp) { /***/ }), -/* 1612 */ +/* 1614 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232099,7 +232416,7 @@ function shouldDisableAutoInstrumentation(getCurrentHub) { /***/ }), -/* 1613 */ +/* 1615 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232112,7 +232429,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1528); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1533); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1614); @@ -232207,7 +232524,7 @@ class Postgres { /***/ }), -/* 1614 */ +/* 1616 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232219,7 +232536,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1528); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1533); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1614); @@ -232290,7 +232607,7 @@ class Mysql {constructor() { Mysql.prototype.__init.call(this); } /***/ }), -/* 1615 */ +/* 1617 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232303,7 +232620,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1528); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1533); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1614); @@ -232543,7 +232860,7 @@ class Mongo { /***/ }), -/* 1616 */ +/* 1618 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232554,7 +232871,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1546); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1614); @@ -232639,7 +232956,7 @@ class Prisma { /***/ }), -/* 1617 */ +/* 1619 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232652,7 +232969,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1528); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1533); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1614); @@ -232723,7 +233040,7 @@ class GraphQL {constructor() { GraphQL.prototype.__init.call(this); } /***/ }), -/* 1618 */ +/* 1620 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232737,7 +233054,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1533); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1530); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1532); -/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1612); +/* harmony import */ var _utils_node_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1614); @@ -232856,7 +233173,7 @@ function wrapResolver( /***/ }), -/* 1619 */ +/* 1621 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -232869,16 +233186,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1546); /* harmony import */ var _sentry_utils_esm_buildPolyfills__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1570); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1536); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1599); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1601); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1577); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1534); -/* harmony import */ var _hubextensions_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1602); -/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1606); -/* harmony import */ var _backgroundtab_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1636); -/* harmony import */ var _metrics_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1623); -/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1622); -/* harmony import */ var _router_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1620); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1621); +/* harmony import */ var _hubextensions_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1604); +/* harmony import */ var _idletransaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1608); +/* harmony import */ var _backgroundtab_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1638); +/* harmony import */ var _metrics_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1625); +/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1624); +/* harmony import */ var _router_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1622); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1623); @@ -232953,7 +233270,6 @@ class BrowserTracing { setupOnce(_, getCurrentHub) { this._getCurrentHub = getCurrentHub; - // eslint-disable-next-line @typescript-eslint/unbound-method const { routingInstrumentation: instrumentRouting, startTransactionOnLocationChange, @@ -232996,7 +233312,6 @@ class BrowserTracing { return undefined; } - // eslint-disable-next-line @typescript-eslint/unbound-method const { beforeNavigate, idleTimeout, finalTimeout, heartbeatInterval } = this.options; const isPageloadTransaction = context.op === 'pageload'; @@ -233127,7 +233442,7 @@ function getMetaContent(metaName) { /***/ }), -/* 1620 */ +/* 1622 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -233136,8 +233451,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "instrumentRoutingWithDefaults": () => (/* binding */ instrumentRoutingWithDefaults) /* harmony export */ }); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1536); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1608); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1610); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); @@ -233203,7 +233518,7 @@ function instrumentRoutingWithDefaults( /***/ }), -/* 1621 */ +/* 1623 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -233221,7 +233536,7 @@ const WINDOW = _sentry_utils__WEBPACK_IMPORTED_MODULE_0__.GLOBAL_OBJ ; /***/ }), -/* 1622 */ +/* 1624 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -233234,11 +233549,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "shouldAttachHeaders": () => (/* binding */ shouldAttachHeaders), /* harmony export */ "xhrCallback": () => (/* binding */ xhrCallback) /* harmony export */ }); -/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1608); +/* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1610); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1531); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1577); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1532); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1603); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1605); @@ -233504,7 +233819,7 @@ function xhrCallback( /***/ }), -/* 1623 */ +/* 1625 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -233520,14 +233835,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1526); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1536); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1534); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1603); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); -/* harmony import */ var _web_vitals_getCLS_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1625); -/* harmony import */ var _web_vitals_getFID_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1634); -/* harmony import */ var _web_vitals_getLCP_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1632); -/* harmony import */ var _web_vitals_lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1633); -/* harmony import */ var _web_vitals_lib_observe_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1624); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1635); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1605); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); +/* harmony import */ var _web_vitals_getCLS_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1627); +/* harmony import */ var _web_vitals_getFID_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1636); +/* harmony import */ var _web_vitals_getLCP_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1634); +/* harmony import */ var _web_vitals_lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1635); +/* harmony import */ var _web_vitals_lib_observe_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1626); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1637); @@ -233963,7 +234278,7 @@ function _tagMetricInfo(transaction) { /***/ }), -/* 1624 */ +/* 1626 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234011,7 +234326,7 @@ const observe = ( /***/ }), -/* 1625 */ +/* 1627 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234019,10 +234334,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "onCLS": () => (/* binding */ onCLS) /* harmony export */ }); -/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1630); -/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1626); -/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1624); -/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1631); +/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1632); +/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1628); +/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1626); +/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1633); @@ -234125,7 +234440,7 @@ const onCLS = (onReport) => { /***/ }), -/* 1626 */ +/* 1628 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234133,10 +234448,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "initMetric": () => (/* binding */ initMetric) /* harmony export */ }); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1621); -/* harmony import */ var _generateUniqueID_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1629); -/* harmony import */ var _getActivationStart_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1628); -/* harmony import */ var _getNavigationEntry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1627); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1623); +/* harmony import */ var _generateUniqueID_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1631); +/* harmony import */ var _getActivationStart_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1630); +/* harmony import */ var _getNavigationEntry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1629); @@ -234186,7 +234501,7 @@ const initMetric = (name, value) => { /***/ }), -/* 1627 */ +/* 1629 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234194,7 +234509,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "getNavigationEntry": () => (/* binding */ getNavigationEntry) /* harmony export */ }); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); /* @@ -234250,7 +234565,7 @@ const getNavigationEntry = () => { /***/ }), -/* 1628 */ +/* 1630 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234258,7 +234573,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "getActivationStart": () => (/* binding */ getActivationStart) /* harmony export */ }); -/* harmony import */ var _getNavigationEntry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1627); +/* harmony import */ var _getNavigationEntry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1629); /* @@ -234287,7 +234602,7 @@ const getActivationStart = () => { /***/ }), -/* 1629 */ +/* 1631 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234325,7 +234640,7 @@ const generateUniqueID = () => { /***/ }), -/* 1630 */ +/* 1632 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234364,7 +234679,7 @@ const bindReporter = ( /***/ }), -/* 1631 */ +/* 1633 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234372,7 +234687,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "onHidden": () => (/* binding */ onHidden) /* harmony export */ }); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); /* @@ -234412,7 +234727,7 @@ const onHidden = (cb, once) => { /***/ }), -/* 1632 */ +/* 1634 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234420,12 +234735,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "onLCP": () => (/* binding */ onLCP) /* harmony export */ }); -/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1630); -/* harmony import */ var _lib_getActivationStart_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1628); -/* harmony import */ var _lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1633); -/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1626); -/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1624); -/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1631); +/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1632); +/* harmony import */ var _lib_getActivationStart_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1630); +/* harmony import */ var _lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1635); +/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1628); +/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1626); +/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1633); @@ -234510,7 +234825,7 @@ const onLCP = (onReport) => { /***/ }), -/* 1633 */ +/* 1635 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234518,8 +234833,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "getVisibilityWatcher": () => (/* binding */ getVisibilityWatcher) /* harmony export */ }); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); -/* harmony import */ var _onHidden_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1631); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); +/* harmony import */ var _onHidden_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1633); @@ -234577,7 +234892,7 @@ const getVisibilityWatcher = ( /***/ }), -/* 1634 */ +/* 1636 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234585,11 +234900,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "onFID": () => (/* binding */ onFID) /* harmony export */ }); -/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1630); -/* harmony import */ var _lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1633); -/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1626); -/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1624); -/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1631); +/* harmony import */ var _lib_bindReporter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1632); +/* harmony import */ var _lib_getVisibilityWatcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1635); +/* harmony import */ var _lib_initMetric_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1628); +/* harmony import */ var _lib_observe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1626); +/* harmony import */ var _lib_onHidden_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1633); @@ -234656,7 +234971,7 @@ const onFID = (onReport) => { /***/ }), -/* 1635 */ +/* 1637 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234693,7 +235008,7 @@ function _startChild(transaction, { startTimestamp, ...ctx }) { /***/ }), -/* 1636 */ +/* 1638 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234702,8 +235017,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "registerBackgroundTabDetection": () => (/* binding */ registerBackgroundTabDetection) /* harmony export */ }); /* harmony import */ var _sentry_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1536); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1603); -/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1621); +/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1605); +/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1623); @@ -234743,7 +235058,7 @@ function registerBackgroundTabDetection() { /***/ }), -/* 1637 */ +/* 1639 */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -234798,14 +235113,14 @@ var SpanStatus; (function (SpanStatus) { /***/ }), -/* 1638 */ +/* 1640 */ /***/ ((module) => { "use strict"; module.exports = JSON.parse('{"name":"egl","version":"1.1.0","description":"","repository":{"type":"git","url":"git+https://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git"},"keywords":[],"author":"Grand Lyon","license":"AGPL-3.0","main":"./src/index.js","eslintConfig":{"extends":["cozy-app"]},"eslintIgnore":["build"],"husky":{"hooks":{"pre-commit":"yarn lint"}},"scripts":{"start":"node ./src/index.js","dev":"cozy-konnector-dev","standalone":"cozy-konnector-standalone","pretest":"npm run clean","test":"konitor testit .","check":"konitor check .","clean":"rm -rf ./data","build":"webpack","lint":"eslint --fix .","deploy":"git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build}","deploy-dev":"git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev}","cozyPublish":"cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})","travisDeployKey":"./bin/generate_travis_deploy_key"},"dependencies":{"@sentry/node":"^7.23.0","@sentry/tracing":"^7.23.0","cozy-konnector-libs":"4.56.4","moment":"^2.24.0","moment-timezone":"^0.5.26","node-fetch":"2"},"devDependencies":{"@types/moment-timezone":"^0.5.30","copy-webpack-plugin":"6.1.1","cozy-app-publish":"0.25.0","cozy-jobs-cli":"1.20.2","cozy-konnector-build":"1.4.4","eslint":"5.16.0","eslint-config-cozy-app":"1.6.0","eslint-plugin-prettier":"3.0.1","git-directory-deploy":"1.5.1","husky":"4.3.0","konitor":"0.10.2","standard-version":"^9.5.0","svgo":"1.3.2","webpack":"5.75.0","webpack-cli":"5.0.1"}}'); /***/ }), -/* 1639 */ +/* 1641 */ /***/ ((module) => { function isLocal() { -- GitLab