react-doctor 0.9.13 → 0.9.14-dev.260b448

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 (59) hide show
  1. package/dist/_react-doctor_require-typescript-DXQDYeWK.js +16 -0
  2. package/dist/{active-run-trace-dlIZeEvb.js → active-run-trace-Dewycxda.js} +3 -3
  3. package/dist/{active-scan-abort-registry-DwG6tSPy.js → active-scan-abort-registry-CCTgal0O.js} +3 -3
  4. package/dist/build-section-divider-gekJe2aO.js +81 -0
  5. package/dist/{ci-DqnZCnrL.js → ci-S43tmiRM.js} +14 -13
  6. package/dist/cli.js +31 -30
  7. package/dist/constants-CgtYeXfx.js +1035 -0
  8. package/dist/constants-DNh19qg9.js +23 -0
  9. package/dist/{design-DqUidb1f.js → design-D4ctp88p.js} +4 -4
  10. package/dist/{devtools-CC2PAZ85.js → devtools-D20sefkm.js} +3 -3
  11. package/dist/duplicate-jsx-worker.d.ts +1 -0
  12. package/dist/duplicate-jsx-worker.js +636 -0
  13. package/dist/{exit-gracefully-CrpeIbra.js → exit-gracefully-D69nyRA4.js} +7 -7
  14. package/dist/fs-utils-C88IbqFa.js +45 -0
  15. package/dist/{get-east-asian-width-Bv2TD3Xj.js → get-east-asian-width-DRPy7dqz.js} +4 -4
  16. package/dist/{handle-error-BEYYtsCl.js → handle-error-BE3O3Ugs.js} +6 -5
  17. package/dist/index.d.ts +8511 -8509
  18. package/dist/index.js +61698 -60577
  19. package/dist/{inspect-BjMaC5WV.js → inspect-CKjzI6gB.js} +38 -27
  20. package/dist/{install-DxLmASQ5.js → install-PndnbaOs.js} +10 -9
  21. package/dist/{install-doctor-script-4EWviJL8.js → install-doctor-script-BAGTNvoL.js} +17 -8
  22. package/dist/{install-github-workflow-BPznUbbo.js → install-github-workflow-u0qIsWNy.js} +10 -10
  23. package/dist/{install-react-doctor-Baq9hjoF.js → install-react-doctor-D4nc_F4X.js} +15 -11
  24. package/dist/is-cache-globally-disabled-Bi2D2qVm.js +10 -0
  25. package/dist/{jsx-runtime-DvynQ_wu.js → jsx-runtime-DT94xKcX.js} +11 -10
  26. package/dist/oxlint-worker.d.ts +1 -0
  27. package/dist/oxlint-worker.js +225 -0
  28. package/dist/{path-format-DnHpmJwG.js → path-format-By20mo8A.js} +3 -3
  29. package/dist/{print-branded-header-DSB6i3kk.js → print-branded-header-BwVcjvPZ.js} +4 -4
  30. package/dist/project-analysis-worker.js +466 -481
  31. package/dist/{prompt-runtime-scan-url-BibDt9O1.js → prompt-runtime-scan-url-Bjsn6chf.js} +6 -6
  32. package/dist/react-compiler-detection-worker.d.ts +1 -0
  33. package/dist/react-compiler-detection-worker.js +1029 -0
  34. package/dist/{read-object-file-DfWpkle4.js → read-object-file-lnRYcs-x.js} +4 -4
  35. package/dist/{record-metric-Cckscwg_.js → record-metric-CQTcuE_T.js} +57476 -57240
  36. package/dist/{report-error-C1YnoRNl.js → report-error-DbKdfCEt.js} +9 -8
  37. package/dist/{report-workflow-result-IdGRoBFN.js → report-workflow-result-w7YFI8kv.js} +24 -11
  38. package/dist/{resolve-scope-Bb6fljxd.js → resolve-scope-qNuGZ908.js} +7 -7
  39. package/dist/{rules-BcFekwN4.js → rules-ByH9CzFb.js} +8 -7
  40. package/dist/{run-scan-app-CKHynQx8.js → run-scan-app-5khIAxD-.js} +30 -23
  41. package/dist/{runtime-scan-7Y_mbqEa.js → runtime-scan-BuSOAA46.js} +16 -15
  42. package/dist/{sanitize-runtime-url-DzyBLbi3.js → sanitize-runtime-url-5kypdWqI.js} +5 -5
  43. package/dist/{scan-DQCwBx6p.js → scan-Cv_Bwsqc.js} +10 -9
  44. package/dist/{semver-DFtnEmN-.js → semver-BZIuy1gP.js} +3 -3
  45. package/dist/{should-fail-scan-gate-BYPsKIde.js → should-fail-scan-gate-fan2kMeu.js} +1339 -1283
  46. package/dist/{should-skip-prompts-CKkbB3rC.js → should-skip-prompts-BbpOXwiH.js} +4 -4
  47. package/dist/{should-use-tui-Crfoao-l.js → should-use-tui-CI612w4M.js} +4 -4
  48. package/dist/start-scan-preamble-DVB7vlit.js +68 -0
  49. package/dist/start-scan-preamble-DVhXIPc0.d.ts +1 -0
  50. package/dist/start-scan-preamble.d.ts +1 -0
  51. package/dist/start-scan-preamble.js +4 -0
  52. package/dist/{telemetry-runtime-DKJyjz9o.js → telemetry-runtime-CbJQ0K-c.js} +154 -5
  53. package/dist/{unref-stdin-SK3WfwxS.js → unref-stdin-D-NZBFpg.js} +3 -3
  54. package/dist/unwrap-typescript-expression-CrEPQUWz.js +14 -0
  55. package/dist/{version-CMkUAGmw.js → version-0CrqwW3U.js} +5 -4
  56. package/dist/{why-By3I6_Ex.js → why-Bm4JpSPS.js} +4 -4
  57. package/dist/{with-run-span-DxFGyW7k.js → with-run-span-DF9i7MAa.js} +7 -6
  58. package/package.json +9 -7
  59. package/dist/build-section-divider-DELfSn3p.js +0 -216
@@ -0,0 +1,23 @@
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]="ec0f5177-2747-59db-8b39-27f1cc08b1ed")}catch(e){}}();
3
+ const GIT_CHECK_ATTR_MAX_BUFFER_BYTES = 50 * 1024 * 1024;
4
+ const OXLINT_WORKER_JOB_END_MARKER = "__REACT_DOCTOR_OXLINT_JOB_END__";
5
+ const REACT_DOCTOR_PLUGIN_RESET_HOOK_KEY = Symbol.for("react-doctor.reset-filesystem-caches");
6
+ new Map(Object.entries({
7
+ Security: "An attacker can read user data, act as your users, or run code you never shipped.",
8
+ Bugs: "Real users hit crashes, wrong output, or state that silently corrupts.",
9
+ Performance: "Users feel extra latency and wasted renders on every interaction.",
10
+ Accessibility: "Users on screen readers, keyboards, or assistive tech get locked out.",
11
+ Maintainability: "Every future change gets slower and riskier to make."
12
+ }));
13
+ const MAX_GLOB_PATTERN_LENGTH_CHARS = 1024;
14
+ process.env.REACT_DOCTOR_CORE_VERSION;
15
+ const JSX_DUPLICATION_DEFAULT_MAX_SOURCE_FILES = 5e3;
16
+ const JSX_DUPLICATION_DEFAULT_MAX_SOURCE_LENGTH_CHARS = 1e6;
17
+ const JSX_DUPLICATION_DEFAULT_MAX_JSX_NODES = 5e4;
18
+ const JSX_DUPLICATION_SOURCE_FILE_PATTERN = /\.[cm]?(?:jsx?|tsx)$/;
19
+ //#endregion
20
+ export { MAX_GLOB_PATTERN_LENGTH_CHARS as a, GIT_CHECK_ATTR_MAX_BUFFER_BYTES as c, JSX_DUPLICATION_SOURCE_FILE_PATTERN as i, JSX_DUPLICATION_DEFAULT_MAX_SOURCE_FILES as n, OXLINT_WORKER_JOB_END_MARKER as o, JSX_DUPLICATION_DEFAULT_MAX_SOURCE_LENGTH_CHARS as r, REACT_DOCTOR_PLUGIN_RESET_HOOK_KEY as s, JSX_DUPLICATION_DEFAULT_MAX_JSX_NODES as t };
21
+
22
+ //# sourceMappingURL=constants-DNh19qg9.js.map
23
+ //# debugId=ec0f5177-2747-59db-8b39-27f1cc08b1ed
@@ -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]="9db323b6-59ae-5d4a-a7f9-857913bfcdf3")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-BjMaC5WV.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]="f1bdf9d8-61d1-54e9-a5a9-79e3bd4e4f5c")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-CKjzI6gB.js";
4
4
  //#region src/cli/commands/design.ts
5
5
  const designAction = async (directory, flags) => inspectAction(directory, {
6
6
  ...flags,
@@ -10,5 +10,5 @@ const designAction = async (directory, flags) => inspectAction(directory, {
10
10
  //#endregion
11
11
  export { designAction };
12
12
 
13
- //# sourceMappingURL=design-DqUidb1f.js.map
14
- //# debugId=9db323b6-59ae-5d4a-a7f9-857913bfcdf3
13
+ //# sourceMappingURL=design-D4ctp88p.js.map
14
+ //# debugId=f1bdf9d8-61d1-54e9-a5a9-79e3bd4e4f5c
@@ -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]="f1b960af-e618-536f-ba25-06c7416b43b4")}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]="0b1ed8bf-aa85-5ba8-93c1-1bd5f79c22e3")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  //#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/constants.js
5
5
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -16999,5 +16999,5 @@ if (await isDevToolsReachable()) {
16999
16999
  //#endregion
17000
17000
  export {};
17001
17001
 
17002
- //# sourceMappingURL=devtools-CC2PAZ85.js.map
17003
- //# debugId=f1b960af-e618-536f-ba25-06c7416b43b4
17002
+ //# sourceMappingURL=devtools-D20sefkm.js.map
17003
+ //# debugId=0b1ed8bf-aa85-5ba8-93c1-1bd5f79c22e3
@@ -0,0 +1 @@
1
+ export { };