react-doctor 0.4.2-dev.b461b2d → 0.4.2
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 -5
- package/package.json +4 -4
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]="08810671-4465-5cfa-b516-09d5c05107f4")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
@@ -12247,7 +12247,7 @@ const makeNoopConsole = () => ({
|
|
|
12247
12247
|
});
|
|
12248
12248
|
//#endregion
|
|
12249
12249
|
//#region src/cli/utils/version.ts
|
|
12250
|
-
const VERSION = "0.4.2
|
|
12250
|
+
const VERSION = "0.4.2";
|
|
12251
12251
|
//#endregion
|
|
12252
12252
|
//#region src/cli/utils/json-mode.ts
|
|
12253
12253
|
let context = null;
|
|
@@ -12605,13 +12605,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12605
12605
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12606
12606
|
* standard `SENTRY_RELEASE` override.
|
|
12607
12607
|
*/
|
|
12608
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.2
|
|
12608
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.2`;
|
|
12609
12609
|
/**
|
|
12610
12610
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12611
12611
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12612
12612
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12613
12613
|
*/
|
|
12614
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.2
|
|
12614
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.2") ? "development" : "production");
|
|
12615
12615
|
/**
|
|
12616
12616
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12617
12617
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -21521,4 +21521,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
21521
21521
|
export {};
|
|
21522
21522
|
|
|
21523
21523
|
//# sourceMappingURL=cli.js.map
|
|
21524
|
-
//# debugId=
|
|
21524
|
+
//# debugId=08810671-4465-5cfa-b516-09d5c05107f4
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.4.2
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vscode-languageserver": "^9.0.1",
|
|
67
67
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
68
68
|
"vscode-uri": "^3.1.0",
|
|
69
|
-
"oxlint-plugin-react-doctor": "0.4.2
|
|
69
|
+
"oxlint-plugin-react-doctor": "0.4.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@xterm/headless": "^6.0.0",
|
|
75
75
|
"commander": "^14.0.3",
|
|
76
76
|
"ora": "^9.4.0",
|
|
77
|
-
"@react-doctor/core": "0.4.2",
|
|
78
77
|
"@react-doctor/api": "0.4.2",
|
|
79
|
-
"@react-doctor/language-server": "0.4.2"
|
|
78
|
+
"@react-doctor/language-server": "0.4.2",
|
|
79
|
+
"@react-doctor/core": "0.4.2"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "^20.19.0 || >=22.12.0"
|