react-doctor 0.9.17-dev.5915d6b → 0.9.17-dev.673ce80
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 +5 -1
- package/dist/{build-section-divider-s_cclOPg.js → build-section-divider-BAa0zgGk.js} +5 -5
- package/dist/{ci-LWELjEVD.js → ci-BS9yiGoK.js} +18 -14
- package/dist/cli.js +25 -25
- package/dist/{constants-DHn5rUeg.js → constants-DE6ZPzRQ.js} +6 -5
- package/dist/constants-DNh19qg9.js +2 -2
- package/dist/{design-Cpw_omrn.js → design-DSqc2Ei4.js} +4 -4
- package/dist/{exit-gracefully-B0jeEmTA.js → exit-gracefully-Bd0TFBII.js} +6 -6
- package/dist/{handle-error-B9OCYL8F.js → handle-error-EKBWTFpm.js} +6 -6
- package/dist/index.js +8 -7
- package/dist/{inspect-Mohvcqsd.js → inspect-zixQszK7.js} +16 -16
- package/dist/{install-BOZt_YGe.js → install-FaDd_G5G.js} +10 -10
- package/dist/{install-doctor-script-Btpa6WJp.js → install-doctor-script-Dq7jaDrR.js} +10 -6
- package/dist/{install-github-workflow--watiPdP.js → install-github-workflow-DZZVk90c.js} +22 -8
- package/dist/{install-react-doctor-Kki0Blit.js → install-react-doctor-BdV7SZUE.js} +9 -9
- package/dist/{is-cache-globally-disabled-DDlh_f1u.js → is-cache-globally-disabled-BlQ5D5mG.js} +4 -4
- package/dist/{jsx-runtime-4O0XzvRS.js → jsx-runtime-CE7fjxpQ.js} +6 -6
- package/dist/{print-branded-header-pJyyujQv.js → print-branded-header-BF3GB3Sm.js} +4 -4
- package/dist/{prompt-runtime-scan-url-DOzr6lLo.js → prompt-runtime-scan-url-DoNBgzO0.js} +5 -5
- package/dist/{read-object-file-DVBqr8Cu.js → read-object-file-CIEk_e9T.js} +4 -4
- package/dist/{record-metric-jJbDE0V1.js → record-metric-OfA5gLlb.js} +10 -9
- package/dist/{report-error-BXn9qS0N.js → report-error-DOlDo5z5.js} +6 -6
- package/dist/{report-workflow-result-WiNGpfWL.js → report-workflow-result-B-IlHhkK.js} +8 -7
- package/dist/{resolve-scope-5s0PcQ1X.js → resolve-scope-CMVAPiQd.js} +6 -6
- package/dist/{rules-CBabN0VY.js → rules-DsznB9H3.js} +7 -7
- package/dist/{run-scan-app-CfWrgxz0.js → run-scan-app-goRxq51e.js} +11 -11
- package/dist/{runtime-scan-D9Ecf431.js → runtime-scan-DUBUK3YU.js} +10 -10
- package/dist/{sanitize-runtime-url-_Eyirsdl.js → sanitize-runtime-url-A4BKPixa.js} +4 -4
- package/dist/{scan-BZfXxCHu.js → scan-Csx2HGNC.js} +10 -10
- package/dist/{should-fail-scan-gate-CKDhfjpn.js → should-fail-scan-gate-Ynqij9_L.js} +14 -13
- package/dist/{should-skip-prompts-DHpx0E6X.js → should-skip-prompts-D7BLzKWZ.js} +4 -4
- package/dist/{should-use-tui-CUVcuAvX.js → should-use-tui-BJnJwHgQ.js} +4 -4
- package/dist/{start-scan-preamble-BPz3nzCQ.js → start-scan-preamble-Dz6998T6.js} +5 -5
- package/dist/start-scan-preamble.js +3 -3
- package/dist/{telemetry-runtime-DQiiBhHP.js → telemetry-runtime-B-PywUVc.js} +7 -7
- package/dist/{version-DQJMq_t7.js → version-DoU9KXX2.js} +5 -5
- package/dist/{why-C-3snQ64.js → why-BztlAPKu.js} +4 -4
- package/dist/{with-run-span-8zfkOVIk.js → with-run-span-DevVfLwm.js} +6 -6
- package/package.json +4 -4
|
@@ -1,18 +1,18 @@
|
|
|
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 { E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Ft as HTML_FILE_PATTERN, Ht as MAINTAINABILITY_SOURCE_FILE_PATTERN, Jt as OXLINT_NODE_REQUIREMENT, K as resolveReactDoctorCacheDir, Nt as GIT_SHOW_MAX_BUFFER_BYTES, Rt as JSX_FILE_PATTERN, St as ENTERPRISE_CONTACT_URL, Wt as MILLISECONDS_PER_SECOND, _t as DIAGNOSTIC_CATEGORY_BUCKETS, c as HEAD_SHA_GIT_ARGUMENTS, dn as SHARE_BASE_URL, h as REPOSITORY_ROOT_GIT_ARGUMENTS, i as BASELINE_FILES_TEMP_DIR_PREFIX, k as WORKTREE_STATUS_GIT_ARGUMENTS, q as resolveScanConcurrency, u as METRIC, ut as CI_URL, v as SCAN_RESULT_CACHE_FILENAME } from "./constants-
|
|
4
|
-
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-
|
|
5
|
-
import { $ as buildRuleSeverityControls,
|
|
6
|
-
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]="b5c88c74-9aa1-5f16-84b6-1dea7151c77f")}catch(e){}}();
|
|
3
|
+
import { E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Ft as HTML_FILE_PATTERN, Ht as MAINTAINABILITY_SOURCE_FILE_PATTERN, Jt as OXLINT_NODE_REQUIREMENT, K as resolveReactDoctorCacheDir, Nt as GIT_SHOW_MAX_BUFFER_BYTES, Rt as JSX_FILE_PATTERN, St as ENTERPRISE_CONTACT_URL, Wt as MILLISECONDS_PER_SECOND, _t as DIAGNOSTIC_CATEGORY_BUCKETS, c as HEAD_SHA_GIT_ARGUMENTS, dn as SHARE_BASE_URL, h as REPOSITORY_ROOT_GIT_ARGUMENTS, i as BASELINE_FILES_TEMP_DIR_PREFIX, k as WORKTREE_STATUS_GIT_ARGUMENTS, q as resolveScanConcurrency, u as METRIC, ut as CI_URL, v as SCAN_RESULT_CACHE_FILENAME } from "./constants-DE6ZPzRQ.js";
|
|
4
|
+
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-BlQ5D5mG.js";
|
|
5
|
+
import { $ as buildRuleSeverityControls, A as Files, At as hashFileContents, B as PerFileLintCacheEnabled, Bt as listWorkspacePackages, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as runPromise, Ct as getDiagnosticRuleIdentity, Dt as groupBy, E as isCiOrCodingAgentEnvironment, En as try_, Et as getRuleMetadata, F as Linter, G as SidecarLintCacheEnabled, Gt as mergeReactDoctorConfigs, H as Project, Ht as mapWithConcurrency, I as Maintainability, In as ParentSpan, It as isScanComplete, Jt as resolveLintBatchOrdering, Kt as remainingDeadlineBudgetMs, L as NodeResolver, Ln as isMonorepoRoot, M as InvocationCaches, Mt as isPathInsideDirectory, O as Config, Ot as hasPublishedFixRecipe, P as LintPartialFailures, Pt as isReactDoctorError, Q as buildRuleDocsUrl, R as OxlintConcurrency, Rn as yieldToEventLoop, Rt as listSourceFiles, Sn as provideService, T as isCiEnvironment, Tn as sync, U as Reporter, Un as isFile, Ut as materializeSourceTree, V as Progress, Vn as isDirectory, W as Score, Wt as mergeAndFilterDiagnostics, X as atomicWriteJson, Xt as restoreLegacyThrow, Yt as resolveScanTarget, Zt as runInspect, _ as VERSION, _n as map, an as warmOxlintWorkerPool, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as provide, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as Diagnostic, en as shouldUseMaintainabilityLayer, et as buildSkippedChecks, ft as discoverSupportedSubprojects, hn as gen, ht as filterSourceFiles, in as warmDuplicateJsxWorker, j as Git, jn as succeed, jt as highlighter, k as DIAGNOSTIC_DELTA_IDENTITY, kn as mergeAll, l as getRunId, ln as log, lt as createInvocationCaches, mt as filterPathsOutsideDirectories, n as recordDistribution, nt as canonicalizeUserRuleKey, on as Console, ot as computeConfigFingerprint, pn as decodeUnknownSync, pt as filterDiagnosticsForSurface, q as SupplyChain, qt as resolveGithubActionsScoreMetadata, r as toSpanAttributes, rt as classifyFileContext, sn as error, st as computeDiagnosticDelta, t as recordCount, tn as summarizeDiagnostics, tt as calculateScore, un as warn, ut as createOxlintSpawnSlots, v as makeNoopConsole, vn as orElseSucceed, vt as fingerprintDiagnosticEvidence, w as detectRunnerOs, wn as runSync, xn as provideContext, y as CliInputError, yn as promise, z as OxlintSpawnSlots, zt as listSourceFilesCooperative } from "./record-metric-OfA5gLlb.js";
|
|
6
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-B-PywUVc.js";
|
|
7
7
|
import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
|
|
8
|
-
import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-
|
|
8
|
+
import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-BAa0zgGk.js";
|
|
9
9
|
import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
|
|
10
10
|
import { t as typescriptBinding } from "./_react-doctor_require-typescript-DXQDYeWK.js";
|
|
11
|
-
import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-
|
|
12
|
-
import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow
|
|
13
|
-
import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-
|
|
14
|
-
import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-
|
|
15
|
-
import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-
|
|
11
|
+
import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-Dq7jaDrR.js";
|
|
12
|
+
import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-DZZVk90c.js";
|
|
13
|
+
import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-CMVAPiQd.js";
|
|
14
|
+
import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-DevVfLwm.js";
|
|
15
|
+
import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-B-IlHhkK.js";
|
|
16
16
|
import { createRequire } from "node:module";
|
|
17
17
|
import * as fs$2 from "node:fs";
|
|
18
18
|
import fs, { mkdtempSync, rmSync } from "node:fs";
|
|
@@ -531,6 +531,7 @@ const buildActionAttributes = () => {
|
|
|
531
531
|
actorAssociation: githubActorAssociation,
|
|
532
532
|
runnerOs: detectRunnerOs(),
|
|
533
533
|
comment: readEnvBoolean(ACTION_INPUT_ENVIRONMENT_VARIABLES.comment),
|
|
534
|
+
commentOnClean: readEnvBoolean(ACTION_INPUT_ENVIRONMENT_VARIABLES.commentOnClean),
|
|
534
535
|
reviewComments: readEnvBoolean(ACTION_INPUT_ENVIRONMENT_VARIABLES.reviewComments),
|
|
535
536
|
versionPin: resolveVersionPin(process.env[ACTION_INPUT_ENVIRONMENT_VARIABLES.version])
|
|
536
537
|
});
|
|
@@ -3170,5 +3171,5 @@ const shouldFailScanGate = (input) => {
|
|
|
3170
3171
|
//#endregion
|
|
3171
3172
|
export { createInvocationInspect as A, hasIncompleteScoreAnalysis as B, detectLaunchableAgents as C, buildHandoffPayload as D, launchCliAgent as E, formatSkippedCheckLabel as F, hasLintHardFailure as G, buildNoScoreMessage as H, formatElapsedTime as I, formatFixRecipeLine as J, buildRulePriorityMap as K, printFooter as L, resolveMergeBaseRef as M, printHeadlessReport as N, collectProjectSourceFiles as O, pluralize as P, printDiagnosticsDump as R, setUpGitHubActions as S, copyToClipboard as T, buildEmptyReportMessage as U, filterDiagnosticsByCategories as V, resolveInvocationOxlintConcurrency as W, formatLearnMoreLine as Y, retryMissingProjectScores as _, validateModeFlags as a, filterScansForSurface as b, partitionProjectScanOutcomes as c, buildCodeFrame as d, resolveProjectScan as f, resolveProjectRelativeDirectory as g, resolveProjectSourceFilePaths as h, validateIncludeUntrackedScope as i, inspect as j, deduplicateProjectScans as k, discoverWorkspacePackages as l, resolveProjectDiffIncludePaths as m, formatSkippedProjectsMessage as n, resolveExcludedProjectDirectories as o, resolveProjectChangedLineRanges as p, buildSortedRuleGroups as q, validateFilePathSelectionFlags as r, projectManifestChanged as s, shouldFailScanGate as t, selectProjects as u, resolveWorkspaceDeadCodeOwner as v, CLI_AGENT_BINARIES as w, countUniqueScannedFiles as x, resolveCliInspectOptions as y, formatDiagnosticSite as z };
|
|
3172
3173
|
|
|
3173
|
-
//# sourceMappingURL=should-fail-scan-gate-
|
|
3174
|
-
//# debugId=
|
|
3174
|
+
//# sourceMappingURL=should-fail-scan-gate-Ynqij9_L.js.map
|
|
3175
|
+
//# debugId=b5c88c74-9aa1-5f16-84b6-1dea7151c77f
|
|
@@ -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]="e41fb200-af97-5fe1-b211-2f67aee2097e")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-OfA5gLlb.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-D7BLzKWZ.js.map
|
|
10
|
+
//# debugId=e41fb200-af97-5fe1-b211-2f67aee2097e
|
|
@@ -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]="cc88851e-4a96-5e03-bcea-ba1edbc67e49")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-OfA5gLlb.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-BJnJwHgQ.js.map
|
|
25
|
+
//# debugId=cc88851e-4a96-5e03-bcea-ba1edbc67e49
|
|
@@ -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]="27bf3aa8-8407-5b2d-97b6-bed33e848bef")}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-DE6ZPzRQ.js";
|
|
4
|
+
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-BlQ5D5mG.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-Dz6998T6.js.map
|
|
68
|
+
//# debugId=27bf3aa8-8407-5b2d-97b6-bed33e848bef
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./start-scan-preamble-
|
|
1
|
+
import "./start-scan-preamble-Dz6998T6.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]="87586b2b-e4bc-547b-b96b-a1259169d7ea")}catch(e){}}();
|
|
4
|
+
//# debugId=87586b2b-e4bc-547b-b96b-a1259169d7ea
|
|
@@ -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 { Cn as
|
|
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]="f47ea6e2-529a-5205-91aa-d47767207a47")}catch(e){}}();
|
|
3
|
+
import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-DE6ZPzRQ.js";
|
|
4
|
+
import { Cn as runPromise, Fn as void_, Hn as isErrnoException, J as anonymizeInPlace, Lt as layerObservability, Mn as close, Nn as makeUnsafe, Nt as isProjectDiscoveryError, On as buildWithScope, Pt as isReactDoctorError, Qt as scrubSensitivePaths, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, mn as make, o as buildSentryScope, wn as runSync, y as CliInputError, zn as messageFromUnknown } from "./record-metric-OfA5gLlb.js";
|
|
5
5
|
//#region src/cli/utils/is-environment-error.ts
|
|
6
6
|
const ENVIRONMENT_ERROR_CODES = new Set([
|
|
7
7
|
"EACCES",
|
|
@@ -212,13 +212,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
212
212
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
213
213
|
* standard `SENTRY_RELEASE` override.
|
|
214
214
|
*/
|
|
215
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.17-dev.
|
|
215
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.17-dev.673ce80`;
|
|
216
216
|
/**
|
|
217
217
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
218
218
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
219
219
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
220
220
|
*/
|
|
221
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.17-dev.
|
|
221
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.17-dev.673ce80") ? "development" : "production");
|
|
222
222
|
//#endregion
|
|
223
223
|
//#region src/instrument.ts
|
|
224
224
|
let sentryPromise = null;
|
|
@@ -396,5 +396,5 @@ const shutdownTelemetry = async () => {
|
|
|
396
396
|
//#endregion
|
|
397
397
|
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 };
|
|
398
398
|
|
|
399
|
-
//# sourceMappingURL=telemetry-runtime-
|
|
400
|
-
//# debugId=
|
|
399
|
+
//# sourceMappingURL=telemetry-runtime-B-PywUVc.js.map
|
|
400
|
+
//# debugId=f47ea6e2-529a-5205-91aa-d47767207a47
|
|
@@ -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]="a8a344ca-2ae9-57f5-ad7a-c6e485256fa1")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-DE6ZPzRQ.js";
|
|
4
|
+
import { _ as VERSION, t as recordCount } from "./record-metric-OfA5gLlb.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-DoU9KXX2.js.map
|
|
22
|
+
//# debugId=a8a344ca-2ae9-57f5-ad7a-c6e485256fa1
|
|
@@ -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]="d2fe6ae4-56e6-5aec-97a6-41cf0e1e0991")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-zixQszK7.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-BztlAPKu.js.map
|
|
21
|
+
//# debugId=d2fe6ae4-56e6-5aec-97a6-41cf0e1e0991
|
|
@@ -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 {
|
|
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]="ae87a72f-6b37-5a79-b29b-ca25a7e45533")}catch(e){}}();
|
|
3
|
+
import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-DE6ZPzRQ.js";
|
|
4
|
+
import { Fn as void_, Pn as fail, c as setSentryProjectInfo, gn as makeSpan, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, wn as runSync, xn as provideContext } from "./record-metric-OfA5gLlb.js";
|
|
5
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-B-PywUVc.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-DevVfLwm.js.map
|
|
111
|
+
//# debugId=ae87a72f-6b37-5a79-b29b-ca25a7e45533
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.9.17-dev.
|
|
3
|
+
"version": "0.9.17-dev.673ce80",
|
|
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.17-dev.
|
|
73
|
+
"oxlint-plugin-react-doctor": "0.9.17-dev.673ce80"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"ora": "^9.4.0",
|
|
84
84
|
"react": "19.2.5",
|
|
85
85
|
"react-devtools-core": "^7.0.1",
|
|
86
|
-
"@react-doctor/
|
|
87
|
-
"@react-doctor/
|
|
86
|
+
"@react-doctor/core": "0.9.17",
|
|
87
|
+
"@react-doctor/api": "0.9.17"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": "^20.19.0 || >=22.13.0"
|