react-doctor 0.5.2-dev.094d470 → 0.5.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 +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]="da49f5ad-b650-5a5f-b3dc-f9d554af8704")}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";
|
|
@@ -43801,7 +43801,7 @@ const makeNoopConsole = () => ({
|
|
|
43801
43801
|
});
|
|
43802
43802
|
//#endregion
|
|
43803
43803
|
//#region src/cli/utils/version.ts
|
|
43804
|
-
const VERSION = "0.5.2
|
|
43804
|
+
const VERSION = "0.5.2";
|
|
43805
43805
|
//#endregion
|
|
43806
43806
|
//#region src/cli/utils/json-mode.ts
|
|
43807
43807
|
let context = null;
|
|
@@ -44159,13 +44159,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
44159
44159
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
44160
44160
|
* standard `SENTRY_RELEASE` override.
|
|
44161
44161
|
*/
|
|
44162
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.2
|
|
44162
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.2`;
|
|
44163
44163
|
/**
|
|
44164
44164
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
44165
44165
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
44166
44166
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
44167
44167
|
*/
|
|
44168
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.2
|
|
44168
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.2") ? "development" : "production");
|
|
44169
44169
|
/**
|
|
44170
44170
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
44171
44171
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -53841,4 +53841,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
53841
53841
|
export {};
|
|
53842
53842
|
|
|
53843
53843
|
//# sourceMappingURL=cli.js.map
|
|
53844
|
-
//# debugId=
|
|
53844
|
+
//# debugId=da49f5ad-b650-5a5f-b3dc-f9d554af8704
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.5.2
|
|
3
|
+
"version": "0.5.2",
|
|
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.2
|
|
67
|
+
"oxlint-plugin-react-doctor": "0.5.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/babel__code-frame": "^7.27.0",
|