@kubb/core 5.12.3 → 5.12.4

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.
@@ -19,7 +19,7 @@ var __name = (target, value) => __defProp(target, "name", {
19
19
  });
20
20
  //#endregion
21
21
  //#region package.json
22
- var version = "5.12.3";
22
+ var version = "5.12.4";
23
23
  //#endregion
24
24
  //#region ../../internals/utils/src/casing.ts
25
25
  /**
@@ -1358,7 +1358,11 @@ async function resolvePublicFetchConfig(repo, signal) {
1358
1358
  addresses
1359
1359
  });
1360
1360
  }
1361
- /** Adds an `Authorization` header for `repo`'s origin as the `GIT_CONFIG_*` pair after those in `env`, keeping the token out of the arguments; throws on a line break. */
1361
+ /**
1362
+ * The `GIT_CONFIG_*` pair that sends an `Authorization` header to `repo`'s origin, numbered after
1363
+ * the pairs already in `env`, so the token stays out of the process arguments. Throws
1364
+ * `KUBB_GIT_INPUT_FAILED` for a value with a line break, which would add another header.
1365
+ */
1362
1366
  function gitAuthEnv(env, { repo, authorization }) {
1363
1367
  if (/[\r\n]/.test(authorization) || !URL.canParse(repo)) throw gitError("The authorization for a git `input` must be one line, for an https repository.");
1364
1368
  const index = Math.max(0, Number.parseInt(env.GIT_CONFIG_COUNT ?? "", 10) || 0);
@@ -3084,4 +3088,4 @@ var Hookable = class {
3084
3088
  //#endregion
3085
3089
  export { formatMs as A, toError as B, useConfig as C, defineExtension as D, checkCompatibility as E, listFiles as F, __name as H, read as I, rm$1 as L, inParallel as M, existsSync$1 as N, resolveMeta as O, isPathInside as P, write as R, tryUseKubb as S, useOptions as T, camelCase as V, kubbContext as _, FileManager as a, setOptions as b, Resolver as c, isPublicAddress as d, assertPluginOption as f, injectFile as g, addMacro as h, createNodeCache as i, getElapsedMs as j, Diagnostics as k, getInputKind as l, addGenerator as m, KubbDriver as n, _usingCtx as o, definePlugin as p, pluginNotFoundError as r, createResolver as s, Hookable as t, checkoutGitInput as u, requirePlugin as v, useKubb as w, setResolver as x, setMacros as y, writeRaw as z };
3086
3090
 
3087
- //# sourceMappingURL=Hookable-DPTq2eNO.js.map
3091
+ //# sourceMappingURL=Hookable-CIEVq8yT.js.map