react-doctor 0.5.5-dev.5fc0e27 → 0.5.5-dev.bac7c82
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 +7 -5
- package/dist/index.js +4 -2
- package/dist/lsp.js +4 -2
- package/package.json +3 -3
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]="e03b6154-4b3f-5b73-9f74-118d3b39e6b0")}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";
|
|
@@ -42784,6 +42784,8 @@ const resolveConcreteVersion = (spec) => {
|
|
|
42784
42784
|
const trimmed = spec.trim();
|
|
42785
42785
|
if (trimmed.length === 0) return null;
|
|
42786
42786
|
if (trimmed.includes(":")) return null;
|
|
42787
|
+
const range = import_semver.validRange(trimmed);
|
|
42788
|
+
if (range === null || range === "*") return null;
|
|
42787
42789
|
return import_semver.minVersion(trimmed)?.version ?? null;
|
|
42788
42790
|
};
|
|
42789
42791
|
const locateDependencyKey = (packageJsonText, section, name) => {
|
|
@@ -43969,7 +43971,7 @@ const makeNoopConsole = () => ({
|
|
|
43969
43971
|
});
|
|
43970
43972
|
//#endregion
|
|
43971
43973
|
//#region src/cli/utils/version.ts
|
|
43972
|
-
const VERSION = "0.5.5-dev.
|
|
43974
|
+
const VERSION = "0.5.5-dev.bac7c82";
|
|
43973
43975
|
//#endregion
|
|
43974
43976
|
//#region src/cli/utils/json-mode.ts
|
|
43975
43977
|
let context = null;
|
|
@@ -44327,13 +44329,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
44327
44329
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
44328
44330
|
* standard `SENTRY_RELEASE` override.
|
|
44329
44331
|
*/
|
|
44330
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.5-dev.
|
|
44332
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.5-dev.bac7c82`;
|
|
44331
44333
|
/**
|
|
44332
44334
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
44333
44335
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
44334
44336
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
44335
44337
|
*/
|
|
44336
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.5-dev.
|
|
44338
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.5-dev.bac7c82") ? "development" : "production");
|
|
44337
44339
|
/**
|
|
44338
44340
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
44339
44341
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -53945,4 +53947,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
53945
53947
|
export {};
|
|
53946
53948
|
|
|
53947
53949
|
//# sourceMappingURL=cli.js.map
|
|
53948
|
-
//# debugId=
|
|
53950
|
+
//# debugId=e03b6154-4b3f-5b73-9f74-118d3b39e6b0
|
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]="0b246e36-6877-5145-9560-a392af70ee30")}catch(e){}}();
|
|
3
3
|
import { r as __toESM$1, t as __commonJSMin$1 } from "./chunk-N93fKeF6.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import * as NFS from "node:fs";
|
|
@@ -39548,6 +39548,8 @@ const resolveConcreteVersion = (spec) => {
|
|
|
39548
39548
|
const trimmed = spec.trim();
|
|
39549
39549
|
if (trimmed.length === 0) return null;
|
|
39550
39550
|
if (trimmed.includes(":")) return null;
|
|
39551
|
+
const range = import_semver.validRange(trimmed);
|
|
39552
|
+
if (range === null || range === "*") return null;
|
|
39551
39553
|
return import_semver.minVersion(trimmed)?.version ?? null;
|
|
39552
39554
|
};
|
|
39553
39555
|
const locateDependencyKey = (packageJsonText, section, name) => {
|
|
@@ -40570,4 +40572,4 @@ const toJsonReport = (result, options) => buildJsonReport({
|
|
|
40570
40572
|
export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
40571
40573
|
|
|
40572
40574
|
//# sourceMappingURL=index.js.map
|
|
40573
|
-
//# debugId=
|
|
40575
|
+
//# debugId=0b246e36-6877-5145-9560-a392af70ee30
|
package/dist/lsp.js
CHANGED
|
@@ -39534,6 +39534,8 @@ const resolveConcreteVersion = (spec) => {
|
|
|
39534
39534
|
const trimmed = spec.trim();
|
|
39535
39535
|
if (trimmed.length === 0) return null;
|
|
39536
39536
|
if (trimmed.includes(":")) return null;
|
|
39537
|
+
const range = import_semver.validRange(trimmed);
|
|
39538
|
+
if (range === null || range === "*") return null;
|
|
39537
39539
|
return import_semver.minVersion(trimmed)?.version ?? null;
|
|
39538
39540
|
};
|
|
39539
39541
|
const locateDependencyKey = (packageJsonText, section, name) => {
|
|
@@ -42355,5 +42357,5 @@ const startLanguageServer = () => {
|
|
|
42355
42357
|
};
|
|
42356
42358
|
//#endregion
|
|
42357
42359
|
export { startLanguageServer };
|
|
42358
|
-
!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]="
|
|
42359
|
-
//# debugId=
|
|
42360
|
+
!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]="6648983d-3832-5f00-93a7-24daacde01bb")}catch(e){}}();
|
|
42361
|
+
//# debugId=6648983d-3832-5f00-93a7-24daacde01bb
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.5.5-dev.
|
|
3
|
+
"version": "0.5.5-dev.bac7c82",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"vscode-languageserver": "^9.0.1",
|
|
65
65
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
66
66
|
"vscode-uri": "^3.1.0",
|
|
67
|
-
"oxlint-plugin-react-doctor": "0.5.5-dev.
|
|
67
|
+
"oxlint-plugin-react-doctor": "0.5.5-dev.bac7c82"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@xterm/headless": "^6.0.0",
|
|
73
73
|
"commander": "^14.0.3",
|
|
74
74
|
"ora": "^9.4.0",
|
|
75
|
-
"@react-doctor/core": "0.5.5",
|
|
76
75
|
"@react-doctor/language-server": "0.5.5",
|
|
76
|
+
"@react-doctor/core": "0.5.5",
|
|
77
77
|
"@react-doctor/api": "0.5.5"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|