@skuba-lib/api 1.0.0-no-syntax-directive-20250926094356 → 1.0.1

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.
Files changed (41) hide show
  1. package/lib/buildkite/index.d.mts +1 -1
  2. package/lib/buildkite/index.d.ts +1 -1
  3. package/lib/buildkite/index.js +3 -3
  4. package/lib/buildkite/index.mjs +3 -3
  5. package/lib/{buildkite-BXHjSY0I.js → buildkite-CMOS5jTb.js} +5 -6
  6. package/lib/{buildkite-DSHpKA4z.mjs → buildkite-qXXM4AZX.mjs} +5 -6
  7. package/lib/{chunk-odGzh3W-.js → chunk-DoInfA3k.js} +3 -1
  8. package/lib/{chunk-CZCtuq8p.mjs → chunk-xAu0Ykie.mjs} +3 -1
  9. package/lib/{exec-B2akdw0z.js → exec-CTbaRcgu.mjs} +1007 -1413
  10. package/lib/{exec-p0gJ30UO.mjs → exec-DSu2byEV.js} +1026 -1396
  11. package/lib/git/index.d.mts +1 -1
  12. package/lib/git/index.js +1 -1
  13. package/lib/git/index.mjs +1 -1
  14. package/lib/{git-DVG_dHiI.js → git-BvHWj-sM.js} +22 -21
  15. package/lib/{git-DDfcZdbm.mjs → git-DJOzU_mk.mjs} +8 -12
  16. package/lib/github/index.d.mts +3 -3
  17. package/lib/github/index.d.ts +2 -2
  18. package/lib/github/index.js +4 -3
  19. package/lib/github/index.mjs +4 -4
  20. package/lib/{github-B4auwKt7.js → github-Bz6Z6N4d.js} +17 -21
  21. package/lib/{github-vycKoVtK.mjs → github-CmwBptwe.mjs} +13 -19
  22. package/lib/{index-BbUKGQYi.d.mts → index-B59VsMwH.d.mts} +1 -1
  23. package/lib/{index-CfnlMf_4.d.ts → index-B8JJLTcg.d.mts} +1 -1
  24. package/lib/{index-BMMee9Wm.d.mts → index-ByyJ0i6C.d.mts} +8 -4
  25. package/lib/{index-BCtCA5Pc.d.mts → index-CdF8WFQB.d.ts} +1 -1
  26. package/lib/{index-MmnRaakr.d.ts → index-CnBUagM3.d.mts} +1 -1
  27. package/lib/{index-BTOmI5jA.d.mts → index-DW1Kkdx2.d.ts} +1 -1
  28. package/lib/{index-BvCkQobA.d.ts → index-V9OAt4zv.d.ts} +7 -3
  29. package/lib/index.d.mts +4 -4
  30. package/lib/index.d.ts +3 -3
  31. package/lib/index.js +6 -6
  32. package/lib/index.mjs +6 -6
  33. package/lib/{logging-6TTEX4U4.js → logging-IUcOf-AC.js} +34 -45
  34. package/lib/{logging-Dr8kuQ_p.mjs → logging-fh84hSbW.mjs} +34 -45
  35. package/lib/net/index.d.mts +1 -1
  36. package/lib/net/index.d.ts +1 -1
  37. package/lib/net/index.js +3 -3
  38. package/lib/net/index.mjs +3 -3
  39. package/lib/{net-BteSPzmU.js → net-6xDDX5lS.js} +7 -9
  40. package/lib/{net-ByUFe0qv.mjs → net-tFSha_r6.mjs} +5 -8
  41. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- import { AnnotationStyle, annotate$1 as annotate, md$1 as md } from "../index-BCtCA5Pc.mjs";
1
+ import { AnnotationStyle, annotate, md } from "../index-B8JJLTcg.mjs";
2
2
  export { AnnotationStyle, annotate, md };
@@ -1,2 +1,2 @@
1
- import { AnnotationStyle, annotate, md } from "../index-CfnlMf_4.js";
1
+ import { AnnotationStyle, annotate, md } from "../index-CdF8WFQB.js";
2
2
  export { AnnotationStyle, annotate, md };
@@ -1,6 +1,6 @@
1
- require('../exec-B2akdw0z.js');
2
- require('../logging-6TTEX4U4.js');
3
- const require_buildkite = require('../buildkite-BXHjSY0I.js');
1
+ require('../exec-DSu2byEV.js');
2
+ require('../logging-IUcOf-AC.js');
3
+ const require_buildkite = require('../buildkite-CMOS5jTb.js');
4
4
 
5
5
  exports.annotate = require_buildkite.annotate;
6
6
  exports.md = require_buildkite.md;
@@ -1,5 +1,5 @@
1
- import "../exec-p0gJ30UO.mjs";
2
- import "../logging-Dr8kuQ_p.mjs";
3
- import { annotate, md } from "../buildkite-DSHpKA4z.mjs";
1
+ import "../exec-CTbaRcgu.mjs";
2
+ import "../logging-fh84hSbW.mjs";
3
+ import { annotate, md } from "../buildkite-qXXM4AZX.mjs";
4
4
 
5
5
  export { annotate, md };
@@ -1,6 +1,6 @@
1
- const require_chunk = require('./chunk-odGzh3W-.js');
2
- const require_exec = require('./exec-B2akdw0z.js');
3
- const require_logging = require('./logging-6TTEX4U4.js');
1
+ const require_chunk = require('./chunk-DoInfA3k.js');
2
+ const require_exec = require('./exec-DSu2byEV.js');
3
+ const require_logging = require('./logging-IUcOf-AC.js');
4
4
 
5
5
  //#region src/buildkite/annotate.ts
6
6
  const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await require_exec.hasCommand("buildkite-agent"));
@@ -22,7 +22,7 @@ const annotate = async (markdown, opts = {}) => {
22
22
  if (!await isAnnotationEnabled()) return;
23
23
  let truncatedMarkdown = markdown;
24
24
  if (markdown.length > MAX_SIZE) {
25
- const remainingSpace = MAX_SIZE - TRUNCATION_WARNING.length;
25
+ const remainingSpace = MAX_SIZE - 33;
26
26
  truncatedMarkdown = markdown.slice(0, remainingSpace) + TRUNCATION_WARNING;
27
27
  require_logging.log.warn(`Annotation truncated, full message is: ${markdown}`);
28
28
  }
@@ -40,8 +40,7 @@ const md = { terminal: (code) => `\`\`\`term\n${code.replace(/```/g, "\\`\\`\\`"
40
40
 
41
41
  //#endregion
42
42
  //#region src/buildkite/index.ts
43
- var buildkite_exports = {};
44
- require_chunk.__export(buildkite_exports, {
43
+ var buildkite_exports = /* @__PURE__ */ require_chunk.__export({
45
44
  annotate: () => annotate,
46
45
  md: () => md
47
46
  });
@@ -1,6 +1,6 @@
1
- import { __export } from "./chunk-CZCtuq8p.mjs";
2
- import { exec, hasCommand } from "./exec-p0gJ30UO.mjs";
3
- import { log } from "./logging-Dr8kuQ_p.mjs";
1
+ import { __export } from "./chunk-xAu0Ykie.mjs";
2
+ import { exec, hasCommand } from "./exec-CTbaRcgu.mjs";
3
+ import { log } from "./logging-fh84hSbW.mjs";
4
4
 
5
5
  //#region src/buildkite/annotate.ts
6
6
  const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await hasCommand("buildkite-agent"));
@@ -22,7 +22,7 @@ const annotate = async (markdown, opts = {}) => {
22
22
  if (!await isAnnotationEnabled()) return;
23
23
  let truncatedMarkdown = markdown;
24
24
  if (markdown.length > MAX_SIZE) {
25
- const remainingSpace = MAX_SIZE - TRUNCATION_WARNING.length;
25
+ const remainingSpace = MAX_SIZE - 33;
26
26
  truncatedMarkdown = markdown.slice(0, remainingSpace) + TRUNCATION_WARNING;
27
27
  log.warn(`Annotation truncated, full message is: ${markdown}`);
28
28
  }
@@ -40,8 +40,7 @@ const md = { terminal: (code) => `\`\`\`term\n${code.replace(/```/g, "\\`\\`\\`"
40
40
 
41
41
  //#endregion
42
42
  //#region src/buildkite/index.ts
43
- var buildkite_exports = {};
44
- __export(buildkite_exports, {
43
+ var buildkite_exports = /* @__PURE__ */ __export({
45
44
  annotate: () => annotate,
46
45
  md: () => md
47
46
  });
@@ -8,11 +8,13 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function() {
9
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
10
  };
11
- var __export = (target, all) => {
11
+ var __export = (all) => {
12
+ let target = {};
12
13
  for (var name in all) __defProp(target, name, {
13
14
  get: all[name],
14
15
  enumerable: true
15
16
  });
17
+ return target;
16
18
  };
17
19
  var __copyProps = (to, from, except, desc) => {
18
20
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -10,11 +10,13 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __commonJS = (cb, mod) => function() {
11
11
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
12
  };
13
- var __export = (target, all) => {
13
+ var __export = (all) => {
14
+ let target = {};
14
15
  for (var name in all) __defProp(target, name, {
15
16
  get: all[name],
16
17
  enumerable: true
17
18
  });
19
+ return target;
18
20
  };
19
21
  var __copyProps = (to, from, except, desc) => {
20
22
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {