@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.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as PublishedSnapshot, G as SnapshotUploadMetadata, O as InstalledExtensions, a as AgentConnectInfo, c as AgentPermissions, d as ConfigEditOutcome, s as AgentPermission, u as ConfigEdit } from "./protocol-dCzUP4dH.cjs";
1
+ import { F as PublishedSnapshot, G as SnapshotUploadMetadata, O as InstalledExtensions, a as AgentConnectInfo, c as AgentPermissions, d as ConfigEditOutcome, s as AgentPermission, u as ConfigEdit } from "./protocol-Dn1jdnFB.cjs";
2
2
  import { Config, Hookable, KubbHooks } from "@kubb/core";
3
3
  //#region src/connect.d.ts
4
4
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as PublishedSnapshot, G as SnapshotUploadMetadata, O as InstalledExtensions, a as AgentConnectInfo, c as AgentPermissions, d as ConfigEditOutcome, s as AgentPermission, u as ConfigEdit } from "./protocol-dCzUP4dH.js";
1
+ import { F as PublishedSnapshot, G as SnapshotUploadMetadata, O as InstalledExtensions, a as AgentConnectInfo, c as AgentPermissions, d as ConfigEditOutcome, s as AgentPermission, u as ConfigEdit } from "./protocol-Dn1jdnFB.js";
2
2
  import { Config, Hookable, KubbHooks } from "@kubb/core";
3
3
  //#region src/connect.d.ts
4
4
  /**
package/dist/index.js CHANGED
@@ -196,7 +196,7 @@ function getElapsedMs(hrStart) {
196
196
  }
197
197
  //#endregion
198
198
  //#region package.json
199
- var version = "5.11.6";
199
+ var version = "5.12.0";
200
200
  //#endregion
201
201
  //#region src/resolveConfig.ts
202
202
  /**
@@ -2478,7 +2478,7 @@ function reportedInput(input) {
2478
2478
  if (typeof input !== "string") return void 0;
2479
2479
  const kind = getInputKind(input);
2480
2480
  if (kind === "inline") return void 0;
2481
- if (kind !== "url") return input;
2481
+ if (kind !== "url" && kind !== "git" || !URL.canParse(input)) return input;
2482
2482
  const url = new URL(input);
2483
2483
  url.username = "";
2484
2484
  url.password = "";