react-doctor 0.2.18-dev.8e7fb33 → 0.2.18-dev.abbb042
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 +5 -6
- package/package.json +5 -5
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]="32d58bb2-956f-5f5d-9f5b-3c3e922c17d2")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
5
5
|
import * as Path from "node:path";
|
|
@@ -12018,7 +12018,7 @@ const makeNoopConsole = () => ({
|
|
|
12018
12018
|
});
|
|
12019
12019
|
//#endregion
|
|
12020
12020
|
//#region src/cli/utils/version.ts
|
|
12021
|
-
const VERSION = "0.2.18-dev.
|
|
12021
|
+
const VERSION = "0.2.18-dev.abbb042";
|
|
12022
12022
|
//#endregion
|
|
12023
12023
|
//#region src/cli/utils/json-mode.ts
|
|
12024
12024
|
let context = null;
|
|
@@ -12376,13 +12376,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12376
12376
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12377
12377
|
* standard `SENTRY_RELEASE` override.
|
|
12378
12378
|
*/
|
|
12379
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.18-dev.
|
|
12379
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.18-dev.abbb042`;
|
|
12380
12380
|
/**
|
|
12381
12381
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12382
12382
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12383
12383
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12384
12384
|
*/
|
|
12385
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.18-dev.
|
|
12385
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.18-dev.abbb042") ? "development" : "production");
|
|
12386
12386
|
/**
|
|
12387
12387
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12388
12388
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -19324,7 +19324,6 @@ const validateModeFlags = (flags) => {
|
|
|
19324
19324
|
const coercedDiff = coerceDiffValue(flags.diff);
|
|
19325
19325
|
const exclusiveModes = [flags.staged ? "--staged" : null, coercedDiff !== void 0 && coercedDiff !== false ? "--diff" : null].filter((modeName) => modeName !== null);
|
|
19326
19326
|
if (exclusiveModes.length > 1) throw new CliInputError(`Cannot combine ${exclusiveModes.join(" and ")}; pick one mode.`);
|
|
19327
|
-
if (flags.yes && flags.full) throw new CliInputError("Cannot combine --yes and --full; pick one.");
|
|
19328
19327
|
if (flags.score && flags.json) throw new CliInputError("Cannot combine --score and --json; pick one output mode.");
|
|
19329
19328
|
if (flags.score && flags.telemetry === false) throw new CliInputError("Cannot combine --score with --no-telemetry; --score prints the score that --no-telemetry disables.");
|
|
19330
19329
|
if (flags.prComment && (flags.json || flags.score)) throw new CliInputError("--pr-comment cannot be combined with --json or --score.");
|
|
@@ -20513,4 +20512,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
|
|
|
20513
20512
|
export {};
|
|
20514
20513
|
|
|
20515
20514
|
//# sourceMappingURL=cli.js.map
|
|
20516
|
-
//# debugId=
|
|
20515
|
+
//# debugId=32d58bb2-956f-5f5d-9f5b-3c3e922c17d2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.18-dev.
|
|
3
|
+
"version": "0.2.18-dev.abbb042",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"agent-install": "0.0.5",
|
|
56
56
|
"conf": "^15.1.0",
|
|
57
57
|
"confbox": "^0.2.4",
|
|
58
|
-
"deslop-js": "^0.0.
|
|
58
|
+
"deslop-js": "^0.0.17",
|
|
59
59
|
"effect": "4.0.0-beta.70",
|
|
60
60
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
61
61
|
"jiti": "^2.7.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"oxlint": "^1.66.0",
|
|
64
64
|
"prompts": "^2.4.2",
|
|
65
65
|
"typescript": ">=5.0.4 <7",
|
|
66
|
-
"oxlint-plugin-react-doctor": "0.2.18-dev.
|
|
66
|
+
"oxlint-plugin-react-doctor": "0.2.18-dev.abbb042"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"@xterm/headless": "^6.0.0",
|
|
72
72
|
"commander": "^14.0.3",
|
|
73
73
|
"ora": "^9.4.0",
|
|
74
|
-
"@react-doctor/
|
|
75
|
-
"@react-doctor/
|
|
74
|
+
"@react-doctor/api": "0.2.18",
|
|
75
|
+
"@react-doctor/core": "0.2.18"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": "^20.19.0 || >=22.12.0"
|