react-doctor 0.2.15-dev.66f9d64 → 0.2.15
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]="32a62a68-f2f8-5b33-8780-72a601ba4ed1")}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";
|
|
@@ -11801,7 +11801,7 @@ const makeNoopConsole = () => ({
|
|
|
11801
11801
|
});
|
|
11802
11802
|
//#endregion
|
|
11803
11803
|
//#region src/cli/utils/version.ts
|
|
11804
|
-
const VERSION = "0.2.15
|
|
11804
|
+
const VERSION = "0.2.15";
|
|
11805
11805
|
//#endregion
|
|
11806
11806
|
//#region src/cli/utils/json-mode.ts
|
|
11807
11807
|
let context = null;
|
|
@@ -12117,13 +12117,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12117
12117
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12118
12118
|
* standard `SENTRY_RELEASE` override.
|
|
12119
12119
|
*/
|
|
12120
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15
|
|
12120
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15`;
|
|
12121
12121
|
/**
|
|
12122
12122
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12123
12123
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12124
12124
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12125
12125
|
*/
|
|
12126
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15
|
|
12126
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15") ? "development" : "production");
|
|
12127
12127
|
/**
|
|
12128
12128
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12129
12129
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -19657,4 +19657,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
|
|
|
19657
19657
|
export {};
|
|
19658
19658
|
|
|
19659
19659
|
//# sourceMappingURL=cli.js.map
|
|
19660
|
-
//# debugId=
|
|
19660
|
+
//# debugId=32a62a68-f2f8-5b33-8780-72a601ba4ed1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.15
|
|
3
|
+
"version": "0.2.15",
|
|
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.2.15
|
|
66
|
+
"oxlint-plugin-react-doctor": "0.2.15"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/babel__code-frame": "^7.27.0",
|