react-doctor 0.9.11-dev.f1899d2 → 0.9.12-dev.05ef989

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 (35) hide show
  1. package/README.md +1 -1
  2. package/bin/react-doctor.js +1 -9
  3. package/dist/{build-section-divider-4ZztYtZV.js → build-section-divider-BNQmYjME.js} +9 -10
  4. package/dist/{ci-B04VkLj2.js → ci-B9ir-2Up.js} +12 -12
  5. package/dist/cli.js +30 -31
  6. package/dist/{design-AAjcvExu.js → design-DrPr5wfS.js} +4 -4
  7. package/dist/{devtools-DPRVRu3S.js → devtools-D8NTVj81.js} +4 -4
  8. package/dist/{exit-gracefully-B7v9PIJk.js → exit-gracefully-C-_jVMT3.js} +6 -6
  9. package/dist/index.d.ts +38 -61
  10. package/dist/index.js +54842 -54698
  11. package/dist/{inspect-CdQJI2XI.js → inspect-BfdplEq6.js} +24 -23
  12. package/dist/{install-BRU4jf-Y.js → install-CcPaQeBb.js} +8 -8
  13. package/dist/{install-doctor-script-Dn69YqKG.js → install-doctor-script-BlIhuJW6.js} +4 -4
  14. package/dist/{install-github-workflow-BwELZAhu.js → install-github-workflow-DbnsoR9k.js} +6 -6
  15. package/dist/{install-react-doctor-CcDiKPfC.js → install-react-doctor-COZnJROS.js} +47 -45
  16. package/dist/{print-branded-header-_kkHIAUd.js → print-branded-header-B_Cgff5S.js} +4 -4
  17. package/dist/project-analysis-worker.d.ts +1 -0
  18. package/dist/project-analysis-worker.js +51900 -0
  19. package/dist/{read-object-file-Bsov5R1-.js → read-object-file-NNLnIQKt.js} +4 -4
  20. package/dist/{record-metric-CeygoJWT.js → record-metric-fdCvvcjz.js} +2628 -5681
  21. package/dist/{report-error-uffmJocy.js → report-error-BH7DfHGY.js} +5 -5
  22. package/dist/{report-workflow-result-CMtcy7Eb.js → report-workflow-result-B3YeoXsK.js} +5 -5
  23. package/dist/{resolve-scope-CFro-KQO.js → resolve-scope-gLUuBxjI.js} +6 -6
  24. package/dist/{rules-BkLea4GL.js → rules-B5VC89MR.js} +6 -6
  25. package/dist/{run-scan-app-Befn2abh.js → run-scan-app-Cl2mqLLB.js} +137 -121
  26. package/dist/{scan-C00HPxuL.js → scan-7OBudBct.js} +8 -8
  27. package/dist/semver-DFtnEmN-.js +3219 -0
  28. package/dist/{should-fail-scan-gate-BEoC3SoQ.js → should-fail-scan-gate-Dch9vbPz.js} +151 -83
  29. package/dist/{should-skip-prompts-De37OlfL.js → should-skip-prompts-CyNdARgB.js} +4 -4
  30. package/dist/{unref-stdin-DklpxlNQ.js → unref-stdin-Cynhx9N1.js} +6 -12
  31. package/dist/{version-CRfqT5pV.js → version-axnZCkCZ.js} +4 -4
  32. package/dist/{why-BTbl-alh.js → why-Ducgj7Hu.js} +4 -4
  33. package/package.json +5 -9
  34. package/dist/chunk-q7NCDQ7-.js +0 -28
  35. package/dist/lsp.js +0 -81125
@@ -1,6 +1,6 @@
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]="bdca8076-6874-5f29-ade7-e7e157acb745")}catch(e){}}();
3
- import { g as VERSION, t as recordCount, w as METRIC } from "./record-metric-CeygoJWT.js";
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]="2bbe833e-1463-50bb-8fd2-5c530e13369b")}catch(e){}}();
3
+ import { g as VERSION, t as recordCount, w as METRIC } from "./record-metric-fdCvvcjz.js";
4
4
  //#region src/cli/commands/version.ts
5
5
  /**
6
6
  * oclif-style version line. 12-factor CLI Apps (#3, "What version am I
@@ -17,5 +17,5 @@ const versionAction = () => {
17
17
  //#endregion
18
18
  export { versionAction };
19
19
 
20
- //# sourceMappingURL=version-CRfqT5pV.js.map
21
- //# debugId=bdca8076-6874-5f29-ade7-e7e157acb745
20
+ //# sourceMappingURL=version-axnZCkCZ.js.map
21
+ //# debugId=2bbe833e-1463-50bb-8fd2-5c530e13369b
@@ -1,6 +1,6 @@
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]="5e82f85c-9ab5-5bfa-80fc-c6cebc73cdfe")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-CdQJI2XI.js";
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]="45af1b21-9048-5ee3-85e1-c8ece604030c")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-BfdplEq6.js";
4
4
  //#region src/cli/commands/why.ts
5
5
  /**
6
6
  * `why <file:line>` — explains why a rule fired (or why a suppression didn't
@@ -17,5 +17,5 @@ const whyAction = async (location, options) => {
17
17
  //#endregion
18
18
  export { whyAction };
19
19
 
20
- //# sourceMappingURL=why-BTbl-alh.js.map
21
- //# debugId=5e82f85c-9ab5-5bfa-80fc-c6cebc73cdfe
20
+ //# sourceMappingURL=why-Ducgj7Hu.js.map
21
+ //# debugId=45af1b21-9048-5ee3-85e1-c8ece604030c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.11-dev.f1899d2",
3
+ "version": "0.9.12-dev.05ef989",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -58,17 +58,14 @@
58
58
  "eslint-plugin-react-hooks": "^7.1.1",
59
59
  "jiti": "^2.7.0",
60
60
  "magicast": "^0.5.3",
61
+ "oxc-parser": "^0.143.0",
61
62
  "oxc-resolver": "^11.24.2",
62
63
  "oxlint": ">=1.77.0 <1.78.0",
63
64
  "prompts": "^2.4.2",
64
65
  "typescript": ">=5.0.4 <6",
65
- "vscode-languageserver": "^9.0.1",
66
- "vscode-languageserver-textdocument": "^1.0.12",
67
- "vscode-uri": "^3.1.0",
68
66
  "yaml": "^2.9.0",
69
67
  "yoga-layout": "~3.2.1",
70
- "deslop-js": "0.9.11",
71
- "oxlint-plugin-react-doctor": "0.9.11-dev.f1899d2"
68
+ "oxlint-plugin-react-doctor": "0.9.12-dev.05ef989"
72
69
  },
73
70
  "devDependencies": {
74
71
  "@types/babel__code-frame": "^7.27.0",
@@ -81,9 +78,8 @@
81
78
  "ora": "^9.4.0",
82
79
  "react": "19.2.5",
83
80
  "react-devtools-core": "^7.0.1",
84
- "@react-doctor/api": "0.9.11",
85
- "@react-doctor/core": "0.9.11",
86
- "@react-doctor/language-server": "0.9.11"
81
+ "@react-doctor/core": "0.9.12",
82
+ "@react-doctor/api": "0.9.12"
87
83
  },
88
84
  "engines": {
89
85
  "node": "^20.19.0 || >=22.13.0"
@@ -1,28 +0,0 @@
1
- import { createRequire } from "node:module";
2
- //#region \0rolldown/runtime.js
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
21
- value: mod,
22
- enumerable: true
23
- }) : target, mod));
24
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
25
- //#endregion
26
- export { __require as n, __toESM as r, __commonJSMin as t };
27
- !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]="6bebfffd-1840-5d5d-b9fb-fdd0316ac477")}catch(e){}}();
28
- //# debugId=6bebfffd-1840-5d5d-b9fb-fdd0316ac477