react-doctor 0.3.0-dev.6130583 → 0.3.0
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 +2 -2
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]="47e24e19-c900-5a69-9343-5a4ca3bdf25c")}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";
|
|
@@ -12019,7 +12019,7 @@ const makeNoopConsole = () => ({
|
|
|
12019
12019
|
});
|
|
12020
12020
|
//#endregion
|
|
12021
12021
|
//#region src/cli/utils/version.ts
|
|
12022
|
-
const VERSION = "0.3.0
|
|
12022
|
+
const VERSION = "0.3.0";
|
|
12023
12023
|
//#endregion
|
|
12024
12024
|
//#region src/cli/utils/json-mode.ts
|
|
12025
12025
|
let context = null;
|
|
@@ -12377,13 +12377,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12377
12377
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12378
12378
|
* standard `SENTRY_RELEASE` override.
|
|
12379
12379
|
*/
|
|
12380
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.3.0
|
|
12380
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.3.0`;
|
|
12381
12381
|
/**
|
|
12382
12382
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12383
12383
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12384
12384
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12385
12385
|
*/
|
|
12386
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.3.0
|
|
12386
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.3.0") ? "development" : "production");
|
|
12387
12387
|
/**
|
|
12388
12388
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12389
12389
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -20885,4 +20885,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
|
|
|
20885
20885
|
export {};
|
|
20886
20886
|
|
|
20887
20887
|
//# sourceMappingURL=cli.js.map
|
|
20888
|
-
//# debugId=
|
|
20888
|
+
//# debugId=47e24e19-c900-5a69-9343-5a4ca3bdf25c
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -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.3.0
|
|
66
|
+
"oxlint-plugin-react-doctor": "0.3.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/babel__code-frame": "^7.27.0",
|