react-doctor 0.9.12-dev.a2b460d → 0.9.12-dev.f7efb7d
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/README.md +1 -1
- package/bin/react-doctor.js +1 -9
- package/dist/{build-section-divider-Vz879zXD.js → build-section-divider-LBEprrSw.js} +9 -10
- package/dist/{ci-BVYrYekU.js → ci-B80oWpS1.js} +12 -12
- package/dist/cli.js +30 -31
- package/dist/{design-D-TYN_tr.js → design-Doxh3Oua.js} +4 -4
- package/dist/{devtools-DPRVRu3S.js → devtools-D8NTVj81.js} +4 -4
- package/dist/{exit-gracefully-Cjv5kC_l.js → exit-gracefully-Z8iBwlMI.js} +6 -6
- package/dist/index.d.ts +21 -42
- package/dist/index.js +54685 -54554
- package/dist/{inspect-kkvDHKDE.js → inspect-qNFSJB8s.js} +21 -20
- package/dist/{install-ZeYvD9Rw.js → install-CxK6oNgV.js} +8 -8
- package/dist/{install-doctor-script-D58Hr1dM.js → install-doctor-script-rddKhKYf.js} +4 -4
- package/dist/{install-github-workflow-DkMicv8E.js → install-github-workflow-telZkaCp.js} +6 -6
- package/dist/{install-react-doctor-CjgE52al.js → install-react-doctor-DoKoYt2g.js} +47 -45
- package/dist/{print-branded-header-D4QYSu-h.js → print-branded-header-514lsPsP.js} +4 -4
- package/dist/project-analysis-worker.d.ts +1 -0
- package/dist/project-analysis-worker.js +51900 -0
- package/dist/{read-object-file-OFRlvCAL.js → read-object-file-0FXK_1Lr.js} +4 -4
- package/dist/{record-metric-CMe2d1Xv.js → record-metric-DFQYh2Mf.js} +2602 -5677
- package/dist/{report-error-1l7v6_dE.js → report-error-Bg7eABmv.js} +5 -5
- package/dist/{report-workflow-result-EagkH_v9.js → report-workflow-result-Dd3jJHJr.js} +5 -5
- package/dist/{resolve-scope-CMNrOdDf.js → resolve-scope-CsMf2eUG.js} +6 -6
- package/dist/{rules-CzR1qUru.js → rules-Bmw6adjU.js} +6 -6
- package/dist/{run-scan-app-Ciq22jzp.js → run-scan-app-CwcrBTC4.js} +137 -121
- package/dist/{scan-D4m5r4Rs.js → scan-D7bmiqv1.js} +8 -8
- package/dist/semver-DFtnEmN-.js +3219 -0
- package/dist/{should-fail-scan-gate-lMTlhEhE.js → should-fail-scan-gate-Cd68GDY-.js} +151 -83
- package/dist/{should-skip-prompts-mXKZBNCz.js → should-skip-prompts-oFD5z_9E.js} +4 -4
- package/dist/{unref-stdin-Cxhw67r6.js → unref-stdin-C5xln9RW.js} +6 -12
- package/dist/{version-CnvVY2VD.js → version-Bg3OKWjm.js} +4 -4
- package/dist/{why-BktDEhhH.js → why-DPksh2dy.js} +4 -4
- package/package.json +5 -9
- package/dist/chunk-q7NCDQ7-.js +0 -28
- package/dist/lsp.js +0 -81145
|
@@ -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]="
|
|
3
|
-
import { g as VERSION, t as recordCount, w as METRIC } from "./record-metric-
|
|
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]="d73bf09e-9c16-5cd2-99e7-92cf6a03146d")}catch(e){}}();
|
|
3
|
+
import { g as VERSION, t as recordCount, w as METRIC } from "./record-metric-DFQYh2Mf.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-
|
|
21
|
-
//# debugId=
|
|
20
|
+
//# sourceMappingURL=version-Bg3OKWjm.js.map
|
|
21
|
+
//# debugId=d73bf09e-9c16-5cd2-99e7-92cf6a03146d
|
|
@@ -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]="
|
|
3
|
-
import { t as inspectAction } from "./inspect-
|
|
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]="e9b69551-7403-57fc-9198-f2245fe5f58f")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-qNFSJB8s.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-
|
|
21
|
-
//# debugId=
|
|
20
|
+
//# sourceMappingURL=why-DPksh2dy.js.map
|
|
21
|
+
//# debugId=e9b69551-7403-57fc-9198-f2245fe5f58f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.9.12-dev.
|
|
3
|
+
"version": "0.9.12-dev.f7efb7d",
|
|
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.144.0",
|
|
61
62
|
"oxc-resolver": "^11.24.2",
|
|
62
|
-
"oxlint": ">=1.
|
|
63
|
+
"oxlint": ">=1.78.0 <1.79.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
|
-
"
|
|
71
|
-
"oxlint-plugin-react-doctor": "0.9.12-dev.a2b460d"
|
|
68
|
+
"oxlint-plugin-react-doctor": "0.9.12-dev.f7efb7d"
|
|
72
69
|
},
|
|
73
70
|
"devDependencies": {
|
|
74
71
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -82,8 +79,7 @@
|
|
|
82
79
|
"react": "19.2.5",
|
|
83
80
|
"react-devtools-core": "^7.0.1",
|
|
84
81
|
"@react-doctor/api": "0.9.12",
|
|
85
|
-
"@react-doctor/core": "0.9.12"
|
|
86
|
-
"@react-doctor/language-server": "0.9.12"
|
|
82
|
+
"@react-doctor/core": "0.9.12"
|
|
87
83
|
},
|
|
88
84
|
"engines": {
|
|
89
85
|
"node": "^20.19.0 || >=22.13.0"
|
package/dist/chunk-q7NCDQ7-.js
DELETED
|
@@ -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
|