react-doctor 0.9.22-dev.ec45ff9 → 0.9.23-dev.661cb18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{build-section-divider-BjoMRSay.js → build-section-divider-BR5IQ-XQ.js} +5 -5
  2. package/dist/{ci-Rhhvl7uT.js → ci-CqB2d8Ih.js} +13 -13
  3. package/dist/cli.js +25 -25
  4. package/dist/{constants-lt2tTZjE.js → constants-BmD_c3Yq.js} +12 -6
  5. package/dist/{constants-DNh19qg9.js → constants-T2clfs7L.js} +4 -4
  6. package/dist/{design-C5BQaJUn.js → design-7F1gd8ZR.js} +4 -4
  7. package/dist/duplicate-jsx-worker.js +17 -10
  8. package/dist/{exit-gracefully-BxFRFqPQ.js → exit-gracefully-Bn4efcrM.js} +6 -6
  9. package/dist/{handle-error-BnEcoXcw.js → handle-error-BOvlaUvT.js} +6 -6
  10. package/dist/index.d.ts +5 -2
  11. package/dist/index.js +139 -22
  12. package/dist/{inspect-CrcIovH2.js → inspect-BKzXcJV-.js} +16 -16
  13. package/dist/{install-doctor-script-CcM2cToW.js → install-doctor-script-TJ_Jh6QX.js} +5 -5
  14. package/dist/{install-github-workflow-BUaLt5mn.js → install-github-workflow-BKIp1Lio.js} +6 -6
  15. package/dist/{install-DIHCDDtX.js → install-hwxNczJX.js} +10 -10
  16. package/dist/{install-react-doctor-BnaGEio4.js → install-react-doctor-BKjdzRA3.js} +9 -9
  17. package/dist/{is-cache-globally-disabled-af0VF8nQ.js → is-cache-globally-disabled-CveNGcRi.js} +4 -4
  18. package/dist/{jsx-runtime-CKOQW4i4.js → jsx-runtime-DMQUuKzt.js} +6 -6
  19. package/dist/oxlint-worker.js +1 -1
  20. package/dist/{print-branded-header-COh3X3He.js → print-branded-header-DZjQ5dCI.js} +4 -4
  21. package/dist/project-analysis-worker.js +1 -1
  22. package/dist/{prompt-runtime-scan-url-lBPap3oz.js → prompt-runtime-scan-url-C_0w1YyN.js} +5 -5
  23. package/dist/{read-object-file-sQUp7PMm.js → read-object-file-B0zGfH6E.js} +4 -4
  24. package/dist/{record-metric-3hs8M2Pf.js → record-metric-BwYegvoV.js} +134 -23
  25. package/dist/{report-error-CtR7ISJa.js → report-error-Bd9jbzpT.js} +6 -6
  26. package/dist/{report-workflow-result-C68s63w1.js → report-workflow-result-DUF3ohoU.js} +6 -6
  27. package/dist/{resolve-scan-exit-code-DrC3xu0y.js → resolve-scan-exit-code-D_sTVHU7.js} +13 -13
  28. package/dist/{resolve-scope-Cq7AJdtO.js → resolve-scope-9PCLZBu5.js} +6 -6
  29. package/dist/{rules-BesJjxty.js → rules-AclWXr6Q.js} +7 -7
  30. package/dist/{run-scan-app-CfsLjIjZ.js → run-scan-app-Kt84uh98.js} +11 -11
  31. package/dist/{runtime-scan-DA2v7tXp.js → runtime-scan-BgS2BPIT.js} +10 -10
  32. package/dist/{sanitize-runtime-url-C9P8617N.js → sanitize-runtime-url-DckIVvHM.js} +4 -4
  33. package/dist/{scan-BTjqJfRl.js → scan-DQDZUc2P.js} +10 -10
  34. package/dist/{should-skip-prompts-DjIiPcs_.js → should-skip-prompts-DszpotTl.js} +4 -4
  35. package/dist/{should-use-tui-Cd3om7tH.js → should-use-tui-C5xnE5qj.js} +4 -4
  36. package/dist/{start-scan-preamble-CQy0CKXS.js → start-scan-preamble-DDAT_0oB.js} +5 -5
  37. package/dist/start-scan-preamble.js +3 -3
  38. package/dist/{telemetry-runtime-JrDTvdnm.js → telemetry-runtime-BPoDv257.js} +13 -7
  39. package/dist/{version-osih6Dt3.js → version-D_7WsDdj.js} +5 -5
  40. package/dist/{why-BJLqu_nm.js → why-BNyRhp92.js} +4 -4
  41. package/dist/{with-run-span-DJ74_coc.js → with-run-span-DWAQaMTM.js} +6 -6
  42. package/package.json +4 -4
@@ -1,12 +1,12 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="556202c4-b165-5937-9cba-eea6e57d4c44")}catch(e){}}();
3
- import { u as METRIC } from "./constants-lt2tTZjE.js";
4
- import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0f7fd550-8b2f-561f-83cb-41e4bbdce558")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
+ import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-BwYegvoV.js";
5
5
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
6
- import { t as reportErrorToSentry } from "./report-error-CtR7ISJa.js";
7
- import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-DJ74_coc.js";
8
- import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-C9P8617N.js";
9
- import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-Cd3om7tH.js";
6
+ import { t as reportErrorToSentry } from "./report-error-Bd9jbzpT.js";
7
+ import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-DWAQaMTM.js";
8
+ import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-DckIVvHM.js";
9
+ import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-C5xnE5qj.js";
10
10
  import * as fs$1 from "node:fs";
11
11
  import * as path$1 from "node:path";
12
12
  import * as os$1 from "node:os";
@@ -720,7 +720,7 @@ const resolveRuntimeScanUrl = async (url) => {
720
720
  if (url !== void 0) return url;
721
721
  if (!isTuiEnvironmentSupported(resolveTuiEnvironment(process.stderr.isTTY === true))) throw new CliInputError("A URL is required outside an interactive terminal. Run `react-doctor scan <url>`.");
722
722
  recordCount(METRIC.runtimeScanUrlPromptShown);
723
- const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-lBPap3oz.js");
723
+ const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-C_0w1YyN.js");
724
724
  return promptRuntimeScanUrl();
725
725
  };
726
726
  const runtimeScanAction = async (url, flags) => {
@@ -767,5 +767,5 @@ const runtimeScanAction = async (url, flags) => {
767
767
  //#endregion
768
768
  export { runtimeScanAction };
769
769
 
770
- //# sourceMappingURL=runtime-scan-DA2v7tXp.js.map
771
- //# debugId=556202c4-b165-5937-9cba-eea6e57d4c44
770
+ //# sourceMappingURL=runtime-scan-BgS2BPIT.js.map
771
+ //# debugId=0f7fd550-8b2f-561f-83cb-41e4bbdce558
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2b98691a-3f83-520d-9317-91a6fe0f7751")}catch(e){}}();
3
- import { y as CliInputError } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fbd4b88b-e7b7-5428-a7a4-05759386d24e")}catch(e){}}();
3
+ import { y as CliInputError } from "./record-metric-BwYegvoV.js";
4
4
  //#region src/cli/runtime-scan/constants.ts
5
5
  const RUNTIME_SCAN_MAX_COMPONENT_EVENTS = 2e3;
6
6
  const RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES = 5 * 1024 * 1024;
@@ -72,5 +72,5 @@ const sanitizeRuntimeUrl = (rawUrl) => {
72
72
  //#endregion
73
73
  export { RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS as _, RUNTIME_SCAN_LOCAL_DEV_PORTS as a, RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS as b, RUNTIME_SCAN_MAX_SNAPSHOT_BYTES as c, RUNTIME_SCAN_MAX_TRACE_BYTES as d, RUNTIME_SCAN_PROBE_RELATIVE_PATH as f, RUNTIME_SCAN_SAFE_CDP_PAGE_URLS as g, RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER as h, RUNTIME_SCAN_LAYOUT_THRASH_RATIO as i, RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES as l, RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER as m, RUNTIME_SCAN_BROWSER_WIDTH_PX as n, RUNTIME_SCAN_MAX_COMPONENT_EVENTS as o, RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER as p, RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN as r, RUNTIME_SCAN_MAX_RECORDING_DURATION_MS as s, sanitizeRuntimeUrl as t, RUNTIME_SCAN_MAX_STRING_LENGTH as u, RUNTIME_SCAN_TRACE_CATEGORIES as v, RUNTIME_SCAN_TRACE_FILE_EXTENSION as y };
74
74
 
75
- //# sourceMappingURL=sanitize-runtime-url-C9P8617N.js.map
76
- //# debugId=2b98691a-3f83-520d-9317-91a6fe0f7751
75
+ //# sourceMappingURL=sanitize-runtime-url-DckIVvHM.js.map
76
+ //# debugId=fbd4b88b-e7b7-5428-a7a4-05759386d24e
@@ -1,11 +1,11 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07627792-21e9-5619-97fa-1805e983995f")}catch(e){}}();
3
- import { u as METRIC } from "./constants-lt2tTZjE.js";
4
- import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-3hs8M2Pf.js";
5
- import { i as warnDeprecatedDiff } from "./resolve-scope-Cq7AJdtO.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-CrcIovH2.js";
7
- import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-DrC3xu0y.js";
8
- import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-Cd3om7tH.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5b896e88-5dbe-5148-847a-e252766357c5")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
+ import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-BwYegvoV.js";
5
+ import { i as warnDeprecatedDiff } from "./resolve-scope-9PCLZBu5.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-BKzXcJV-.js";
7
+ import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-D_sTVHU7.js";
8
+ import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-C5xnE5qj.js";
9
9
  import path from "node:path";
10
10
  //#region src/cli/commands/scan.ts
11
11
  const runScanCommand = async (input) => {
@@ -29,7 +29,7 @@ const runScanCommand = async (input) => {
29
29
  warnDeprecatedFailOn(input.flags, scanTarget.userConfig);
30
30
  warnDeprecatedDiff(input.flags, scanTarget.userConfig);
31
31
  recordCount(METRIC.cliInvoked, 1, { command: input.invocationCommand });
32
- const { runScanApp } = await import("./run-scan-app-CfsLjIjZ.js");
32
+ const { runScanApp } = await import("./run-scan-app-Kt84uh98.js");
33
33
  const { exitCode } = await runScanApp({
34
34
  directory: input.directory,
35
35
  scanTarget,
@@ -45,5 +45,5 @@ const runScanCommand = async (input) => {
45
45
  //#endregion
46
46
  export { runScanCommand };
47
47
 
48
- //# sourceMappingURL=scan-BTjqJfRl.js.map
49
- //# debugId=07627792-21e9-5619-97fa-1805e983995f
48
+ //# sourceMappingURL=scan-DQDZUc2P.js.map
49
+ //# debugId=5b896e88-5dbe-5148-847a-e252766357c5
@@ -1,10 +1,10 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="72d27be3-5697-5773-a85f-4e8a0ab973fc")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="814aa3f4-9502-57eb-b174-8a7521c4995a")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-BwYegvoV.js";
4
4
  //#region src/cli/utils/should-skip-prompts.ts
5
5
  const shouldSkipPrompts = (input = {}) => Boolean(input.yes) || Boolean(input.json) || isNonInteractiveEnvironment() || !process.stdin.isTTY;
6
6
  //#endregion
7
7
  export { shouldSkipPrompts as t };
8
8
 
9
- //# sourceMappingURL=should-skip-prompts-DjIiPcs_.js.map
10
- //# debugId=72d27be3-5697-5773-a85f-4e8a0ab973fc
9
+ //# sourceMappingURL=should-skip-prompts-DszpotTl.js.map
10
+ //# debugId=814aa3f4-9502-57eb-b174-8a7521c4995a
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="53dabe9a-bf9e-5c36-8bd3-62c57f682ba0")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5c52f080-4b5e-5e05-9ac6-1fef588d00ff")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-BwYegvoV.js";
4
4
  //#region src/cli/utils/resolve-tui-environment.ts
5
5
  const resolveTuiEnvironment = (outputIsTty = process.stdout.isTTY === true) => ({
6
6
  isNonInteractiveEnvironment: isNonInteractiveEnvironment(),
@@ -21,5 +21,5 @@ const shouldUseTui = (input) => {
21
21
  //#endregion
22
22
  export { shouldUseTui as n, resolveTuiEnvironment as r, isTuiEnvironmentSupported as t };
23
23
 
24
- //# sourceMappingURL=should-use-tui-Cd3om7tH.js.map
25
- //# debugId=53dabe9a-bf9e-5c36-8bd3-62c57f682ba0
24
+ //# sourceMappingURL=should-use-tui-C5xnE5qj.js.map
25
+ //# debugId=5c52f080-4b5e-5e05-9ac6-1fef588d00ff
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b4d4e69b-32c9-5f45-b3e5-0f48da425a18")}catch(e){}}();
3
- import { $ as warmReactCompilerDetection, A as buildGitSourceListingRequest, I as prefetchGitCommand, K as resolveReactDoctorCacheDir, L as prespawnOxlintWorkers, M as buildOxlintWorkerSpawnSpec, W as resolveOxlintWorkerRuntime, _ as SCAN_PREAMBLE_SKIP_FLAGS, g as RUN_GIT_MAX_BUFFER_BYTES, j as buildOxlintChildEnv, q as resolveScanConcurrency, y as SCAN_RESULT_CACHE_GIT_ARGUMENTS, z as resolveConfiguredScanConcurrency } from "./constants-lt2tTZjE.js";
4
- import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-af0VF8nQ.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3830209a-da9b-5576-975a-70c9fd1fc361")}catch(e){}}();
3
+ import { $ as warmReactCompilerDetection, A as buildGitSourceListingRequest, I as prefetchGitCommand, K as resolveReactDoctorCacheDir, L as prespawnOxlintWorkers, M as buildOxlintWorkerSpawnSpec, W as resolveOxlintWorkerRuntime, _ as SCAN_PREAMBLE_SKIP_FLAGS, g as RUN_GIT_MAX_BUFFER_BYTES, j as buildOxlintChildEnv, q as resolveScanConcurrency, y as SCAN_RESULT_CACHE_GIT_ARGUMENTS, z as resolveConfiguredScanConcurrency } from "./constants-BmD_c3Yq.js";
4
+ import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CveNGcRi.js";
5
5
  import * as fs$1 from "node:fs";
6
6
  import * as path$1 from "node:path";
7
7
  //#region src/cli/utils/resolve-prefetch-scan-directory.ts
@@ -64,5 +64,5 @@ try {
64
64
  //#endregion
65
65
  export {};
66
66
 
67
- //# sourceMappingURL=start-scan-preamble-CQy0CKXS.js.map
68
- //# debugId=b4d4e69b-32c9-5f45-b3e5-0f48da425a18
67
+ //# sourceMappingURL=start-scan-preamble-DDAT_0oB.js.map
68
+ //# debugId=3830209a-da9b-5576-975a-70c9fd1fc361
@@ -1,4 +1,4 @@
1
- import "./start-scan-preamble-CQy0CKXS.js";
1
+ import "./start-scan-preamble-DDAT_0oB.js";
2
2
  export {};
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c75807c9-05bd-505c-b079-e56a042483e8")}catch(e){}}();
4
- //# debugId=c75807c9-05bd-505c-b079-e56a042483e8
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9a303471-5fe5-5af9-80f1-4f567ebf9f64")}catch(e){}}();
4
+ //# debugId=9a303471-5fe5-5af9-80f1-4f567ebf9f64
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3e41fb2a-e129-5471-bb2a-2eee19fcd5f6")}catch(e){}}();
3
- import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-lt2tTZjE.js";
4
- import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="009c8e28-0ea7-583f-b39e-64be198a2bc2")}catch(e){}}();
3
+ import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-BmD_c3Yq.js";
4
+ import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-BwYegvoV.js";
5
5
  //#region src/cli/utils/is-environment-error.ts
6
6
  const ENVIRONMENT_ERROR_CODES = new Set([
7
7
  "EACCES",
@@ -164,6 +164,8 @@ const scrubSentryEvent = (event) => {
164
164
  try {
165
165
  delete event.server_name;
166
166
  delete event.user;
167
+ delete event.modules;
168
+ if (event.debug_meta) anonymizeInPlace(event.debug_meta);
167
169
  const device = event.contexts?.device;
168
170
  if (device) delete device.name;
169
171
  if (event.contexts) anonymizeInPlace(event.contexts);
@@ -178,6 +180,9 @@ const scrubSentryEvent = (event) => {
178
180
  if (typeof exception.value === "string") exception.value = anonymizeText(exception.value);
179
181
  for (const frame of exception.stacktrace?.frames ?? []) {
180
182
  delete frame.vars;
183
+ delete frame.pre_context;
184
+ delete frame.context_line;
185
+ delete frame.post_context;
181
186
  if (typeof frame.filename === "string") frame.filename = scrubSensitivePaths(frame.filename);
182
187
  if (typeof frame.abs_path === "string") frame.abs_path = scrubSensitivePaths(frame.abs_path);
183
188
  if (typeof frame.module === "string") frame.module = scrubSensitivePaths(frame.module);
@@ -212,13 +217,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
212
217
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
213
218
  * standard `SENTRY_RELEASE` override.
214
219
  */
215
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.22-dev.ec45ff9`;
220
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.23-dev.661cb18`;
216
221
  /**
217
222
  * Deployment environment shown in Sentry's environment filter. Defaults to
218
223
  * `production` for tagged releases and `development` for dev/unbuilt versions,
219
224
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
220
225
  */
221
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.22-dev.ec45ff9") ? "development" : "production");
226
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.23-dev.661cb18") ? "development" : "production");
222
227
  //#endregion
223
228
  //#region src/instrument.ts
224
229
  let sentryPromise = null;
@@ -251,6 +256,7 @@ const initializeSentryModule = (Sentry) => {
251
256
  release: resolveSentryRelease(),
252
257
  environment: resolveSentryEnvironment(),
253
258
  sendDefaultPii: false,
259
+ integrations: (integrations) => integrations.filter((integration) => integration.name !== "ContextLines" && integration.name !== "Modules"),
254
260
  tracesSampleRate: 0,
255
261
  registerEsmLoaderHooks: false,
256
262
  debug: isEnvFlagEnabled(process.env.SENTRY_DEBUG),
@@ -396,5 +402,5 @@ const shutdownTelemetry = async () => {
396
402
  //#endregion
397
403
  export { initializeSentry as a, isNpmCacheCorruptionError as c, getSentry as i, formatEnvironmentError as l, shutdownTelemetry as n, isExpectedUserError as o, flushSentry as r, formatNpmCacheCorruptionError as s, getTelemetryContext as t, isEnvironmentError as u };
398
404
 
399
- //# sourceMappingURL=telemetry-runtime-JrDTvdnm.js.map
400
- //# debugId=3e41fb2a-e129-5471-bb2a-2eee19fcd5f6
405
+ //# sourceMappingURL=telemetry-runtime-BPoDv257.js.map
406
+ //# debugId=009c8e28-0ea7-583f-b39e-64be198a2bc2
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e4a47c81-bf56-5271-b9b5-2e15a193fbd2")}catch(e){}}();
3
- import { u as METRIC } from "./constants-lt2tTZjE.js";
4
- import { _ as VERSION, t as recordCount } from "./record-metric-3hs8M2Pf.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0f2bae30-2457-5a05-9fea-cf13e469a999")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
+ import { _ as VERSION, t as recordCount } from "./record-metric-BwYegvoV.js";
5
5
  //#region src/cli/commands/version.ts
6
6
  /**
7
7
  * oclif-style version line. 12-factor CLI Apps (#3, "What version am I
@@ -18,5 +18,5 @@ const versionAction = () => {
18
18
  //#endregion
19
19
  export { versionAction };
20
20
 
21
- //# sourceMappingURL=version-osih6Dt3.js.map
22
- //# debugId=e4a47c81-bf56-5271-b9b5-2e15a193fbd2
21
+ //# sourceMappingURL=version-D_7WsDdj.js.map
22
+ //# debugId=0f2bae30-2457-5a05-9fea-cf13e469a999
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b0fb8ec-2889-539e-b202-7212ffc029d5")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-CrcIovH2.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fe48159b-a25a-5fa6-bee3-85374ab21424")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-BKzXcJV-.js";
4
4
  //#region src/cli/commands/why.ts
5
5
  /**
6
6
  * `why <file:line>` — explains why a rule fired (or why a suppression didn't
@@ -17,5 +17,5 @@ const whyAction = async (location, options) => {
17
17
  //#endregion
18
18
  export { whyAction };
19
19
 
20
- //# sourceMappingURL=why-BJLqu_nm.js.map
21
- //# debugId=7b0fb8ec-2889-539e-b202-7212ffc029d5
20
+ //# sourceMappingURL=why-BNyRhp92.js.map
21
+ //# debugId=fe48159b-a25a-5fa6-bee3-85374ab21424
@@ -1,8 +1,8 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="afc72f95-27ca-5641-bb02-83fce97fc2fb")}catch(e){}}();
3
- import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-lt2tTZjE.js";
4
- import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-3hs8M2Pf.js";
5
- import { t as getTelemetryContext } from "./telemetry-runtime-JrDTvdnm.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92ca6e56-0111-5b5f-8e2b-1b7cbfc99a8e")}catch(e){}}();
3
+ import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-BmD_c3Yq.js";
4
+ import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-BwYegvoV.js";
5
+ import { t as getTelemetryContext } from "./telemetry-runtime-BPoDv257.js";
6
6
  import { i as setActiveRunTrace, r as recordRunTraceId } from "./active-run-trace-Dewycxda.js";
7
7
  //#region src/cli/utils/with-run-span.ts
8
8
  /**
@@ -107,5 +107,5 @@ const recordSentryProjectContext = (projectInfo, rootSpan, options = {}) => {
107
107
  //#endregion
108
108
  export { resetSentryRunState as n, withRunSpan as r, recordSentryProjectContext as t };
109
109
 
110
- //# sourceMappingURL=with-run-span-DJ74_coc.js.map
111
- //# debugId=afc72f95-27ca-5641-bb02-83fce97fc2fb
110
+ //# sourceMappingURL=with-run-span-DWAQaMTM.js.map
111
+ //# debugId=92ca6e56-0111-5b5f-8e2b-1b7cbfc99a8e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.22-dev.ec45ff9",
3
+ "version": "0.9.23-dev.661cb18",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -70,7 +70,7 @@
70
70
  "typescript": ">=5.0.4 <6",
71
71
  "yaml": "^2.9.0",
72
72
  "yoga-layout": "~3.2.1",
73
- "oxlint-plugin-react-doctor": "0.9.22-dev.ec45ff9"
73
+ "oxlint-plugin-react-doctor": "0.9.23-dev.661cb18"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/babel__code-frame": "^7.27.0",
@@ -83,8 +83,8 @@
83
83
  "ora": "^9.4.0",
84
84
  "react": "19.2.5",
85
85
  "react-devtools-core": "^7.0.1",
86
- "@react-doctor/api": "0.9.22",
87
- "@react-doctor/core": "0.9.22"
86
+ "@react-doctor/core": "0.9.23",
87
+ "@react-doctor/api": "0.9.23"
88
88
  },
89
89
  "engines": {
90
90
  "node": "^20.19.0 || >=22.13.0"