react-doctor 0.9.11-dev.51e198d → 0.9.11-dev.d23a0d7
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/{build-section-divider-Ddw_uug8.js → build-section-divider-0X61dfsp.js} +7 -7
- package/dist/{ci-BMegSONn.js → ci-urZW0bil.js} +11 -11
- package/dist/cli.js +22 -22
- package/dist/{design-BqM5xXaq.js → design-7VjeLeaY.js} +4 -4
- package/dist/{exit-gracefully-BUlwv_l9.js → exit-gracefully-CCXBry_w.js} +6 -6
- package/dist/index.js +20 -119
- package/dist/{inspect-C62I4cFt.js → inspect-9AYPZO5g.js} +15 -15
- package/dist/{install-YaBPQ5oC.js → install-BbsK38HP.js} +8 -8
- package/dist/{install-doctor-script-DifzK4IZ.js → install-doctor-script-dYObdsoT.js} +4 -4
- package/dist/{install-github-workflow-BVbQtP5c.js → install-github-workflow-CPrayyr8.js} +6 -6
- package/dist/{install-react-doctor-Cs1XhzJD.js → install-react-doctor-BRJVFDJo.js} +8 -8
- package/dist/lsp.js +16 -23
- package/dist/{print-branded-header-DnpzuUUq.js → print-branded-header-BZazy7f_.js} +4 -4
- package/dist/{read-object-file-7s-GWT1i.js → read-object-file-DpFYryjs.js} +4 -4
- package/dist/{record-metric-BH7YPKl_.js → record-metric-DihVLWTw.js} +26 -45
- package/dist/{report-error-Cks5Vt1h.js → report-error-OnDP4z6M.js} +5 -5
- package/dist/{report-workflow-result-wfb2YgOE.js → report-workflow-result-8lD74mh1.js} +5 -5
- package/dist/{resolve-scope-BSCzz3j5.js → resolve-scope-BTt7-Yy6.js} +6 -6
- package/dist/{rules-DLYMq5Gc.js → rules-CLbcyk2e.js} +6 -6
- package/dist/{run-scan-app-UKpzUV72.js → run-scan-app-C6_h7wam.js} +10 -10
- package/dist/{scan-BA_uaWDP.js → scan-YlECoJP4.js} +8 -8
- package/dist/{should-fail-scan-gate-DL4gKSfD.js → should-fail-scan-gate-CwUJxo3V.js} +10 -10
- package/dist/{should-skip-prompts-DZTNlJ_P.js → should-skip-prompts-AxArMl3d.js} +4 -4
- package/dist/{unref-stdin-hgpAG4XZ.js → unref-stdin-B9y2rq2D.js} +4 -4
- package/dist/{version-CZPNYOny.js → version-vrLffEr-.js} +4 -4
- package/dist/{why-io73cU0Q.js → why-uAScZI5Z.js} +4 -4
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
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 { z as isNonInteractiveEnvironment } 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]="345c9ce9-d894-53eb-b13b-1d697cf18ece")}catch(e){}}();
|
|
3
|
+
import { z as isNonInteractiveEnvironment } from "./record-metric-DihVLWTw.js";
|
|
4
4
|
//#region src/cli/utils/should-skip-prompts.ts
|
|
5
5
|
const shouldSkipPrompts = (input = {}) => Boolean(input.yes) || Boolean(input.json) || isNonInteractiveEnvironment() || !process.stdin.isTTY;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { shouldSkipPrompts as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=should-skip-prompts-
|
|
10
|
-
//# debugId=
|
|
9
|
+
//# sourceMappingURL=should-skip-prompts-AxArMl3d.js.map
|
|
10
|
+
//# debugId=345c9ce9-d894-53eb-b13b-1d697cf18ece
|
|
@@ -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 { En as messageFromUnknown, R as CliInputError, Yn as make, ar as runSync, g as VERSION, gn as isReactDoctorError, gr as void_, hn as isProjectDiscoveryError, i as isTelemetryEnabled, ir as runPromise, lr as buildWithScope, mr as makeUnsafe, pr as close, un as isErrnoException, yn as layerObservability } 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]="0cc5c6be-7e71-5224-b85f-6084a194ac76")}catch(e){}}();
|
|
3
|
+
import { En as messageFromUnknown, R as CliInputError, Yn as make, ar as runSync, g as VERSION, gn as isReactDoctorError, gr as void_, hn as isProjectDiscoveryError, i as isTelemetryEnabled, ir as runPromise, lr as buildWithScope, mr as makeUnsafe, pr as close, un as isErrnoException, yn as layerObservability } from "./record-metric-DihVLWTw.js";
|
|
4
4
|
//#region src/cli/utils/is-environment-error.ts
|
|
5
5
|
const ENVIRONMENT_ERROR_CODES = new Set([
|
|
6
6
|
"EACCES",
|
|
@@ -223,5 +223,5 @@ const unrefStdin = () => {
|
|
|
223
223
|
//#endregion
|
|
224
224
|
export { setActiveRunTrace as a, isExpectedUserError as c, recordRunTraceId as i, formatEnvironmentError as l, getActiveRunTrace as n, getTelemetryContext as o, getLastRunTraceId as r, shutdownTelemetry as s, unrefStdin as t, isEnvironmentError as u };
|
|
225
225
|
|
|
226
|
-
//# sourceMappingURL=unref-stdin-
|
|
227
|
-
//# debugId=
|
|
226
|
+
//# sourceMappingURL=unref-stdin-B9y2rq2D.js.map
|
|
227
|
+
//# debugId=0cc5c6be-7e71-5224-b85f-6084a194ac76
|
|
@@ -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]="6bef4c5c-3d7a-526a-a9d4-04812aa31b3a")}catch(e){}}();
|
|
3
|
+
import { g as VERSION, t as recordCount, w as METRIC } from "./record-metric-DihVLWTw.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-vrLffEr-.js.map
|
|
21
|
+
//# debugId=6bef4c5c-3d7a-526a-a9d4-04812aa31b3a
|
|
@@ -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]="4c55cbac-581a-5705-afac-b97945d2fb9a")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-9AYPZO5g.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-uAScZI5Z.js.map
|
|
21
|
+
//# debugId=4c55cbac-581a-5705-afac-b97945d2fb9a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.9.11-dev.
|
|
3
|
+
"version": "0.9.11-dev.d23a0d7",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"jiti": "^2.7.0",
|
|
62
62
|
"magicast": "^0.5.3",
|
|
63
63
|
"oxc-resolver": "^11.24.2",
|
|
64
|
-
"oxlint": ">=1.
|
|
64
|
+
"oxlint": ">=1.76.0 <1.77.0",
|
|
65
65
|
"prompts": "^2.4.2",
|
|
66
66
|
"typescript": ">=5.0.4 <6",
|
|
67
67
|
"vscode-languageserver": "^9.0.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"yaml": "^2.9.0",
|
|
71
71
|
"yoga-layout": "~3.2.1",
|
|
72
72
|
"deslop-js": "0.9.11",
|
|
73
|
-
"oxlint-plugin-react-doctor": "0.9.11-dev.
|
|
73
|
+
"oxlint-plugin-react-doctor": "0.9.11-dev.d23a0d7"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/babel__code-frame": "^7.27.0",
|