react-doctor 0.5.1-dev.038aaf7 → 0.5.1-dev.22268f7

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 (2) hide show
  1. package/dist/cli.js +54 -27
  2. package/package.json +6 -6
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
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]="60598d2a-66c7-5091-a013-028926866fbd")}catch(e){}}();
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]="10847467-aed6-53d3-b6bd-1ed24087b9e7")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as NodeChildProcess from "node:child_process";
5
5
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
@@ -43673,7 +43673,7 @@ const makeNoopConsole = () => ({
43673
43673
  });
43674
43674
  //#endregion
43675
43675
  //#region src/cli/utils/version.ts
43676
- const VERSION = "0.5.1-dev.038aaf7";
43676
+ const VERSION = "0.5.1-dev.22268f7";
43677
43677
  //#endregion
43678
43678
  //#region src/cli/utils/json-mode.ts
43679
43679
  let context = null;
@@ -44031,13 +44031,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
44031
44031
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
44032
44032
  * standard `SENTRY_RELEASE` override.
44033
44033
  */
44034
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1-dev.038aaf7`;
44034
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1-dev.22268f7`;
44035
44035
  /**
44036
44036
  * Deployment environment shown in Sentry's environment filter. Defaults to
44037
44037
  * `production` for tagged releases and `development` for dev/unbuilt versions,
44038
44038
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
44039
44039
  */
44040
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1-dev.038aaf7") ? "development" : "production");
44040
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1-dev.22268f7") ? "development" : "production");
44041
44041
  /**
44042
44042
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
44043
44043
  * (set to `0` to disable tracing) and falls back to
@@ -47685,6 +47685,7 @@ const buildConfigAttributes = (input) => {
47685
47685
  noScore: input.noScore,
47686
47686
  respectInlineDisables: input.respectInlineDisables,
47687
47687
  showWarnings: input.showWarnings,
47688
+ usedOutputDir: input.usedOutputDir,
47688
47689
  ignoredTagCount: input.ignoredTagCount,
47689
47690
  hasCustomConfig: input.hasCustomConfig,
47690
47691
  rulesConfigured: ruleKeys.length,
@@ -48502,15 +48503,22 @@ const printNoScoreHeader = (noScoreMessage) => gen(function* () {
48502
48503
  });
48503
48504
  //#endregion
48504
48505
  //#region src/cli/utils/write-diagnostics-directory.ts
48505
- const writeDiagnosticsDirectory = (diagnostics) => {
48506
- const outputDirectory = Path.join(tmpdir(), `react-doctor-${randomUUID()}`);
48507
- NFS.mkdirSync(outputDirectory, { recursive: true });
48508
- for (const [ruleKey, ruleDiagnostics] of buildSortedRuleGroups(diagnostics)) {
48509
- const fileName = ruleKey.replace(/\//g, "--") + ".txt";
48510
- NFS.writeFileSync(Path.join(outputDirectory, fileName), formatRuleSummary(ruleKey, ruleDiagnostics));
48506
+ const ruleDumpFileName = (ruleKey) => ruleKey.replace(/\//g, "--") + ".txt";
48507
+ const readPreviousRuleDumpFileNames = (directory) => {
48508
+ try {
48509
+ const previous = JSON.parse(NFS.readFileSync(Path.join(directory, "diagnostics.json"), "utf8"));
48510
+ return new Set(previous.filter((d) => typeof d?.plugin === "string" && typeof d?.rule === "string").map((d) => ruleDumpFileName(`${d.plugin}/${d.rule}`)));
48511
+ } catch {
48512
+ return /* @__PURE__ */ new Set();
48511
48513
  }
48512
- NFS.writeFileSync(Path.join(outputDirectory, "diagnostics.json"), JSON.stringify(diagnostics));
48513
- return outputDirectory;
48514
+ };
48515
+ const writeDiagnosticsDirectory = (diagnostics, outputDirectory) => {
48516
+ const directory = outputDirectory ? Path.resolve(outputDirectory) : Path.join(tmpdir(), `react-doctor-${randomUUID()}`);
48517
+ if (outputDirectory) for (const fileName of readPreviousRuleDumpFileNames(directory)) NFS.rmSync(Path.join(directory, fileName), { force: true });
48518
+ NFS.mkdirSync(directory, { recursive: true });
48519
+ for (const [ruleKey, ruleDiagnostics] of buildSortedRuleGroups(diagnostics)) NFS.writeFileSync(Path.join(directory, ruleDumpFileName(ruleKey)), formatRuleSummary(ruleKey, ruleDiagnostics));
48520
+ NFS.writeFileSync(Path.join(directory, "diagnostics.json"), JSON.stringify(diagnostics));
48521
+ return directory;
48514
48522
  };
48515
48523
  //#endregion
48516
48524
  //#region src/cli/utils/render-summary.ts
@@ -48547,6 +48555,16 @@ const printFooter = (input) => gen(function* () {
48547
48555
  yield* log(` ${highlighter.bold("GitHub:")} ${highlighter.info(CANONICAL_GITHUB_URL)}`);
48548
48556
  yield* printFooterDescription("Report issues and star the repository!");
48549
48557
  });
48558
+ const printDiagnosticsDump = (diagnostics, outputDirectory, verbose, stream = "stdout") => gen(function* () {
48559
+ const writtenDirectory = yield* try_({
48560
+ try: () => writeDiagnosticsDirectory(diagnostics, outputDirectory),
48561
+ catch: (cause) => cause
48562
+ }).pipe(orElseSucceed(() => null));
48563
+ if (writtenDirectory !== null && (verbose || outputDirectory)) {
48564
+ const pathLine = highlighter.gray(` Full diagnostics written to ${writtenDirectory}`);
48565
+ yield* stream === "stderr" || Boolean(outputDirectory) && isJsonModeActive() ? sync(() => process.stderr.write(`${pathLine}\n`)) : log(pathLine);
48566
+ }
48567
+ });
48550
48568
  const printSummary = (input) => gen(function* () {
48551
48569
  if (input.scoreResult) {
48552
48570
  const animateProjection = Boolean(input.animateProjection) && input.potentialScore != null && !input.verbose;
@@ -48557,11 +48575,7 @@ const printSummary = (input) => gen(function* () {
48557
48575
  if (animateProjection) yield* animateScoreProjection(input.scoreResult, input.potentialScore, 5);
48558
48576
  }
48559
48577
  } else yield* printNoScoreHeader(input.noScoreMessage);
48560
- const diagnosticsDirectory = yield* try_({
48561
- try: () => writeDiagnosticsDirectory(input.diagnostics),
48562
- catch: (cause) => cause
48563
- }).pipe(orElseSucceed(() => null));
48564
- if (diagnosticsDirectory !== null && input.verbose) yield* log(highlighter.gray(` Full diagnostics written to ${diagnosticsDirectory}`));
48578
+ yield* printDiagnosticsDump(input.diagnostics, input.outputDirectory, input.verbose);
48565
48579
  });
48566
48580
  //#endregion
48567
48581
  //#region src/cli/utils/should-auto-select-current-choice.ts
@@ -48951,6 +48965,7 @@ const mergeInspectOptions = (inputOptions, userConfig) => ({
48951
48965
  lint: inputOptions.lint ?? userConfig?.lint ?? true,
48952
48966
  deadCode: inputOptions.deadCode ?? userConfig?.deadCode ?? true,
48953
48967
  verbose: inputOptions.verbose ?? userConfig?.verbose ?? false,
48968
+ outputDirectory: inputOptions.outputDirectory || null,
48954
48969
  scoreOnly: inputOptions.scoreOnly ?? false,
48955
48970
  noScore: inputOptions.noScore ?? userConfig?.noScore ?? false,
48956
48971
  isCi: inputOptions.isCi ?? false,
@@ -48987,6 +49002,7 @@ const buildRunEventConfig = (options, userConfig, hasCustomConfig) => ({
48987
49002
  noScore: options.noScore,
48988
49003
  respectInlineDisables: options.respectInlineDisables,
48989
49004
  showWarnings: options.warnings,
49005
+ usedOutputDir: options.outputDirectory !== null,
48990
49006
  ignoredTagCount: options.ignoredTags.size,
48991
49007
  hasCustomConfig,
48992
49008
  userConfig
@@ -49317,15 +49333,16 @@ const finalizeAndRender = (input) => gen(function* () {
49317
49333
  ...baselineDelta ? { baselineDelta } : {}
49318
49334
  });
49319
49335
  if (options.suppressRendering) return buildResult();
49336
+ const surfaceDiagnostics = filterDiagnosticsForSurface([...diagnostics], options.outputSurface, userConfig);
49337
+ const printedDiagnostics = filterDiagnosticsByCategories(surfaceDiagnostics, options.categoryFilters);
49320
49338
  if (options.scoreOnly) {
49339
+ if (options.outputDirectory !== null) yield* printDiagnosticsDump(printedDiagnostics, options.outputDirectory, false, "stderr");
49321
49340
  if (score) yield* log(`${score.score}`);
49322
49341
  else yield* log(highlighter.gray(noScoreMessage));
49323
49342
  return buildResult();
49324
49343
  }
49325
49344
  const animateRender = !options.silent && !options.verbose && canAnimateOnboarding(process.stdout);
49326
49345
  const pause = onboardingSectionPause(animateRender);
49327
- const surfaceDiagnostics = filterDiagnosticsForSurface([...diagnostics], options.outputSurface, userConfig);
49328
- const printedDiagnostics = filterDiagnosticsByCategories(surfaceDiagnostics, options.categoryFilters);
49329
49346
  const demotedDiagnosticCount = diagnostics.length - surfaceDiagnostics.length;
49330
49347
  const lintSourceFileCount = options.includePaths.length > 0 ? options.includePaths.length : project.sourceFileCount;
49331
49348
  if (printedDiagnostics.length === 0) {
@@ -49343,6 +49360,7 @@ const finalizeAndRender = (input) => gen(function* () {
49343
49360
  yield* log(highlighter.gray(" Score not shown — some checks could not complete."));
49344
49361
  } else if (score) yield* printScoreHeader(score);
49345
49362
  else yield* printNoScoreHeader(noScoreMessage);
49363
+ if (options.outputDirectory !== null) yield* printDiagnosticsDump(printedDiagnostics, options.outputDirectory);
49346
49364
  return buildResult();
49347
49365
  }
49348
49366
  yield* pause;
@@ -49367,6 +49385,7 @@ const finalizeAndRender = (input) => gen(function* () {
49367
49385
  totalSourceFileCount: lintSourceFileCount,
49368
49386
  noScoreMessage,
49369
49387
  verbose: options.verbose,
49388
+ outputDirectory: options.outputDirectory,
49370
49389
  animateProjection: animateRender
49371
49390
  });
49372
49391
  if (hasSkippedChecks) {
@@ -49538,9 +49557,9 @@ const isExpectedUserError = (error) => error instanceof CliInputError || isProje
49538
49557
  //#region src/cli/utils/build-handoff-payload.ts
49539
49558
  const buildHandoffPayload = (input) => {
49540
49559
  const topGroups = buildSortedRuleGroups(input.diagnostics).slice(0, 3);
49541
- let diagnosticsDirectory = null;
49560
+ let outputDirectory = null;
49542
49561
  try {
49543
- diagnosticsDirectory = writeDiagnosticsDirectory([...input.diagnostics]);
49562
+ outputDirectory = writeDiagnosticsDirectory([...input.diagnostics], input.outputDirectory);
49544
49563
  } catch {}
49545
49564
  const lines = [
49546
49565
  "Before fixing anything, first ask me whether I'd like to add React Doctor to CI so every pull request is scanned automatically. Explain that:",
@@ -49567,7 +49586,7 @@ const buildHandoffPayload = (input) => {
49567
49586
  if (remainingFiles > 0) lines.push(` - +${remainingFiles} more files`);
49568
49587
  });
49569
49588
  lines.push("");
49570
- if (diagnosticsDirectory) lines.push(`Full results for all ${input.diagnostics.length} issues (diagnostics.json + a .txt per rule): ${diagnosticsDirectory}`, "");
49589
+ if (outputDirectory) lines.push(`Full results for all ${input.diagnostics.length} issues (diagnostics.json + a .txt per rule): ${outputDirectory}`, "");
49571
49590
  lines.push("Read each file and fix the root cause — don't suppress or silence the rule.", "", "Verify against the real thing, don't assume: confirm each change matches the canonical fix recipe you fetched for that rule, then re-run `npx react-doctor@latest --verbose` and check the issue is actually gone against the real tool before moving on.", "", "Teach me as you go: for every issue you touch, explain it in plain language (no jargon) — what the problem is, why it's a problem, and how serious it is in human terms. Describe the real-world impact and severity concretely (e.g. \"this crashes the page for users on Safari\" vs. \"this is a minor cleanup with no user impact\") so I understand why it matters, not just what changed.", "", "Then work through the rest from the full results above.");
49572
49591
  return lines.join("\n");
49573
49592
  };
@@ -51466,7 +51485,8 @@ const handoffToAgent = async (input) => {
51466
51485
  if (handoffTarget === void 0 || handoffTarget === SKIP_CHOICE) return;
51467
51486
  const payload = buildHandoffPayload({
51468
51487
  diagnostics: input.diagnostics,
51469
- projectName: input.projectName
51488
+ projectName: input.projectName,
51489
+ outputDirectory: input.outputDirectory
51470
51490
  });
51471
51491
  if (handoffTarget === CLIPBOARD_CHOICE) {
51472
51492
  if (await copyToClipboard(payload)) cliLogger.log("Copied the prompt to your clipboard.");
@@ -51746,6 +51766,7 @@ const printMultiProjectSummary = (input) => gen(function* () {
51746
51766
  totalSourceFileCount,
51747
51767
  noScoreMessage: "Score unavailable.",
51748
51768
  verbose,
51769
+ outputDirectory: input.outputDirectory,
51749
51770
  animateProjection: animateRender
51750
51771
  });
51751
51772
  const entries = completedScans.map((scan) => {
@@ -51846,6 +51867,7 @@ const resolveCliInspectOptions = (flags, userConfig) => {
51846
51867
  lint: flags.lint,
51847
51868
  deadCode: flags.deadCode,
51848
51869
  verbose: flags.verbose,
51870
+ outputDirectory: flags.outputDir,
51849
51871
  respectInlineDisables: flags.respectInlineDisables === false ? false : void 0,
51850
51872
  warnings: wantsWarningGate ? true : flags.warnings,
51851
51873
  scoreOnly: flags.score === true,
@@ -52560,10 +52582,14 @@ const inspectAction = async (directory, flags) => {
52560
52582
  categoryFilters,
52561
52583
  userConfig,
52562
52584
  verbose: Boolean(flags.verbose),
52585
+ outputDirectory: flags.outputDir,
52563
52586
  isOffline: !shouldShowShareLink,
52564
52587
  projectName: Path.basename(resolvedDirectory)
52565
52588
  }));
52566
52589
  }
52590
+ const selectedSurfaceDiagnostics = filterDiagnosticsByCategories(filterDiagnosticsForSurface(allDiagnostics, scanOptions.outputSurface ?? "cli", userConfig), categoryFilters);
52591
+ const didScansWriteDump = isMultiProject ? !isQuiet && completedScans.length > 0 : completedScans.length > 0;
52592
+ if (flags.outputDir && !didScansWriteDump) await runPromise(printDiagnosticsDump(selectedSurfaceDiagnostics, flags.outputDir, false, isQuiet ? "stderr" : "stdout"));
52567
52593
  finalizeScans({
52568
52594
  diagnostics: allDiagnostics,
52569
52595
  completedScans,
@@ -52578,13 +52604,13 @@ const inspectAction = async (directory, flags) => {
52578
52604
  resolvedDirectory,
52579
52605
  startTime
52580
52606
  });
52581
- const selectedSurfaceDiagnostics = filterDiagnosticsByCategories(filterDiagnosticsForSurface(allDiagnostics, scanOptions.outputSurface ?? "cli", userConfig), categoryFilters);
52582
52607
  if (!isQuiet && !skipPrompts && process.stdout.isTTY === true && !isCiOrCodingAgentEnvironment() && selectedSurfaceDiagnostics.length > 0) {
52583
52608
  await handoffToAgent({
52584
52609
  diagnostics: selectedSurfaceDiagnostics,
52585
52610
  projectName: Path.basename(resolvedDirectory),
52586
52611
  rootDirectory: resolvedDirectory,
52587
- interactive: true
52612
+ interactive: true,
52613
+ outputDirectory: flags.outputDir
52588
52614
  });
52589
52615
  return;
52590
52616
  }
@@ -53380,6 +53406,7 @@ const ROOT_FLAG_SPEC = {
53380
53406
  "--category",
53381
53407
  "--changed-files-from",
53382
53408
  "--blocking",
53409
+ "--output-dir",
53383
53410
  "--fail-on",
53384
53411
  "--project",
53385
53412
  "--scope"
@@ -53565,7 +53592,7 @@ ${highlighter.dim("Learn more:")}
53565
53592
  ${highlighter.info(CANONICAL_GITHUB_URL)}
53566
53593
  `;
53567
53594
  const collectCategoryOption = (value, previousValues) => [...previousValues ?? [], value];
53568
- const program = new Command().name("react-doctor").description("Diagnose React codebase health").version(VERSION, "-v, --version", "display the version number").argument("[directory]", "project directory to scan", ".").option("--lint", "enable linting").option("--no-lint", "skip linting").option("--dead-code", "enable dead-code analysis (default)").option("--no-dead-code", "skip dead-code analysis (unused files / exports / dependencies, circular imports)").option("--verbose", "show every rule and per-file details (default shows top 3 rules)").option("--score", "output only the score").option("--json", "output a single structured JSON report (suppresses other output)").option("--json-compact", "with --json, emit compact JSON (no indentation)").option("-y, --yes", "skip prompts, scan all workspace projects").option("--no-parallel", "lint serially with one worker (default: parallel across CPU cores; set the worker count with REACT_DOCTOR_PARALLEL)").option("--project <name>", "select workspace project (comma-separated for multiple)").option("--scope <value>", "how much to scan/report: full (default), files, changed (only new issues vs base), or lines (only changed lines)").option("--base <ref>", "base git ref for files/changed/lines scope (auto-detected when omitted)").addOption(new Option("--diff [base]", "[deprecated] alias for --scope changed (pass `false` to force a full scan)").hideHelp()).addOption(new Option("--changed-files-from <file>", "scan source files listed in a newline-delimited changed-files file").hideHelp()).option("--no-score", "skip the score API, the share URL, and crash reporting").addOption(new Option("--category <category>", "only show diagnostics in a category (repeatable; e.g. Security)").argParser(collectCategoryOption)).option("--no-telemetry", "alias for --no-score (skip the score API, share URL, and crash reporting)").option("--staged", "scan only staged (git index) files for pre-commit hooks").option("--blocking <level>", "severity that fails CI: error (default), warning, or none (advisory)").addOption(new Option("--fail-on <level>", "[deprecated] alias for --blocking <level>").hideHelp()).option("--no-respect-inline-disables", "audit mode: neutralize inline lint suppressions before scanning").option("--warnings", "show warning-severity diagnostics (default)").option("--no-warnings", "hide warning-severity diagnostics (errors only)").option("--sfw", "demo: print the Socket.dev supply-chain score of every direct dependency, then exit").option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderRootHelpEpilog);
53595
+ const program = new Command().name("react-doctor").description("Diagnose React codebase health").version(VERSION, "-v, --version", "display the version number").argument("[directory]", "project directory to scan", ".").option("--lint", "enable linting").option("--no-lint", "skip linting").option("--dead-code", "enable dead-code analysis (default)").option("--no-dead-code", "skip dead-code analysis (unused files / exports / dependencies, circular imports)").option("--verbose", "show every rule and per-file details (default shows top 3 rules)").option("--output-dir <dir>", "directory for the full diagnostics dump (default: a temp folder)").option("--score", "output only the score").option("--json", "output a single structured JSON report (suppresses other output)").option("--json-compact", "with --json, emit compact JSON (no indentation)").option("-y, --yes", "skip prompts, scan all workspace projects").option("--no-parallel", "lint serially with one worker (default: parallel across CPU cores; set the worker count with REACT_DOCTOR_PARALLEL)").option("--project <name>", "select workspace project (comma-separated for multiple)").option("--scope <value>", "how much to scan/report: full (default), files, changed (only new issues vs base), or lines (only changed lines)").option("--base <ref>", "base git ref for files/changed/lines scope (auto-detected when omitted)").addOption(new Option("--diff [base]", "[deprecated] alias for --scope changed (pass `false` to force a full scan)").hideHelp()).addOption(new Option("--changed-files-from <file>", "scan source files listed in a newline-delimited changed-files file").hideHelp()).option("--no-score", "skip the score API, the share URL, and crash reporting").addOption(new Option("--category <category>", "only show diagnostics in a category (repeatable; e.g. Security)").argParser(collectCategoryOption)).option("--no-telemetry", "alias for --no-score (skip the score API, share URL, and crash reporting)").option("--staged", "scan only staged (git index) files for pre-commit hooks").option("--blocking <level>", "severity that fails CI: error (default), warning, or none (advisory)").addOption(new Option("--fail-on <level>", "[deprecated] alias for --blocking <level>").hideHelp()).option("--no-respect-inline-disables", "audit mode: neutralize inline lint suppressions before scanning").option("--warnings", "show warning-severity diagnostics (default)").option("--no-warnings", "hide warning-severity diagnostics (errors only)").option("--sfw", "demo: print the Socket.dev supply-chain score of every direct dependency, then exit").option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderRootHelpEpilog);
53569
53596
  program.action(inspectAction);
53570
53597
  program.command("why <location>").description("Explain why a rule fired (or why a suppression didn't apply) at a file:line").option("--project <name>", "select workspace project (comma-separated for multiple)").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").action((location, options) => whyAction(location, options));
53571
53598
  program.command("install").alias("setup").description("Install the react-doctor skill into your coding agents and optional git hook").option("-y, --yes", "skip prompts, install for all detected agents").option("--dry-run", "show what would be installed without writing files").option("--agent-hooks", "install native non-blocking agent hooks for Claude Code and Cursor").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderInstallHelpEpilog).action(installAction);
@@ -53608,4 +53635,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
53608
53635
  export {};
53609
53636
 
53610
53637
  //# sourceMappingURL=cli.js.map
53611
- //# debugId=60598d2a-66c7-5091-a013-028926866fbd
53638
+ //# debugId=10847467-aed6-53d3-b6bd-1ed24087b9e7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.5.1-dev.038aaf7",
3
+ "version": "0.5.1-dev.22268f7",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -54,17 +54,17 @@
54
54
  "agent-install": "0.0.5",
55
55
  "conf": "^15.1.0",
56
56
  "confbox": "^0.2.4",
57
- "deslop-js": "^0.0.21",
57
+ "deslop-js": "^0.0.23",
58
58
  "eslint-plugin-react-hooks": "^7.1.1",
59
59
  "jiti": "^2.7.0",
60
60
  "magicast": "^0.5.3",
61
- "oxlint": "^1.66.0",
61
+ "oxlint": ">=1.66.0 <1.67.0",
62
62
  "prompts": "^2.4.2",
63
63
  "typescript": ">=5.0.4 <7",
64
64
  "vscode-languageserver": "^9.0.1",
65
65
  "vscode-languageserver-textdocument": "^1.0.12",
66
66
  "vscode-uri": "^3.1.0",
67
- "oxlint-plugin-react-doctor": "0.5.1-dev.038aaf7"
67
+ "oxlint-plugin-react-doctor": "0.5.1-dev.22268f7"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/babel__code-frame": "^7.27.0",
@@ -73,8 +73,8 @@
73
73
  "commander": "^14.0.3",
74
74
  "ora": "^9.4.0",
75
75
  "@react-doctor/core": "0.5.1",
76
- "@react-doctor/language-server": "0.5.1",
77
- "@react-doctor/api": "0.5.1"
76
+ "@react-doctor/api": "0.5.1",
77
+ "@react-doctor/language-server": "0.5.1"
78
78
  },
79
79
  "engines": {
80
80
  "node": "^20.19.0 || >=22.13.0"