react-doctor 0.2.18-dev.d594f69 → 0.2.18-dev.eab6dc2

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 -12
  2. 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]="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]="ee44f730-8e95-5d8c-90e2-58a5f99890ae")}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.d594f69";
11937
+ const VERSION = "0.2.18-dev.eab6dc2";
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.d594f69`;
12283
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.18-dev.eab6dc2`;
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.d594f69") ? "development" : "production");
12289
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.18-dev.eab6dc2") ? "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
@@ -18614,13 +18614,7 @@ const isSafeRelativePath = (filePath) => {
18614
18614
  return normalized === filePath;
18615
18615
  };
18616
18616
  const readChangedFilesFrom = (filePath) => {
18617
- let raw;
18618
- try {
18619
- raw = fs.readFileSync(filePath, "utf8");
18620
- } catch (error) {
18621
- const errorCode = error?.code;
18622
- throw new CliInputError(`Could not read the --changed-files-from file "${filePath}"${errorCode ? ` (${errorCode})` : ""}. Pass a path to a readable text file that lists changed files, one per line.`);
18623
- }
18617
+ const raw = fs.readFileSync(filePath, "utf8");
18624
18618
  const uniqueFiles = /* @__PURE__ */ new Set();
18625
18619
  for (const line of raw.split(/\r?\n/)) {
18626
18620
  const candidate = toForwardSlashes(line.trim());
@@ -20244,4 +20238,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
20244
20238
  export {};
20245
20239
 
20246
20240
  //# sourceMappingURL=cli.js.map
20247
- //# debugId=989a10c5-8f69-5f04-a13a-8353aeb4c29a
20241
+ //# debugId=ee44f730-8e95-5d8c-90e2-58a5f99890ae
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.2.18-dev.d594f69",
3
+ "version": "0.2.18-dev.eab6dc2",
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.d594f69"
66
+ "oxlint-plugin-react-doctor": "0.2.18-dev.eab6dc2"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/babel__code-frame": "^7.27.0",