react-doctor 0.9.17 → 0.9.18-dev.9a79847

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 (43) hide show
  1. package/README.md +16 -72
  2. package/dist/{build-section-divider-BpE5NDDX.js → build-section-divider-F18iXtxb.js} +5 -5
  3. package/dist/{ci-DNtt9X6S.js → ci-CgtjUZEp.js} +24 -14
  4. package/dist/cli.js +41 -32
  5. package/dist/constants-DNh19qg9.js +2 -2
  6. package/dist/{constants-DHn5rUeg.js → constants-_b1h6lxa.js} +7 -5
  7. package/dist/{design-u2afuNir.js → design-CtHsB1nr.js} +4 -4
  8. package/dist/duplicate-jsx-worker.js +3 -3
  9. package/dist/{exit-gracefully-DlI5QxjC.js → exit-gracefully-D1DuwwPU.js} +6 -6
  10. package/dist/{handle-error-ChH7NTTt.js → handle-error-B3AmBrIU.js} +6 -6
  11. package/dist/index.d.ts +14 -6
  12. package/dist/index.js +332 -58
  13. package/dist/{inspect-BEMrqB0D.js → inspect-BhFj2qyJ.js} +31 -23
  14. package/dist/{install-rmw4kZuQ.js → install-3nDOB3hj.js} +10 -10
  15. package/dist/{install-doctor-script-D5XbyGON.js → install-doctor-script-DHJd_h8L.js} +10 -6
  16. package/dist/{install-github-workflow-bsR3MAJ4.js → install-github-workflow-BPUJzESV.js} +22 -8
  17. package/dist/{install-react-doctor-CEZd9boZ.js → install-react-doctor-IU3RmjJs.js} +9 -9
  18. package/dist/{is-cache-globally-disabled-DDlh_f1u.js → is-cache-globally-disabled-BTTLvugj.js} +4 -4
  19. package/dist/{jsx-runtime-RhgTgCyJ.js → jsx-runtime-BpqeSsvv.js} +6 -6
  20. package/dist/{print-branded-header-DUpSxfB1.js → print-branded-header-Cabdds8M.js} +4 -4
  21. package/dist/{prompt-runtime-scan-url-ClnyA-kD.js → prompt-runtime-scan-url-DqGtnZaE.js} +5 -5
  22. package/dist/{read-object-file-BmbbCthv.js → read-object-file-OstnyYB2.js} +4 -4
  23. package/dist/{record-metric-BNXhF2A-.js → record-metric-CgebwK0K.js} +439 -84
  24. package/dist/{report-error-BaQdqDfo.js → report-error-DYLN3xZA.js} +6 -6
  25. package/dist/{report-workflow-result-keduRDKN.js → report-workflow-result-BfR_cSwa.js} +8 -7
  26. package/dist/{should-fail-scan-gate-DobEL_kS.js → resolve-scan-exit-code-CMj5rx-z.js} +38 -41
  27. package/dist/{resolve-scope-_R9av4PA.js → resolve-scope-DlV1G6NB.js} +10 -9
  28. package/dist/{rules-mbLozamL.js → rules-CCbE4U-k.js} +7 -7
  29. package/dist/{run-scan-app-yG6ELpUl.js → run-scan-app-D8hbdBvF.js} +33 -23
  30. package/dist/{runtime-scan-DNhYo683.js → runtime-scan-BINkjxmp.js} +10 -10
  31. package/dist/{sanitize-runtime-url-DM_qbPGY.js → sanitize-runtime-url-B3CaL49D.js} +4 -4
  32. package/dist/{scan-CAAixMS9.js → scan-D0JRVcBc.js} +14 -13
  33. package/dist/{should-skip-prompts-CGTEgq2F.js → should-skip-prompts-BQ6Bv8nf.js} +4 -4
  34. package/dist/{should-use-tui-DG2l-Td3.js → should-use-tui-BxO6yE3o.js} +4 -4
  35. package/dist/skills/react-doctor/SKILL.md +19 -8
  36. package/dist/skills/react-doctor/references/explain.md +5 -0
  37. package/dist/{start-scan-preamble-BPz3nzCQ.js → start-scan-preamble-BbzEgrwo.js} +5 -5
  38. package/dist/start-scan-preamble.js +3 -3
  39. package/dist/{telemetry-runtime-CUn1--rM.js → telemetry-runtime-BmL4aFx2.js} +7 -7
  40. package/dist/{version-CbFBCUY9.js → version-D2xd0HSm.js} +5 -5
  41. package/dist/{why-BIX2FUbP.js → why-CO9Za1ph.js} +4 -4
  42. package/dist/{with-run-span-BsS7dU6e.js → with-run-span-CMr4jR2i.js} +6 -6
  43. package/package.json +4 -4
@@ -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]="02569640-91b6-50fe-8744-090eecaece6b")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-BNXhF2A-.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]="d5587c1a-70ec-5e86-81f8-26580775eda3")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-CgebwK0K.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-DG2l-Td3.js.map
25
- //# debugId=02569640-91b6-50fe-8744-090eecaece6b
24
+ //# sourceMappingURL=should-use-tui-BxO6yE3o.js.map
25
+ //# debugId=d5587c1a-70ec-5e86-81f8-26580775eda3
@@ -42,6 +42,12 @@ The playbook is the single source of truth — a scan → filter → triage →
42
42
 
43
43
  Pair it with the matching per-rule prompts at `https://www.react.doctor/prompts/rules/<plugin>/<rule>.md` (fetched on demand inside the playbook) so each fix uses the canonical, reviewer-tested recipe.
44
44
 
45
+ Use `--scope contextual --base origin/main` when a team wants existing findings
46
+ in the code it is editing. Rules can select an element, function, file, or an
47
+ explicit set of related nodes. For `exhaustive-deps`, edits in the hook call or a
48
+ resolved local callback can surface a finding on an unchanged dependency array.
49
+ Rules without wider ownership keep changed-line filtering.
50
+
45
51
  ## Configuring or explaining rules
46
52
 
47
53
  When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read [references/explain.md](references/explain.md) and follow it. Start with `npx react-doctor@latest rules explain <rule>`, then apply the narrowest control via `npx react-doctor@latest rules disable|set|category|ignore-tag …`, which edits your `doctor.config.*` (or `package.json#reactDoctor`).
@@ -52,15 +58,20 @@ When the user wants to understand a rule, disagrees with one, or wants to disabl
52
58
  npx react-doctor@latest --verbose --scope changed
53
59
  ```
54
60
 
55
- | Flag | Purpose |
56
- | ----------------- | ---------------------------------------------------------------- |
57
- | `.` | Scan current directory |
58
- | `--verbose` | Show affected files and line numbers per rule |
59
- | `--scope changed` | Only report issues introduced vs the base branch (default: full) |
60
- | `--scope lines` | Only report issues on the changed lines |
61
- | `--score` | Output only the numeric score |
62
- | `design` | Run only the focused UI design diagnostics |
61
+ | Flag | Purpose |
62
+ | -------------------- | --------------------------------------------------------------------------------------- |
63
+ | `.` | Scan current directory |
64
+ | `--verbose` | Show affected files and line numbers per rule |
65
+ | `--scope changed` | Only report issues introduced vs the base branch (default: full) |
66
+ | `--scope contextual` | Report findings in modified functions, JSX elements, or files, as selected by each rule |
67
+ | `--scope lines` | Only report issues on the changed lines |
68
+ | `--score` | Output only the numeric score |
69
+ | `design` | Run only the focused UI design diagnostics |
63
70
 
64
71
  ### Reuse a base scan
65
72
 
66
73
  Save a complete `--json` scan, then pass `--baseline base-report.json` to report only new findings. This also works with `--scope changed`. Use the same version and rules for both scans. Findings are grouped by rule and file path, following Git renames. Only increases in each group's count are reported; groups without an increase skip location matching. Fingerprints, message similarity, and Git-adjusted line distance select the added findings. Formatting and edits that keep the same counts report no new findings. Saved reports must use the same `textComponents`, `rawTextWrapperComponents`, and `respectInlineDisables` settings. Regenerate the base report after changing these settings, or use a Git comparison. Older reports without fingerprints or `sourceFilterConfigHash` must be regenerated.
74
+
75
+ ### GitLab warning status
76
+
77
+ For GitLab CI, `--warning-exit-code 123` returns `123` for non-blocking warnings. Pair it with `allow_failure: { exit_codes: 123 }`. Errors still return `1`. Accepts integers from `2` to `255`. `--blocking warning` still returns `1`. `--blocking none` or `--score` skips this warning signal.
@@ -55,6 +55,11 @@ Match the control to the intent — prefer the narrowest one:
55
55
 
56
56
  How the layers combine: `ignore.tags` disables every rule carrying that tag **before** linting, so a tagged rule stays off even if `rules`/`categories` set it to `warn`/`error` (a rule-level override cannot re-enable a tag-ignored rule). For rules that aren't tag-disabled, `rules` overrides `categories` overrides the rule's default. `surfaces` is visibility-only and never changes whether a rule runs.
57
57
 
58
+ With `customRulesOnly: true`, ported rules stay off by default. Set a specific rule
59
+ to `"warn"` or `"error"` in `rules` to enable it. Current and legacy rule keys both
60
+ work. Category settings do not enable ported rules. Project requirements and tag
61
+ exclusions still apply, and the React Compiler plugin stays off.
62
+
58
63
  ## Config shape
59
64
 
60
65
  Config lives in `doctor.config.ts` (or `.js`/`.mjs`/`.cjs`/`.json`/`.jsonc`), or the `reactDoctor` key in `package.json`. The `rules` commands edit whichever exists — TS/JS edits preserve formatting (via magicast) — and create `doctor.config.json` when none does, stamping `$schema`:
@@ -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]="0ecf30ea-9d69-54a7-a97a-7e36bd014c63")}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-DHn5rUeg.js";
4
- import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-DDlh_f1u.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]="e879de13-5f28-5c16-ad17-e4b7b556445c")}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-_b1h6lxa.js";
4
+ import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-BTTLvugj.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-BPz3nzCQ.js.map
68
- //# debugId=0ecf30ea-9d69-54a7-a97a-7e36bd014c63
67
+ //# sourceMappingURL=start-scan-preamble-BbzEgrwo.js.map
68
+ //# debugId=e879de13-5f28-5c16-ad17-e4b7b556445c
@@ -1,4 +1,4 @@
1
- import "./start-scan-preamble-BPz3nzCQ.js";
1
+ import "./start-scan-preamble-BbzEgrwo.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]="3be9ee49-d3de-5162-8cf9-ad3d9b8b20b9")}catch(e){}}();
4
- //# debugId=3be9ee49-d3de-5162-8cf9-ad3d9b8b20b9
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]="cf231131-1c7a-5978-8419-1a4c1f8a7b1d")}catch(e){}}();
4
+ //# debugId=cf231131-1c7a-5978-8419-1a4c1f8a7b1d
@@ -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]="d3677805-d716-5732-9fc0-4c777cf8b48f")}catch(e){}}();
3
- import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-DHn5rUeg.js";
4
- import { Cn as runSync, Dn as buildWithScope, It as layerObservability, J as anonymizeInPlace, Mn as makeUnsafe, Mt as isProjectDiscoveryError, Nt as isReactDoctorError, Pn as void_, Rn as messageFromUnknown, Sn as runPromise, Vn as isErrnoException, Y as anonymizeText, Zt as scrubSensitivePaths, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, jn as close, o as buildSentryScope, pn as make, y as CliInputError } from "./record-metric-BNXhF2A-.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]="1dd860de-c8c8-52ac-a705-4c3f18eb6562")}catch(e){}}();
3
+ import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-_b1h6lxa.js";
4
+ import { $t as scrubSensitivePaths, Bn as messageFromUnknown, Ft as isReactDoctorError, In as void_, J as anonymizeInPlace, Nn as close, Pn as makeUnsafe, Pt as isProjectDiscoveryError, Rt as layerObservability, Tn as runSync, Un as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, hn as make, i as isTelemetryEnabled, kn as buildWithScope, o as buildSentryScope, wn as runPromise, y as CliInputError } from "./record-metric-CgebwK0K.js";
5
5
  //#region src/cli/utils/is-environment-error.ts
6
6
  const ENVIRONMENT_ERROR_CODES = new Set([
7
7
  "EACCES",
@@ -212,13 +212,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
212
212
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
213
213
  * standard `SENTRY_RELEASE` override.
214
214
  */
215
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.17`;
215
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.18-dev.9a79847`;
216
216
  /**
217
217
  * Deployment environment shown in Sentry's environment filter. Defaults to
218
218
  * `production` for tagged releases and `development` for dev/unbuilt versions,
219
219
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
220
220
  */
221
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.17") ? "development" : "production");
221
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.18-dev.9a79847") ? "development" : "production");
222
222
  //#endregion
223
223
  //#region src/instrument.ts
224
224
  let sentryPromise = null;
@@ -396,5 +396,5 @@ const shutdownTelemetry = async () => {
396
396
  //#endregion
397
397
  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
398
 
399
- //# sourceMappingURL=telemetry-runtime-CUn1--rM.js.map
400
- //# debugId=d3677805-d716-5732-9fc0-4c777cf8b48f
399
+ //# sourceMappingURL=telemetry-runtime-BmL4aFx2.js.map
400
+ //# debugId=1dd860de-c8c8-52ac-a705-4c3f18eb6562
@@ -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]="c08e6b2d-bff8-56e6-b74e-772c2cbddf7a")}catch(e){}}();
3
- import { u as METRIC } from "./constants-DHn5rUeg.js";
4
- import { _ as VERSION, t as recordCount } from "./record-metric-BNXhF2A-.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]="9b52e2fb-4395-5811-806c-269a851b5140")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-_b1h6lxa.js";
4
+ import { _ as VERSION, t as recordCount } from "./record-metric-CgebwK0K.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-CbFBCUY9.js.map
22
- //# debugId=c08e6b2d-bff8-56e6-b74e-772c2cbddf7a
21
+ //# sourceMappingURL=version-D2xd0HSm.js.map
22
+ //# debugId=9b52e2fb-4395-5811-806c-269a851b5140
@@ -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]="c6d94df1-9f0c-5a18-a7f6-afa2b911e8b4")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-BEMrqB0D.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]="0cf4ce34-9b00-5aa6-81cf-5bd6c907e723")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-BhFj2qyJ.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-BIX2FUbP.js.map
21
- //# debugId=c6d94df1-9f0c-5a18-a7f6-afa2b911e8b4
20
+ //# sourceMappingURL=why-CO9Za1ph.js.map
21
+ //# debugId=0cf4ce34-9b00-5aa6-81cf-5bd6c907e723
@@ -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]="f29dc02c-129d-5cc3-a3a3-0b4995c2419a")}catch(e){}}();
3
- import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-DHn5rUeg.js";
4
- import { Cn as runSync, Nn as fail, Pn as void_, bn as provideContext, c as setSentryProjectInfo, hn as makeSpan, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext } from "./record-metric-BNXhF2A-.js";
5
- import { t as getTelemetryContext } from "./telemetry-runtime-CUn1--rM.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]="879a7504-dca7-5c65-bbed-eaa824ff7135")}catch(e){}}();
3
+ import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-_b1h6lxa.js";
4
+ import { Fn as fail, In as void_, Sn as provideContext, Tn as runSync, _n as makeSpan, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext } from "./record-metric-CgebwK0K.js";
5
+ import { t as getTelemetryContext } from "./telemetry-runtime-BmL4aFx2.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-BsS7dU6e.js.map
111
- //# debugId=f29dc02c-129d-5cc3-a3a3-0b4995c2419a
110
+ //# sourceMappingURL=with-run-span-CMr4jR2i.js.map
111
+ //# debugId=879a7504-dca7-5c65-bbed-eaa824ff7135
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.17",
3
+ "version": "0.9.18-dev.9a79847",
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.17"
73
+ "oxlint-plugin-react-doctor": "0.9.18-dev.9a79847"
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.17",
87
- "@react-doctor/core": "0.9.17"
86
+ "@react-doctor/api": "0.9.18",
87
+ "@react-doctor/core": "0.9.18"
88
88
  },
89
89
  "engines": {
90
90
  "node": "^20.19.0 || >=22.13.0"