react-doctor 0.2.12-dev.9d20182 → 0.2.12-dev.e8bc8b9

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 +8 -8
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -6578,11 +6578,6 @@ const shouldSelectAllChoices = (choiceStates) => {
6578
6578
  return choiceStates.filter((choiceState) => !choiceState.disabled).some((choiceState) => choiceState.selected !== true);
6579
6579
  };
6580
6580
  //#endregion
6581
- //#region src/cli/utils/unref-stdin.ts
6582
- const unrefStdin = () => {
6583
- process.stdin.unref?.();
6584
- };
6585
- //#endregion
6586
6581
  //#region src/cli/utils/prompts.ts
6587
6582
  const require$1 = createRequire(import.meta.url);
6588
6583
  const PROMPTS_MULTISELECT_MODULE_PATH = "prompts/lib/elements/multiselect";
@@ -6625,7 +6620,7 @@ const patchMultiselectSubmit = () => {
6625
6620
  const prompts = (questions, options = {}) => {
6626
6621
  patchMultiselectToggleAll();
6627
6622
  patchMultiselectSubmit();
6628
- return basePrompts(questions, { onCancel: options.onCancel ?? onCancel }).finally(unrefStdin);
6623
+ return basePrompts(questions, { onCancel: options.onCancel ?? onCancel });
6629
6624
  };
6630
6625
  //#endregion
6631
6626
  //#region src/cli/utils/resolve-oxlint-node.ts
@@ -6679,7 +6674,7 @@ const resolveOxlintNodeEffect = (isLintEnabled, isQuiet) => Effect.gen(function*
6679
6674
  const resolveOxlintNode = (isLintEnabled, isQuiet) => Effect.runPromise(resolveOxlintNodeEffect(isLintEnabled, isQuiet).pipe(Effect.provide(NodeResolver.layerNode)));
6680
6675
  //#endregion
6681
6676
  //#region src/cli/utils/version.ts
6682
- const VERSION = "0.2.12-dev.9d20182";
6677
+ const VERSION = "0.2.12-dev.e8bc8b9";
6683
6678
  //#endregion
6684
6679
  //#region src/inspect.ts
6685
6680
  const silentConsole = makeNoopConsole();
@@ -7472,7 +7467,7 @@ const defaultWait = (milliseconds) => new Promise((resolve) => {
7472
7467
  setTimeout(resolve, milliseconds);
7473
7468
  });
7474
7469
  const defaultSelect = async (message) => {
7475
- const { setupReactDoctorChoice } = await prompts({
7470
+ const { setupReactDoctorChoice } = await basePrompts({
7476
7471
  type: "select",
7477
7472
  name: "setupReactDoctorChoice",
7478
7473
  message,
@@ -9201,6 +9196,11 @@ const stripUnknownCliFlags = (argv) => {
9201
9196
  ];
9202
9197
  };
9203
9198
  //#endregion
9199
+ //#region src/cli/utils/unref-stdin.ts
9200
+ const unrefStdin = () => {
9201
+ process.stdin.unref?.();
9202
+ };
9203
+ //#endregion
9204
9204
  //#region src/cli/index.ts
9205
9205
  process.on("SIGINT", exitGracefully);
9206
9206
  process.on("SIGTERM", exitGracefully);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.2.12-dev.9d20182",
3
+ "version": "0.2.12-dev.e8bc8b9",
4
4
  "description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -58,7 +58,7 @@
58
58
  "oxlint": "^1.66.0",
59
59
  "prompts": "^2.4.2",
60
60
  "typescript": ">=5.0.4 <7",
61
- "oxlint-plugin-react-doctor": "0.2.12-dev.9d20182"
61
+ "oxlint-plugin-react-doctor": "0.2.12-dev.e8bc8b9"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/prompts": "^2.4.9",