react-doctor 0.8.1-dev.7c9dbed → 0.8.1-dev.82c4a12

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]="f6c63ef7-3eca-54f6-80d8-221d85cea09b")}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]="24153a3f-aef9-53fd-8dff-9b016a9613fb")}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";
@@ -37977,6 +37977,7 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
37977
37977
  "react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
37978
37978
  "react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
37979
37979
  "react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
37980
+ "react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
37980
37981
  "react/jsx-no-undef": "react-doctor/jsx-no-undef",
37981
37982
  "react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
37982
37983
  "react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
@@ -47364,7 +47365,7 @@ const makeNoopConsole = () => ({
47364
47365
  });
47365
47366
  //#endregion
47366
47367
  //#region src/cli/utils/version.ts
47367
- const VERSION = "0.8.1-dev.7c9dbed";
47368
+ const VERSION = "0.8.1-dev.82c4a12";
47368
47369
  //#endregion
47369
47370
  //#region src/cli/utils/json-mode.ts
47370
47371
  let context = null;
@@ -47716,13 +47717,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
47716
47717
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
47717
47718
  * standard `SENTRY_RELEASE` override.
47718
47719
  */
47719
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.8.1-dev.7c9dbed`;
47720
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.8.1-dev.82c4a12`;
47720
47721
  /**
47721
47722
  * Deployment environment shown in Sentry's environment filter. Defaults to
47722
47723
  * `production` for tagged releases and `development` for dev/unbuilt versions,
47723
47724
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
47724
47725
  */
47725
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.8.1-dev.7c9dbed") ? "development" : "production");
47726
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.8.1-dev.82c4a12") ? "development" : "production");
47726
47727
  /**
47727
47728
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
47728
47729
  * (set to `0` to disable tracing) and falls back to
@@ -66402,4 +66403,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
66402
66403
  export {};
66403
66404
 
66404
66405
  //# sourceMappingURL=cli.js.map
66405
- //# debugId=f6c63ef7-3eca-54f6-80d8-221d85cea09b
66406
+ //# debugId=24153a3f-aef9-53fd-8dff-9b016a9613fb
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]="f412a400-e7a3-5cfa-a67f-1192f6a38df2")}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]="14f17993-c8fc-5c43-a518-2b2055f5d836")}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";
@@ -34784,6 +34784,7 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
34784
34784
  "react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
34785
34785
  "react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
34786
34786
  "react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
34787
+ "react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
34787
34788
  "react/jsx-no-undef": "react-doctor/jsx-no-undef",
34788
34789
  "react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
34789
34790
  "react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
@@ -43836,4 +43837,4 @@ const toJsonReport = (result, options) => buildJsonReport({
43836
43837
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
43837
43838
 
43838
43839
  //# sourceMappingURL=index.js.map
43839
- //# debugId=f412a400-e7a3-5cfa-a67f-1192f6a38df2
43840
+ //# debugId=14f17993-c8fc-5c43-a518-2b2055f5d836
package/dist/lsp.js CHANGED
@@ -34836,6 +34836,7 @@ const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
34836
34836
  "react/jsx-no-new-function-as-prop": "react-doctor/jsx-no-new-function-as-prop",
34837
34837
  "react/jsx-no-new-object-as-prop": "react-doctor/jsx-no-new-object-as-prop",
34838
34838
  "react/jsx-no-script-url": "react-doctor/jsx-no-script-url",
34839
+ "react/jsx-no-target-blank": "react-doctor/jsx-no-target-blank",
34839
34840
  "react/jsx-no-undef": "react-doctor/jsx-no-undef",
34840
34841
  "react/jsx-no-useless-fragment": "react-doctor/jsx-no-useless-fragment",
34841
34842
  "react/jsx-pascal-case": "react-doctor/jsx-pascal-case",
@@ -45456,5 +45457,5 @@ const startLanguageServer = () => {
45456
45457
  };
45457
45458
  //#endregion
45458
45459
  export { startLanguageServer };
45459
- !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]="2e6fca06-4d93-5b9e-86fd-92bfb63393e0")}catch(e){}}();
45460
- //# debugId=2e6fca06-4d93-5b9e-86fd-92bfb63393e0
45460
+ !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]="ecc1704a-4f8c-583e-93b2-78c6feb9cfd6")}catch(e){}}();
45461
+ //# debugId=ecc1704a-4f8c-583e-93b2-78c6feb9cfd6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.8.1-dev.7c9dbed",
3
+ "version": "0.8.1-dev.82c4a12",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -65,7 +65,7 @@
65
65
  "vscode-languageserver-textdocument": "^1.0.12",
66
66
  "vscode-uri": "^3.1.0",
67
67
  "yaml": "^2.9.0",
68
- "oxlint-plugin-react-doctor": "0.8.1-dev.7c9dbed",
68
+ "oxlint-plugin-react-doctor": "0.8.1-dev.82c4a12",
69
69
  "deslop-js": "0.8.1"
70
70
  },
71
71
  "devDependencies": {
@@ -75,8 +75,8 @@
75
75
  "commander": "^14.0.3",
76
76
  "ora": "^9.4.0",
77
77
  "@react-doctor/api": "0.8.1",
78
- "@react-doctor/core": "0.8.1",
79
- "@react-doctor/language-server": "0.8.1"
78
+ "@react-doctor/language-server": "0.8.1",
79
+ "@react-doctor/core": "0.8.1"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.19.0 || >=22.13.0"