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.
- package/dist/_react-doctor_require-typescript-DXQDYeWK.js +16 -0
- package/dist/{active-run-trace-dlIZeEvb.js → active-run-trace-Dewycxda.js} +3 -3
- package/dist/{active-scan-abort-registry-DwG6tSPy.js → active-scan-abort-registry-CCTgal0O.js} +3 -3
- package/dist/build-section-divider-gekJe2aO.js +81 -0
- package/dist/{ci-DqnZCnrL.js → ci-S43tmiRM.js} +14 -13
- package/dist/cli.js +31 -30
- package/dist/constants-CgtYeXfx.js +1035 -0
- package/dist/constants-DNh19qg9.js +23 -0
- package/dist/{design-DqUidb1f.js → design-D4ctp88p.js} +4 -4
- package/dist/{devtools-CC2PAZ85.js → devtools-D20sefkm.js} +3 -3
- package/dist/duplicate-jsx-worker.d.ts +1 -0
- package/dist/duplicate-jsx-worker.js +636 -0
- package/dist/{exit-gracefully-CrpeIbra.js → exit-gracefully-D69nyRA4.js} +7 -7
- package/dist/fs-utils-C88IbqFa.js +45 -0
- package/dist/{get-east-asian-width-Bv2TD3Xj.js → get-east-asian-width-DRPy7dqz.js} +4 -4
- package/dist/{handle-error-BEYYtsCl.js → handle-error-BE3O3Ugs.js} +6 -5
- package/dist/index.d.ts +8511 -8509
- package/dist/index.js +61698 -60577
- package/dist/{inspect-BjMaC5WV.js → inspect-CKjzI6gB.js} +38 -27
- package/dist/{install-DxLmASQ5.js → install-PndnbaOs.js} +10 -9
- package/dist/{install-doctor-script-4EWviJL8.js → install-doctor-script-BAGTNvoL.js} +17 -8
- package/dist/{install-github-workflow-BPznUbbo.js → install-github-workflow-u0qIsWNy.js} +10 -10
- package/dist/{install-react-doctor-Baq9hjoF.js → install-react-doctor-D4nc_F4X.js} +15 -11
- package/dist/is-cache-globally-disabled-Bi2D2qVm.js +10 -0
- package/dist/{jsx-runtime-DvynQ_wu.js → jsx-runtime-DT94xKcX.js} +11 -10
- package/dist/oxlint-worker.d.ts +1 -0
- package/dist/oxlint-worker.js +225 -0
- package/dist/{path-format-DnHpmJwG.js → path-format-By20mo8A.js} +3 -3
- package/dist/{print-branded-header-DSB6i3kk.js → print-branded-header-BwVcjvPZ.js} +4 -4
- package/dist/project-analysis-worker.js +466 -481
- package/dist/{prompt-runtime-scan-url-BibDt9O1.js → prompt-runtime-scan-url-Bjsn6chf.js} +6 -6
- package/dist/react-compiler-detection-worker.d.ts +1 -0
- package/dist/react-compiler-detection-worker.js +1029 -0
- package/dist/{read-object-file-DfWpkle4.js → read-object-file-lnRYcs-x.js} +4 -4
- package/dist/{record-metric-Cckscwg_.js → record-metric-CQTcuE_T.js} +57476 -57240
- package/dist/{report-error-C1YnoRNl.js → report-error-DbKdfCEt.js} +9 -8
- package/dist/{report-workflow-result-IdGRoBFN.js → report-workflow-result-w7YFI8kv.js} +24 -11
- package/dist/{resolve-scope-Bb6fljxd.js → resolve-scope-qNuGZ908.js} +7 -7
- package/dist/{rules-BcFekwN4.js → rules-ByH9CzFb.js} +8 -7
- package/dist/{run-scan-app-CKHynQx8.js → run-scan-app-5khIAxD-.js} +30 -23
- package/dist/{runtime-scan-7Y_mbqEa.js → runtime-scan-BuSOAA46.js} +16 -15
- package/dist/{sanitize-runtime-url-DzyBLbi3.js → sanitize-runtime-url-5kypdWqI.js} +5 -5
- package/dist/{scan-DQCwBx6p.js → scan-Cv_Bwsqc.js} +10 -9
- package/dist/{semver-DFtnEmN-.js → semver-BZIuy1gP.js} +3 -3
- package/dist/{should-fail-scan-gate-BYPsKIde.js → should-fail-scan-gate-fan2kMeu.js} +1339 -1283
- package/dist/{should-skip-prompts-CKkbB3rC.js → should-skip-prompts-BbpOXwiH.js} +4 -4
- package/dist/{should-use-tui-Crfoao-l.js → should-use-tui-CI612w4M.js} +4 -4
- package/dist/start-scan-preamble-DVB7vlit.js +68 -0
- package/dist/start-scan-preamble-DVhXIPc0.d.ts +1 -0
- package/dist/start-scan-preamble.d.ts +1 -0
- package/dist/start-scan-preamble.js +4 -0
- package/dist/{telemetry-runtime-DKJyjz9o.js → telemetry-runtime-CbJQ0K-c.js} +154 -5
- package/dist/{unref-stdin-SK3WfwxS.js → unref-stdin-D-NZBFpg.js} +3 -3
- package/dist/unwrap-typescript-expression-CrEPQUWz.js +14 -0
- package/dist/{version-CMkUAGmw.js → version-0CrqwW3U.js} +5 -4
- package/dist/{why-By3I6_Ex.js → why-Bm4JpSPS.js} +4 -4
- package/dist/{with-run-span-DxFGyW7k.js → with-run-span-DF9i7MAa.js} +7 -6
- package/package.json +9 -7
- 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]="
|
|
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]="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-
|
|
14
|
-
//# debugId=
|
|
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]="
|
|
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-
|
|
17003
|
-
//# debugId=
|
|
17002
|
+
//# sourceMappingURL=devtools-D20sefkm.js.map
|
|
17003
|
+
//# debugId=0b1ed8bf-aa85-5ba8-93c1-1bd5f79c22e3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|