Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
{"version":3,"file":"perf_hooks.js","sources":["../../../../src/config/polyfills/perf_hooks.js"],"sourcesContent":["/* eslint-disable @sentry-internal/sdk/no-unsafe-random-apis */\n// Polyfill for Node.js perf_hooks module in edge runtime\n// This mirrors the polyfill from packages/vercel-edge/rollup.npm.config.mjs\nconst __sentry__timeOrigin = Date.now();\n\n// Ensure performance global is available\nif (typeof globalThis !== 'undefined' && globalThis.performance === undefined) {\n globalThis.performance = {\n timeOrigin: __sentry__timeOrigin,\n now: function () {\n return Date.now() - __sentry__timeOrigin;\n },\n };\n}\n\n// Export the performance object for perf_hooks compatibility\nexport const performance = globalThis.performance || {\n timeOrigin: __sentry__timeOrigin,\n now: function () {\n return Date.now() - __sentry__timeOrigin;\n },\n};\n\n// Default export for CommonJS compatibility\nexport default {\n performance,\n};\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA,MAAM,uBAAuB,IAAI,CAAC,GAAG,EAAE;;AAEvC;AACA,IAAI,OAAO,UAAA,KAAe,WAAA,IAAe,UAAU,CAAC,WAAA,KAAgB,SAAS,EAAE;AAC/E,EAAE,UAAU,CAAC,WAAA,GAAc;AAC3B,IAAI,UAAU,EAAE,oBAAoB;AACpC,IAAI,GAAG,EAAE,YAAY;AACrB,MAAM,OAAO,IAAI,CAAC,GAAG,EAAC,GAAI,oBAAoB;AAC9C,IAAI,CAAC;AACL,GAAG;AACH;;AAEA;MACa,WAAA,GAAc,UAAU,CAAC,eAAe;AACrD,EAAE,UAAU,EAAE,oBAAoB;AAClC,EAAE,GAAG,EAAE,YAAY;AACnB,IAAI,OAAO,IAAI,CAAC,GAAG,EAAC,GAAI,oBAAoB;AAC5C,EAAE,CAAC;AACH;;AAEA;AACA,mBAAe;AACf,EAAE,WAAW;AACb,CAAC;;;;"} |