react-doctor 0.9.14-dev.499a020 → 0.9.14-dev.a4daa0a

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 (37) hide show
  1. package/dist/{build-section-divider-BsKw6rbA.js → build-section-divider-DXPMCPQI.js} +5 -5
  2. package/dist/{ci-Y7ntr_X7.js → ci-DM8i8ibJ.js} +13 -13
  3. package/dist/cli.js +28 -27
  4. package/dist/{constants-CW_854PH.js → constants-CgtYeXfx.js} +6 -6
  5. package/dist/{design-CZbXwzWh.js → design-BqsWTbq4.js} +4 -4
  6. package/dist/{exit-gracefully-Bq8kCmar.js → exit-gracefully-CumOcXkB.js} +6 -6
  7. package/dist/{handle-error-DkZtH4y1.js → handle-error-CzrZM6M9.js} +6 -6
  8. package/dist/index.js +20 -33
  9. package/dist/{inspect-4R70DaBp.js → inspect-BpgavOge.js} +16 -16
  10. package/dist/{install-DSOkcCn6.js → install-NXMz0C2z.js} +10 -10
  11. package/dist/{install-doctor-script-k5jxcUWB.js → install-doctor-script-B8Fe4O9q.js} +5 -5
  12. package/dist/{install-github-workflow-Dh3nS6ms.js → install-github-workflow-DZ5pB2sn.js} +5 -5
  13. package/dist/{install-react-doctor-NmiRJQtp.js → install-react-doctor-DUmrhGIH.js} +9 -9
  14. package/dist/{is-cache-globally-disabled-CoHiYz2i.js → is-cache-globally-disabled-Bi2D2qVm.js} +4 -4
  15. package/dist/{jsx-runtime-B1PPqZBs.js → jsx-runtime-Bck__ydP.js} +6 -6
  16. package/dist/{print-branded-header-ydu9MCpt.js → print-branded-header-BblHjmQ3.js} +4 -4
  17. package/dist/{prompt-runtime-scan-url-BEFbrKze.js → prompt-runtime-scan-url-B1pb8djL.js} +5 -5
  18. package/dist/{read-object-file-f9AWbDOo.js → read-object-file-DAd8K7hJ.js} +4 -4
  19. package/dist/{record-metric-BeiisdDK.js → record-metric-CoCF8uol.js} +20 -33
  20. package/dist/{report-error-CwReeGgL.js → report-error-BgWnbg-R.js} +6 -6
  21. package/dist/{report-workflow-result-CRhHHcHp.js → report-workflow-result-xcbPz4Mk.js} +6 -6
  22. package/dist/{resolve-scope-DsrT6gaf.js → resolve-scope-Cmq47ycg.js} +6 -6
  23. package/dist/{rules-Bhk46JNb.js → rules-smbOWgcx.js} +7 -7
  24. package/dist/{run-scan-app-B_r_jHg-.js → run-scan-app-BngQg0Jo.js} +11 -11
  25. package/dist/{runtime-scan-B6v3G55b.js → runtime-scan-Cxieuerf.js} +10 -10
  26. package/dist/{sanitize-runtime-url-CVRMHksi.js → sanitize-runtime-url-C6Kym3lZ.js} +4 -4
  27. package/dist/{scan-BJsk-x4c.js → scan-CJgY1FxB.js} +10 -10
  28. package/dist/{should-fail-scan-gate-B8cvpr6W.js → should-fail-scan-gate-ZK-MC2Hz.js} +28 -17
  29. package/dist/{should-skip-prompts-CupUff2k.js → should-skip-prompts-5gkpiWkq.js} +4 -4
  30. package/dist/{should-use-tui-t0DIGfJ0.js → should-use-tui-BO-OsQx1.js} +4 -4
  31. package/dist/{start-scan-preamble-D0QepYZ_.js → start-scan-preamble-DVB7vlit.js} +5 -5
  32. package/dist/start-scan-preamble.js +3 -3
  33. package/dist/{telemetry-runtime-DfK-XYFO.js → telemetry-runtime-BJqsD1A_.js} +7 -7
  34. package/dist/{version-DpQFTCI_.js → version-DT50iLsQ.js} +5 -5
  35. package/dist/{why-DA3u09OY.js → why-CFo6IYQ2.js} +4 -4
  36. package/dist/{with-run-span-DP84SJbD.js → with-run-span-50IC8C-j.js} +6 -6
  37. package/package.json +4 -4
@@ -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]="a78f2df1-d9f3-5a1b-a64f-1fa476012981")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-BeiisdDK.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]="5cae4769-5a4c-5bf9-8413-f73217964bc3")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-CoCF8uol.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-CupUff2k.js.map
10
- //# debugId=a78f2df1-d9f3-5a1b-a64f-1fa476012981
9
+ //# sourceMappingURL=should-skip-prompts-5gkpiWkq.js.map
10
+ //# debugId=5cae4769-5a4c-5bf9-8413-f73217964bc3
@@ -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]="c1daaf3b-bad4-5a10-b123-2388dd6a80cf")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-BeiisdDK.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]="79b25344-97d2-549d-8fbc-cac9e8e55dbf")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-CoCF8uol.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-t0DIGfJ0.js.map
25
- //# debugId=c1daaf3b-bad4-5a10-b123-2388dd6a80cf
24
+ //# sourceMappingURL=should-use-tui-BO-OsQx1.js.map
25
+ //# debugId=79b25344-97d2-549d-8fbc-cac9e8e55dbf
@@ -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]="e56df6c0-6b77-50e8-a340-9a955250c5de")}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-CW_854PH.js";
4
- import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CoHiYz2i.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]="473a569a-1550-543b-bc87-a3924079310e")}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-CgtYeXfx.js";
4
+ import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-Bi2D2qVm.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-D0QepYZ_.js.map
68
- //# debugId=e56df6c0-6b77-50e8-a340-9a955250c5de
67
+ //# sourceMappingURL=start-scan-preamble-DVB7vlit.js.map
68
+ //# debugId=473a569a-1550-543b-bc87-a3924079310e
@@ -1,4 +1,4 @@
1
- import "./start-scan-preamble-D0QepYZ_.js";
1
+ import "./start-scan-preamble-DVB7vlit.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]="1bc9f618-49b3-536d-a720-038a511a79f8")}catch(e){}}();
4
- //# debugId=1bc9f618-49b3-536d-a720-038a511a79f8
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]="ca2c2cad-5e45-5580-8e20-1f45c25040e2")}catch(e){}}();
4
+ //# debugId=ca2c2cad-5e45-5580-8e20-1f45c25040e2
@@ -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]="ced590bf-8510-5132-a42a-2c1f78003801")}catch(e){}}();
3
- import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-CW_854PH.js";
4
- import { An as void_, At as isProjectDiscoveryError, Cn as buildWithScope, Dn as close, J as anonymizeText, Jt as scrubSensitivePaths, Ln as isErrnoException, On as makeUnsafe, Pn as messageFromUnknown, Pt as layerObservability, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, jt as isReactDoctorError, ln as make, o as buildSentryScope, q as anonymizeInPlace, vn as runPromise, y as CliInputError, yn as runSync } from "./record-metric-BeiisdDK.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]="abe125ce-36c7-5bac-9ef4-138a04e1ae78")}catch(e){}}();
3
+ import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-CgtYeXfx.js";
4
+ import { An as void_, At as isProjectDiscoveryError, Cn as buildWithScope, Dn as close, J as anonymizeText, Jt as scrubSensitivePaths, Ln as isErrnoException, On as makeUnsafe, Pn as messageFromUnknown, Pt as layerObservability, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, jt as isReactDoctorError, ln as make, o as buildSentryScope, q as anonymizeInPlace, vn as runPromise, y as CliInputError, yn as runSync } from "./record-metric-CoCF8uol.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.14-dev.499a020`;
215
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.14-dev.a4daa0a`;
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.14-dev.499a020") ? "development" : "production");
221
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.14-dev.a4daa0a") ? "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-DfK-XYFO.js.map
400
- //# debugId=ced590bf-8510-5132-a42a-2c1f78003801
399
+ //# sourceMappingURL=telemetry-runtime-BJqsD1A_.js.map
400
+ //# debugId=abe125ce-36c7-5bac-9ef4-138a04e1ae78
@@ -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]="2d755f72-76f2-5b86-85d3-ebb6d10a38b8")}catch(e){}}();
3
- import { u as METRIC } from "./constants-CW_854PH.js";
4
- import { _ as VERSION, t as recordCount } from "./record-metric-BeiisdDK.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]="327c45f5-3b9b-5b5e-901e-32b11b5c5716")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-CgtYeXfx.js";
4
+ import { _ as VERSION, t as recordCount } from "./record-metric-CoCF8uol.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-DpQFTCI_.js.map
22
- //# debugId=2d755f72-76f2-5b86-85d3-ebb6d10a38b8
21
+ //# sourceMappingURL=version-DT50iLsQ.js.map
22
+ //# debugId=327c45f5-3b9b-5b5e-901e-32b11b5c5716
@@ -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]="8052e8a0-0381-59c2-95da-b1e4a0c9a4c5")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-4R70DaBp.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]="9b5a0b78-4be7-5cf1-ac82-4390c10a3fc7")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-BpgavOge.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-DA3u09OY.js.map
21
- //# debugId=8052e8a0-0381-59c2-95da-b1e4a0c9a4c5
20
+ //# sourceMappingURL=why-CFo6IYQ2.js.map
21
+ //# debugId=9b5a0b78-4be7-5cf1-ac82-4390c10a3fc7
@@ -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]="6320936d-872f-5a6d-b471-509141a7a52d")}catch(e){}}();
3
- import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-CW_854PH.js";
4
- import { An as void_, c as setSentryProjectInfo, dn as makeSpan, gn as provideContext, kn as fail, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, yn as runSync } from "./record-metric-BeiisdDK.js";
5
- import { t as getTelemetryContext } from "./telemetry-runtime-DfK-XYFO.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]="817b16f7-a2a0-5257-9457-a55069e7070e")}catch(e){}}();
3
+ import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-CgtYeXfx.js";
4
+ import { An as void_, c as setSentryProjectInfo, dn as makeSpan, gn as provideContext, kn as fail, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, yn as runSync } from "./record-metric-CoCF8uol.js";
5
+ import { t as getTelemetryContext } from "./telemetry-runtime-BJqsD1A_.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-DP84SJbD.js.map
111
- //# debugId=6320936d-872f-5a6d-b471-509141a7a52d
110
+ //# sourceMappingURL=with-run-span-50IC8C-j.js.map
111
+ //# debugId=817b16f7-a2a0-5257-9457-a55069e7070e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.14-dev.499a020",
3
+ "version": "0.9.14-dev.a4daa0a",
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.14-dev.499a020"
73
+ "oxlint-plugin-react-doctor": "0.9.14-dev.a4daa0a"
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.14",
87
- "@react-doctor/core": "0.9.14"
86
+ "@react-doctor/core": "0.9.14",
87
+ "@react-doctor/api": "0.9.14"
88
88
  },
89
89
  "engines": {
90
90
  "node": "^20.19.0 || >=22.13.0"