react-doctor 0.4.0-dev.ee980d9 → 0.4.0-dev.ee9ab33

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.
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]="97daaac0-bc19-511e-baba-f43ac0b855ea")}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]="234f49e5-7510-5a79-ba10-9366aecc015b")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
5
5
  import * as path$1 from "node:path";
@@ -10709,7 +10709,12 @@ const SANITIZED_ENV = (() => {
10709
10709
  const spawnOxlint = (args, rootDirectory, nodeBinaryPath, spawnTimeoutMs = OXLINT_SPAWN_TIMEOUT_MS, outputMaxBytes = OXLINT_OUTPUT_MAX_BYTES) => new Promise((resolve, reject) => {
10710
10710
  const child = spawn(nodeBinaryPath, args, {
10711
10711
  cwd: rootDirectory,
10712
- env: SANITIZED_ENV
10712
+ env: SANITIZED_ENV,
10713
+ stdio: [
10714
+ "ignore",
10715
+ "pipe",
10716
+ "pipe"
10717
+ ]
10713
10718
  });
10714
10719
  const timeoutHandle = setTimeout(() => {
10715
10720
  child.kill("SIGKILL");
@@ -12192,7 +12197,7 @@ const makeNoopConsole = () => ({
12192
12197
  });
12193
12198
  //#endregion
12194
12199
  //#region src/cli/utils/version.ts
12195
- const VERSION = "0.4.0-dev.ee980d9";
12200
+ const VERSION = "0.4.0-dev.ee9ab33";
12196
12201
  //#endregion
12197
12202
  //#region src/cli/utils/json-mode.ts
12198
12203
  let context = null;
@@ -12550,13 +12555,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
12550
12555
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
12551
12556
  * standard `SENTRY_RELEASE` override.
12552
12557
  */
12553
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.0-dev.ee980d9`;
12558
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.0-dev.ee9ab33`;
12554
12559
  /**
12555
12560
  * Deployment environment shown in Sentry's environment filter. Defaults to
12556
12561
  * `production` for tagged releases and `development` for dev/unbuilt versions,
12557
12562
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
12558
12563
  */
12559
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.0-dev.ee980d9") ? "development" : "production");
12564
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.0-dev.ee9ab33") ? "development" : "production");
12560
12565
  /**
12561
12566
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
12562
12567
  * (set to `0` to disable tracing) and falls back to
@@ -21449,4 +21454,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
21449
21454
  export {};
21450
21455
 
21451
21456
  //# sourceMappingURL=cli.js.map
21452
- //# debugId=97daaac0-bc19-511e-baba-f43ac0b855ea
21457
+ //# debugId=234f49e5-7510-5a79-ba10-9366aecc015b
package/dist/index.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]="122e86e2-7fd2-5262-b325-14cf4d9fee78")}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]="89213cff-26e1-5f16-a3b2-135fc4f96aab")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as Schema from "effect/Schema";
5
5
  import * as fs$1 from "node:fs";
@@ -7642,7 +7642,12 @@ const SANITIZED_ENV = (() => {
7642
7642
  const spawnOxlint = (args, rootDirectory, nodeBinaryPath, spawnTimeoutMs = OXLINT_SPAWN_TIMEOUT_MS, outputMaxBytes = OXLINT_OUTPUT_MAX_BYTES) => new Promise((resolve, reject) => {
7643
7643
  const child = spawn(nodeBinaryPath, args, {
7644
7644
  cwd: rootDirectory,
7645
- env: SANITIZED_ENV
7645
+ env: SANITIZED_ENV,
7646
+ stdio: [
7647
+ "ignore",
7648
+ "pipe",
7649
+ "pipe"
7650
+ ]
7646
7651
  });
7647
7652
  const timeoutHandle = setTimeout(() => {
7648
7653
  child.kill("SIGKILL");
@@ -8930,4 +8935,4 @@ const toJsonReport = (result, options) => buildJsonReport({
8930
8935
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
8931
8936
 
8932
8937
  //# sourceMappingURL=index.js.map
8933
- //# debugId=122e86e2-7fd2-5262-b325-14cf4d9fee78
8938
+ //# debugId=89213cff-26e1-5f16-a3b2-135fc4f96aab
package/dist/lsp.js CHANGED
@@ -7579,7 +7579,12 @@ const SANITIZED_ENV = (() => {
7579
7579
  const spawnOxlint = (args, rootDirectory, nodeBinaryPath, spawnTimeoutMs = OXLINT_SPAWN_TIMEOUT_MS, outputMaxBytes = OXLINT_OUTPUT_MAX_BYTES) => new Promise((resolve, reject) => {
7580
7580
  const child = spawn(nodeBinaryPath, args, {
7581
7581
  cwd: rootDirectory,
7582
- env: SANITIZED_ENV
7582
+ env: SANITIZED_ENV,
7583
+ stdio: [
7584
+ "ignore",
7585
+ "pipe",
7586
+ "pipe"
7587
+ ]
7583
7588
  });
7584
7589
  const timeoutHandle = setTimeout(() => {
7585
7590
  child.kill("SIGKILL");
@@ -10801,5 +10806,5 @@ const startLanguageServer = () => {
10801
10806
  };
10802
10807
  //#endregion
10803
10808
  export { startLanguageServer };
10804
- !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]="f0bc459c-958b-51a1-8126-2e157a9bb5d3")}catch(e){}}();
10805
- //# debugId=f0bc459c-958b-51a1-8126-2e157a9bb5d3
10809
+ !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]="3810554d-573f-57e0-8b16-216e38ece1e2")}catch(e){}}();
10810
+ //# debugId=3810554d-573f-57e0-8b16-216e38ece1e2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.4.0-dev.ee980d9",
3
+ "version": "0.4.0-dev.ee9ab33",
4
4
  "description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -66,7 +66,7 @@
66
66
  "vscode-languageserver": "^9.0.1",
67
67
  "vscode-languageserver-textdocument": "^1.0.12",
68
68
  "vscode-uri": "^3.1.0",
69
- "oxlint-plugin-react-doctor": "0.4.0-dev.ee980d9"
69
+ "oxlint-plugin-react-doctor": "0.4.0-dev.ee9ab33"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/babel__code-frame": "^7.27.0",
@@ -74,9 +74,9 @@
74
74
  "@xterm/headless": "^6.0.0",
75
75
  "commander": "^14.0.3",
76
76
  "ora": "^9.4.0",
77
- "@react-doctor/api": "0.2.20",
77
+ "@react-doctor/core": "0.3.0",
78
78
  "@react-doctor/language-server": "0.2.12",
79
- "@react-doctor/core": "0.3.0"
79
+ "@react-doctor/api": "0.2.20"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.19.0 || >=22.12.0"