react-doctor 0.9.23-dev.190b5b6 → 0.9.23-dev.23bad1e
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-BU7zNHk5.js → build-section-divider-z2aaj3F2.js} +4 -4
- package/dist/{ci-CxQu6pYP.js → ci-ilqPUTIx.js} +12 -12
- package/dist/cli.js +23 -23
- package/dist/{design-C34SZKwj.js → design-Dt0GkK2_.js} +4 -4
- package/dist/{exit-gracefully-CkEQoYgZ.js → exit-gracefully-CP4uAGuO.js} +6 -6
- package/dist/{handle-error-BzkQHg93.js → handle-error-DKXhqPRI.js} +5 -5
- package/dist/index.d.ts +16 -1
- package/dist/index.js +34 -5
- package/dist/{inspect-hnNj6rGU.js → inspect-DbtB_1AR.js} +15 -15
- package/dist/{install-doctor-script-_STqoxaF.js → install-doctor-script-DdwZJ4et.js} +4 -4
- package/dist/{install-github-workflow-CrKVCl4g.js → install-github-workflow-CsP90L1U.js} +5 -5
- package/dist/{install-Phi-3Ez6.js → install-iGdDI9NQ.js} +9 -9
- package/dist/{install-react-doctor-B8HIm5Lp.js → install-react-doctor-Dkl6H0hp.js} +8 -8
- package/dist/{jsx-runtime-DiY2NpiM.js → jsx-runtime-YbeVo6RC.js} +5 -5
- package/dist/{print-branded-header-FknctS29.js → print-branded-header-kJlJiXvW.js} +4 -4
- package/dist/{prompt-runtime-scan-url-DlatGgXM.js → prompt-runtime-scan-url-aDgQ-BT6.js} +5 -5
- package/dist/{read-object-file-DHewkQSw.js → read-object-file-ChFHlS2C.js} +4 -4
- package/dist/{record-metric-vW6WPfqn.js → record-metric-C5TdnDLE.js} +36 -7
- package/dist/{report-error-BjXxJDFZ.js → report-error-DuRT87Gn.js} +5 -5
- package/dist/{report-workflow-result-CDrgxyIL.js → report-workflow-result-j5q2K5le.js} +5 -5
- package/dist/{resolve-scan-exit-code-C-YB4nGN.js → resolve-scan-exit-code-DwvvRcTc.js} +12 -11
- package/dist/{resolve-scope-C0FwbRLp.js → resolve-scope-BXa1iq6h.js} +6 -6
- package/dist/{rules-C6snQ3OR.js → rules-DxObDcQ2.js} +6 -6
- package/dist/{run-scan-app-_LByQegJ.js → run-scan-app-Xx-68qeo.js} +44 -15
- package/dist/{runtime-scan-Ccac6VQX.js → runtime-scan-BJrJlrEj.js} +9 -9
- package/dist/{sanitize-runtime-url-DtyYWhiJ.js → sanitize-runtime-url-C8avFXPV.js} +4 -4
- package/dist/{scan-Dh42XoyC.js → scan-CAZv0ell.js} +9 -9
- package/dist/{should-skip-prompts-DTeGXHCQ.js → should-skip-prompts-BPxm_Z-h.js} +4 -4
- package/dist/{should-use-tui-BVBFFxIp.js → should-use-tui-tf9fcRSe.js} +4 -4
- package/dist/skills/react-doctor/references/explain.md +21 -0
- package/dist/{telemetry-runtime-ChQH6lX-.js → telemetry-runtime-BV3cRWlp.js} +6 -6
- package/dist/{version-D4xkODb4.js → version-BQAPePFV.js} +4 -4
- package/dist/{why-CSKd9jLA.js → why-D839Bx-j.js} +4 -4
- package/dist/{with-run-span-DurLMv1A.js → with-run-span-CIm1uQFW.js} +5 -5
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
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]="
|
|
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]="1151fb98-36bc-5d54-a8d9-df5c49db4814")}catch(e){}}();
|
|
3
3
|
import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-BmD_c3Yq.js";
|
|
4
|
-
import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-
|
|
4
|
+
import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-C5TdnDLE.js";
|
|
5
5
|
//#region src/cli/utils/is-environment-error.ts
|
|
6
6
|
const ENVIRONMENT_ERROR_CODES = new Set([
|
|
7
7
|
"EACCES",
|
|
@@ -217,13 +217,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
217
217
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
218
218
|
* standard `SENTRY_RELEASE` override.
|
|
219
219
|
*/
|
|
220
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.23-dev.
|
|
220
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.23-dev.23bad1e`;
|
|
221
221
|
/**
|
|
222
222
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
223
223
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
224
224
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
225
225
|
*/
|
|
226
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.23-dev.
|
|
226
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.23-dev.23bad1e") ? "development" : "production");
|
|
227
227
|
//#endregion
|
|
228
228
|
//#region src/instrument.ts
|
|
229
229
|
let sentryPromise = null;
|
|
@@ -402,5 +402,5 @@ const shutdownTelemetry = async () => {
|
|
|
402
402
|
//#endregion
|
|
403
403
|
export { initializeSentry as a, isNpmCacheCorruptionError as c, getSentry as i, formatEnvironmentError as l, shutdownTelemetry as n, isExpectedUserError as o, flushSentry as r, formatNpmCacheCorruptionError as s, getTelemetryContext as t, isEnvironmentError as u };
|
|
404
404
|
|
|
405
|
-
//# sourceMappingURL=telemetry-runtime-
|
|
406
|
-
//# debugId=
|
|
405
|
+
//# sourceMappingURL=telemetry-runtime-BV3cRWlp.js.map
|
|
406
|
+
//# debugId=1151fb98-36bc-5d54-a8d9-df5c49db4814
|
|
@@ -1,7 +1,7 @@
|
|
|
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]="
|
|
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]="886837c6-2db3-56f8-9026-e1d810843a62")}catch(e){}}();
|
|
3
3
|
import { u as METRIC } from "./constants-BmD_c3Yq.js";
|
|
4
|
-
import { _ as VERSION, t as recordCount } from "./record-metric-
|
|
4
|
+
import { _ as VERSION, t as recordCount } from "./record-metric-C5TdnDLE.js";
|
|
5
5
|
//#region src/cli/commands/version.ts
|
|
6
6
|
/**
|
|
7
7
|
* oclif-style version line. 12-factor CLI Apps (#3, "What version am I
|
|
@@ -18,5 +18,5 @@ const versionAction = () => {
|
|
|
18
18
|
//#endregion
|
|
19
19
|
export { versionAction };
|
|
20
20
|
|
|
21
|
-
//# sourceMappingURL=version-
|
|
22
|
-
//# debugId=
|
|
21
|
+
//# sourceMappingURL=version-BQAPePFV.js.map
|
|
22
|
+
//# debugId=886837c6-2db3-56f8-9026-e1d810843a62
|
|
@@ -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]="619981c8-55ed-5618-b72a-a740ba505f32")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-DbtB_1AR.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-D839Bx-j.js.map
|
|
21
|
+
//# debugId=619981c8-55ed-5618-b72a-a740ba505f32
|
|
@@ -1,8 +1,8 @@
|
|
|
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]="
|
|
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]="a091ef2b-06cf-5858-89ec-ece64810e541")}catch(e){}}();
|
|
3
3
|
import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-BmD_c3Yq.js";
|
|
4
|
-
import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-
|
|
5
|
-
import { t as getTelemetryContext } from "./telemetry-runtime-
|
|
4
|
+
import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-C5TdnDLE.js";
|
|
5
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-BV3cRWlp.js";
|
|
6
6
|
import { i as setActiveRunTrace, r as recordRunTraceId } from "./active-run-trace-Dewycxda.js";
|
|
7
7
|
//#region src/cli/utils/with-run-span.ts
|
|
8
8
|
/**
|
|
@@ -107,5 +107,5 @@ const recordSentryProjectContext = (projectInfo, rootSpan, options = {}) => {
|
|
|
107
107
|
//#endregion
|
|
108
108
|
export { resetSentryRunState as n, withRunSpan as r, recordSentryProjectContext as t };
|
|
109
109
|
|
|
110
|
-
//# sourceMappingURL=with-run-span-
|
|
111
|
-
//# debugId=
|
|
110
|
+
//# sourceMappingURL=with-run-span-CIm1uQFW.js.map
|
|
111
|
+
//# debugId=a091ef2b-06cf-5858-89ec-ece64810e541
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.9.23-dev.
|
|
3
|
+
"version": "0.9.23-dev.23bad1e",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"typescript": ">=5.0.4 <6",
|
|
71
71
|
"yaml": "^2.9.0",
|
|
72
72
|
"yoga-layout": "~3.2.1",
|
|
73
|
-
"oxlint-plugin-react-doctor": "0.9.23-dev.
|
|
73
|
+
"oxlint-plugin-react-doctor": "0.9.23-dev.23bad1e"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/babel__code-frame": "^7.27.0",
|