react-doctor 0.9.23-dev.661cb18 → 0.9.23-dev.8661add
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-BR5IQ-XQ.js → build-section-divider-DhC5G7HI.js} +5 -5
- package/dist/{ci-CqB2d8Ih.js → ci-Cvr76u8X.js} +13 -13
- package/dist/cli.js +25 -25
- package/dist/{constants-BmD_c3Yq.js → constants-EMNGZNtj.js} +10 -6
- package/dist/constants-T2clfs7L.js +2 -2
- package/dist/{design-7F1gd8ZR.js → design-BnnudIbA.js} +4 -4
- package/dist/{exit-gracefully-Bn4efcrM.js → exit-gracefully-Ci0ot0kI.js} +6 -6
- package/dist/{handle-error-BOvlaUvT.js → handle-error-GgeG0xhz.js} +6 -6
- package/dist/index.d.ts +16 -1
- package/dist/index.js +90 -21
- package/dist/{inspect-BKzXcJV-.js → inspect-DCSjL9bK.js} +16 -16
- package/dist/{install-hwxNczJX.js → install-B1t_sQs4.js} +10 -10
- package/dist/{install-doctor-script-TJ_Jh6QX.js → install-doctor-script-C_sp1SNW.js} +5 -5
- package/dist/{install-github-workflow-BKIp1Lio.js → install-github-workflow-vqOaUNdb.js} +6 -6
- package/dist/{install-react-doctor-BKjdzRA3.js → install-react-doctor-DrSiNXJu.js} +9 -9
- package/dist/{is-cache-globally-disabled-CveNGcRi.js → is-cache-globally-disabled-CYjFzsDs.js} +4 -4
- package/dist/{jsx-runtime-DMQUuKzt.js → jsx-runtime-DvW4uQ_B.js} +6 -6
- package/dist/{print-branded-header-DZjQ5dCI.js → print-branded-header-DprqOAVI.js} +4 -4
- package/dist/{prompt-runtime-scan-url-C_0w1YyN.js → prompt-runtime-scan-url-BfzaTz3J.js} +5 -5
- package/dist/{read-object-file-B0zGfH6E.js → read-object-file-S3RTF5cA.js} +4 -4
- package/dist/{record-metric-BwYegvoV.js → record-metric-B5AOuso-.js} +87 -22
- package/dist/{report-error-Bd9jbzpT.js → report-error-UM7Mc0ty.js} +6 -6
- package/dist/{report-workflow-result-DUF3ohoU.js → report-workflow-result-Cv_xR43h.js} +6 -6
- package/dist/{resolve-scan-exit-code-D_sTVHU7.js → resolve-scan-exit-code-B0tQh9QI.js} +14 -13
- package/dist/{resolve-scope-9PCLZBu5.js → resolve-scope-CQOHcbky.js} +6 -6
- package/dist/{rules-AclWXr6Q.js → rules-CXgjciLs.js} +7 -7
- package/dist/{run-scan-app-Kt84uh98.js → run-scan-app-Ch8OS9ev.js} +45 -16
- package/dist/{runtime-scan-BgS2BPIT.js → runtime-scan-Cdm85BfQ.js} +10 -10
- package/dist/{sanitize-runtime-url-DckIVvHM.js → sanitize-runtime-url-_jZDGxuL.js} +4 -4
- package/dist/{scan-DQDZUc2P.js → scan-CeMIFbDx.js} +10 -10
- package/dist/{should-skip-prompts-DszpotTl.js → should-skip-prompts-N-VXMhFW.js} +4 -4
- package/dist/{should-use-tui-C5xnE5qj.js → should-use-tui-DwmvD0ik.js} +4 -4
- package/dist/skills/react-doctor/references/explain.md +21 -0
- package/dist/{start-scan-preamble-DDAT_0oB.js → start-scan-preamble-Zd-z2ssT.js} +5 -5
- package/dist/start-scan-preamble.js +3 -3
- package/dist/{telemetry-runtime-BPoDv257.js → telemetry-runtime-Cszh0rsJ.js} +7 -7
- package/dist/{version-D_7WsDdj.js → version-CsFKqtqg.js} +5 -5
- package/dist/{why-BNyRhp92.js → why-DMImqIxs.js} +4 -4
- package/dist/{with-run-span-DWAQaMTM.js → with-run-span-BTtOYjaY.js} +6 -6
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
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 { u as METRIC } from "./constants-
|
|
4
|
-
import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-
|
|
5
|
-
import { i as warnDeprecatedDiff } from "./resolve-scope-
|
|
6
|
-
import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-
|
|
7
|
-
import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-
|
|
8
|
-
import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-
|
|
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]="880e91c9-0403-5ff9-80e3-760964a0f724")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-B5AOuso-.js";
|
|
5
|
+
import { i as warnDeprecatedDiff } from "./resolve-scope-CQOHcbky.js";
|
|
6
|
+
import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-DCSjL9bK.js";
|
|
7
|
+
import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-B0tQh9QI.js";
|
|
8
|
+
import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-DwmvD0ik.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
//#region src/cli/commands/scan.ts
|
|
11
11
|
const runScanCommand = async (input) => {
|
|
@@ -29,7 +29,7 @@ const runScanCommand = async (input) => {
|
|
|
29
29
|
warnDeprecatedFailOn(input.flags, scanTarget.userConfig);
|
|
30
30
|
warnDeprecatedDiff(input.flags, scanTarget.userConfig);
|
|
31
31
|
recordCount(METRIC.cliInvoked, 1, { command: input.invocationCommand });
|
|
32
|
-
const { runScanApp } = await import("./run-scan-app-
|
|
32
|
+
const { runScanApp } = await import("./run-scan-app-Ch8OS9ev.js");
|
|
33
33
|
const { exitCode } = await runScanApp({
|
|
34
34
|
directory: input.directory,
|
|
35
35
|
scanTarget,
|
|
@@ -45,5 +45,5 @@ const runScanCommand = async (input) => {
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { runScanCommand };
|
|
47
47
|
|
|
48
|
-
//# sourceMappingURL=scan-
|
|
49
|
-
//# debugId=
|
|
48
|
+
//# sourceMappingURL=scan-CeMIFbDx.js.map
|
|
49
|
+
//# debugId=880e91c9-0403-5ff9-80e3-760964a0f724
|
|
@@ -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 { b 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]="dc6618c8-2578-5775-af82-c71fa3df3dc4")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-B5AOuso-.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-N-VXMhFW.js.map
|
|
10
|
+
//# debugId=dc6618c8-2578-5775-af82-c71fa3df3dc4
|
|
@@ -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 { b 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]="e00e719f-8843-5589-aa54-1599d6f49bd6")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-B5AOuso-.js";
|
|
4
4
|
//#region src/cli/utils/resolve-tui-environment.ts
|
|
5
5
|
const resolveTuiEnvironment = (outputIsTty = process.stdout.isTTY === true) => ({
|
|
6
6
|
isNonInteractiveEnvironment: isNonInteractiveEnvironment(),
|
|
@@ -21,5 +21,5 @@ const shouldUseTui = (input) => {
|
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shouldUseTui as n, resolveTuiEnvironment as r, isTuiEnvironmentSupported as t };
|
|
23
23
|
|
|
24
|
-
//# sourceMappingURL=should-use-tui-
|
|
25
|
-
//# debugId=
|
|
24
|
+
//# sourceMappingURL=should-use-tui-DwmvD0ik.js.map
|
|
25
|
+
//# debugId=e00e719f-8843-5589-aa54-1599d6f49bd6
|
|
@@ -73,6 +73,27 @@ export default {
|
|
|
73
73
|
};
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
+
## Fast Refresh exports
|
|
77
|
+
|
|
78
|
+
Configure known project wrappers and intentional non-component exports without
|
|
79
|
+
turning off `react-doctor/only-export-components`:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"onlyExportComponents": {
|
|
84
|
+
"customHOCs": ["withErrorBoundary", "withScreenBoundary"],
|
|
85
|
+
"allowExportNames": ["meta"],
|
|
86
|
+
"allowConstantExport": true,
|
|
87
|
+
"checkJS": false
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`customHOCs` names component wrappers; `allowExportNames` permits specific named
|
|
93
|
+
exports. `allowConstantExport` permits primitive constant exports, and `checkJS`
|
|
94
|
+
enables checking `.js` files as well as JSX/TSX. Omitted options preserve the
|
|
95
|
+
rule's existing defaults. These settings do not enable a disabled rule.
|
|
96
|
+
|
|
76
97
|
## Educating the user
|
|
77
98
|
|
|
78
99
|
When explaining a rule, lead with the "Why it matters" guidance from `rules explain` and, when they want depth, the per-rule recipe at `https://www.react.doctor/prompts/rules/<plugin>/<rule>.md`. Only after they understand it should you offer to disable it — many "bad" rules are catching real issues.
|
|
@@ -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]="
|
|
3
|
-
import { $ as warmReactCompilerDetection, A as buildGitSourceListingRequest, I as prefetchGitCommand, K as resolveReactDoctorCacheDir, L as prespawnOxlintWorkers, M as buildOxlintWorkerSpawnSpec, W as resolveOxlintWorkerRuntime, _ as SCAN_PREAMBLE_SKIP_FLAGS, g as RUN_GIT_MAX_BUFFER_BYTES, j as buildOxlintChildEnv, q as resolveScanConcurrency, y as SCAN_RESULT_CACHE_GIT_ARGUMENTS, z as resolveConfiguredScanConcurrency } from "./constants-
|
|
4
|
-
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-
|
|
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]="c1280615-e157-502c-8d1c-db412f1f6452")}catch(e){}}();
|
|
3
|
+
import { $ as warmReactCompilerDetection, A as buildGitSourceListingRequest, I as prefetchGitCommand, K as resolveReactDoctorCacheDir, L as prespawnOxlintWorkers, M as buildOxlintWorkerSpawnSpec, W as resolveOxlintWorkerRuntime, _ as SCAN_PREAMBLE_SKIP_FLAGS, g as RUN_GIT_MAX_BUFFER_BYTES, j as buildOxlintChildEnv, q as resolveScanConcurrency, y as SCAN_RESULT_CACHE_GIT_ARGUMENTS, z as resolveConfiguredScanConcurrency } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CYjFzsDs.js";
|
|
5
5
|
import * as fs$1 from "node:fs";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
7
7
|
//#region src/cli/utils/resolve-prefetch-scan-directory.ts
|
|
@@ -64,5 +64,5 @@ try {
|
|
|
64
64
|
//#endregion
|
|
65
65
|
export {};
|
|
66
66
|
|
|
67
|
-
//# sourceMappingURL=start-scan-preamble-
|
|
68
|
-
//# debugId=
|
|
67
|
+
//# sourceMappingURL=start-scan-preamble-Zd-z2ssT.js.map
|
|
68
|
+
//# debugId=c1280615-e157-502c-8d1c-db412f1f6452
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./start-scan-preamble-
|
|
1
|
+
import "./start-scan-preamble-Zd-z2ssT.js";
|
|
2
2
|
export {};
|
|
3
|
-
!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]="
|
|
4
|
-
//# debugId=
|
|
3
|
+
!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]="b2140f83-ded0-5724-a0ee-8ec76bc6143f")}catch(e){}}();
|
|
4
|
+
//# debugId=b2140f83-ded0-5724-a0ee-8ec76bc6143f
|
|
@@ -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]="
|
|
3
|
-
import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-
|
|
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-
|
|
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]="c46fcbc4-b941-5344-8849-ed25cf01a919")}catch(e){}}();
|
|
3
|
+
import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-EMNGZNtj.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-B5AOuso-.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.8661add`;
|
|
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.8661add") ? "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-Cszh0rsJ.js.map
|
|
406
|
+
//# debugId=c46fcbc4-b941-5344-8849-ed25cf01a919
|
|
@@ -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]="
|
|
3
|
-
import { u as METRIC } from "./constants-
|
|
4
|
-
import { _ as VERSION, t as recordCount } 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]="69087fc2-4117-53ff-92fa-29dd54341119")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { _ as VERSION, t as recordCount } from "./record-metric-B5AOuso-.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-CsFKqtqg.js.map
|
|
22
|
+
//# debugId=69087fc2-4117-53ff-92fa-29dd54341119
|
|
@@ -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]="7588d651-3bdc-525e-ba91-096f47126d18")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-DCSjL9bK.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-DMImqIxs.js.map
|
|
21
|
+
//# debugId=7588d651-3bdc-525e-ba91-096f47126d18
|
|
@@ -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]="
|
|
3
|
-
import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-
|
|
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-
|
|
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]="68b6fa20-dd1c-5719-b7f2-4ec2f9b8907e")}catch(e){}}();
|
|
3
|
+
import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-EMNGZNtj.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-B5AOuso-.js";
|
|
5
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-Cszh0rsJ.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-BTtOYjaY.js.map
|
|
111
|
+
//# debugId=68b6fa20-dd1c-5719-b7f2-4ec2f9b8907e
|
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.8661add",
|
|
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.8661add"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/babel__code-frame": "^7.27.0",
|