react-doctor 0.9.14-dev.260b448 → 0.9.14-dev.83466a8
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-gekJe2aO.js → build-section-divider-CAWXRUMJ.js} +4 -4
- package/dist/{ci-S43tmiRM.js → ci-D_ENKPGK.js} +12 -12
- package/dist/cli.js +26 -25
- package/dist/{design-D4ctp88p.js → design-DV4k7slC.js} +4 -4
- package/dist/{exit-gracefully-D69nyRA4.js → exit-gracefully-mMDXRxMF.js} +6 -6
- package/dist/{handle-error-BE3O3Ugs.js → handle-error-DJtDTgb4.js} +5 -5
- package/dist/index.js +17 -30
- package/dist/{inspect-CKjzI6gB.js → inspect-Bu0U8NZ5.js} +15 -15
- package/dist/{install-PndnbaOs.js → install-BFlXeoez.js} +9 -9
- package/dist/{install-doctor-script-BAGTNvoL.js → install-doctor-script-BHwA_Cjy.js} +4 -4
- package/dist/{install-github-workflow-u0qIsWNy.js → install-github-workflow-BEOuMqAj.js} +4 -4
- package/dist/{install-react-doctor-D4nc_F4X.js → install-react-doctor-Ck9IDUVl.js} +8 -8
- package/dist/{jsx-runtime-DT94xKcX.js → jsx-runtime-CgOxdFZS.js} +5 -5
- package/dist/{print-branded-header-BwVcjvPZ.js → print-branded-header-ChR6uLrv.js} +4 -4
- package/dist/{prompt-runtime-scan-url-Bjsn6chf.js → prompt-runtime-scan-url-D2859TE1.js} +5 -5
- package/dist/{read-object-file-lnRYcs-x.js → read-object-file-w4Zh0_Lj.js} +4 -4
- package/dist/{record-metric-CQTcuE_T.js → record-metric-BK9LFZPO.js} +19 -32
- package/dist/{report-error-DbKdfCEt.js → report-error-CtLMZsVf.js} +5 -5
- package/dist/{report-workflow-result-w7YFI8kv.js → report-workflow-result-D0p8q7rJ.js} +5 -5
- package/dist/{resolve-scope-qNuGZ908.js → resolve-scope-C7ZeygIc.js} +6 -6
- package/dist/{rules-ByH9CzFb.js → rules-CY6HF12H.js} +6 -6
- package/dist/{run-scan-app-5khIAxD-.js → run-scan-app-afuV1E7E.js} +10 -10
- package/dist/{runtime-scan-BuSOAA46.js → runtime-scan-Z0ds5TbE.js} +9 -9
- package/dist/{sanitize-runtime-url-5kypdWqI.js → sanitize-runtime-url-BkrB7RjK.js} +4 -4
- package/dist/{scan-Cv_Bwsqc.js → scan-BZn-K1Xq.js} +9 -9
- package/dist/{should-fail-scan-gate-fan2kMeu.js → should-fail-scan-gate-DpWqdECw.js} +26 -15
- package/dist/{should-skip-prompts-BbpOXwiH.js → should-skip-prompts-CobsVjgV.js} +4 -4
- package/dist/{should-use-tui-CI612w4M.js → should-use-tui-D8Pw2Phg.js} +4 -4
- package/dist/{telemetry-runtime-CbJQ0K-c.js → telemetry-runtime-CdxHMIQV.js} +6 -6
- package/dist/{version-0CrqwW3U.js → version-D7x_oJ7a.js} +4 -4
- package/dist/{why-Bm4JpSPS.js → why-CTL3gjbA.js} +4 -4
- package/dist/{with-run-span-DF9i7MAa.js → with-run-span-B5Bp7USZ.js} +5 -5
- package/package.json +4 -4
|
@@ -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]="cad44322-fcd5-5497-9e19-fa5d311ea683")}catch(e){}}();
|
|
3
3
|
import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
|
|
4
|
-
import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-
|
|
5
|
-
import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-
|
|
4
|
+
import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-BkrB7RjK.js";
|
|
5
|
+
import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-CgOxdFZS.js";
|
|
6
6
|
import * as http from "node:http";
|
|
7
7
|
//#region src/cli/runtime-scan/detect-local-runtime-urls.ts
|
|
8
8
|
const LOCAL_HTTP_HOSTS = ["127.0.0.1", "::1"];
|
|
@@ -236,5 +236,5 @@ const promptRuntimeScanUrl = () => new Promise((resolve) => {
|
|
|
236
236
|
//#endregion
|
|
237
237
|
export { promptRuntimeScanUrl };
|
|
238
238
|
|
|
239
|
-
//# sourceMappingURL=prompt-runtime-scan-url-
|
|
240
|
-
//# debugId=
|
|
239
|
+
//# sourceMappingURL=prompt-runtime-scan-url-D2859TE1.js.map
|
|
240
|
+
//# debugId=cad44322-fcd5-5497-9e19-fa5d311ea683
|
|
@@ -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 { zn as isPlainObject } 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]="657114ba-420d-56d6-ad39-06a71af09af7")}catch(e){}}();
|
|
3
|
+
import { zn as isPlainObject } from "./record-metric-BK9LFZPO.js";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
5
5
|
import { parseJSON5 } from "confbox";
|
|
6
6
|
//#region src/cli/utils/read-object-file.ts
|
|
@@ -20,5 +20,5 @@ const readObjectFile = (filePath) => {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
export { readObjectFile as t };
|
|
22
22
|
|
|
23
|
-
//# sourceMappingURL=read-object-file-
|
|
24
|
-
//# debugId=
|
|
23
|
+
//# sourceMappingURL=read-object-file-w4Zh0_Lj.js.map
|
|
24
|
+
//# debugId=657114ba-420d-56d6-ad39-06a71af09af7
|
|
@@ -1,5 +1,5 @@
|
|
|
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]="59510264-dbbf-5337-9ab8-6bf30fd31fb0")}catch(e){}}();
|
|
3
3
|
import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
|
|
4
4
|
import { $ as warmReactCompilerDetection, $t as OXLINT_WORKER_JOB_END_MARKER, A as buildGitSourceListingRequest, An as TARGET_BLANK_BROWSER_SUPPORT, At as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, B as resolveGitCommand, Bt as MAINTAINABILITY_DUPLICATE_JSX_RULE, Cn as SUPPLY_CHAIN_CACHE_TTL_MS, Ct as ES_TARGET_YEAR_BY_NAME, Dn as SUPPLY_CHAIN_PLUGIN, Dt as GENERATED_BUNDLE_FILE_PATTERN, En as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Et as FILE_LINT_CACHE_MAX_FILE_COUNT, F as lowerChildProcessPriority, Fn as VERCEL_NEXTJS_SECURITY_RELEASE_URL, Ft as HTML_FILE_PATTERN, G as resolvePluginPath, Gt as MINIFIED_SNIFF_BYTES, H as resolveOxlintThreadCount, It as IGNORED_DIRECTORIES, J as resolveTsConfigRelativePath, K as resolveReactDoctorCacheDir, Kt as OCCURRENCE_MATCHED_CATEGORIES, Lt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Mt as GIT_LS_FILES_MAX_BUFFER_BYTES, Nn as TSCONFIG_FILENAMES, Nt as GIT_SHOW_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_RULE, Ot as GENERATED_SOURCE_DIRECTORY_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Pt as GIT_SOURCE_LISTING_ARGUMENTS, Q as takeReactCompilerDetection, Qt as OXLINT_SPLIT_TOTAL_BUDGET_MS, R as readSystemConcurrencyFacts, Sn as SUPPLY_CHAIN_CACHE_SUBDIR, Tn as SUPPLY_CHAIN_IGNORED_PACKAGES, Tt as FILE_LINT_CACHE_FILENAME, U as resolveOxlintToolchainVersions, Ut as MAX_GLOB_PATTERN_LENGTH_CHARS, V as resolveOxlintBinary, Vt as MAINTAINABILITY_PLUGIN, W as resolveOxlintWorkerRuntime, Wt as MILLISECONDS_PER_SECOND, X as spawnOxlintWorkerProcess, Xt as OXLINT_OUTPUT_MAX_BYTES, Y as setChildProcessRef, Yt as OXLINT_OOM_RESCUE_BUDGET_MS, Z as takePrespawnedOxlintWorker, Zt as OXLINT_SPAWN_TIMEOUT_MS, _n as SOURCE_FILE_PATTERN, _t as DIAGNOSTIC_CATEGORY_BUCKETS, an as REACT_ROUTER_CAPABILITY_THRESHOLDS, at as AXIOM_METRICS_DATASET_HEADER, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, cn as ROOT_CAUSE_GROUPABLE_RULE_KEYS, d as METRIC_DISTRIBUTION_BOUNDARIES, dt as COMPILER_CLEANUP_BUCKET, en as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, et as ABORT_EXIT_CODES, fn as SIDECAR_LINT_CACHE_FILENAME, ft as COMPILER_CLEANUP_RULE_KEYS, gn as SOCKET_PACKAGE_PAGE_BASE, gt as DEFAULT_BRANCH_CANDIDATES, hn as SOCKET_FREE_USER_AGENT, in as REACT_BLOG_RSC_ADVISORY_URL, j as buildOxlintChildEnv, jn as TELEMETRY_EXPORT_INTERVAL_MS, jt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, kn as TAILWIND_POSTCSS7_COMPAT_ALIAS, l as INTERNAL_ERROR_JSON_FALLBACK, ln as SCANNED_DOT_DIRECTORIES, mn as SOCKET_FREE_PURL_API_BASE, mt as CONFIG_FINGERPRINT_FILENAMES, nn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, nt as APP_ONLY_RULE_KEYS, on as REACT_SERVER_DOM_PACKAGES, ot as AXIOM_METRICS_PATH, pt as CONFIG_CACHE_TTL_MS, q as resolveScanConcurrency, qt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, rt as AXIOM_DATASET_HEADER, sn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, st as AXIOM_TRACES_PATH, tn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCORE_API_URL, vn as SPAWN_ARGS_MAX_LENGTH_CHARS, vt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, wn as SUPPLY_CHAIN_CATEGORY, wt as FETCH_TIMEOUT_MS, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, xt as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, yn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, yt as DOCS_RULES_BASE_URL, z as resolveConfiguredScanConcurrency, zt as MAINTAINABILITY_CATEGORY } from "./constants-CgtYeXfx.js";
|
|
5
5
|
import { n as require_picomatch, t as require_semver } from "./semver-BZIuy1gP.js";
|
|
@@ -64707,21 +64707,24 @@ const isPackageJsonReanimatedAware = (packageJson) => {
|
|
|
64707
64707
|
};
|
|
64708
64708
|
return Object.hasOwn(allDependencies, REANIMATED_DEPENDENCY_NAME$1);
|
|
64709
64709
|
};
|
|
64710
|
-
const
|
|
64711
|
-
"@react-router/cloudflare",
|
|
64712
|
-
"@react-router/node",
|
|
64713
|
-
"@react-router/serve",
|
|
64714
|
-
"vike",
|
|
64715
|
-
"vite-plugin-ssr"
|
|
64716
|
-
]);
|
|
64717
|
-
const isPackageJsonSsrAware = (packageJson) => {
|
|
64710
|
+
const hasAnyDependency = (packageJson, packageNames) => {
|
|
64718
64711
|
const allDependencies = {
|
|
64719
64712
|
...packageJson.peerDependencies,
|
|
64720
64713
|
...packageJson.dependencies,
|
|
64721
64714
|
...packageJson.devDependencies,
|
|
64722
64715
|
...packageJson.optionalDependencies
|
|
64723
64716
|
};
|
|
64724
|
-
return
|
|
64717
|
+
return packageNames.some((packageName) => allDependencies[packageName] !== void 0);
|
|
64718
|
+
};
|
|
64719
|
+
const SSR_DEPENDENCY_NAMES = [
|
|
64720
|
+
"@react-router/cloudflare",
|
|
64721
|
+
"@react-router/node",
|
|
64722
|
+
"@react-router/serve",
|
|
64723
|
+
"vike",
|
|
64724
|
+
"vite-plugin-ssr"
|
|
64725
|
+
];
|
|
64726
|
+
const isPackageJsonSsrAware = (packageJson) => {
|
|
64727
|
+
return hasAnyDependency(packageJson, SSR_DEPENDENCY_NAMES);
|
|
64725
64728
|
};
|
|
64726
64729
|
const getWorkspacePatterns = (rootDirectory, packageJson) => {
|
|
64727
64730
|
const pnpmPatterns = parsePnpmWorkspacePatterns(rootDirectory);
|
|
@@ -64839,15 +64842,6 @@ const getTanStackQueryVersion = (packageJson) => {
|
|
|
64839
64842
|
packageNames: TANSTACK_REACT_QUERY_PACKAGES
|
|
64840
64843
|
});
|
|
64841
64844
|
};
|
|
64842
|
-
const hasAnyDependency = (packageJson, packageNames) => {
|
|
64843
|
-
const allDependencies = {
|
|
64844
|
-
...packageJson.peerDependencies,
|
|
64845
|
-
...packageJson.dependencies,
|
|
64846
|
-
...packageJson.devDependencies,
|
|
64847
|
-
...packageJson.optionalDependencies
|
|
64848
|
-
};
|
|
64849
|
-
return packageNames.some((packageName) => allDependencies[packageName] !== void 0);
|
|
64850
|
-
};
|
|
64851
64845
|
const BASE_UI_PACKAGES = ["@base-ui-components/react", "@base-ui/react"];
|
|
64852
64846
|
const hasBaseUiDependency = (packageJson) => hasAnyDependency(packageJson, BASE_UI_PACKAGES);
|
|
64853
64847
|
const RADIX_UNIFIED_PACKAGE = "radix-ui";
|
|
@@ -64884,13 +64878,7 @@ const I18N_PACKAGES = [
|
|
|
64884
64878
|
"react-intl-universal"
|
|
64885
64879
|
];
|
|
64886
64880
|
const hasI18nDependency = (packageJson) => {
|
|
64887
|
-
|
|
64888
|
-
...packageJson.peerDependencies,
|
|
64889
|
-
...packageJson.dependencies,
|
|
64890
|
-
...packageJson.devDependencies,
|
|
64891
|
-
...packageJson.optionalDependencies
|
|
64892
|
-
};
|
|
64893
|
-
return I18N_PACKAGES.some((packageName) => allDependencies[packageName] !== void 0);
|
|
64881
|
+
return hasAnyDependency(packageJson, I18N_PACKAGES);
|
|
64894
64882
|
};
|
|
64895
64883
|
const REACT_ARIA_COMPONENT_PACKAGES = ["react-aria-components"];
|
|
64896
64884
|
const TANSTACK_TABLE_PACKAGES = ["@tanstack/react-table"];
|
|
@@ -65985,7 +65973,6 @@ const warnConfigIssue = (message) => {
|
|
|
65985
65973
|
process.stderr.write(`[react-doctor] ${message}\n`);
|
|
65986
65974
|
};
|
|
65987
65975
|
const isStringArray = (value) => Array.isArray(value) && value.every((entry) => typeof entry === "string");
|
|
65988
|
-
const collectStringList = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : [];
|
|
65989
65976
|
const hasMatchingRuleOverride = (ruleIds, ruleIdentifier) => {
|
|
65990
65977
|
if (ruleIds.size === 0) return true;
|
|
65991
65978
|
for (const ruleId of ruleIds) if (isSameRuleKey(ruleId, ruleIdentifier)) return true;
|
|
@@ -66019,11 +66006,11 @@ const compileIgnoreOverrides = (userConfig) => {
|
|
|
66019
66006
|
return overrides.flatMap((entry, index) => {
|
|
66020
66007
|
const validated = validateOverrideEntry(entry, index);
|
|
66021
66008
|
if (!validated) return [];
|
|
66022
|
-
const filePatterns = compileGlobPatternsLenient(
|
|
66009
|
+
const filePatterns = compileGlobPatternsLenient(validated.files, (error) => warnConfigIssue(`ignore.overrides[${index}]: ${error.message}`));
|
|
66023
66010
|
if (filePatterns.length === 0) return [];
|
|
66024
66011
|
return [{
|
|
66025
66012
|
filePatterns,
|
|
66026
|
-
ruleIds: new Set(
|
|
66013
|
+
ruleIds: new Set(validated.rules ?? [])
|
|
66027
66014
|
}];
|
|
66028
66015
|
});
|
|
66029
66016
|
};
|
|
@@ -77005,7 +76992,7 @@ const makeNoopConsole = () => ({
|
|
|
77005
76992
|
});
|
|
77006
76993
|
//#endregion
|
|
77007
76994
|
//#region src/cli/utils/version.ts
|
|
77008
|
-
const VERSION = "0.9.14-dev.
|
|
76995
|
+
const VERSION = "0.9.14-dev.83466a8";
|
|
77009
76996
|
//#endregion
|
|
77010
76997
|
//#region src/cli/utils/json-mode.ts
|
|
77011
76998
|
let context = null;
|
|
@@ -77349,5 +77336,5 @@ const recordDistribution = (name, value, options = {}) => {
|
|
|
77349
77336
|
//#endregion
|
|
77350
77337
|
export { buildSkippedChecks as $, validateConfigTypes as $t, Git as A, void_$1 as An, isProjectDiscoveryError as At, Progress as B, materializeSourceTree as Bt, ACTION_INPUT_ENVIRONMENT_VARIABLES as C, buildWithScope as Cn, getEquivalentRuleKeys as Ct, isCodingAgentEnvironment as D, close as Dn, hashFileContents as Dt, isCiOrCodingAgentEnvironment as E, succeed$3 as En, hasSupportedFrameworkOrLibrary as Et, Maintainability as F, toCanonicalPath as Fn, listSourceFiles as Ft, StagedFiles as G, resolveScanTarget as Gt, Reporter as H, remainingDeadlineBudgetMs as Ht, NodeResolver as I, isDirectory as In, listSourceFilesCooperative as It, anonymizeText as J, scrubSensitivePaths as Jt, SupplyChain as K, restoreLegacyThrow as Kt, OxlintConcurrency as L, isErrnoException as Ln, listWorkspacePackages as Lt, LEGACY_CONFIG_FILENAME as M, isMonorepoRoot as Mn, isSameRuleKey as Mt, LintPartialFailures as N, yieldToEventLoop as Nn, isScanComplete as Nt, Config as O, makeUnsafe$5 as On, highlighter as Ot, Linter as P, messageFromUnknown as Pn, layerObservability as Pt, buildRuleSeverityControls as Q, toRelativePath as Qt, OxlintSpawnSlots as R, isFile as Rn, loadConfigWithSource as Rt, isDebugFlagEnabled as S, void_ as Sn, getDiffInfo as St, isCiEnvironment as T, provide$2 as Tn, hasPublishedFixRecipe as Tt, Score as U, resolveGithubActionsScoreMetadata as Ut, Project as V, mergeReactDoctorConfigs as Vt, SidecarLintCacheEnabled as W, resolveLintBatchOrdering as Wt, buildJsonReport as X, shouldUseMaintainabilityLayer as Xt, atomicWriteJson as Y, setColorEnabled as Yt, buildRuleDocsUrl as Z, summarizeDiagnostics as Zt, VERSION as _, provideService as _n, formatErrorChain as _t, isEnvFlagEnabled as a, log as an, computeConfigFingerprint as at, isNonInteractiveEnvironment as b, sync as bn, getChangedLineRanges as bt, setSentryProjectInfo as c, decodeUnknownSync as cn, createInvocationCaches as ct, isJsonModeActive as d, makeSpan$1 as dn, detectAiTrainingEnvironment as dt, warmDuplicateJsxWorker as en, calculateScore as et, setJsonReportDirectory as f, map$3 as fn, discoverSupportedSubprojects as ft, writeJsonReport as g, provideContext as gn, findLegacyConfig as gt, writeJsonErrorReport as h, provide as hn, filterSourceFiles as ht, isTelemetryEnabled as i, info as in, collectSourceFilesByDirectory as it, InvocationCaches as j, ParentSpan as jn, isReactDoctorError as jt, Files as k, fail$5 as kn, isPathInsideDirectory as kt, getRunId as l, make$30 as ln, createNodeReadFileLinesSync as lt, writeJsonCancellationReport as m, promise as mn, filterPathsOutsideDirectories as mt, recordDistribution as n, Console as nn, classifyFileContext as nt, buildSentryScope as o, warn$1 as on, computeDiagnosticDelta as ot, setJsonReportMode as p, orElseSucceed as pn, filterDiagnosticsForSurface as pt, anonymizeInPlace as q, runInspect as qt, toSpanAttributes as r, error as rn, clearConfigCache as rt, buildSentryProjectContext as s, Diagnostic as sn, countOptInProjectRuleSelections as st, recordCount as t, warmOxlintWorkerPool as tn, canonicalizeUserRuleKey as tt, enableJsonMode as u, gen as un, createOxlintSpawnSlots as ut, makeNoopConsole as v, runPromise as vn, formatReactDoctorError as vt, detectRunnerOs as w, mergeAll$1 as wn, groupBy as wt, isGitHookEnvironment as x, try_ as xn, getDiagnosticRuleIdentity as xt, CliInputError as y, runSync as yn, getBaselineDiffPlan as yt, PerFileLintCacheEnabled as z, isPlainObject as zn, mapWithConcurrency as zt };
|
|
77351
77338
|
|
|
77352
|
-
//# sourceMappingURL=record-metric-
|
|
77353
|
-
//# debugId=
|
|
77339
|
+
//# sourceMappingURL=record-metric-BK9LFZPO.js.map
|
|
77340
|
+
//# debugId=59510264-dbbf-5337-9ab8-6bf30fd31fb0
|
|
@@ -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]="7e579495-437b-51cf-a431-a7b1e08ca0fe")}catch(e){}}();
|
|
3
3
|
import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { jt as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-
|
|
5
|
-
import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-
|
|
4
|
+
import { jt as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-BK9LFZPO.js";
|
|
5
|
+
import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-CdxHMIQV.js";
|
|
6
6
|
import { r as recordRunTraceId, t as getActiveRunTrace } from "./active-run-trace-Dewycxda.js";
|
|
7
7
|
//#region src/cli/utils/report-error.ts
|
|
8
8
|
/**
|
|
@@ -61,5 +61,5 @@ const reportErrorToSentry = async (error) => {
|
|
|
61
61
|
//#endregion
|
|
62
62
|
export { reportErrorToSentry as t };
|
|
63
63
|
|
|
64
|
-
//# sourceMappingURL=report-error-
|
|
65
|
-
//# debugId=
|
|
64
|
+
//# sourceMappingURL=report-error-CtLMZsVf.js.map
|
|
65
|
+
//# debugId=7e579495-437b-51cf-a431-a7b1e08ca0fe
|
|
@@ -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]="a1cbe9b9-353f-58e3-8630-8b0a264469d7")}catch(e){}}();
|
|
3
3
|
import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { t as recordCount } from "./record-metric-
|
|
5
|
-
import { u as isCommandAvailable } from "./install-github-workflow-
|
|
4
|
+
import { t as recordCount } from "./record-metric-BK9LFZPO.js";
|
|
5
|
+
import { u as isCommandAvailable } from "./install-github-workflow-BEOuMqAj.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
@@ -288,5 +288,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
|
|
|
288
288
|
//#endregion
|
|
289
289
|
export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, loadAgentInstall as g, detectAvailableAgents as h, readPreference as i, CI_PITCH_EVENT as l, computeDefaultSelectedAgents as m, openUrl as n, runMigrations as o, SETUP_HINT_EVENT as p, isGatePending as r, writePreference as s, reportWorkflowResult as t, HANDOFF_TARGET_PREFERENCE_ID as u };
|
|
290
290
|
|
|
291
|
-
//# sourceMappingURL=report-workflow-result-
|
|
292
|
-
//# debugId=
|
|
291
|
+
//# sourceMappingURL=report-workflow-result-D0p8q7rJ.js.map
|
|
292
|
+
//# debugId=a1cbe9b9-353f-58e3-8630-8b0a264469d7
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { Fn as toCanonicalPath, ht as filterSourceFiles, kt as isPathInsideDirectory } 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]="a2f2e84a-c208-5f16-bc49-33232fd88061")}catch(e){}}();
|
|
3
|
+
import { Fn as toCanonicalPath, ht as filterSourceFiles, kt as isPathInsideDirectory } from "./record-metric-BK9LFZPO.js";
|
|
4
4
|
import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
|
|
5
|
-
import { N as cliLogger } from "./install-doctor-script-
|
|
6
|
-
import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-
|
|
5
|
+
import { N as cliLogger } from "./install-doctor-script-BHwA_Cjy.js";
|
|
6
|
+
import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-BEOuMqAj.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
//#region src/cli/utils/open-workflow-pull-request.ts
|
|
9
9
|
const NEW_BRANCH_PREFIX = "react-doctor/add-github-actions";
|
|
@@ -333,5 +333,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
|
|
|
333
333
|
//#endregion
|
|
334
334
|
export { isValidBlockingLevel as a, openWorkflowPullRequest as c, warnDeprecatedDiff as i, stageWorkflowFile as l, isScopeValue as n, pickBlockingLevel as o, resolveScope as r, resolveBlockingLevel as s, finalizeScope as t };
|
|
335
335
|
|
|
336
|
-
//# sourceMappingURL=resolve-scope-
|
|
337
|
-
//# debugId=
|
|
336
|
+
//# sourceMappingURL=resolve-scope-C7ZeygIc.js.map
|
|
337
|
+
//# debugId=a2f2e84a-c208-5f16-bc49-33232fd88061
|
|
@@ -1,9 +1,9 @@
|
|
|
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]="5e6947aa-5d26-5c13-ab3e-db87d7e2d965")}catch(e){}}();
|
|
3
3
|
import { dt as COMPILER_CLEANUP_BUCKET, ft as COMPILER_CLEANUP_RULE_KEYS, u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { $t as validateConfigTypes, Ct as getEquivalentRuleKeys, Mt as isSameRuleKey, Ot as highlighter, Rt as loadConfigWithSource, Z as buildRuleDocsUrl, rt as clearConfigCache, t as recordCount, zn as isPlainObject } from "./record-metric-
|
|
5
|
-
import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-
|
|
6
|
-
import { t as readObjectFile } from "./read-object-file-
|
|
4
|
+
import { $t as validateConfigTypes, Ct as getEquivalentRuleKeys, Mt as isSameRuleKey, Ot as highlighter, Rt as loadConfigWithSource, Z as buildRuleDocsUrl, rt as clearConfigCache, t as recordCount, zn as isPlainObject } from "./record-metric-BK9LFZPO.js";
|
|
5
|
+
import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-BHwA_Cjy.js";
|
|
6
|
+
import { t as readObjectFile } from "./read-object-file-w4Zh0_Lj.js";
|
|
7
7
|
import * as fs$1 from "node:fs";
|
|
8
8
|
import * as path$1 from "node:path";
|
|
9
9
|
import { REACT_DOCTOR_RULES } from "oxlint-plugin-react-doctor/core";
|
|
@@ -578,5 +578,5 @@ const rulesUnignoreTagAction = async (tag, options) => {
|
|
|
578
578
|
//#endregion
|
|
579
579
|
export { rulesCategoryAction, rulesDisableAction, rulesEnableAction, rulesExplainAction, rulesIgnoreTagAction, rulesListAction, rulesSetAction, rulesUnignoreTagAction };
|
|
580
580
|
|
|
581
|
-
//# sourceMappingURL=rules-
|
|
582
|
-
//# debugId=
|
|
581
|
+
//# sourceMappingURL=rules-CY6HF12H.js.map
|
|
582
|
+
//# debugId=5e6947aa-5d26-5c13-ab3e-db87d7e2d965
|
|
@@ -1,14 +1,14 @@
|
|
|
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]="5b3749d8-2b0a-53a7-a82a-1aa161e00e46")}catch(e){}}();
|
|
3
3
|
import { D as TUI_REPORT_COMPACT_MAX_ROWS, In as getCategoryImpact, O as TUI_REPORT_DETAIL_WIDTH_FRACTION, _t as DIAGNOSTIC_CATEGORY_BUCKETS, kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { B as Progress, En as succeed, Gt as resolveScanTarget, H as Reporter, Ht as remainingDeadlineBudgetMs, Nn as yieldToEventLoop, Ot as highlighter, Sn as void_, St as getDiffInfo, T as isCiEnvironment, Tt as hasPublishedFixRecipe, Z as buildRuleDocsUrl, bn as sync, bt as getChangedLineRanges, et as calculateScore, n as recordDistribution, t as recordCount, vn as runPromise, x as isGitHookEnvironment, yt as getBaselineDiffPlan, zt as mapWithConcurrency } from "./record-metric-
|
|
4
|
+
import { B as Progress, En as succeed, Gt as resolveScanTarget, H as Reporter, Ht as remainingDeadlineBudgetMs, Nn as yieldToEventLoop, Ot as highlighter, Sn as void_, St as getDiffInfo, T as isCiEnvironment, Tt as hasPublishedFixRecipe, Z as buildRuleDocsUrl, bn as sync, bt as getChangedLineRanges, et as calculateScore, n as recordDistribution, t as recordCount, vn as runPromise, x as isGitHookEnvironment, yt as getBaselineDiffPlan, zt as mapWithConcurrency } from "./record-metric-BK9LFZPO.js";
|
|
5
5
|
import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
|
|
6
|
-
import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-
|
|
7
|
-
import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-
|
|
8
|
-
import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-
|
|
9
|
-
import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as shouldFailScanGate, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./should-fail-scan-gate-
|
|
10
|
-
import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-
|
|
11
|
-
import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-
|
|
6
|
+
import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-BHwA_Cjy.js";
|
|
7
|
+
import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-BEOuMqAj.js";
|
|
8
|
+
import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-C7ZeygIc.js";
|
|
9
|
+
import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as shouldFailScanGate, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./should-fail-scan-gate-DpWqdECw.js";
|
|
10
|
+
import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-D0p8q7rJ.js";
|
|
11
|
+
import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-CgOxdFZS.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { performance } from "node:perf_hooks";
|
|
14
14
|
import isUnicodeSupported from "is-unicode-supported";
|
|
@@ -2514,5 +2514,5 @@ const runScanApp = async (input) => {
|
|
|
2514
2514
|
//#endregion
|
|
2515
2515
|
export { runScanApp };
|
|
2516
2516
|
|
|
2517
|
-
//# sourceMappingURL=run-scan-app-
|
|
2518
|
-
//# debugId=
|
|
2517
|
+
//# sourceMappingURL=run-scan-app-afuV1E7E.js.map
|
|
2518
|
+
//# debugId=5b3749d8-2b0a-53a7-a82a-1aa161e00e46
|
|
@@ -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]="
|
|
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]="9f0bfb82-0001-5755-a983-f0a195ed67a1")}catch(e){}}();
|
|
3
3
|
import { u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { Ot as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-
|
|
4
|
+
import { Ot as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-BK9LFZPO.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-CtLMZsVf.js";
|
|
7
|
+
import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-B5Bp7USZ.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-BkrB7RjK.js";
|
|
9
|
+
import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-D8Pw2Phg.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-D2859TE1.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-Z0ds5TbE.js.map
|
|
771
|
+
//# debugId=9f0bfb82-0001-5755-a983-f0a195ed67a1
|
|
@@ -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]="83226cbb-5569-53fb-ab54-79c433e41c90")}catch(e){}}();
|
|
3
|
+
import { y as CliInputError } from "./record-metric-BK9LFZPO.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-BkrB7RjK.js.map
|
|
76
|
+
//# debugId=83226cbb-5569-53fb-ab54-79c433e41c90
|
|
@@ -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]="
|
|
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]="52ef849f-f114-59a2-bd27-e07ff5084cf3")}catch(e){}}();
|
|
3
3
|
import { u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { Gt as resolveScanTarget, t as recordCount } from "./record-metric-
|
|
5
|
-
import { i as warnDeprecatedDiff } from "./resolve-scope-
|
|
6
|
-
import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./should-fail-scan-gate-
|
|
7
|
-
import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-
|
|
8
|
-
import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-
|
|
4
|
+
import { Gt as resolveScanTarget, t as recordCount } from "./record-metric-BK9LFZPO.js";
|
|
5
|
+
import { i as warnDeprecatedDiff } from "./resolve-scope-C7ZeygIc.js";
|
|
6
|
+
import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./should-fail-scan-gate-DpWqdECw.js";
|
|
7
|
+
import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-Bu0U8NZ5.js";
|
|
8
|
+
import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-D8Pw2Phg.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-afuV1E7E.js");
|
|
33
33
|
const { shouldFail } = await runScanApp({
|
|
34
34
|
directory: input.directory,
|
|
35
35
|
scanTarget,
|
|
@@ -44,5 +44,5 @@ const runScanCommand = async (input) => {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
export { runScanCommand };
|
|
46
46
|
|
|
47
|
-
//# sourceMappingURL=scan-
|
|
48
|
-
//# debugId=
|
|
47
|
+
//# sourceMappingURL=scan-BZn-K1Xq.js.map
|
|
48
|
+
//# debugId=52ef849f-f114-59a2-bd27-e07ff5084cf3
|
|
@@ -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]="
|
|
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]="e9a5f902-3b71-5db4-ab22-eca97a6d8fbb")}catch(e){}}();
|
|
3
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-CgtYeXfx.js";
|
|
4
4
|
import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-Bi2D2qVm.js";
|
|
5
|
-
import { $ as buildSkippedChecks, A as Git, B as Progress, Bt as materializeSourceTree, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Dt as hashFileContents, E as isCiOrCodingAgentEnvironment, En as succeed, F as Maintainability, Ft as listSourceFiles, Gt as resolveScanTarget, H as Reporter, Ht as remainingDeadlineBudgetMs, I as NodeResolver, In as isDirectory, It as listSourceFilesCooperative, K as SupplyChain, Kt as restoreLegacyThrow, L as OxlintConcurrency, Lt as listWorkspacePackages, Mn as isMonorepoRoot, N as LintPartialFailures, Nn as yieldToEventLoop, Nt as isScanComplete, O as Config, Ot as highlighter, P as Linter, Q as buildRuleSeverityControls, R as OxlintSpawnSlots, Rn as isFile, T as isCiEnvironment, Tt as hasPublishedFixRecipe, U as Score, Ut as resolveGithubActionsScoreMetadata, V as Project, Vt as mergeReactDoctorConfigs, W as SidecarLintCacheEnabled, Wt as resolveLintBatchOrdering, Xt as shouldUseMaintainabilityLayer, Y as atomicWriteJson, Z as buildRuleDocsUrl, Zt as summarizeDiagnostics, _ as VERSION, _n as provideService, an as log, at as computeConfigFingerprint, b as isNonInteractiveEnvironment, bn as sync, cn as decodeUnknownSync, ct as createInvocationCaches, d as isJsonModeActive, en as warmDuplicateJsxWorker, et as calculateScore, fn as map, ft as discoverSupportedSubprojects, gn as provideContext, hn as provide, ht as filterSourceFiles, it as collectSourceFilesByDirectory, j as InvocationCaches, jn as ParentSpan, jt as isReactDoctorError, k as Files, kt as isPathInsideDirectory, l as getRunId, lt as createNodeReadFileLinesSync, mn as promise, mt as filterPathsOutsideDirectories, n as recordDistribution, nn as Console, nt as classifyFileContext, on as warn, ot as computeDiagnosticDelta, pn as orElseSucceed, pt as filterDiagnosticsForSurface, qt as runInspect, r as toSpanAttributes, rn as error, sn as Diagnostic, st as countOptInProjectRuleSelections, t as recordCount, tn as warmOxlintWorkerPool, tt as canonicalizeUserRuleKey, un as gen, ut as createOxlintSpawnSlots, v as makeNoopConsole, vn as runPromise, w as detectRunnerOs, wn as mergeAll, wt as groupBy, xn as try_, xt as getDiagnosticRuleIdentity, y as CliInputError, yn as runSync, z as PerFileLintCacheEnabled, zt as mapWithConcurrency } from "./record-metric-
|
|
6
|
-
import { t as getTelemetryContext } from "./telemetry-runtime-
|
|
5
|
+
import { $ as buildSkippedChecks, A as Git, B as Progress, Bt as materializeSourceTree, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Dt as hashFileContents, E as isCiOrCodingAgentEnvironment, En as succeed, F as Maintainability, Ft as listSourceFiles, Gt as resolveScanTarget, H as Reporter, Ht as remainingDeadlineBudgetMs, I as NodeResolver, In as isDirectory, It as listSourceFilesCooperative, K as SupplyChain, Kt as restoreLegacyThrow, L as OxlintConcurrency, Lt as listWorkspacePackages, Mn as isMonorepoRoot, N as LintPartialFailures, Nn as yieldToEventLoop, Nt as isScanComplete, O as Config, Ot as highlighter, P as Linter, Q as buildRuleSeverityControls, R as OxlintSpawnSlots, Rn as isFile, T as isCiEnvironment, Tt as hasPublishedFixRecipe, U as Score, Ut as resolveGithubActionsScoreMetadata, V as Project, Vt as mergeReactDoctorConfigs, W as SidecarLintCacheEnabled, Wt as resolveLintBatchOrdering, Xt as shouldUseMaintainabilityLayer, Y as atomicWriteJson, Z as buildRuleDocsUrl, Zt as summarizeDiagnostics, _ as VERSION, _n as provideService, an as log, at as computeConfigFingerprint, b as isNonInteractiveEnvironment, bn as sync, cn as decodeUnknownSync, ct as createInvocationCaches, d as isJsonModeActive, en as warmDuplicateJsxWorker, et as calculateScore, fn as map, ft as discoverSupportedSubprojects, gn as provideContext, hn as provide, ht as filterSourceFiles, it as collectSourceFilesByDirectory, j as InvocationCaches, jn as ParentSpan, jt as isReactDoctorError, k as Files, kt as isPathInsideDirectory, l as getRunId, lt as createNodeReadFileLinesSync, mn as promise, mt as filterPathsOutsideDirectories, n as recordDistribution, nn as Console, nt as classifyFileContext, on as warn, ot as computeDiagnosticDelta, pn as orElseSucceed, pt as filterDiagnosticsForSurface, qt as runInspect, r as toSpanAttributes, rn as error, sn as Diagnostic, st as countOptInProjectRuleSelections, t as recordCount, tn as warmOxlintWorkerPool, tt as canonicalizeUserRuleKey, un as gen, ut as createOxlintSpawnSlots, v as makeNoopConsole, vn as runPromise, w as detectRunnerOs, wn as mergeAll, wt as groupBy, xn as try_, xt as getDiagnosticRuleIdentity, y as CliInputError, yn as runSync, z as PerFileLintCacheEnabled, zt as mapWithConcurrency } from "./record-metric-BK9LFZPO.js";
|
|
6
|
+
import { t as getTelemetryContext } from "./telemetry-runtime-CdxHMIQV.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-CAWXRUMJ.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, 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, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-BHwA_Cjy.js";
|
|
12
|
+
import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-BEOuMqAj.js";
|
|
13
|
+
import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-C7ZeygIc.js";
|
|
14
|
+
import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-B5Bp7USZ.js";
|
|
15
|
+
import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-D0p8q7rJ.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";
|
|
@@ -2989,10 +2989,21 @@ const promptProjectSelection = async (workspacePackages, rootDirectory) => {
|
|
|
2989
2989
|
};
|
|
2990
2990
|
//#endregion
|
|
2991
2991
|
//#region src/cli/utils/project-scan-outcome.ts
|
|
2992
|
-
const partitionProjectScanOutcomes = (outcomes) =>
|
|
2993
|
-
completedScans
|
|
2994
|
-
skippedScans
|
|
2995
|
-
|
|
2992
|
+
const partitionProjectScanOutcomes = (outcomes) => {
|
|
2993
|
+
const completedScans = [];
|
|
2994
|
+
const skippedScans = [];
|
|
2995
|
+
for (const outcome of outcomes) {
|
|
2996
|
+
if (outcome.status === "completed") {
|
|
2997
|
+
completedScans.push(outcome.value);
|
|
2998
|
+
continue;
|
|
2999
|
+
}
|
|
3000
|
+
if (outcome.status === "skipped") skippedScans.push(outcome.value);
|
|
3001
|
+
}
|
|
3002
|
+
return {
|
|
3003
|
+
completedScans,
|
|
3004
|
+
skippedScans
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
2996
3007
|
//#endregion
|
|
2997
3008
|
//#region src/cli/utils/project-manifest-changed.ts
|
|
2998
3009
|
const PACKAGE_JSON = "package.json";
|
|
@@ -3060,5 +3071,5 @@ const shouldFailScanGate = (input) => {
|
|
|
3060
3071
|
//#endregion
|
|
3061
3072
|
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 };
|
|
3062
3073
|
|
|
3063
|
-
//# sourceMappingURL=should-fail-scan-gate-
|
|
3064
|
-
//# debugId=
|
|
3074
|
+
//# sourceMappingURL=should-fail-scan-gate-DpWqdECw.js.map
|
|
3075
|
+
//# debugId=e9a5f902-3b71-5db4-ab22-eca97a6d8fbb
|
|
@@ -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]="feab7349-3ef9-52bc-9052-391ba77055c8")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-BK9LFZPO.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-CobsVjgV.js.map
|
|
10
|
+
//# debugId=feab7349-3ef9-52bc-9052-391ba77055c8
|
|
@@ -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]="5b23ffb2-b1df-5c02-a3eb-dcd611068de3")}catch(e){}}();
|
|
3
|
+
import { b as isNonInteractiveEnvironment } from "./record-metric-BK9LFZPO.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-D8Pw2Phg.js.map
|
|
25
|
+
//# debugId=5b23ffb2-b1df-5c02-a3eb-dcd611068de3
|
|
@@ -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]="edfafacf-0702-5237-b981-5bd04844bf93")}catch(e){}}();
|
|
3
3
|
import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { An as void_, At as isProjectDiscoveryError, Cn as buildWithScope, Dn as close, J as anonymizeText, Jt as scrubSensitivePaths, Ln as isErrnoException, On as makeUnsafe, Pn as messageFromUnknown, Pt as layerObservability, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, jt as isReactDoctorError, ln as make, o as buildSentryScope, q as anonymizeInPlace, vn as runPromise, y as CliInputError, yn as runSync } from "./record-metric-
|
|
4
|
+
import { An as void_, At as isProjectDiscoveryError, Cn as buildWithScope, Dn as close, J as anonymizeText, Jt as scrubSensitivePaths, Ln as isErrnoException, On as makeUnsafe, Pn as messageFromUnknown, Pt as layerObservability, _ as VERSION, a as isEnvFlagEnabled, i as isTelemetryEnabled, jt as isReactDoctorError, ln as make, o as buildSentryScope, q as anonymizeInPlace, vn as runPromise, y as CliInputError, yn as runSync } from "./record-metric-BK9LFZPO.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.14-dev.
|
|
215
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.14-dev.83466a8`;
|
|
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.14-dev.
|
|
221
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.14-dev.83466a8") ? "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-CdxHMIQV.js.map
|
|
400
|
+
//# debugId=edfafacf-0702-5237-b981-5bd04844bf93
|
|
@@ -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]="d4879b7f-a0ba-5b77-a639-35bacb88f6dc")}catch(e){}}();
|
|
3
3
|
import { u as METRIC } from "./constants-CgtYeXfx.js";
|
|
4
|
-
import { _ as VERSION, t as recordCount } from "./record-metric-
|
|
4
|
+
import { _ as VERSION, t as recordCount } from "./record-metric-BK9LFZPO.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-D7x_oJ7a.js.map
|
|
22
|
+
//# debugId=d4879b7f-a0ba-5b77-a639-35bacb88f6dc
|
|
@@ -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]="b357eadf-9e6e-59c0-8af8-5e65e0b64b4e")}catch(e){}}();
|
|
3
|
+
import { t as inspectAction } from "./inspect-Bu0U8NZ5.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-CTL3gjbA.js.map
|
|
21
|
+
//# debugId=b357eadf-9e6e-59c0-8af8-5e65e0b64b4e
|