react-doctor 0.9.3-dev.3466fe1 → 0.9.3-dev.3acb41b

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 CHANGED
@@ -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]="e021759c-79c5-5b42-8720-2243f4e6a8f8")}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]="5e0fe93c-0ee6-5d2a-838d-9cf4a67ec455")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as NodeChildProcess from "node:child_process";
5
5
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
@@ -79386,7 +79386,7 @@ const makeNoopConsole = () => ({
79386
79386
  });
79387
79387
  //#endregion
79388
79388
  //#region src/cli/utils/version.ts
79389
- const VERSION = "0.9.3-dev.3466fe1";
79389
+ const VERSION = "0.9.3-dev.3acb41b";
79390
79390
  //#endregion
79391
79391
  //#region src/cli/utils/json-mode.ts
79392
79392
  let context = null;
@@ -79744,13 +79744,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
79744
79744
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
79745
79745
  * standard `SENTRY_RELEASE` override.
79746
79746
  */
79747
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.3-dev.3466fe1`;
79747
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.3-dev.3acb41b`;
79748
79748
  /**
79749
79749
  * Deployment environment shown in Sentry's environment filter. Defaults to
79750
79750
  * `production` for tagged releases and `development` for dev/unbuilt versions,
79751
79751
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
79752
79752
  */
79753
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.3-dev.3466fe1") ? "development" : "production");
79753
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.3-dev.3acb41b") ? "development" : "production");
79754
79754
  /**
79755
79755
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
79756
79756
  * (set to `0` to disable tracing) and falls back to
@@ -99023,4 +99023,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
99023
99023
  export { TUI_REPORT_DETAIL_WIDTH_FRACTION as $, shouldRecordOnboarding as A, buildSortedRuleGroups as B, createInvocationInspect as C, markOnboardingComplete as D, doctorFace as E, buildEmptyReportMessage as F, recordCount as G, formatLearnMoreLine as H, hasIncompleteScoreAnalysis as I, findNearestPackageDirectory as J, recordDistribution as K, buildNoScoreMessage as L, computeProjectedScore as M, formatElapsedTime as N, canAnimateOnboarding as O, buildCodeFrame as P, TUI_REPORT_COMPACT_MAX_ROWS as Q, hasLintHardFailure as R, deduplicateProjectScans as S, easeOutCubic as T, resolveBlockingLevel as U, formatFixRecipeLine as V, isReactDoctorWorkflowInstalled as W, CI_TRUST_COMPANIES as X, isUnicodeSupported as Y, METRIC as Z, launchCliAgent as _, succeed$3 as _t, selectProjects as a, buildRuleDocsUrl as at, formatSkippedProjectsMessage as b, resolveWorkspaceDeadCodeOwner as c, highlighter as ct, countUniqueScannedFiles as d, remainingDeadlineBudgetMs as dt, isCiEnvironment as et, setUpGitHubActions as f, resolveScanTarget as ft, copyToClipboard as g, void_ as gt, CLI_AGENT_BINARIES as h, sync as ht, discoverWorkspacePackages as i, Reporter as it, filterDiagnosticsByCategories as j, isOnboardingForced as k, resolveCliInspectOptions as l, isPathInsideDirectory as lt, detectLaunchableAgents as m, runPromise as mt, registerActiveTuiRenderer as n, GITHUB_ACTIONS_SETUP_URL as nt, resolveProjectScan as o, getCategoryImpact as ot, openUrl as p, yieldToEventLoop as pt, toForwardSlashes as q, shouldFailScanGate as r, Progress as rt, retryMissingProjectScores as s, hasPublishedFixRecipe as st, exitGracefully as t, DIAGNOSTIC_CATEGORY_BUCKETS as tt, filterScansForSurface as u, mapWithConcurrency as ut, buildHandoffPayload as v, printFooter as w, collectProjectSourceFileCounts as x, isShareOptedOut as y, buildRulePriorityMap as z };
99024
99024
 
99025
99025
  //# sourceMappingURL=cli.js.map
99026
- //# debugId=e021759c-79c5-5b42-8720-2243f4e6a8f8
99026
+ //# debugId=5e0fe93c-0ee6-5d2a-838d-9cf4a67ec455
package/dist/index.js CHANGED
@@ -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]="80ee13b8-2d9f-55fb-996c-8301abf65e07")}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]="76d09448-ef0d-52d4-8c22-005bcb8715c5")}catch(e){}}();
3
3
  import { i as __toESM$1, r as __require, t as __commonJSMin$1 } from "./chunk-ChKA3wi6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import { ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, FRAMEWORK_SPECIFIC_RULE_KEYS, FRAMEWORK_TOKENS, MOTION_LIBRARY_PACKAGES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_DOCTOR_RULE_REGISTRY, REACT_DOCTOR_SCAN_RULES, classifySecurityScanFile, collectCrossFileDependencyProbes, resetManifestCaches, shouldReadSecurityScanContent } from "oxlint-plugin-react-doctor/core";
@@ -75535,14 +75535,6 @@ const getDiffInfo = (directory, explicitBaseBranch, includeUntracked) => runProm
75535
75535
  };
75536
75536
  }).pipe(provide(Git.layerNode)));
75537
75537
  const filterSourceFiles = (filePaths) => filePaths.filter(isLintableSourceFile);
75538
- /**
75539
- * Back-compat alias: the streaming pipeline holds its caches in
75540
- * per-pipeline closures that are garbage-collected when the pipeline
75541
- * goes out of scope, so there is nothing to clear at module scope. The
75542
- * public CLI's `clearCaches()` still calls this for symmetry with the
75543
- * other `clear*` helpers.
75544
- */
75545
- const clearAutoSuppressionCaches = () => {};
75546
75538
  const createLintPhaseAbortError = () => new ReactDoctorError({ reason: new OxlintSpawnFailed({ cause: "lint phase aborted" }) });
75547
75539
  const createOxlintSpawnSlots = (concurrency) => createWorkerSlots({
75548
75540
  slotCount: resolveScanConcurrency(concurrency),
@@ -75801,7 +75793,6 @@ const clearCaches = () => {
75801
75793
  clearPackageJsonCache();
75802
75794
  clearIgnorePatternsCache();
75803
75795
  clearPackageRoleCache();
75804
- clearAutoSuppressionCaches();
75805
75796
  clearMinifiedFileCache();
75806
75797
  };
75807
75798
  const toJsonReport = (result, options) => buildJsonReport({
@@ -75828,4 +75819,4 @@ const toJsonReport = (result, options) => buildJsonReport({
75828
75819
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
75829
75820
 
75830
75821
  //# sourceMappingURL=index.js.map
75831
- //# debugId=80ee13b8-2d9f-55fb-996c-8301abf65e07
75822
+ //# debugId=76d09448-ef0d-52d4-8c22-005bcb8715c5
package/dist/lsp.js CHANGED
@@ -75360,14 +75360,6 @@ const runEditorScan = async (input) => {
75360
75360
  error: messageFromUnknown(error)
75361
75361
  };
75362
75362
  };
75363
- /**
75364
- * Back-compat alias: the streaming pipeline holds its caches in
75365
- * per-pipeline closures that are garbage-collected when the pipeline
75366
- * goes out of scope, so there is nothing to clear at module scope. The
75367
- * public CLI's `clearCaches()` still calls this for symmetry with the
75368
- * other `clear*` helpers.
75369
- */
75370
- const clearAutoSuppressionCaches = () => {};
75371
75363
  const lookupOwnRule = (rule) => Object.hasOwn(REACT_DOCTOR_RULE_REGISTRY, rule) ? REACT_DOCTOR_RULE_REGISTRY[rule] : void 0;
75372
75364
  /**
75373
75365
  * Returns presentation metadata for `<plugin>/<rule>`, or `null` when the
@@ -76062,7 +76054,6 @@ const createProjectGraph = (options) => {
76062
76054
  clearPackageJsonCache();
76063
76055
  clearPackageRoleCache();
76064
76056
  clearIgnorePatternsCache();
76065
- clearAutoSuppressionCaches();
76066
76057
  clearMinifiedFileCache();
76067
76058
  projects = null;
76068
76059
  }
@@ -77448,5 +77439,5 @@ const startLanguageServer = () => {
77448
77439
  };
77449
77440
  //#endregion
77450
77441
  export { startLanguageServer };
77451
- !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]="9c497322-df37-5162-a092-8ebb7ef33f3a")}catch(e){}}();
77452
- //# debugId=9c497322-df37-5162-a092-8ebb7ef33f3a
77442
+ !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]="a7f99321-0c36-553f-8148-3804d5fad38f")}catch(e){}}();
77443
+ //# debugId=a7f99321-0c36-553f-8148-3804d5fad38f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.3-dev.3466fe1",
3
+ "version": "0.9.3-dev.3acb41b",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -73,7 +73,7 @@
73
73
  "vscode-uri": "^3.1.0",
74
74
  "yaml": "^2.9.0",
75
75
  "deslop-js": "0.9.3",
76
- "oxlint-plugin-react-doctor": "0.9.3-dev.3466fe1"
76
+ "oxlint-plugin-react-doctor": "0.9.3-dev.3acb41b"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@types/babel__code-frame": "^7.27.0",
@@ -83,8 +83,8 @@
83
83
  "commander": "^14.0.3",
84
84
  "ink-testing-library": "^4.0.0",
85
85
  "ora": "^9.4.0",
86
- "@react-doctor/api": "0.9.3",
87
86
  "@react-doctor/core": "0.9.3",
87
+ "@react-doctor/api": "0.9.3",
88
88
  "@react-doctor/language-server": "0.9.3"
89
89
  },
90
90
  "engines": {