react-doctor 0.2.18-dev.19b39c0 → 0.2.18-dev.8691177

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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -6
  2. 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]="989a10c5-8f69-5f04-a13a-8353aeb4c29a")}catch(e){}}();
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]="fb03f49f-82c7-5c7c-b235-60ffe86d019a")}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";
@@ -11934,7 +11934,7 @@ const makeNoopConsole = () => ({
11934
11934
  });
11935
11935
  //#endregion
11936
11936
  //#region src/cli/utils/version.ts
11937
- const VERSION = "0.2.18-dev.19b39c0";
11937
+ const VERSION = "0.2.18-dev.8691177";
11938
11938
  //#endregion
11939
11939
  //#region src/cli/utils/json-mode.ts
11940
11940
  let context = null;
@@ -12280,13 +12280,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
12280
12280
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
12281
12281
  * standard `SENTRY_RELEASE` override.
12282
12282
  */
12283
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.18-dev.19b39c0`;
12283
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.18-dev.8691177`;
12284
12284
  /**
12285
12285
  * Deployment environment shown in Sentry's environment filter. Defaults to
12286
12286
  * `production` for tagged releases and `development` for dev/unbuilt versions,
12287
12287
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
12288
12288
  */
12289
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.18-dev.19b39c0") ? "development" : "production");
12289
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.18-dev.8691177") ? "development" : "production");
12290
12290
  /**
12291
12291
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
12292
12292
  * (set to `0` to disable tracing) and falls back to
@@ -16047,7 +16047,7 @@ const buildRuleDetailBlock = (ruleKey, ruleDiagnostics, resolveSourceRoot, rende
16047
16047
  const fixRecipeLine = formatFixRecipeLine(representative);
16048
16048
  if (fixRecipeLine) lines.push(highlighter.gray(`${TOP_ERROR_DETAIL_INDENT}${fixRecipeLine}`));
16049
16049
  }
16050
- const renderCodeFrame = severity === "error" || renderEverySite;
16050
+ const renderCodeFrame = severity === "error";
16051
16051
  const sites = renderEverySite ? ruleDiagnostics : [representative];
16052
16052
  for (const cluster of clusterNearbyDiagnostics(sites)) lines.push(...buildDiagnosticClusterLines(cluster, resolveSourceRoot, renderCodeFrame));
16053
16053
  return lines;
@@ -20244,4 +20244,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
20244
20244
  export {};
20245
20245
 
20246
20246
  //# sourceMappingURL=cli.js.map
20247
- //# debugId=989a10c5-8f69-5f04-a13a-8353aeb4c29a
20247
+ //# debugId=fb03f49f-82c7-5c7c-b235-60ffe86d019a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.2.18-dev.19b39c0",
3
+ "version": "0.2.18-dev.8691177",
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.18-dev.19b39c0"
66
+ "oxlint-plugin-react-doctor": "0.2.18-dev.8691177"
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/api": "0.2.18",
75
- "@react-doctor/core": "0.2.18"
74
+ "@react-doctor/core": "0.2.18",
75
+ "@react-doctor/api": "0.2.18"
76
76
  },
77
77
  "engines": {
78
78
  "node": "^20.19.0 || >=22.12.0"