react-doctor 0.2.15-dev.bd8298d → 0.2.15-dev.bf4c21e

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/README.md CHANGED
@@ -96,14 +96,17 @@ Prefer JSON? Use `doctor.config.json`:
96
96
 
97
97
  ## Telemetry
98
98
 
99
- The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io) to help us fix bugs and prioritize what to build. Events and metrics include the version, platform, Node version, how the CLI was invoked (which command, package manager, and whether it ran locally vs. CI vs. a coding agent), the detected project shape (framework, React version, TypeScript, project size — never the contents of your files), which rules fired (rule names only, e.g. `react-doctor/no-array-index-as-key`, with counts — never your code or specific findings), and de-minified stack traces.
99
+ The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io/) to help us fix bugs and prioritize work.
100
100
 
101
- Telemetry is **anonymized** before it leaves your machine: no IP address is collected, your hostname and machine name are stripped, your OS username is removed from every path (your home directory is replaced with `~`), captured local variables are dropped, and known secrets/API keys/emails are masked. No source code or diagnostic findings are sent.
101
+ We collect:
102
102
 
103
- Opt out at any time:
103
+ - Environment: CLI version, platform, Node version
104
+ - Invocation: which command, package manager, and run context (whether it's local vs. CI vs. coding agent)
105
+ - Project shape: framework, React version, TypeScript, project size NO file contents)
106
+ - Rules fired: rule names and counts only (e.g. `react-doctor/no-array-index-as-key`) (NO code or specific findings)
107
+ - De-minified React Doctor CLI stack traces
104
108
 
105
- - `npx react-doctor@latest --no-telemetry` disables Sentry entirely (crash reporting, tracing, and usage counters) for that run, alongside the hosted score API.
106
- - `SENTRY_TRACES_SAMPLE_RATE=0` keeps crash reporting and usage counters but turns off performance tracing.
109
+ To opt out, run: `npx react-doctor@latest --no-telemetry`
107
110
 
108
111
  ## Contributing
109
112
 
package/dist/cli.js CHANGED
@@ -11942,7 +11942,7 @@ const makeNoopConsole = () => ({
11942
11942
  });
11943
11943
  //#endregion
11944
11944
  //#region src/cli/utils/version.ts
11945
- const VERSION = "0.2.15-dev.bd8298d";
11945
+ const VERSION = "0.2.15-dev.bf4c21e";
11946
11946
  //#endregion
11947
11947
  //#region src/cli/utils/json-mode.ts
11948
11948
  let context = null;
@@ -12288,13 +12288,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
12288
12288
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
12289
12289
  * standard `SENTRY_RELEASE` override.
12290
12290
  */
12291
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15-dev.bd8298d`;
12291
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15-dev.bf4c21e`;
12292
12292
  /**
12293
12293
  * Deployment environment shown in Sentry's environment filter. Defaults to
12294
12294
  * `production` for tagged releases and `development` for dev/unbuilt versions,
12295
12295
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
12296
12296
  */
12297
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15-dev.bd8298d") ? "development" : "production");
12297
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15-dev.bf4c21e") ? "development" : "production");
12298
12298
  /**
12299
12299
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
12300
12300
  * (set to `0` to disable tracing) and falls back to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.2.15-dev.bd8298d",
3
+ "version": "0.2.15-dev.bf4c21e",
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-dev.bd8298d"
66
+ "oxlint-plugin-react-doctor": "0.2.15-dev.bf4c21e"
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.15",
75
- "@react-doctor/core": "0.2.15"
74
+ "@react-doctor/core": "0.2.15",
75
+ "@react-doctor/api": "0.2.15"
76
76
  },
77
77
  "engines": {
78
78
  "node": "^20.19.0 || >=22.12.0"