react-doctor 0.8.3-dev.9155bc0 → 0.9.0-dev.1e67af0

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]="be7f877d-9463-5212-8e1f-dc5feea97da0")}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]="2fb9bb5f-dfff-55d9-9d36-af738b2c29ea")}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";
@@ -64994,7 +64994,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
64994
64994
  const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
64995
64995
  const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
64996
64996
  const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
64997
- const CORE_PACKAGE_VERSION = "0.8.3";
64997
+ const CORE_PACKAGE_VERSION = "0.9.0";
64998
64998
  const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
64999
64999
  const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
65000
65000
  const SUPPLY_CHAIN_PLUGIN = "socket";
@@ -77409,7 +77409,7 @@ const makeNoopConsole = () => ({
77409
77409
  });
77410
77410
  //#endregion
77411
77411
  //#region src/cli/utils/version.ts
77412
- const VERSION = "0.8.3-dev.9155bc0";
77412
+ const VERSION = "0.9.0-dev.1e67af0";
77413
77413
  //#endregion
77414
77414
  //#region src/cli/utils/json-mode.ts
77415
77415
  let context = null;
@@ -77767,13 +77767,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
77767
77767
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
77768
77768
  * standard `SENTRY_RELEASE` override.
77769
77769
  */
77770
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.8.3-dev.9155bc0`;
77770
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.0-dev.1e67af0`;
77771
77771
  /**
77772
77772
  * Deployment environment shown in Sentry's environment filter. Defaults to
77773
77773
  * `production` for tagged releases and `development` for dev/unbuilt versions,
77774
77774
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
77775
77775
  */
77776
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.8.3-dev.9155bc0") ? "development" : "production");
77776
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.0-dev.1e67af0") ? "development" : "production");
77777
77777
  /**
77778
77778
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
77779
77779
  * (set to `0` to disable tracing) and falls back to
@@ -96571,4 +96571,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
96571
96571
  export { toForwardSlashes as A, highlighter as B, buildRulePriorityMap as C, resolveBlockingLevel as D, formatLearnMoreLine as E, isCiEnvironment as F, sync as G, mergeReactDoctorConfigs as H, DIAGNOSTIC_CATEGORY_BUCKETS as I, void_ as K, Progress as L, isUnicodeSupported as M, METRIC as N, isReactDoctorWorkflowInstalled as O, TUI_REPORT_DETAIL_WIDTH_FRACTION as P, Reporter as R, hasLintHardFailure as S, formatFixRecipeLine as T, resolveScanTarget as U, mapWithConcurrency as V, runPromise as W, canAnimateOnboarding as _, resolveCliInspectOptions as a, buildCodeFrame as b, detectLaunchableAgents as c, launchCliAgent as d, isShareOptedOut as f, doctorFace as g, easeOutCubic as h, selectProjects as i, findNearestPackageDirectory as j, recordCount as k, CLI_AGENT_BINARIES as l, printFooter as m, shouldFailScanGate as n, countUniqueScannedFiles as o, inspect as p, succeed$3 as q, discoverWorkspacePackages as r, setUpGitHubActions as s, exitGracefully as t, copyToClipboard as u, computeProjectedScore as v, buildSortedRuleGroups as w, buildNoScoreMessage as x, formatElapsedTime as y, getCategoryImpact as z };
96572
96572
 
96573
96573
  //# sourceMappingURL=cli.js.map
96574
- //# debugId=be7f877d-9463-5212-8e1f-dc5feea97da0
96574
+ //# debugId=2fb9bb5f-dfff-55d9-9d36-af738b2c29ea
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]="ef9143d9-5b2e-5eca-adb3-89fde61aafe8")}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]="702b5b0d-3117-5622-b161-1cb17deb6636")}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 reactDoctorPlugin, { 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, classifySecurityScanFile, collectCrossFileDependencyProbes, resetManifestCaches, shouldReadSecurityScanContent } from "oxlint-plugin-react-doctor";
@@ -61791,7 +61791,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
61791
61791
  const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
61792
61792
  const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
61793
61793
  const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
61794
- const CORE_PACKAGE_VERSION = "0.8.3";
61794
+ const CORE_PACKAGE_VERSION = "0.9.0";
61795
61795
  const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
61796
61796
  const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
61797
61797
  const SUPPLY_CHAIN_PLUGIN = "socket";
@@ -73883,4 +73883,4 @@ const toJsonReport = (result, options) => buildJsonReport({
73883
73883
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
73884
73884
 
73885
73885
  //# sourceMappingURL=index.js.map
73886
- //# debugId=ef9143d9-5b2e-5eca-adb3-89fde61aafe8
73886
+ //# debugId=702b5b0d-3117-5622-b161-1cb17deb6636
package/dist/lsp.js CHANGED
@@ -61844,7 +61844,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
61844
61844
  const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
61845
61845
  const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
61846
61846
  const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
61847
- const CORE_PACKAGE_VERSION = "0.8.3";
61847
+ const CORE_PACKAGE_VERSION = "0.9.0";
61848
61848
  const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
61849
61849
  const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
61850
61850
  const SUPPLY_CHAIN_PLUGIN = "socket";
@@ -73474,7 +73474,7 @@ const computeConfigFingerprint = (projectDirectory, version) => {
73474
73474
  /** Display name used in client-facing messages and progress titles. */
73475
73475
  const SERVER_DISPLAY_NAME = "React Doctor";
73476
73476
  /** Server version reported in `serverInfo`; injected at build, `dev` from source. */
73477
- const SERVER_VERSION = "0.8.3";
73477
+ const SERVER_VERSION = "0.9.0";
73478
73478
  /** `Diagnostic.source` shown next to every published diagnostic. */
73479
73479
  const DIAGNOSTIC_SOURCE = "react-doctor";
73480
73480
  /**
@@ -75504,5 +75504,5 @@ const startLanguageServer = () => {
75504
75504
  };
75505
75505
  //#endregion
75506
75506
  export { startLanguageServer };
75507
- !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]="a35abfab-9805-5633-9c17-c7012a9dc0b3")}catch(e){}}();
75508
- //# debugId=a35abfab-9805-5633-9c17-c7012a9dc0b3
75507
+ !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]="4174ed31-6572-57ab-ac95-6089329d703f")}catch(e){}}();
75508
+ //# debugId=4174ed31-6572-57ab-ac95-6089329d703f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.8.3-dev.9155bc0",
3
+ "version": "0.9.0-dev.1e67af0",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -69,8 +69,8 @@
69
69
  "vscode-languageserver-textdocument": "^1.0.12",
70
70
  "vscode-uri": "^3.1.0",
71
71
  "yaml": "^2.9.0",
72
- "deslop-js": "0.8.3",
73
- "oxlint-plugin-react-doctor": "0.8.3-dev.9155bc0"
72
+ "deslop-js": "0.9.0",
73
+ "oxlint-plugin-react-doctor": "0.9.0-dev.1e67af0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/babel__code-frame": "^7.27.0",
@@ -80,9 +80,9 @@
80
80
  "commander": "^14.0.3",
81
81
  "ink-testing-library": "^4.0.0",
82
82
  "ora": "^9.4.0",
83
- "@react-doctor/api": "0.8.3",
84
- "@react-doctor/core": "0.8.3",
85
- "@react-doctor/language-server": "0.8.3"
83
+ "@react-doctor/api": "0.9.0",
84
+ "@react-doctor/core": "0.9.0",
85
+ "@react-doctor/language-server": "0.9.0"
86
86
  },
87
87
  "engines": {
88
88
  "node": "^20.19.0 || >=22.13.0"