react-doctor 0.9.23-dev.990b1ba → 0.9.23-dev.a9f8f5e

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.
Files changed (34) hide show
  1. package/dist/{build-section-divider-CYX0LagQ.js → build-section-divider-BUVb5C3q.js} +4 -4
  2. package/dist/{ci-ru52azEl.js → ci-DmpRpw60.js} +12 -12
  3. package/dist/cli.js +23 -23
  4. package/dist/{design-BWjSoFLO.js → design-B2AFTWPm.js} +4 -4
  5. package/dist/{exit-gracefully-DKQMP-ae.js → exit-gracefully-COX_0pIA.js} +6 -6
  6. package/dist/{handle-error-DMNMP5IT.js → handle-error-JGI0VjJ_.js} +5 -5
  7. package/dist/index.js +4 -4
  8. package/dist/{inspect-BJmaQWfh.js → inspect-Csn-D4e7.js} +15 -15
  9. package/dist/{install-Btcbxyip.js → install-B_HKPZnA.js} +9 -9
  10. package/dist/{install-doctor-script-Dhf3KHKh.js → install-doctor-script-C7ZcfOyV.js} +4 -4
  11. package/dist/{install-github-workflow-DoF50N_f.js → install-github-workflow-DD65m71e.js} +5 -5
  12. package/dist/{install-react-doctor-D0WjTohr.js → install-react-doctor-DVaf9uig.js} +8 -8
  13. package/dist/{jsx-runtime-CMpnOEJ0.js → jsx-runtime-I75HKe0d.js} +5 -5
  14. package/dist/{print-branded-header-CZQI4h0l.js → print-branded-header-Cpqrn8Z0.js} +4 -4
  15. package/dist/project-analysis-worker.js +104 -6
  16. package/dist/{prompt-runtime-scan-url-Cj40b7oc.js → prompt-runtime-scan-url-DHS43C3Z.js} +5 -5
  17. package/dist/{read-object-file-BaETJGma.js → read-object-file-DN2kBtSt.js} +4 -4
  18. package/dist/{record-metric-CoEQHWrD.js → record-metric-CsvG1DEl.js} +6 -6
  19. package/dist/{report-error-VH8c9h6K.js → report-error-CoEvmdXq.js} +5 -5
  20. package/dist/{report-workflow-result-B4FvUkMr.js → report-workflow-result-BQfux7m8.js} +5 -5
  21. package/dist/{resolve-scan-exit-code-BNWGkIBr.js → resolve-scan-exit-code-CEVlTaGO.js} +11 -11
  22. package/dist/{resolve-scope-bGDndnCm.js → resolve-scope-DPTg9AXn.js} +6 -6
  23. package/dist/{rules-BElEnmUj.js → rules-CPID6VRQ.js} +6 -6
  24. package/dist/{run-scan-app-DW-lqwRa.js → run-scan-app-BGz44hh1.js} +10 -10
  25. package/dist/{runtime-scan-DV6O-O9A.js → runtime-scan-D5M230BR.js} +9 -9
  26. package/dist/{sanitize-runtime-url-BLFbNXuV.js → sanitize-runtime-url-B1diXe3I.js} +4 -4
  27. package/dist/{scan-FO0xxIsP.js → scan-Czq8vFpA.js} +9 -9
  28. package/dist/{should-skip-prompts-BclVN0Xr.js → should-skip-prompts-DK9kL1Jb.js} +4 -4
  29. package/dist/{should-use-tui-zjNkLQ8_.js → should-use-tui-BPCRJnN1.js} +4 -4
  30. package/dist/{telemetry-runtime-CCsP5a-x.js → telemetry-runtime-DUgifeE1.js} +6 -6
  31. package/dist/{version-CDfheh3C.js → version-DePuWob4.js} +4 -4
  32. package/dist/{why-BS_izwXh.js → why-Kq4PlC0y.js} +4 -4
  33. package/dist/{with-run-span-BVx5MIzd.js → with-run-span-BvN0J_j_.js} +5 -5
  34. package/package.json +4 -4
@@ -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]="81139e97-fbde-59ee-9b65-cb0499a5510a")}catch(e){}}();
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]="670a5edf-6d7a-5b42-a22b-205573f9c498")}catch(e){}}();
3
3
  import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { n as require_picomatch$2, t as require_semver } from "./semver-BZIuy1gP.js";
5
5
  import { t as typescriptBinding } from "./_react-doctor_require-typescript-DXQDYeWK.js";
@@ -38069,7 +38069,7 @@ const NESTED_EXPO_CONFIG_FILE_GLOBS = [
38069
38069
  ];
38070
38070
  const EXPO_REACT_NATIVE_DEPENDENCIES = new Set(["expo", "react-native"]);
38071
38071
  const EXPO_PLUGIN_RESOLVABLE_EXTENSIONS = SOURCE_EXTENSIONS$3.map((sourceExtension) => `.${sourceExtension}`);
38072
- const isRecord = (value) => typeof value === "object" && value !== null;
38072
+ const isRecord$1 = (value) => typeof value === "object" && value !== null;
38073
38073
  const isExpoOrReactNativeWorkspace = (dependencies) => [...EXPO_REACT_NATIVE_DEPENDENCIES].some((dependencyName) => dependencyName in dependencies);
38074
38074
  const isLocalExpoPluginPath = (value) => (value.startsWith("./") || value.startsWith("../")) && !value.includes("*") && !value.includes("?");
38075
38075
  const isFile = (filePath) => {
@@ -38220,9 +38220,9 @@ const collectPluginPathsFromJsonValue = (value) => {
38220
38220
  const collectExpoPluginPathsFromAppJson = (configPath, entries, packageNamePlugins, rootDirectory) => {
38221
38221
  const parsedJson = JSON.parse(readFileSync(configPath, "utf8"));
38222
38222
  const configDirectory = dirname(configPath);
38223
- if (!isRecord(parsedJson)) return;
38223
+ if (!isRecord$1(parsedJson)) return;
38224
38224
  const expoConfig = parsedJson.expo;
38225
- const expoPluginPaths = isRecord(expoConfig) ? collectPluginPathsFromJsonValue(expoConfig.plugins) : [];
38225
+ const expoPluginPaths = isRecord$1(expoConfig) ? collectPluginPathsFromJsonValue(expoConfig.plugins) : [];
38226
38226
  for (const pluginPath of [...expoPluginPaths, ...collectPluginPathsFromJsonValue(parsedJson.plugins)]) addExpoPluginEntry(entries, packageNamePlugins, rootDirectory, configDirectory, pluginPath);
38227
38227
  };
38228
38228
  const collectExpoPluginPathsFromConfig = (configPath, entries, packageNamePlugins, rootDirectory) => {
@@ -45622,6 +45622,9 @@ const collectDynamicBuildConsumedExportKeys = (packageDirectory, scripts) => {
45622
45622
  return consumedExportKeys;
45623
45623
  };
45624
45624
  //#endregion
45625
+ //#region ../core/src/utils/is-record.ts
45626
+ const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
45627
+ //#endregion
45625
45628
  //#region ../core/src/project-analysis/utils/collect-convention-consumed-export-keys.ts
45626
45629
  const NEXT_CONFIG_FILENAMES = [
45627
45630
  "next.config.ts",
@@ -45632,6 +45635,62 @@ const NEXT_CONFIG_FILENAMES = [
45632
45635
  const NEXT_ROUTE_SEGMENT_MODULE_PATTERN = /^(?:src\/)?app\/(?:.*\/)?(?:page|layout|route|default|loading|error|not-found|template|global-error|forbidden|unauthorized|opengraph-image|twitter-image|icon|apple-icon|manifest|sitemap|robots)\.(?:ts|tsx|js|jsx)$/;
45633
45636
  const REACT_EMAIL_TEMPLATE_EXTENSION_PATTERN = /\.(?:js|jsx|tsx)$/;
45634
45637
  const hasDependency = (packageMetadata, dependencyName) => packageMetadata.dependencyNames.has(dependencyName);
45638
+ const resolveLiteralPackagePath = (path, directory) => {
45639
+ const normalized = path.replace(/^\.\//, "").replace(/\/$/, "");
45640
+ if (!/^[\w@.-]+(?:\/[\w@.-]+)*$/.test(normalized) || normalized.split("/").some((part) => part === "." || part === ".." || part === "node_modules")) return void 0;
45641
+ const resolved = resolve(directory, normalized);
45642
+ const canonicalPath = toFilesystemIdentityPath(resolved);
45643
+ return relative(directory, resolved) === relative(directory, canonicalPath) ? canonicalPath : void 0;
45644
+ };
45645
+ const portablePackageFilePath = (file, packageDirectory) => {
45646
+ const filePath = resolve(file);
45647
+ const lexicalPackageDirectory = findNearestPackageDirectory(filePath);
45648
+ if (!lexicalPackageDirectory || toFilesystemIdentityPath(lexicalPackageDirectory) !== packageDirectory) return void 0;
45649
+ const packageRelativeFile = relative(lexicalPackageDirectory, filePath);
45650
+ const canonicalPath = toFilesystemIdentityPath(filePath);
45651
+ return relative(packageDirectory, canonicalPath) === packageRelativeFile ? canonicalPath : void 0;
45652
+ };
45653
+ const collectTypeVersionExports = (packageJson, packageDirectory) => {
45654
+ const selector = packageJson.typesVersions;
45655
+ const publishConfig = packageJson.publishConfig;
45656
+ if (isRecord(publishConfig) && [
45657
+ "directory",
45658
+ "exports",
45659
+ "files",
45660
+ "name",
45661
+ "typesVersions"
45662
+ ].some((field) => Object.hasOwn(publishConfig, field))) return void 0;
45663
+ if (typeof packageJson.name !== "string" || packageJson.name.length === 0 || packageJson.private === true || packageJson.exports !== void 0 || !isRecord(selector) || Object.keys(selector).length !== 1 || !isRecord(selector["*"]) || !Array.isArray(packageJson.files) || packageJson.files.length === 0) return void 0;
45664
+ const packedPaths = [];
45665
+ for (const item of packageJson.files) {
45666
+ if (typeof item !== "string") return void 0;
45667
+ const packedPath = resolveLiteralPackagePath(item, packageDirectory);
45668
+ if (!packedPath) return void 0;
45669
+ packedPaths.push(packedPath);
45670
+ }
45671
+ const declarationPaths = /* @__PURE__ */ new Set();
45672
+ for (const [subpath, targets] of Object.entries(selector["*"])) {
45673
+ if (!/^[\w@.-]+(?:\/[\w@.-]+)*$/.test(subpath) || subpath.split("/").some((part) => part === "." || part === "..")) continue;
45674
+ if (!Array.isArray(targets) || targets.length !== 1) continue;
45675
+ const [target] = targets;
45676
+ if (typeof target !== "string" || !/\.d\.[cm]?ts$/.test(target)) continue;
45677
+ const path = resolveLiteralPackagePath(target, packageDirectory);
45678
+ if (path) declarationPaths.add(path);
45679
+ }
45680
+ return {
45681
+ declarationPaths,
45682
+ packedPaths
45683
+ };
45684
+ };
45685
+ const isExplicitlyPackedPath = (file, directory, packedPaths) => {
45686
+ if (!packedPaths.some((path) => isPathInsideDirectoryOrEqual(file, path))) return false;
45687
+ let current = dirname(file);
45688
+ while (relative(directory, current) !== "") {
45689
+ if (existsSync(resolve(current, ".npmignore")) || existsSync(resolve(current, ".gitignore"))) return false;
45690
+ current = dirname(current);
45691
+ }
45692
+ return true;
45693
+ };
45635
45694
  const readPackageMetadata = (packageDirectory) => {
45636
45695
  try {
45637
45696
  const packageJson = JSON.parse(readFileSync(resolve(packageDirectory, "package.json"), "utf-8"));
@@ -45643,7 +45702,8 @@ const readPackageMetadata = (packageDirectory) => {
45643
45702
  ...Object.keys(packageJson.peerDependencies ?? {})
45644
45703
  ]),
45645
45704
  isCromwellPlugin: packageJson.cromwell?.type === "plugin",
45646
- scripts: Object.values(packageJson.scripts ?? {})
45705
+ scripts: Object.values(packageJson.scripts ?? {}),
45706
+ typesVersionExports: collectTypeVersionExports(packageJson, packageDirectory)
45647
45707
  };
45648
45708
  } catch {
45649
45709
  return;
@@ -45686,8 +45746,39 @@ const isReactEmailDevTemplate = (packageRelativePath, packageMetadata) => {
45686
45746
  return REACT_EMAIL_TEMPLATE_EXTENSION_PATTERN.test(relativeTemplatePath);
45687
45747
  });
45688
45748
  };
45749
+ const portableTypeModuleOptions = {
45750
+ module: typescriptBinding.ModuleKind.NodeNext,
45751
+ moduleResolution: typescriptBinding.ModuleResolutionKind.NodeNext
45752
+ };
45753
+ const collectDeclaredTypeReExportKeys = (graph, declarations, consumedExportKeys) => {
45754
+ if (declarations.size === 0) return;
45755
+ for (const edge of graph.edges) {
45756
+ if (!edge.isReExportEdge || !edge.isTypeOnly) continue;
45757
+ const declaration = declarations.get(edge.source);
45758
+ const wrapper = graph.modules[edge.source];
45759
+ const target = graph.modules[edge.target];
45760
+ if (!declaration || !wrapper || !target || target.isAnalysisExcluded || target.isGitIgnored || target.parseErrors.length > 0) continue;
45761
+ const { packageDirectory, filePath, packedPaths } = declaration;
45762
+ const targetPath = portablePackageFilePath(target.fileId.path, packageDirectory);
45763
+ if (!targetPath || !isExplicitlyPackedPath(targetPath, packageDirectory, packedPaths)) continue;
45764
+ for (const { exportedName, originalName } of edge.reExportMappings) {
45765
+ if (originalName === "*" || originalName === "default") continue;
45766
+ const matchingWrapperExports = wrapper.exports.filter((exportInfo) => exportInfo.name === exportedName);
45767
+ if (matchingWrapperExports.length !== 1) continue;
45768
+ const [wrapperExport] = matchingWrapperExports;
45769
+ const specifier = wrapperExport.reExportSource;
45770
+ if (wrapperExport.isSynthetic || !wrapperExport.isReExport || !wrapperExport.isTypeOnly || wrapperExport.reExportOriginalName !== originalName || !specifier || !/^\.\.?\//.test(specifier)) continue;
45771
+ if (!isPathInsideDirectoryOrEqual(resolve(dirname(filePath), specifier), packageDirectory)) continue;
45772
+ const portableTarget = typescriptBinding.resolveModuleName(specifier, filePath, portableTypeModuleOptions, typescriptBinding.sys, void 0, void 0, typescriptBinding.ModuleKind.ESNext).resolvedModule?.resolvedFileName;
45773
+ if (!portableTarget || portablePackageFilePath(portableTarget, packageDirectory) !== targetPath) continue;
45774
+ const matchingExports = target.exports.filter((exportInfo) => exportInfo.name === originalName);
45775
+ if (matchingExports.length > 0 && matchingExports.every((exportInfo) => exportInfo.isTypeOnly && !exportInfo.isReExport)) consumedExportKeys.add(buildExportKey(target.fileId.path, originalName));
45776
+ }
45777
+ }
45778
+ };
45689
45779
  const collectConventionConsumedExportKeys = (graph) => {
45690
45780
  const consumedExportKeys = /* @__PURE__ */ new Set();
45781
+ const declarations = /* @__PURE__ */ new Map();
45691
45782
  const packageMetadataByDirectory = /* @__PURE__ */ new Map();
45692
45783
  const themeConfigPathsByPackageDirectory = /* @__PURE__ */ new Map();
45693
45784
  const dynamicBuildConsumedExportKeysByPackageDirectory = /* @__PURE__ */ new Map();
@@ -45698,6 +45789,12 @@ const collectConventionConsumedExportKeys = (graph) => {
45698
45789
  if (!packageMetadataByDirectory.has(packageDirectory)) packageMetadataByDirectory.set(packageDirectory, readPackageMetadata(packageDirectory));
45699
45790
  const packageMetadata = packageMetadataByDirectory.get(packageDirectory);
45700
45791
  if (!packageMetadata) continue;
45792
+ const typeExports = packageMetadata.typesVersionExports;
45793
+ if (typeExports && module.isDeclarationFile && !module.isGitIgnored && !module.isAnalysisExcluded && module.parseErrors.length === 0 && typeExports.declarationPaths.has(canonicalModuleFilePath) && portablePackageFilePath(module.fileId.path, packageDirectory) === canonicalModuleFilePath && isExplicitlyPackedPath(canonicalModuleFilePath, packageDirectory, typeExports.packedPaths)) declarations.set(module.fileId.index, {
45794
+ packageDirectory,
45795
+ filePath: canonicalModuleFilePath,
45796
+ packedPaths: typeExports.packedPaths
45797
+ });
45701
45798
  const packageRelativePath = toPosixPath(relative(toFilesystemIdentityPath(packageDirectory), canonicalModuleFilePath));
45702
45799
  const isNextRouteSegmentModule = hasDependency(packageMetadata, "next") && NEXT_ROUTE_SEGMENT_MODULE_PATTERN.test(packageRelativePath);
45703
45800
  const isContentCollectionsConfig = hasDependency(packageMetadata, "@content-collections/core") && packageRelativePath === "content-collections.ts";
@@ -45712,6 +45809,7 @@ const collectConventionConsumedExportKeys = (graph) => {
45712
45809
  }
45713
45810
  for (const exportInfo of module.exports) if (isNextRouteSegmentModule && exportInfo.name === "runtime" || isCromwellPluginFrontendEntry && exportInfo.name === "getStaticProps" || dynamicBuildConsumedExportKeys?.has(buildExportKey(getFileIdentityKey(module.fileId.path), exportInfo.name)) || exportInfo.isDefault && (isContentCollectionsConfig || isReactEmailTemplate || isReferencedNextraThemeConfig)) consumedExportKeys.add(buildExportKey(module.fileId.path, exportInfo.name));
45714
45811
  }
45812
+ collectDeclaredTypeReExportKeys(graph, declarations, consumedExportKeys);
45715
45813
  return consumedExportKeys;
45716
45814
  };
45717
45815
  //#endregion
@@ -51883,4 +51981,4 @@ startProjectAnalysisWorker();
51883
51981
  export {};
51884
51982
 
51885
51983
  //# sourceMappingURL=project-analysis-worker.js.map
51886
- //# debugId=81139e97-fbde-59ee-9b65-cb0499a5510a
51984
+ //# debugId=670a5edf-6d7a-5b42-a22b-205573f9c498
@@ -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]="ce655be1-38b3-544f-a958-3319ba8a23cf")}catch(e){}}();
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]="5e9a8e68-8a9c-5dc3-a0e3-4f333235b3c6")}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-BLFbNXuV.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-CMpnOEJ0.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-B1diXe3I.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-I75HKe0d.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-Cj40b7oc.js.map
240
- //# debugId=ce655be1-38b3-544f-a958-3319ba8a23cf
239
+ //# sourceMappingURL=prompt-runtime-scan-url-DHS43C3Z.js.map
240
+ //# debugId=5e9a8e68-8a9c-5dc3-a0e3-4f333235b3c6
@@ -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]="3a8b8704-94eb-5554-8258-ea40de77aa88")}catch(e){}}();
3
- import { Kn as isPlainObject } from "./record-metric-CoEQHWrD.js";
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]="4744a211-6643-5820-ba4c-9a57510805db")}catch(e){}}();
3
+ import { Kn as isPlainObject } from "./record-metric-CsvG1DEl.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-BaETJGma.js.map
24
- //# debugId=3a8b8704-94eb-5554-8258-ea40de77aa88
23
+ //# sourceMappingURL=read-object-file-DN2kBtSt.js.map
24
+ //# debugId=4744a211-6643-5820-ba4c-9a57510805db
@@ -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]="686e5eb8-f9dd-5958-b6ea-44c4813bb90c")}catch(e){}}();
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]="5266e081-cda7-5065-9a35-96d47f9aef70")}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_SPLIT_TOTAL_BUDGET_MS, A as buildGitSourceListingRequest, An as TAILWIND_POSTCSS7_COMPAT_ALIAS, B as resolveGitCommand, Bt as MAINTAINABILITY_CATEGORY, Cn as SUPPLY_CHAIN_CACHE_SUBDIR, Dn as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Dt as FILE_LINT_CACHE_MAX_FILE_COUNT, En as SUPPLY_CHAIN_IGNORED_PACKAGES, Et as FILE_LINT_CACHE_FILENAME, F as lowerChildProcessPriority, Fn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Ft as GIT_SOURCE_LISTING_ARGUMENTS, G as resolvePluginPath, Gt as MILLISECONDS_PER_SECOND, H as resolveOxlintThreadCount, Ht as MAINTAINABILITY_PLUGIN, In as VERCEL_NEXTJS_SECURITY_RELEASE_URL, It as HTML_FILE_PATTERN, J as resolveTsConfigRelativePath, Jt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, K as resolveReactDoctorCacheDir, Kt as MINIFIED_SNIFF_BYTES, Ln as VITE_ENTRY_ASSET_FILE_PATTERN, Lt as IGNORED_DIRECTORIES, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_EXPORT_INTERVAL_MS, Mt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, Nn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Nt as GIT_LS_FILES_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_PLUGIN, Ot as GENERATED_BUNDLE_FILE_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TSCONFIG_FILENAMES, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Q as takeReactCompilerDetection, Qt as OXLINT_SPAWN_TIMEOUT_MS, R as readSystemConcurrencyFacts, Rn as VITE_ENTRY_DENSITY_SAMPLE_BYTES, Rt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, Sn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, St as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, Tn as SUPPLY_CHAIN_CATEGORY, Tt as FETCH_TIMEOUT_MS, U as resolveOxlintToolchainVersions, V as resolveOxlintBinary, Vt as MAINTAINABILITY_DUPLICATE_JSX_RULE, W as resolveOxlintWorkerRuntime, Wt as MAX_GLOB_PATTERN_LENGTH_CHARS, X as spawnOxlintWorkerProcess, Xt as OXLINT_OOM_RESCUE_BUDGET_MS, Y as setChildProcessRef, Z as takePrespawnedOxlintWorker, Zt as OXLINT_OUTPUT_MAX_BYTES, _n as SOCKET_PACKAGE_PAGE_BASE, _t as DEFAULT_BRANCH_CANDIDATES, an as REACT_BLOG_RSC_ADVISORY_URL, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, bt as DOCS_RULES_BASE_URL, cn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, ct as AXIOM_TRACES_PATH, d as METRIC_DISTRIBUTION_BOUNDARIES, dn as SCORE_API_URL, en as OXLINT_WORKER_JOB_END_MARKER, et as ABORT_EXIT_CODES, ft as COMPILER_CLEANUP_BUCKET, gn as SOCKET_FREE_USER_AGENT, hn as SOCKET_FREE_PURL_API_BASE, ht as CONFIG_FINGERPRINT_FILENAMES, in as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, it as AXIOM_DATASET_HEADER, j as buildOxlintChildEnv, jn as TARGET_BLANK_BROWSER_SUPPORT, jt as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, kn as SUPPLY_CHAIN_RULE, kt as GENERATED_SOURCE_DIRECTORY_PATTERN, l as INTERNAL_ERROR_JSON_FALLBACK, ln as ROOT_CAUSE_GROUPABLE_RULE_KEYS, mt as CONFIG_CACHE_TTL_MS, nn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, nt as ADOPTED_LINT_CONFIG_MAX_BYTES, on as REACT_ROUTER_CAPABILITY_THRESHOLDS, ot as AXIOM_METRICS_DATASET_HEADER, pn as SIDECAR_LINT_CACHE_FILENAME, pt as COMPILER_CLEANUP_RULE_KEYS, q as resolveScanConcurrency, qt as OCCURRENCE_MATCHED_CATEGORIES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, rt as APP_ONLY_RULE_KEYS, sn as REACT_SERVER_DOM_PACKAGES, st as AXIOM_METRICS_PATH, tn as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCANNED_DOT_DIRECTORIES, vn as SOURCE_FILE_PATTERN, vt as DIAGNOSTIC_CATEGORY_BUCKETS, wn as SUPPLY_CHAIN_CACHE_TTL_MS, wt as ES_TARGET_YEAR_BY_NAME, xn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, yn as SPAWN_ARGS_MAX_LENGTH_CHARS, yt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, z as resolveConfiguredScanConcurrency, zn as VITE_ENTRY_PRELUDE_SNIFF_BYTES } from "./constants-EMNGZNtj.js";
5
5
  import { n as require_picomatch, t as require_semver } from "./semver-BZIuy1gP.js";
@@ -88,7 +88,7 @@ const unwrapTypescriptExpression = (expression) => {
88
88
  return currentExpression;
89
89
  };
90
90
  //#endregion
91
- //#region ../core/dist/collect-unplugin-auto-import-global-scopes-BVJbM-5e.js
91
+ //#region ../core/dist/collect-unplugin-auto-import-global-scopes-Dw_TcehS.js
92
92
  var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
93
93
  const LINGUIST_ATTRIBUTES = ["linguist-generated", "linguist-vendored"];
94
94
  const DISABLED_ATTRIBUTE_VALUES = new Set([
@@ -192,6 +192,7 @@ const compileGlobPatternsLenient = (patterns, onInvalid) => {
192
192
  }
193
193
  return compiled;
194
194
  };
195
+ const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
195
196
  const isOxcAstNode = (value) => Boolean(value) && typeof value === "object" && typeof value.type === "string";
196
197
  const getStaticModuleSpecifier = (value) => {
197
198
  if (!isOxcAstNode(value)) return void 0;
@@ -67840,7 +67841,6 @@ const DEFAULT_SURFACE_EXCLUDED_TAGS = {
67840
67841
  score: ["design"],
67841
67842
  ciFailure: ["design"]
67842
67843
  };
67843
- const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
67844
67844
  const KNOWN_RULE_KEYS = new Set([...ALL_REACT_DOCTOR_RULE_KEYS, ...EXTERNAL_RULES.map((rule) => rule.key)]);
67845
67845
  const BUNDLED_RULE_NAMESPACES = new Set([...KNOWN_RULE_KEYS].flatMap(getEquivalentRuleKeys).map((key) => key.slice(0, key.lastIndexOf("/"))));
67846
67846
  const getUnknownBundledRuleKeys = (rules) => Object.keys(rules ?? {}).filter((key) => {
@@ -77836,7 +77836,7 @@ const makeNoopConsole = () => ({
77836
77836
  });
77837
77837
  //#endregion
77838
77838
  //#region src/cli/utils/version.ts
77839
- const VERSION = "0.9.23-dev.990b1ba";
77839
+ const VERSION = "0.9.23-dev.a9f8f5e";
77840
77840
  //#endregion
77841
77841
  //#region src/cli/utils/json-mode.ts
77842
77842
  let context = null;
@@ -78180,5 +78180,5 @@ const recordDistribution = (name, value, options = {}) => {
78180
78180
  //#endregion
78181
78181
  export { buildRuleSeverityControls as $, runInspect as $t, Files as A, buildWithScope as An, hasPublishedFixRecipe as At, PerFileLintCacheEnabled as B, yieldToEventLoop as Bn, listSourceFiles as Bt, ACTION_INPUT_ENVIRONMENT_VARIABLES as C, provideContext as Cn, getChangedLineRanges as Ct, isCodingAgentEnvironment as D, sync as Dn, getRuleMetadata as Dt, isCiOrCodingAgentEnvironment as E, runSync as En, getEquivalentRuleKeys as Et, Linter as F, makeUnsafe$5 as Fn, isProjectDiscoveryError as Ft, SidecarLintCacheEnabled as G, isFile as Gn, materializeSourceTree as Gt, Project as H, toCanonicalPath as Hn, listWorkspacePackages as Ht, Maintainability as I, fail$5 as In, isReactDoctorError as It, anonymizeInPlace as J, remainingDeadlineBudgetMs as Jt, StagedFiles as K, isPlainObject as Kn, mergeAndFilterDiagnostics as Kt, NodeResolver as L, void_$1 as Ln, isSameRuleKey as Lt, InvocationCaches as M, provide$2 as Mn, hashFileContents as Mt, LEGACY_CONFIG_FILENAME as N, succeed$3 as Nn, highlighter as Nt, Config as O, try_ as On, getUnknownBundledRuleKeys as Ot, LintPartialFailures as P, close as Pn, isPathInsideDirectory as Pt, buildRuleDocsUrl as Q, restoreLegacyThrow as Qt, OxlintConcurrency as R, ParentSpan as Rn, isScanComplete as Rt, isDebugFlagEnabled as S, provide as Sn, getBaselineDiffPlan as St, isCiEnvironment as T, runPromise as Tn, getDiffInfo as Tt, Reporter as U, isDirectory as Un, loadConfigWithSource as Ut, Progress as V, messageFromUnknown as Vn, listSourceFilesCooperative as Vt, Score as W, isErrnoException as Wn, mapWithConcurrency as Wt, atomicWriteJson as X, resolveLintBatchOrdering as Xt, anonymizeText as Y, resolveGithubActionsScoreMetadata as Yt, buildJsonReport as Z, resolveScanTarget as Zt, VERSION as _, gen as _n, findGitRepositoryRoot as _t, isEnvFlagEnabled as a, validateConfigTypes as an, collectSourceFilesByDirectory as at, isNonInteractiveEnvironment as b, orElseSucceed as bn, formatErrorChain as bt, setSentryProjectInfo as c, Console as cn, countOptInProjectRuleSelections as ct, isJsonModeActive as d, log as dn, createOxlintSpawnSlots as dt, scrubSensitivePaths as en, buildSkippedChecks as et, setJsonReportDirectory as f, warn$1 as fn, detectAiTrainingEnvironment as ft, writeJsonReport as g, make$30 as gn, filterSourceFiles as gt, writeJsonErrorReport as h, decodeUnknownSync as hn, filterPathsOutsideDirectories as ht, isTelemetryEnabled as i, toRelativePath as in, clearConfigCache as it, Git as j, mergeAll$1 as jn, hasSupportedFrameworkOrLibrary as jt, DIAGNOSTIC_DELTA_IDENTITY as k, void_ as kn, groupBy as kt, getRunId as l, error as ln, createChangedLineMatcher as lt, writeJsonCancellationReport as m, JsonReport as mn, filterDiagnosticsForSurface as mt, recordDistribution as n, shouldUseMaintainabilityLayer as nn, canonicalizeUserRuleKey as nt, buildSentryScope as o, warmDuplicateJsxWorker as on, computeConfigFingerprint as ot, setJsonReportMode as p, Diagnostic as pn, discoverSupportedSubprojects as pt, SupplyChain as q, mergeReactDoctorConfigs as qt, toSpanAttributes as r, summarizeDiagnostics as rn, classifyFileContext as rt, buildSentryProjectContext as s, warmOxlintWorkerPool as sn, computeDiagnosticDelta as st, recordCount as t, setColorEnabled as tn, calculateScore as tt, enableJsonMode as u, info as un, createInvocationCaches as ut, makeNoopConsole as v, makeSpan$1 as vn, findLegacyConfig as vt, detectRunnerOs as w, provideService as wn, getDiagnosticRuleIdentity as wt, isGitHookEnvironment as x, promise as xn, formatReactDoctorError as xt, CliInputError as y, map$3 as yn, fingerprintDiagnosticEvidence as yt, OxlintSpawnSlots as z, isMonorepoRoot as zn, layerObservability as zt };
78182
78182
 
78183
- //# sourceMappingURL=record-metric-CoEQHWrD.js.map
78184
- //# debugId=686e5eb8-f9dd-5958-b6ea-44c4813bb90c
78183
+ //# sourceMappingURL=record-metric-CsvG1DEl.js.map
78184
+ //# debugId=5266e081-cda7-5065-9a35-96d47f9aef70
@@ -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]="bdfa647e-c3ce-5f3b-a068-15a8cdc05aea")}catch(e){}}();
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]="0c1dcb3b-1a32-5ee7-8f32-9b117c664422")}catch(e){}}();
3
3
  import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-EMNGZNtj.js";
4
- import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-CoEQHWrD.js";
5
- import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-CCsP5a-x.js";
4
+ import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-CsvG1DEl.js";
5
+ import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-DUgifeE1.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-VH8c9h6K.js.map
65
- //# debugId=bdfa647e-c3ce-5f3b-a068-15a8cdc05aea
64
+ //# sourceMappingURL=report-error-CoEvmdXq.js.map
65
+ //# debugId=0c1dcb3b-1a32-5ee7-8f32-9b117c664422
@@ -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]="48b78505-d86b-5490-88fc-4c78ad2687b2")}catch(e){}}();
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]="f69c851d-33fe-5632-8768-8ecd1d59e5ad")}catch(e){}}();
3
3
  import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-EMNGZNtj.js";
4
- import { t as recordCount } from "./record-metric-CoEQHWrD.js";
5
- import { u as isCommandAvailable } from "./install-github-workflow-DoF50N_f.js";
4
+ import { t as recordCount } from "./record-metric-CsvG1DEl.js";
5
+ import { u as isCommandAvailable } from "./install-github-workflow-DD65m71e.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";
@@ -289,5 +289,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
289
289
  //#endregion
290
290
  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 };
291
291
 
292
- //# sourceMappingURL=report-workflow-result-B4FvUkMr.js.map
293
- //# debugId=48b78505-d86b-5490-88fc-4c78ad2687b2
292
+ //# sourceMappingURL=report-workflow-result-BQfux7m8.js.map
293
+ //# debugId=f69c851d-33fe-5632-8768-8ecd1d59e5ad
@@ -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]="e58ddfd0-d2c7-5bc9-8603-055a5d04768d")}catch(e){}}();
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]="84454d07-8eb8-5186-b14f-d2f4a457c138")}catch(e){}}();
3
3
  import { Ct as ENTERPRISE_CONTACT_URL, E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Gt as MILLISECONDS_PER_SECOND, It as HTML_FILE_PATTERN, K as resolveReactDoctorCacheDir, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Ut as MAINTAINABILITY_SOURCE_FILE_PATTERN, Yt as OXLINT_NODE_REQUIREMENT, c as HEAD_SHA_GIT_ARGUMENTS, dt as CI_URL, fn 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, v as SCAN_RESULT_CACHE_FILENAME, vt as DIAGNOSTIC_CATEGORY_BUCKETS, zt as JSX_FILE_PATTERN } from "./constants-EMNGZNtj.js";
4
4
  import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CYjFzsDs.js";
5
- import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-CoEQHWrD.js";
6
- import { t as getTelemetryContext } from "./telemetry-runtime-CCsP5a-x.js";
5
+ import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-CsvG1DEl.js";
6
+ import { t as getTelemetryContext } from "./telemetry-runtime-DUgifeE1.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-CYX0LagQ.js";
8
+ import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-BUVb5C3q.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-Dhf3KHKh.js";
12
- import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-DoF50N_f.js";
13
- import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-bGDndnCm.js";
14
- import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-BVx5MIzd.js";
15
- import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-B4FvUkMr.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-C7ZcfOyV.js";
12
+ import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-DD65m71e.js";
13
+ import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-DPTg9AXn.js";
14
+ import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-BvN0J_j_.js";
15
+ import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-BQfux7m8.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";
@@ -3180,5 +3180,5 @@ const resolveScanExitCode = (input) => {
3180
3180
  //#endregion
3181
3181
  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, resolveScanExitCode as t, selectProjects as u, resolveWorkspaceDeadCodeOwner as v, CLI_AGENT_BINARIES as w, countUniqueScannedFiles as x, resolveCliInspectOptions as y, formatDiagnosticSite as z };
3182
3182
 
3183
- //# sourceMappingURL=resolve-scan-exit-code-BNWGkIBr.js.map
3184
- //# debugId=e58ddfd0-d2c7-5bc9-8603-055a5d04768d
3183
+ //# sourceMappingURL=resolve-scan-exit-code-CEVlTaGO.js.map
3184
+ //# debugId=84454d07-8eb8-5186-b14f-d2f4a457c138
@@ -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]="1c3fc085-d2ce-5167-94c0-bffb5fc9345d")}catch(e){}}();
3
- import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-CoEQHWrD.js";
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]="7b8e45f6-31f6-5872-8407-505a1ba90352")}catch(e){}}();
3
+ import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-CsvG1DEl.js";
4
4
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
5
- import { N as cliLogger } from "./install-doctor-script-Dhf3KHKh.js";
6
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-DoF50N_f.js";
5
+ import { N as cliLogger } from "./install-doctor-script-C7ZcfOyV.js";
6
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-DD65m71e.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";
@@ -334,5 +334,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
334
334
  //#endregion
335
335
  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 };
336
336
 
337
- //# sourceMappingURL=resolve-scope-bGDndnCm.js.map
338
- //# debugId=1c3fc085-d2ce-5167-94c0-bffb5fc9345d
337
+ //# sourceMappingURL=resolve-scope-DPTg9AXn.js.map
338
+ //# debugId=7b8e45f6-31f6-5872-8407-505a1ba90352
@@ -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]="08f6838c-58c1-5215-b273-4a466213f235")}catch(e){}}();
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]="11daac62-f525-518a-b681-ec55e8b37b0c")}catch(e){}}();
3
3
  import { ft as COMPILER_CLEANUP_BUCKET, pt as COMPILER_CLEANUP_RULE_KEYS, u as METRIC } from "./constants-EMNGZNtj.js";
4
- import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-CoEQHWrD.js";
5
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-Dhf3KHKh.js";
6
- import { t as readObjectFile } from "./read-object-file-BaETJGma.js";
4
+ import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-CsvG1DEl.js";
5
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-C7ZcfOyV.js";
6
+ import { t as readObjectFile } from "./read-object-file-DN2kBtSt.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-BElEnmUj.js.map
582
- //# debugId=08f6838c-58c1-5215-b273-4a466213f235
581
+ //# sourceMappingURL=rules-CPID6VRQ.js.map
582
+ //# debugId=11daac62-f525-518a-b681-ec55e8b37b0c
@@ -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]="d7fe330b-0827-5e1a-9732-27e4982e77d0")}catch(e){}}();
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]="3ff9d710-da13-5594-acc5-97b2f0c985d8")}catch(e){}}();
3
3
  import { At as GITHUB_ACTIONS_SETUP_URL, Bn as getCategoryImpact, D as TUI_REPORT_COMPACT_MAX_ROWS, O as TUI_REPORT_DETAIL_WIDTH_FRACTION, o as CI_TRUST_COMPANIES, u as METRIC, vt as DIAGNOSTIC_CATEGORY_BUCKETS } from "./constants-EMNGZNtj.js";
4
- import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-CoEQHWrD.js";
4
+ import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-CsvG1DEl.js";
5
5
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
6
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-Dhf3KHKh.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-DoF50N_f.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-bGDndnCm.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 resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-BNWGkIBr.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-B4FvUkMr.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-CMpnOEJ0.js";
6
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-C7ZcfOyV.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-DD65m71e.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-DPTg9AXn.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 resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-CEVlTaGO.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-BQfux7m8.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-I75HKe0d.js";
12
12
  import path from "node:path";
13
13
  import { performance } from "node:perf_hooks";
14
14
  import isUnicodeSupported from "is-unicode-supported";
@@ -2553,5 +2553,5 @@ const runScanApp = async (input) => {
2553
2553
  //#endregion
2554
2554
  export { runScanApp };
2555
2555
 
2556
- //# sourceMappingURL=run-scan-app-DW-lqwRa.js.map
2557
- //# debugId=d7fe330b-0827-5e1a-9732-27e4982e77d0
2556
+ //# sourceMappingURL=run-scan-app-BGz44hh1.js.map
2557
+ //# debugId=3ff9d710-da13-5594-acc5-97b2f0c985d8
@@ -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]="f23697e8-beea-5637-96e4-c08946390e5d")}catch(e){}}();
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]="e9cd4aef-13c2-5aba-82dc-2a04f81b0b48")}catch(e){}}();
3
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-CoEQHWrD.js";
4
+ import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-CsvG1DEl.js";
5
5
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
6
- import { t as reportErrorToSentry } from "./report-error-VH8c9h6K.js";
7
- import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-BVx5MIzd.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-BLFbNXuV.js";
9
- import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-zjNkLQ8_.js";
6
+ import { t as reportErrorToSentry } from "./report-error-CoEvmdXq.js";
7
+ import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-BvN0J_j_.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-B1diXe3I.js";
9
+ import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-BPCRJnN1.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-Cj40b7oc.js");
723
+ const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-DHS43C3Z.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-DV6O-O9A.js.map
771
- //# debugId=f23697e8-beea-5637-96e4-c08946390e5d
770
+ //# sourceMappingURL=runtime-scan-D5M230BR.js.map
771
+ //# debugId=e9cd4aef-13c2-5aba-82dc-2a04f81b0b48
@@ -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]="2b95fae4-3674-564a-9766-06f7eb8cf1b6")}catch(e){}}();
3
- import { y as CliInputError } from "./record-metric-CoEQHWrD.js";
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]="358efa7a-717f-5c61-b288-17b255cbb421")}catch(e){}}();
3
+ import { y as CliInputError } from "./record-metric-CsvG1DEl.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-BLFbNXuV.js.map
76
- //# debugId=2b95fae4-3674-564a-9766-06f7eb8cf1b6
75
+ //# sourceMappingURL=sanitize-runtime-url-B1diXe3I.js.map
76
+ //# debugId=358efa7a-717f-5c61-b288-17b255cbb421
@@ -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]="6b36a8c7-643a-5799-ade4-d67c4c6960e3")}catch(e){}}();
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]="4bab5730-061e-5e64-a235-73c09813742e")}catch(e){}}();
3
3
  import { u as METRIC } from "./constants-EMNGZNtj.js";
4
- import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-CoEQHWrD.js";
5
- import { i as warnDeprecatedDiff } from "./resolve-scope-bGDndnCm.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-BJmaQWfh.js";
7
- import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-BNWGkIBr.js";
8
- import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-zjNkLQ8_.js";
4
+ import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-CsvG1DEl.js";
5
+ import { i as warnDeprecatedDiff } from "./resolve-scope-DPTg9AXn.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-Csn-D4e7.js";
7
+ import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-CEVlTaGO.js";
8
+ import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-BPCRJnN1.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-DW-lqwRa.js");
32
+ const { runScanApp } = await import("./run-scan-app-BGz44hh1.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-FO0xxIsP.js.map
49
- //# debugId=6b36a8c7-643a-5799-ade4-d67c4c6960e3
48
+ //# sourceMappingURL=scan-Czq8vFpA.js.map
49
+ //# debugId=4bab5730-061e-5e64-a235-73c09813742e
@@ -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]="51962cef-d6fb-5a72-92c3-1cc199298e42")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-CoEQHWrD.js";
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]="b00385bb-c222-5af0-9269-26ba2324eb77")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-CsvG1DEl.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-BclVN0Xr.js.map
10
- //# debugId=51962cef-d6fb-5a72-92c3-1cc199298e42
9
+ //# sourceMappingURL=should-skip-prompts-DK9kL1Jb.js.map
10
+ //# debugId=b00385bb-c222-5af0-9269-26ba2324eb77
@@ -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]="9934b0be-2d98-5977-a08a-838138047230")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-CoEQHWrD.js";
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]="a8d2b70d-b4d9-5a20-b551-534a1892843d")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-CsvG1DEl.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-zjNkLQ8_.js.map
25
- //# debugId=9934b0be-2d98-5977-a08a-838138047230
24
+ //# sourceMappingURL=should-use-tui-BPCRJnN1.js.map
25
+ //# debugId=a8d2b70d-b4d9-5a20-b551-534a1892843d