react-doctor 0.9.2-dev.fb5f881 → 0.9.3-dev.0b673cc
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 +6 -6
- package/dist/index.js +3 -3
- package/dist/lsp.js +4 -4
- package/package.json +6 -6
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]="
|
|
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]="1a34c548-5d3e-559c-8a3a-8a869ca2847a")}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";
|
|
@@ -65419,7 +65419,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
|
|
|
65419
65419
|
const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
|
|
65420
65420
|
const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
|
|
65421
65421
|
const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
|
|
65422
|
-
const CORE_PACKAGE_VERSION = "0.9.
|
|
65422
|
+
const CORE_PACKAGE_VERSION = "0.9.3";
|
|
65423
65423
|
const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
|
|
65424
65424
|
const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
|
|
65425
65425
|
const SUPPLY_CHAIN_PLUGIN = "socket";
|
|
@@ -79010,7 +79010,7 @@ const makeNoopConsole = () => ({
|
|
|
79010
79010
|
});
|
|
79011
79011
|
//#endregion
|
|
79012
79012
|
//#region src/cli/utils/version.ts
|
|
79013
|
-
const VERSION = "0.9.
|
|
79013
|
+
const VERSION = "0.9.3-dev.0b673cc";
|
|
79014
79014
|
//#endregion
|
|
79015
79015
|
//#region src/cli/utils/json-mode.ts
|
|
79016
79016
|
let context = null;
|
|
@@ -79368,13 +79368,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
79368
79368
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
79369
79369
|
* standard `SENTRY_RELEASE` override.
|
|
79370
79370
|
*/
|
|
79371
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.
|
|
79371
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.3-dev.0b673cc`;
|
|
79372
79372
|
/**
|
|
79373
79373
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
79374
79374
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
79375
79375
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
79376
79376
|
*/
|
|
79377
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.
|
|
79377
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.3-dev.0b673cc") ? "development" : "production");
|
|
79378
79378
|
/**
|
|
79379
79379
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
79380
79380
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -98398,4 +98398,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
98398
98398
|
export { toForwardSlashes as A, getCategoryImpact as B, buildRulePriorityMap as C, resolveBlockingLevel as D, formatLearnMoreLine as E, TUI_REPORT_DETAIL_WIDTH_FRACTION as F, runPromise as G, mapWithConcurrency as H, isCiEnvironment as I, succeed$3 as J, sync as K, DIAGNOSTIC_CATEGORY_BUCKETS as L, isUnicodeSupported as M, METRIC as N, isReactDoctorWorkflowInstalled as O, TUI_REPORT_COMPACT_MAX_ROWS as P, Progress as R, hasLintHardFailure as S, formatFixRecipeLine as T, mergeReactDoctorConfigs as U, highlighter as V, resolveScanTarget 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, createInvocationInspect as p, void_ 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, Reporter as z };
|
|
98399
98399
|
|
|
98400
98400
|
//# sourceMappingURL=cli.js.map
|
|
98401
|
-
//# debugId=
|
|
98401
|
+
//# debugId=1a34c548-5d3e-559c-8a3a-8a869ca2847a
|
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]="
|
|
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]="0c9da9c7-4847-5807-983e-a57b7eec97cd")}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";
|
|
@@ -62216,7 +62216,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
|
|
|
62216
62216
|
const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
|
|
62217
62217
|
const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
|
|
62218
62218
|
const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
|
|
62219
|
-
const CORE_PACKAGE_VERSION = "0.9.
|
|
62219
|
+
const CORE_PACKAGE_VERSION = "0.9.3";
|
|
62220
62220
|
const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
|
|
62221
62221
|
const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
|
|
62222
62222
|
const SUPPLY_CHAIN_PLUGIN = "socket";
|
|
@@ -75487,4 +75487,4 @@ const toJsonReport = (result, options) => buildJsonReport({
|
|
|
75487
75487
|
export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
75488
75488
|
|
|
75489
75489
|
//# sourceMappingURL=index.js.map
|
|
75490
|
-
//# debugId=
|
|
75490
|
+
//# debugId=0c9da9c7-4847-5807-983e-a57b7eec97cd
|
package/dist/lsp.js
CHANGED
|
@@ -62269,7 +62269,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
|
|
|
62269
62269
|
const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
|
|
62270
62270
|
const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
|
|
62271
62271
|
const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
|
|
62272
|
-
const CORE_PACKAGE_VERSION = "0.9.
|
|
62272
|
+
const CORE_PACKAGE_VERSION = "0.9.3";
|
|
62273
62273
|
const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
|
|
62274
62274
|
const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
|
|
62275
62275
|
const SUPPLY_CHAIN_PLUGIN = "socket";
|
|
@@ -75063,7 +75063,7 @@ const computeConfigFingerprint = (projectDirectory, version) => {
|
|
|
75063
75063
|
/** Display name used in client-facing messages and progress titles. */
|
|
75064
75064
|
const SERVER_DISPLAY_NAME = "React Doctor";
|
|
75065
75065
|
/** Server version reported in `serverInfo`; injected at build, `dev` from source. */
|
|
75066
|
-
const SERVER_VERSION = "0.9.
|
|
75066
|
+
const SERVER_VERSION = "0.9.3";
|
|
75067
75067
|
/** `Diagnostic.source` shown next to every published diagnostic. */
|
|
75068
75068
|
const DIAGNOSTIC_SOURCE = "react-doctor";
|
|
75069
75069
|
/**
|
|
@@ -77100,5 +77100,5 @@ const startLanguageServer = () => {
|
|
|
77100
77100
|
};
|
|
77101
77101
|
//#endregion
|
|
77102
77102
|
export { startLanguageServer };
|
|
77103
|
-
!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]="
|
|
77104
|
-
//# debugId=
|
|
77103
|
+
!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]="a07beba2-2d2e-59f0-8edb-430554d791d1")}catch(e){}}();
|
|
77104
|
+
//# debugId=a07beba2-2d2e-59f0-8edb-430554d791d1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3-dev.0b673cc",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
72
72
|
"vscode-uri": "^3.1.0",
|
|
73
73
|
"yaml": "^2.9.0",
|
|
74
|
-
"deslop-js": "0.9.
|
|
75
|
-
"oxlint-plugin-react-doctor": "0.9.
|
|
74
|
+
"deslop-js": "0.9.3",
|
|
75
|
+
"oxlint-plugin-react-doctor": "0.9.3-dev.0b673cc"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"commander": "^14.0.3",
|
|
83
83
|
"ink-testing-library": "^4.0.0",
|
|
84
84
|
"ora": "^9.4.0",
|
|
85
|
-
"@react-doctor/
|
|
86
|
-
"@react-doctor/
|
|
87
|
-
"@react-doctor/
|
|
85
|
+
"@react-doctor/core": "0.9.3",
|
|
86
|
+
"@react-doctor/api": "0.9.3",
|
|
87
|
+
"@react-doctor/language-server": "0.9.3"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": "^20.19.0 || >=22.13.0"
|