@skuba-lib/api 2.1.0-replace-global-vars-20260503040046 → 2.1.0-replace-global-vars-20260504235007

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.
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_buildkite = require("../buildkite-DcrkcZda.cjs");
2
+ const require_buildkite = require("../buildkite-ByVlYIRB.cjs");
3
3
  exports.annotate = require_buildkite.annotate;
4
4
  exports.md = require_buildkite.md;
@@ -1,2 +1,2 @@
1
- import { n as md, r as annotate } from "../buildkite-Bd8zXYkU.mjs";
1
+ import { n as md, r as annotate } from "../buildkite-BhTqViak.mjs";
2
2
  export { annotate, md };
@@ -1,5 +1,5 @@
1
- import { n as __exportAll } from "./chunk-CMuxRQOh.mjs";
2
- import { n as exec, r as hasCommand } from "./exec-DYccUhDw.mjs";
1
+ import { n as __exportAll } from "./chunk-OfxVTGGL.mjs";
2
+ import { n as exec, r as hasCommand } from "./exec-DT1uXAUS.mjs";
3
3
  import { n as log } from "./error-CZvhiIp1.mjs";
4
4
  //#region src/buildkite/annotate.ts
5
5
  const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await hasCommand("buildkite-agent"));
@@ -1,5 +1,5 @@
1
- const require_error = require("./error-DfvWSkCQ.cjs");
2
- const require_exec = require("./exec-BIPF5uwk.cjs");
1
+ const require_error = require("./error-39l8iQ8A.cjs");
2
+ const require_exec = require("./exec-SlLZZ9AY.cjs");
3
3
  //#region src/buildkite/annotate.ts
4
4
  const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await require_exec.hasCommand("buildkite-agent"));
5
5
  const MAX_SIZE = 1024 * 1024;
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __exportAll = (all, no_symbols) => {
11
11
  let target = {};
12
12
  for (var name in all) __defProp(target, name, {
@@ -5,7 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
8
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
9
  var __exportAll = (all, no_symbols) => {
10
10
  let target = {};
11
11
  for (var name in all) __defProp(target, name, {
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  }) : target, mod));
33
33
  require("util");
34
34
  let zod_v4 = require("zod/v4");
35
- zod_v4 = __toESM(zod_v4);
35
+ zod_v4 = __toESM(zod_v4, 1);
36
36
  let node_util = require("node:util");
37
37
  //#region ../../src/utils/logging.ts
38
38
  const createLogger = ({ debug, prefixes = [], suffixes = [] }) => {
@@ -1,4 +1,4 @@
1
- import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-CMuxRQOh.mjs";
1
+ import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-OfxVTGGL.mjs";
2
2
  import { t as isErrorWithCode } from "./error-CZvhiIp1.mjs";
3
3
  import stream from "stream";
4
4
  import util from "util";
@@ -10370,7 +10370,8 @@ var require_prefix_color_selector = /* @__PURE__ */ __commonJSMin(((exports) =>
10370
10370
  var PrefixColorSelector = class {
10371
10371
  colorGenerator;
10372
10372
  constructor(customColors = []) {
10373
- this.colorGenerator = createColorGenerator(typeof customColors === "string" ? [customColors] : customColors);
10373
+ const normalizedColors = typeof customColors === "string" ? [customColors] : customColors;
10374
+ this.colorGenerator = createColorGenerator(normalizedColors);
10374
10375
  }
10375
10376
  /** A list of colors that are readable in a terminal. */
10376
10377
  static get ACCEPTABLE_CONSOLE_COLORS() {
@@ -1,8 +1,8 @@
1
- const require_error$1 = require("./error-DfvWSkCQ.cjs");
1
+ const require_error$1 = require("./error-39l8iQ8A.cjs");
2
2
  let stream = require("stream");
3
- stream = require_error$1.__toESM(stream);
3
+ stream = require_error$1.__toESM(stream, 1);
4
4
  let util = require("util");
5
- util = require_error$1.__toESM(util);
5
+ util = require_error$1.__toESM(util, 1);
6
6
  //#region ../../node_modules/.pnpm/concurrently@9.2.1/node_modules/concurrently/dist/src/assert.js
7
7
  var require_assert = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -10371,7 +10371,8 @@ var require_prefix_color_selector = /* @__PURE__ */ require_error$1.__commonJSMi
10371
10371
  var PrefixColorSelector = class {
10372
10372
  colorGenerator;
10373
10373
  constructor(customColors = []) {
10374
- this.colorGenerator = createColorGenerator(typeof customColors === "string" ? [customColors] : customColors);
10374
+ const normalizedColors = typeof customColors === "string" ? [customColors] : customColors;
10375
+ this.colorGenerator = createColorGenerator(normalizedColors);
10375
10376
  }
10376
10377
  /** A list of colors that are readable in a terminal. */
10377
10378
  static get ACCEPTABLE_CONSOLE_COLORS() {
package/lib/git/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_git = require("../git-BYOuhqt4.cjs");
2
+ const require_git = require("../git-DBqVWAzt.cjs");
3
3
  exports.commit = require_git.commit;
4
4
  exports.commitAllChanges = require_git.commitAllChanges;
5
5
  exports.currentBranch = require_git.currentBranch;
package/lib/git/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as push, d as getHeadCommitMessage, f as currentBranch, g as commit, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, n as isFileGitIgnored, p as commitAllChanges, r as reset, u as getHeadCommitId } from "../git-C_5L5VYi.mjs";
1
+ import { a as push, d as getHeadCommitMessage, f as currentBranch, g as commit, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, n as isFileGitIgnored, p as commitAllChanges, r as reset, u as getHeadCommitId } from "../git-BmBA1Yj8.mjs";
2
2
  export { commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
@@ -1,4 +1,4 @@
1
- import { n as __exportAll } from "./chunk-CMuxRQOh.mjs";
1
+ import { n as __exportAll } from "./chunk-OfxVTGGL.mjs";
2
2
  import { t as isErrorWithCode } from "./error-CZvhiIp1.mjs";
3
3
  import path from "path";
4
4
  import fs from "fs-extra";
@@ -1,14 +1,14 @@
1
- const require_error = require("./error-DfvWSkCQ.cjs");
1
+ const require_error = require("./error-39l8iQ8A.cjs");
2
2
  let path = require("path");
3
- path = require_error.__toESM(path);
3
+ path = require_error.__toESM(path, 1);
4
4
  let fs_extra = require("fs-extra");
5
- fs_extra = require_error.__toESM(fs_extra);
5
+ fs_extra = require_error.__toESM(fs_extra, 1);
6
6
  let isomorphic_git = require("isomorphic-git");
7
- isomorphic_git = require_error.__toESM(isomorphic_git);
7
+ isomorphic_git = require_error.__toESM(isomorphic_git, 1);
8
8
  let ignore = require("ignore");
9
- ignore = require_error.__toESM(ignore);
9
+ ignore = require_error.__toESM(ignore, 1);
10
10
  let isomorphic_git_http_node = require("isomorphic-git/http/node");
11
- isomorphic_git_http_node = require_error.__toESM(isomorphic_git_http_node);
11
+ isomorphic_git_http_node = require_error.__toESM(isomorphic_git_http_node, 1);
12
12
  //#region src/git/commit.ts
13
13
  /**
14
14
  * Writes a commit to the local Git repository.
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_git = require("../git-BYOuhqt4.cjs");
3
- const require_github = require("../github-JXupzTT2.cjs");
2
+ const require_git = require("../git-DBqVWAzt.cjs");
3
+ const require_github = require("../github-CmRf8TpW.cjs");
4
4
  exports.apiTokenFromEnvironment = require_git.apiTokenFromEnvironment;
5
5
  exports.buildNameFromEnvironment = require_git.buildNameFromEnvironment;
6
6
  exports.createCheckRun = require_github.createCheckRun;
@@ -1,3 +1,3 @@
1
- import { c as enabledFromEnvironment, o as apiTokenFromEnvironment, s as buildNameFromEnvironment } from "../git-C_5L5VYi.mjs";
2
- import { a as putIssueComment, i as uploadFileChanges, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as createCheckRun } from "../github-BZ1cZWzH.mjs";
1
+ import { c as enabledFromEnvironment, o as apiTokenFromEnvironment, s as buildNameFromEnvironment } from "../git-BmBA1Yj8.mjs";
2
+ import { a as putIssueComment, i as uploadFileChanges, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as createCheckRun } from "../github-Blzpyrv1.mjs";
3
3
  export { apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
@@ -1,6 +1,6 @@
1
- import { n as __exportAll } from "./chunk-CMuxRQOh.mjs";
1
+ import { n as __exportAll } from "./chunk-OfxVTGGL.mjs";
2
2
  import { r as pluralise } from "./error-CZvhiIp1.mjs";
3
- import { c as enabledFromEnvironment, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, o as apiTokenFromEnvironment, s as buildNameFromEnvironment, u as getHeadCommitId } from "./git-C_5L5VYi.mjs";
3
+ import { c as enabledFromEnvironment, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, o as apiTokenFromEnvironment, s as buildNameFromEnvironment, u as getHeadCommitId } from "./git-BmBA1Yj8.mjs";
4
4
  import path from "path";
5
5
  import fs from "fs-extra";
6
6
  //#region src/github/octokit.ts
@@ -1,9 +1,9 @@
1
- const require_error = require("./error-DfvWSkCQ.cjs");
2
- const require_git = require("./git-BYOuhqt4.cjs");
1
+ const require_error = require("./error-39l8iQ8A.cjs");
2
+ const require_git = require("./git-DBqVWAzt.cjs");
3
3
  let path = require("path");
4
- path = require_error.__toESM(path);
4
+ path = require_error.__toESM(path, 1);
5
5
  let fs_extra = require("fs-extra");
6
- fs_extra = require_error.__toESM(fs_extra);
6
+ fs_extra = require_error.__toESM(fs_extra, 1);
7
7
  //#region src/github/octokit.ts
8
8
  const createRestClient = async (options) => new (await (import("@octokit/rest"))).Octokit(options);
9
9
  const graphql = async (query, parameters) => (await import("@octokit/graphql")).graphql(query, parameters);
package/lib/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_buildkite = require("./buildkite-DcrkcZda.cjs");
3
- const require_git = require("./git-BYOuhqt4.cjs");
4
- const require_github = require("./github-JXupzTT2.cjs");
5
- const require_net = require("./net-B61LvRtp.cjs");
2
+ const require_buildkite = require("./buildkite-ByVlYIRB.cjs");
3
+ const require_git = require("./git-DBqVWAzt.cjs");
4
+ const require_github = require("./github-CmRf8TpW.cjs");
5
+ const require_net = require("./net-CoJZ79Ed.cjs");
6
6
  Object.defineProperty(exports, "Buildkite", {
7
7
  enumerable: true,
8
8
  get: function() {
package/lib/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as buildkite_exports } from "./buildkite-Bd8zXYkU.mjs";
2
- import { t as git_exports } from "./git-C_5L5VYi.mjs";
3
- import { t as github_exports } from "./github-BZ1cZWzH.mjs";
4
- import { t as net_exports } from "./net-BzJ00WCU.mjs";
1
+ import { t as buildkite_exports } from "./buildkite-BhTqViak.mjs";
2
+ import { t as git_exports } from "./git-BmBA1Yj8.mjs";
3
+ import { t as github_exports } from "./github-Blzpyrv1.mjs";
4
+ import { t as net_exports } from "./net-Cnie00aD.mjs";
5
5
  export { buildkite_exports as Buildkite, git_exports as Git, github_exports as GitHub, net_exports as Net };
package/lib/net/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_net = require("../net-B61LvRtp.cjs");
2
+ const require_net = require("../net-CoJZ79Ed.cjs");
3
3
  exports.waitFor = require_net.waitFor;
package/lib/net/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as waitFor } from "../net-BzJ00WCU.mjs";
1
+ import { n as waitFor } from "../net-Cnie00aD.mjs";
2
2
  export { waitFor };
@@ -1,5 +1,5 @@
1
- import { n as __exportAll } from "./chunk-CMuxRQOh.mjs";
2
- import { t as createExec } from "./exec-DYccUhDw.mjs";
1
+ import { n as __exportAll } from "./chunk-OfxVTGGL.mjs";
2
+ import { t as createExec } from "./exec-DT1uXAUS.mjs";
3
3
  import net from "net";
4
4
  //#region src/net/compose.ts
5
5
  const portStringToNumber = (portString) => {
@@ -1,7 +1,7 @@
1
- const require_error = require("./error-DfvWSkCQ.cjs");
2
- const require_exec = require("./exec-BIPF5uwk.cjs");
1
+ const require_error = require("./error-39l8iQ8A.cjs");
2
+ const require_exec = require("./exec-SlLZZ9AY.cjs");
3
3
  let net = require("net");
4
- net = require_error.__toESM(net);
4
+ net = require_error.__toESM(net, 1);
5
5
  //#region src/net/compose.ts
6
6
  const portStringToNumber = (portString) => {
7
7
  const port = Number(portString);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skuba-lib/api",
3
- "version": "2.1.0-replace-global-vars-20260503040046",
3
+ "version": "2.1.0-replace-global-vars-20260504235007",
4
4
  "description": "Node.js development API for skuba",
5
5
  "homepage": "https://github.com/seek-oss/skuba#readme",
6
6
  "bugs": {