@kubb/studio 5.11.6 → 5.12.0

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/index.cjs CHANGED
@@ -220,7 +220,7 @@ function getElapsedMs(hrStart) {
220
220
  }
221
221
  //#endregion
222
222
  //#region package.json
223
- var version = "5.11.6";
223
+ var version = "5.12.0";
224
224
  //#endregion
225
225
  //#region src/resolveConfig.ts
226
226
  /**
@@ -2502,7 +2502,7 @@ function reportedInput(input) {
2502
2502
  if (typeof input !== "string") return void 0;
2503
2503
  const kind = (0, _kubb_core.getInputKind)(input);
2504
2504
  if (kind === "inline") return void 0;
2505
- if (kind !== "url") return input;
2505
+ if (kind !== "url" && kind !== "git" || !URL.canParse(input)) return input;
2506
2506
  const url = new URL(input);
2507
2507
  url.username = "";
2508
2508
  url.password = "";