react-doctor 0.7.9-dev.44d3ad8 → 0.7.9-dev.4f3848b

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 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]="9898ed05-f0d6-5dde-8b34-6d261cecec36")}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]="6f05eada-46fe-5b24-92d8-15fa92a38b00")}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";
@@ -42484,7 +42484,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
42484
42484
  }
42485
42485
  const diff = yield* runGit(input.directory, [
42486
42486
  "diff",
42487
- "--no-ext-diff",
42488
42487
  "-z",
42489
42488
  "--name-only",
42490
42489
  "--diff-filter=ACMR",
@@ -42531,7 +42530,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
42531
42530
  if (resolvedCurrentBranch !== null && resolvedCurrentBranch === baseBranch) {
42532
42531
  const uncommitted = yield* runGit(directory, [
42533
42532
  "diff",
42534
- "--no-ext-diff",
42535
42533
  "-z",
42536
42534
  "--name-only",
42537
42535
  "--diff-filter=ACMR",
@@ -42558,7 +42556,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
42558
42556
  if (mergeBaseRef === null) return null;
42559
42557
  const diff = yield* runGit(directory, [
42560
42558
  "diff",
42561
- "--no-ext-diff",
42562
42559
  "-z",
42563
42560
  "--name-only",
42564
42561
  "--diff-filter=ACMR",
@@ -42576,7 +42573,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
42576
42573
  }).pipe(withSpan("Git.diffSelection")),
42577
42574
  stagedFilePaths: (directory) => runGit(directory, [
42578
42575
  "diff",
42579
- "--no-ext-diff",
42580
42576
  "--cached",
42581
42577
  "-z",
42582
42578
  "--name-only",
@@ -42622,7 +42618,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
42622
42618
  if (baseRef !== void 0 && !isSafeGitRevision(baseRef)) return null;
42623
42619
  const result = yield* runGit(directory, [
42624
42620
  "diff",
42625
- "--no-ext-diff",
42626
42621
  "--unified=0",
42627
42622
  "--diff-filter=ACMR",
42628
42623
  "--relative",
@@ -47220,7 +47215,7 @@ const makeNoopConsole = () => ({
47220
47215
  });
47221
47216
  //#endregion
47222
47217
  //#region src/cli/utils/version.ts
47223
- const VERSION = "0.7.9-dev.44d3ad8";
47218
+ const VERSION = "0.7.9-dev.4f3848b";
47224
47219
  //#endregion
47225
47220
  //#region src/cli/utils/json-mode.ts
47226
47221
  let context = null;
@@ -47572,13 +47567,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
47572
47567
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
47573
47568
  * standard `SENTRY_RELEASE` override.
47574
47569
  */
47575
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.7.9-dev.44d3ad8`;
47570
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.7.9-dev.4f3848b`;
47576
47571
  /**
47577
47572
  * Deployment environment shown in Sentry's environment filter. Defaults to
47578
47573
  * `production` for tagged releases and `development` for dev/unbuilt versions,
47579
47574
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
47580
47575
  */
47581
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.7.9-dev.44d3ad8") ? "development" : "production");
47576
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.7.9-dev.4f3848b") ? "development" : "production");
47582
47577
  /**
47583
47578
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
47584
47579
  * (set to `0` to disable tracing) and falls back to
@@ -65856,4 +65851,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
65856
65851
  export {};
65857
65852
 
65858
65853
  //# sourceMappingURL=cli.js.map
65859
- //# debugId=9898ed05-f0d6-5dde-8b34-6d261cecec36
65854
+ //# debugId=6f05eada-46fe-5b24-92d8-15fa92a38b00
package/dist/index.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]="9b5de5c5-ef1b-5b8a-96f4-6ba90e254e08")}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]="28287c1c-b7b6-53b8-9e72-7d28d4f3ca45")}catch(e){}}();
3
3
  import { r as __toESM$1, t as __commonJSMin$1 } from "./chunk-N93fKeF6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import reactDoctorPlugin, { ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, FRAMEWORK_SPECIFIC_RULE_KEYS, FRAMEWORK_TOKENS, MOTION_LIBRARY_PACKAGES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, classifySecurityScanFile, collectCrossFileDependencyProbes, resetManifestCaches, shouldReadSecurityScanContent } from "oxlint-plugin-react-doctor";
@@ -39240,7 +39240,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39240
39240
  }
39241
39241
  const diff = yield* runGit(input.directory, [
39242
39242
  "diff",
39243
- "--no-ext-diff",
39244
39243
  "-z",
39245
39244
  "--name-only",
39246
39245
  "--diff-filter=ACMR",
@@ -39287,7 +39286,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39287
39286
  if (resolvedCurrentBranch !== null && resolvedCurrentBranch === baseBranch) {
39288
39287
  const uncommitted = yield* runGit(directory, [
39289
39288
  "diff",
39290
- "--no-ext-diff",
39291
39289
  "-z",
39292
39290
  "--name-only",
39293
39291
  "--diff-filter=ACMR",
@@ -39314,7 +39312,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39314
39312
  if (mergeBaseRef === null) return null;
39315
39313
  const diff = yield* runGit(directory, [
39316
39314
  "diff",
39317
- "--no-ext-diff",
39318
39315
  "-z",
39319
39316
  "--name-only",
39320
39317
  "--diff-filter=ACMR",
@@ -39332,7 +39329,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39332
39329
  }).pipe(withSpan("Git.diffSelection")),
39333
39330
  stagedFilePaths: (directory) => runGit(directory, [
39334
39331
  "diff",
39335
- "--no-ext-diff",
39336
39332
  "--cached",
39337
39333
  "-z",
39338
39334
  "--name-only",
@@ -39378,7 +39374,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39378
39374
  if (baseRef !== void 0 && !isSafeGitRevision(baseRef)) return null;
39379
39375
  const result = yield* runGit(directory, [
39380
39376
  "diff",
39381
- "--no-ext-diff",
39382
39377
  "--unified=0",
39383
39378
  "--diff-filter=ACMR",
39384
39379
  "--relative",
@@ -43724,4 +43719,4 @@ const toJsonReport = (result, options) => buildJsonReport({
43724
43719
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
43725
43720
 
43726
43721
  //# sourceMappingURL=index.js.map
43727
- //# debugId=9b5de5c5-ef1b-5b8a-96f4-6ba90e254e08
43722
+ //# debugId=28287c1c-b7b6-53b8-9e72-7d28d4f3ca45
package/dist/lsp.js CHANGED
@@ -39218,7 +39218,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39218
39218
  }
39219
39219
  const diff = yield* runGit(input.directory, [
39220
39220
  "diff",
39221
- "--no-ext-diff",
39222
39221
  "-z",
39223
39222
  "--name-only",
39224
39223
  "--diff-filter=ACMR",
@@ -39265,7 +39264,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39265
39264
  if (resolvedCurrentBranch !== null && resolvedCurrentBranch === baseBranch) {
39266
39265
  const uncommitted = yield* runGit(directory, [
39267
39266
  "diff",
39268
- "--no-ext-diff",
39269
39267
  "-z",
39270
39268
  "--name-only",
39271
39269
  "--diff-filter=ACMR",
@@ -39292,7 +39290,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39292
39290
  if (mergeBaseRef === null) return null;
39293
39291
  const diff = yield* runGit(directory, [
39294
39292
  "diff",
39295
- "--no-ext-diff",
39296
39293
  "-z",
39297
39294
  "--name-only",
39298
39295
  "--diff-filter=ACMR",
@@ -39310,7 +39307,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39310
39307
  }).pipe(withSpan("Git.diffSelection")),
39311
39308
  stagedFilePaths: (directory) => runGit(directory, [
39312
39309
  "diff",
39313
- "--no-ext-diff",
39314
39310
  "--cached",
39315
39311
  "-z",
39316
39312
  "--name-only",
@@ -39356,7 +39352,6 @@ var Git = class Git extends Service()("react-doctor/Git") {
39356
39352
  if (baseRef !== void 0 && !isSafeGitRevision(baseRef)) return null;
39357
39353
  const result = yield* runGit(directory, [
39358
39354
  "diff",
39359
- "--no-ext-diff",
39360
39355
  "--unified=0",
39361
39356
  "--diff-filter=ACMR",
39362
39357
  "--relative",
@@ -45344,5 +45339,5 @@ const startLanguageServer = () => {
45344
45339
  };
45345
45340
  //#endregion
45346
45341
  export { startLanguageServer };
45347
- !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]="04d3db08-86f8-5f5f-a193-609932e35579")}catch(e){}}();
45348
- //# debugId=04d3db08-86f8-5f5f-a193-609932e35579
45342
+ !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]="6c89dec9-5fbe-5a2e-b1fe-6b3954e0e85b")}catch(e){}}();
45343
+ //# debugId=6c89dec9-5fbe-5a2e-b1fe-6b3954e0e85b
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.7.9-dev.44d3ad8",
3
+ "version": "0.7.9-dev.4f3848b",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -66,7 +66,7 @@
66
66
  "vscode-uri": "^3.1.0",
67
67
  "yaml": "^2.9.0",
68
68
  "deslop-js": "0.7.9",
69
- "oxlint-plugin-react-doctor": "0.7.9-dev.44d3ad8"
69
+ "oxlint-plugin-react-doctor": "0.7.9-dev.4f3848b"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/babel__code-frame": "^7.27.0",
@@ -74,9 +74,9 @@
74
74
  "@xterm/headless": "^6.0.0",
75
75
  "commander": "^14.0.3",
76
76
  "ora": "^9.4.0",
77
+ "@react-doctor/api": "0.7.9",
77
78
  "@react-doctor/core": "0.7.9",
78
- "@react-doctor/language-server": "0.7.9",
79
- "@react-doctor/api": "0.7.9"
79
+ "@react-doctor/language-server": "0.7.9"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.19.0 || >=22.13.0"