react-doctor 0.7.1-dev.160f84c → 0.7.1-dev.ce9dabf

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]="68e9635d-7a10-5469-afd5-edb7df5973ae")}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]="bbc083b3-ec5f-541e-8e68-a28e5b06f6eb")}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";
@@ -41807,7 +41807,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
41807
41807
  })),
41808
41808
  showStagedContent: (directory, relativePath, options) => runCommand({
41809
41809
  command: "git",
41810
- args: ["show", `:${relativePath}`],
41810
+ args: ["show", `:./${relativePath}`],
41811
41811
  directory,
41812
41812
  maxStdoutBytes: options?.maxBufferBytes
41813
41813
  }).pipe(map$3((result) => result.status === 0 ? result.stdout : null)),
@@ -45924,7 +45924,7 @@ const makeNoopConsole = () => ({
45924
45924
  });
45925
45925
  //#endregion
45926
45926
  //#region src/cli/utils/version.ts
45927
- const VERSION = "0.7.1-dev.160f84c";
45927
+ const VERSION = "0.7.1-dev.ce9dabf";
45928
45928
  //#endregion
45929
45929
  //#region src/cli/utils/json-mode.ts
45930
45930
  let context = null;
@@ -46293,13 +46293,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
46293
46293
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
46294
46294
  * standard `SENTRY_RELEASE` override.
46295
46295
  */
46296
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.7.1-dev.160f84c`;
46296
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.7.1-dev.ce9dabf`;
46297
46297
  /**
46298
46298
  * Deployment environment shown in Sentry's environment filter. Defaults to
46299
46299
  * `production` for tagged releases and `development` for dev/unbuilt versions,
46300
46300
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
46301
46301
  */
46302
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.7.1-dev.160f84c") ? "development" : "production");
46302
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.7.1-dev.ce9dabf") ? "development" : "production");
46303
46303
  /**
46304
46304
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
46305
46305
  * (set to `0` to disable tracing) and falls back to
@@ -64454,4 +64454,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
64454
64454
  export {};
64455
64455
 
64456
64456
  //# sourceMappingURL=cli.js.map
64457
- //# debugId=68e9635d-7a10-5469-afd5-edb7df5973ae
64457
+ //# debugId=bbc083b3-ec5f-541e-8e68-a28e5b06f6eb
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]="7cb857ba-6f0a-57d9-91f3-3c286472121d")}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]="f1919957-a013-5ded-b0ed-3d2e8469d0e2")}catch(e){}}();
3
3
  import { r as __toESM$1, t as __commonJSMin$1 } from "./chunk-N93fKeF6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import * as NFS from "node:fs";
@@ -38564,7 +38564,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
38564
38564
  })),
38565
38565
  showStagedContent: (directory, relativePath, options) => runCommand({
38566
38566
  command: "git",
38567
- args: ["show", `:${relativePath}`],
38567
+ args: ["show", `:./${relativePath}`],
38568
38568
  directory,
38569
38569
  maxStdoutBytes: options?.maxBufferBytes
38570
38570
  }).pipe(map$3((result) => result.status === 0 ? result.stdout : null)),
@@ -42441,4 +42441,4 @@ const toJsonReport = (result, options) => buildJsonReport({
42441
42441
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
42442
42442
 
42443
42443
  //# sourceMappingURL=index.js.map
42444
- //# debugId=7cb857ba-6f0a-57d9-91f3-3c286472121d
42444
+ //# debugId=f1919957-a013-5ded-b0ed-3d2e8469d0e2
package/dist/lsp.js CHANGED
@@ -38549,7 +38549,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
38549
38549
  })),
38550
38550
  showStagedContent: (directory, relativePath, options) => runCommand({
38551
38551
  command: "git",
38552
- args: ["show", `:${relativePath}`],
38552
+ args: ["show", `:./${relativePath}`],
38553
38553
  directory,
38554
38554
  maxStdoutBytes: options?.maxBufferBytes
38555
38555
  }).pipe(map$3((result) => result.status === 0 ? result.stdout : null)),
@@ -44160,5 +44160,5 @@ const startLanguageServer = () => {
44160
44160
  };
44161
44161
  //#endregion
44162
44162
  export { startLanguageServer };
44163
- !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]="027c66d6-b30a-59de-ad83-58f5ad304c94")}catch(e){}}();
44164
- //# debugId=027c66d6-b30a-59de-ad83-58f5ad304c94
44163
+ !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]="0cab34bf-65ac-5994-9a93-41f1b5670387")}catch(e){}}();
44164
+ //# debugId=0cab34bf-65ac-5994-9a93-41f1b5670387
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.7.1-dev.160f84c",
3
+ "version": "0.7.1-dev.ce9dabf",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -66,7 +66,7 @@
66
66
  "vscode-uri": "^3.1.0",
67
67
  "yaml": "^2.9.0",
68
68
  "deslop-js": "0.7.1",
69
- "oxlint-plugin-react-doctor": "0.7.1-dev.160f84c"
69
+ "oxlint-plugin-react-doctor": "0.7.1-dev.ce9dabf"
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/language-server": "0.7.1",
77
78
  "@react-doctor/api": "0.7.1",
78
- "@react-doctor/core": "0.7.1",
79
- "@react-doctor/language-server": "0.7.1"
79
+ "@react-doctor/core": "0.7.1"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.19.0 || >=22.13.0"