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