react-doctor 0.9.23-dev.1cdd786 → 0.9.23-dev.4628244
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-BCDTjbLy.js → build-section-divider-Bhnwx9Y7.js} +5 -5
- package/dist/{ci-CXLFf6oD.js → ci-CRCSWPBc.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-edRpF3Jm.js → design-6nyBY45q.js} +4 -4
- package/dist/{exit-gracefully-DlQ87UeC.js → exit-gracefully-CGdKePU2.js} +6 -6
- package/dist/{handle-error-DpsGUl32.js → handle-error-B7D8fruG.js} +6 -6
- package/dist/index.js +60 -20
- package/dist/{inspect-C29q_7uC.js → inspect-CBKoNwf1.js} +16 -16
- package/dist/{install-BXzMqJg2.js → install-BGT2mUYH.js} +10 -10
- package/dist/{install-doctor-script-Jib6fCiE.js → install-doctor-script-DcaGZRhP.js} +5 -5
- package/dist/{install-github-workflow-CZWonJ1B.js → install-github-workflow-CTU5_DQ2.js} +6 -6
- package/dist/{install-react-doctor-D4AboKYR.js → install-react-doctor-CLsAm_Jq.js} +9 -9
- package/dist/{is-cache-globally-disabled-CveNGcRi.js → is-cache-globally-disabled-CYjFzsDs.js} +4 -4
- package/dist/{jsx-runtime-gHusdqcS.js → jsx-runtime-C6-t7nxf.js} +6 -6
- package/dist/{print-branded-header-Bms9mrXN.js → print-branded-header-Bi7SVAbn.js} +4 -4
- package/dist/{prompt-runtime-scan-url-Cf_uE7-x.js → prompt-runtime-scan-url-XdoVkitC.js} +5 -5
- package/dist/{read-object-file-D11wxpcq.js → read-object-file-Dp4q8YTK.js} +4 -4
- package/dist/{record-metric-bKCrIAY1.js → record-metric-Y776Vbwj.js} +57 -21
- package/dist/{report-error-BNOlBTMx.js → report-error-DSXkaelZ.js} +6 -6
- package/dist/{report-workflow-result-C6wPw5P8.js → report-workflow-result-CZDScdbn.js} +6 -6
- package/dist/{resolve-scan-exit-code-CjXfwP5P.js → resolve-scan-exit-code-CdCaqzhV.js} +13 -13
- package/dist/{resolve-scope-RYl408if.js → resolve-scope-DEdEAzYs.js} +6 -6
- package/dist/{rules-BWCvKOr9.js → rules-BSOQNyyj.js} +7 -7
- package/dist/{run-scan-app-Du9x-ecD.js → run-scan-app-Y4mRIN9e.js} +11 -11
- package/dist/{runtime-scan-BaAd6aLr.js → runtime-scan-79K6AjRn.js} +10 -10
- package/dist/{sanitize-runtime-url-qZl4pePh.js → sanitize-runtime-url-DDpVhBL2.js} +4 -4
- package/dist/{scan-CtyRoNuY.js → scan-jaaTSG_I.js} +10 -10
- package/dist/{should-skip-prompts-k1xIqa_e.js → should-skip-prompts-BcEsn4iH.js} +4 -4
- package/dist/{should-use-tui-ZVR8OpqL.js → should-use-tui-tqzyUoLT.js} +4 -4
- 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-D1weAPNN.js → telemetry-runtime-CY9azsA9.js} +7 -7
- package/dist/{version-aohLg2_m.js → version-CjHT5aan.js} +5 -5
- package/dist/{why-CWeZC4id.js → why-DHxXxq-H.js} +4 -4
- package/dist/{with-run-span-BPkzG3B5.js → with-run-span-mzbVv3D4.js} +6 -6
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
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 { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } 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]="d9842efd-b88f-523f-bfcc-a5d4dcc8080a")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-Y776Vbwj.js";
|
|
5
5
|
import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
|
|
6
|
-
import { t as reportErrorToSentry } from "./report-error-
|
|
7
|
-
import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-
|
|
8
|
-
import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-
|
|
9
|
-
import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-
|
|
6
|
+
import { t as reportErrorToSentry } from "./report-error-DSXkaelZ.js";
|
|
7
|
+
import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-mzbVv3D4.js";
|
|
8
|
+
import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-DDpVhBL2.js";
|
|
9
|
+
import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-tqzyUoLT.js";
|
|
10
10
|
import * as fs$1 from "node:fs";
|
|
11
11
|
import * as path$1 from "node:path";
|
|
12
12
|
import * as os$1 from "node:os";
|
|
@@ -720,7 +720,7 @@ const resolveRuntimeScanUrl = async (url) => {
|
|
|
720
720
|
if (url !== void 0) return url;
|
|
721
721
|
if (!isTuiEnvironmentSupported(resolveTuiEnvironment(process.stderr.isTTY === true))) throw new CliInputError("A URL is required outside an interactive terminal. Run `react-doctor scan <url>`.");
|
|
722
722
|
recordCount(METRIC.runtimeScanUrlPromptShown);
|
|
723
|
-
const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-
|
|
723
|
+
const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-XdoVkitC.js");
|
|
724
724
|
return promptRuntimeScanUrl();
|
|
725
725
|
};
|
|
726
726
|
const runtimeScanAction = async (url, flags) => {
|
|
@@ -767,5 +767,5 @@ const runtimeScanAction = async (url, flags) => {
|
|
|
767
767
|
//#endregion
|
|
768
768
|
export { runtimeScanAction };
|
|
769
769
|
|
|
770
|
-
//# sourceMappingURL=runtime-scan-
|
|
771
|
-
//# debugId=
|
|
770
|
+
//# sourceMappingURL=runtime-scan-79K6AjRn.js.map
|
|
771
|
+
//# debugId=d9842efd-b88f-523f-bfcc-a5d4dcc8080a
|
|
@@ -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 { y as CliInputError } 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]="0ae8b9e1-5dcf-547d-a5a1-1c7a6ba295e0")}catch(e){}}();
|
|
3
|
+
import { y as CliInputError } from "./record-metric-Y776Vbwj.js";
|
|
4
4
|
//#region src/cli/runtime-scan/constants.ts
|
|
5
5
|
const RUNTIME_SCAN_MAX_COMPONENT_EVENTS = 2e3;
|
|
6
6
|
const RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES = 5 * 1024 * 1024;
|
|
@@ -72,5 +72,5 @@ const sanitizeRuntimeUrl = (rawUrl) => {
|
|
|
72
72
|
//#endregion
|
|
73
73
|
export { RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS as _, RUNTIME_SCAN_LOCAL_DEV_PORTS as a, RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS as b, RUNTIME_SCAN_MAX_SNAPSHOT_BYTES as c, RUNTIME_SCAN_MAX_TRACE_BYTES as d, RUNTIME_SCAN_PROBE_RELATIVE_PATH as f, RUNTIME_SCAN_SAFE_CDP_PAGE_URLS as g, RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER as h, RUNTIME_SCAN_LAYOUT_THRASH_RATIO as i, RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES as l, RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER as m, RUNTIME_SCAN_BROWSER_WIDTH_PX as n, RUNTIME_SCAN_MAX_COMPONENT_EVENTS as o, RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER as p, RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN as r, RUNTIME_SCAN_MAX_RECORDING_DURATION_MS as s, sanitizeRuntimeUrl as t, RUNTIME_SCAN_MAX_STRING_LENGTH as u, RUNTIME_SCAN_TRACE_CATEGORIES as v, RUNTIME_SCAN_TRACE_FILE_EXTENSION as y };
|
|
74
74
|
|
|
75
|
-
//# sourceMappingURL=sanitize-runtime-url-
|
|
76
|
-
//# debugId=
|
|
75
|
+
//# sourceMappingURL=sanitize-runtime-url-DDpVhBL2.js.map
|
|
76
|
+
//# debugId=0ae8b9e1-5dcf-547d-a5a1-1c7a6ba295e0
|
|
@@ -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]="aa3625cd-6889-54e8-ae3b-8a42ac09d3d9")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-Y776Vbwj.js";
|
|
5
|
+
import { i as warnDeprecatedDiff } from "./resolve-scope-DEdEAzYs.js";
|
|
6
|
+
import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-CBKoNwf1.js";
|
|
7
|
+
import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-CdCaqzhV.js";
|
|
8
|
+
import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-tqzyUoLT.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-Y4mRIN9e.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-jaaTSG_I.js.map
|
|
49
|
+
//# debugId=aa3625cd-6889-54e8-ae3b-8a42ac09d3d9
|
|
@@ -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]="695cd305-fe62-5c84-b74a-8631e48a6577")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-Y776Vbwj.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-BcEsn4iH.js.map
|
|
10
|
+
//# debugId=695cd305-fe62-5c84-b74a-8631e48a6577
|
|
@@ -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]="28c2ba33-db90-5526-8efa-46e7f893ec73")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-Y776Vbwj.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-tqzyUoLT.js.map
|
|
25
|
+
//# debugId=28c2ba33-db90-5526-8efa-46e7f893ec73
|
|
@@ -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]="938a4de1-b096-5917-adb7-fd8287e6a5f7")}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-Y776Vbwj.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.4628244`;
|
|
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.4628244") ? "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-CY9azsA9.js.map
|
|
406
|
+
//# debugId=938a4de1-b096-5917-adb7-fd8287e6a5f7
|
|
@@ -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]="e0b7eb0d-1d77-5c04-8cf2-5e2c65c28a92")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-EMNGZNtj.js";
|
|
4
|
+
import { _ as VERSION, t as recordCount } from "./record-metric-Y776Vbwj.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-CjHT5aan.js.map
|
|
22
|
+
//# debugId=e0b7eb0d-1d77-5c04-8cf2-5e2c65c28a92
|
|
@@ -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]="69830e58-59b6-5d2b-8304-ec7cc63b0696")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-CBKoNwf1.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-DHxXxq-H.js.map
|
|
21
|
+
//# debugId=69830e58-59b6-5d2b-8304-ec7cc63b0696
|
|
@@ -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]="6bcbdf9d-e99a-55c5-b837-399586492a95")}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-Y776Vbwj.js";
|
|
5
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-CY9azsA9.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-mzbVv3D4.js.map
|
|
111
|
+
//# debugId=6bcbdf9d-e99a-55c5-b837-399586492a95
|
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.4628244",
|
|
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.4628244"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/babel__code-frame": "^7.27.0",
|