react-doctor 0.6.3 → 0.7.0-dev.574cba6
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/cli.js +1022 -288
- package/dist/index.d.ts +26 -0
- package/dist/index.js +646 -79
- package/dist/lsp.js +650 -85
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -9743,6 +9743,32 @@ interface InspectResult {
|
|
|
9743
9743
|
*/
|
|
9744
9744
|
lintCacheHitFileCount?: number | null;
|
|
9745
9745
|
lintCacheTotalFileCount?: number | null;
|
|
9746
|
+
/**
|
|
9747
|
+
* Sidecar lint cache outcome: cache-hit files whose cross-file diagnostics
|
|
9748
|
+
* replayed from the sidecar store, and the hits considered. Both absent
|
|
9749
|
+
* when the sidecar cache was off or bypassed. The CLI projects these onto
|
|
9750
|
+
* the Sentry wide event as `lint.sidecarReplayRatio`.
|
|
9751
|
+
*/
|
|
9752
|
+
lintSidecarReplayedFileCount?: number | null;
|
|
9753
|
+
lintSidecarTotalFileCount?: number | null;
|
|
9754
|
+
/**
|
|
9755
|
+
* Dead-code result cache outcome: `true` when the pass replayed a cached
|
|
9756
|
+
* result (the analysis never ran), `false` on a fresh analysis. Absent when
|
|
9757
|
+
* the pass never consulted the cache — dead-code skipped, the cache
|
|
9758
|
+
* disabled, or a whole-repo cache replay where no analysis ran. The CLI
|
|
9759
|
+
* projects it onto the Sentry wide event as `deadCode.cacheHit`.
|
|
9760
|
+
*/
|
|
9761
|
+
deadCodeCacheHit?: boolean | null;
|
|
9762
|
+
/**
|
|
9763
|
+
* deslop's incremental summary-cache outcome for the dead-code analysis:
|
|
9764
|
+
* collected files served from cached parse summaries vs freshly parsed.
|
|
9765
|
+
* Both absent whenever no analysis consulted the incremental store — a
|
|
9766
|
+
* whole-result cache hit, the cache disabled, or dead-code skipped. The CLI
|
|
9767
|
+
* projects them onto the Sentry wide event as `deadCode.summaryCacheHits` /
|
|
9768
|
+
* `deadCode.summaryCacheMisses`.
|
|
9769
|
+
*/
|
|
9770
|
+
deadCodeSummaryCacheHits?: number | null;
|
|
9771
|
+
deadCodeSummaryCacheMisses?: number | null;
|
|
9746
9772
|
/**
|
|
9747
9773
|
* Present only for a baseline run (`InspectOptions.baseline` set). The
|
|
9748
9774
|
* `diagnostics` above are then the *introduced* findings only; this
|