react-doctor 0.5.6-dev.03301fc → 0.5.6-dev.09dde18

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]="bb93aaad-ea85-5f1d-b2db-584f48671f66")}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]="1aaf9dd2-5d2e-5683-83a9-1c39885f45a7")}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";
@@ -39692,10 +39692,15 @@ const buildCapabilities = (project) => {
39692
39692
  }
39693
39693
  if (project.tailwindVersion !== null) {
39694
39694
  capabilities.add("tailwind");
39695
- if (isTailwindAtLeast(parseTailwindMajorMinor(project.tailwindVersion), {
39695
+ const tailwind = parseTailwindMajorMinor(project.tailwindVersion);
39696
+ if (isTailwindAtLeast(tailwind, {
39696
39697
  major: 3,
39697
39698
  minor: 4
39698
39699
  })) capabilities.add("tailwind:3.4");
39700
+ if (tailwind !== null && isTailwindAtLeast(tailwind, {
39701
+ major: 4,
39702
+ minor: 0
39703
+ })) capabilities.add("tailwind:4");
39699
39704
  }
39700
39705
  if (project.zodVersion !== null) {
39701
39706
  capabilities.add("zod");
@@ -43970,7 +43975,7 @@ const makeNoopConsole = () => ({
43970
43975
  });
43971
43976
  //#endregion
43972
43977
  //#region src/cli/utils/version.ts
43973
- const VERSION = "0.5.6-dev.03301fc";
43978
+ const VERSION = "0.5.6-dev.09dde18";
43974
43979
  //#endregion
43975
43980
  //#region src/cli/utils/json-mode.ts
43976
43981
  let context = null;
@@ -44328,13 +44333,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
44328
44333
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
44329
44334
  * standard `SENTRY_RELEASE` override.
44330
44335
  */
44331
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.6-dev.03301fc`;
44336
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.6-dev.09dde18`;
44332
44337
  /**
44333
44338
  * Deployment environment shown in Sentry's environment filter. Defaults to
44334
44339
  * `production` for tagged releases and `development` for dev/unbuilt versions,
44335
44340
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
44336
44341
  */
44337
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.6-dev.03301fc") ? "development" : "production");
44342
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.6-dev.09dde18") ? "development" : "production");
44338
44343
  /**
44339
44344
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
44340
44345
  * (set to `0` to disable tracing) and falls back to
@@ -53946,4 +53951,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
53946
53951
  export {};
53947
53952
 
53948
53953
  //# sourceMappingURL=cli.js.map
53949
- //# debugId=bb93aaad-ea85-5f1d-b2db-584f48671f66
53954
+ //# debugId=1aaf9dd2-5d2e-5683-83a9-1c39885f45a7
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]="a4394ddc-4e6c-5a18-aeeb-d60322b1c0dd")}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]="b4f6f7e7-99db-553a-aa15-14b646162f39")}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";
@@ -36472,10 +36472,15 @@ const buildCapabilities = (project) => {
36472
36472
  }
36473
36473
  if (project.tailwindVersion !== null) {
36474
36474
  capabilities.add("tailwind");
36475
- if (isTailwindAtLeast(parseTailwindMajorMinor(project.tailwindVersion), {
36475
+ const tailwind = parseTailwindMajorMinor(project.tailwindVersion);
36476
+ if (isTailwindAtLeast(tailwind, {
36476
36477
  major: 3,
36477
36478
  minor: 4
36478
36479
  })) capabilities.add("tailwind:3.4");
36480
+ if (tailwind !== null && isTailwindAtLeast(tailwind, {
36481
+ major: 4,
36482
+ minor: 0
36483
+ })) capabilities.add("tailwind:4");
36479
36484
  }
36480
36485
  if (project.zodVersion !== null) {
36481
36486
  capabilities.add("zod");
@@ -40571,4 +40576,4 @@ const toJsonReport = (result, options) => buildJsonReport({
40571
40576
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
40572
40577
 
40573
40578
  //# sourceMappingURL=index.js.map
40574
- //# debugId=a4394ddc-4e6c-5a18-aeeb-d60322b1c0dd
40579
+ //# debugId=b4f6f7e7-99db-553a-aa15-14b646162f39
package/dist/lsp.js CHANGED
@@ -36458,10 +36458,15 @@ const buildCapabilities = (project) => {
36458
36458
  }
36459
36459
  if (project.tailwindVersion !== null) {
36460
36460
  capabilities.add("tailwind");
36461
- if (isTailwindAtLeast(parseTailwindMajorMinor(project.tailwindVersion), {
36461
+ const tailwind = parseTailwindMajorMinor(project.tailwindVersion);
36462
+ if (isTailwindAtLeast(tailwind, {
36462
36463
  major: 3,
36463
36464
  minor: 4
36464
36465
  })) capabilities.add("tailwind:3.4");
36466
+ if (tailwind !== null && isTailwindAtLeast(tailwind, {
36467
+ major: 4,
36468
+ minor: 0
36469
+ })) capabilities.add("tailwind:4");
36465
36470
  }
36466
36471
  if (project.zodVersion !== null) {
36467
36472
  capabilities.add("zod");
@@ -42356,5 +42361,5 @@ const startLanguageServer = () => {
42356
42361
  };
42357
42362
  //#endregion
42358
42363
  export { startLanguageServer };
42359
- !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]="03349093-b1b2-5f21-bad3-7e212e5a7f91")}catch(e){}}();
42360
- //# debugId=03349093-b1b2-5f21-bad3-7e212e5a7f91
42364
+ !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]="9421149c-0ed9-5e00-81da-4f7dd8faf332")}catch(e){}}();
42365
+ //# debugId=9421149c-0ed9-5e00-81da-4f7dd8faf332
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.5.6-dev.03301fc",
3
+ "version": "0.5.6-dev.09dde18",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -64,7 +64,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.6-dev.03301fc"
67
+ "oxlint-plugin-react-doctor": "0.5.6-dev.09dde18"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/babel__code-frame": "^7.27.0",
@@ -72,9 +72,9 @@
72
72
  "@xterm/headless": "^6.0.0",
73
73
  "commander": "^14.0.3",
74
74
  "ora": "^9.4.0",
75
- "@react-doctor/core": "0.5.6",
76
75
  "@react-doctor/api": "0.5.6",
77
- "@react-doctor/language-server": "0.5.6"
76
+ "@react-doctor/language-server": "0.5.6",
77
+ "@react-doctor/core": "0.5.6"
78
78
  },
79
79
  "engines": {
80
80
  "node": "^20.19.0 || >=22.13.0"