@kitsi/action 0.0.16 → 0.0.17

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 (2) hide show
  1. package/dist/index.js +17 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -99672,7 +99672,7 @@ var require_fxp2 = __commonJS((exports, module) => {
99672
99672
  });
99673
99673
 
99674
99674
  // ../../node_modules/.bun/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
99675
- var require_constants14 = __commonJS((exports, module2) => {
99675
+ var require_constants14 = __commonJS((exports, module) => {
99676
99676
  var WIN_SLASH = "\\\\/";
99677
99677
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
99678
99678
  var DOT_LITERAL = "\\.";
@@ -99740,7 +99740,7 @@ var require_constants14 = __commonJS((exports, module2) => {
99740
99740
  word: "A-Za-z0-9_",
99741
99741
  xdigit: "A-Fa-f0-9"
99742
99742
  };
99743
- module2.exports = {
99743
+ module.exports = {
99744
99744
  MAX_LENGTH: 1024 * 64,
99745
99745
  POSIX_REGEX_SOURCE,
99746
99746
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
@@ -99877,7 +99877,7 @@ var require_utils9 = __commonJS((exports) => {
99877
99877
  });
99878
99878
 
99879
99879
  // ../../node_modules/.bun/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
99880
- var require_scan = __commonJS((exports, module2) => {
99880
+ var require_scan = __commonJS((exports, module) => {
99881
99881
  var utils = require_utils9();
99882
99882
  var {
99883
99883
  CHAR_ASTERISK,
@@ -100188,11 +100188,11 @@ var require_scan = __commonJS((exports, module2) => {
100188
100188
  }
100189
100189
  return state;
100190
100190
  };
100191
- module2.exports = scan;
100191
+ module.exports = scan;
100192
100192
  });
100193
100193
 
100194
100194
  // ../../node_modules/.bun/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
100195
- var require_parse2 = __commonJS((exports, module2) => {
100195
+ var require_parse2 = __commonJS((exports, module) => {
100196
100196
  var constants = require_constants14();
100197
100197
  var utils = require_utils9();
100198
100198
  var {
@@ -100604,11 +100604,11 @@ var require_parse2 = __commonJS((exports, module2) => {
100604
100604
  state.backtrack = true;
100605
100605
  }
100606
100606
  if (brace.comma !== true && brace.dots !== true) {
100607
- const out3 = state.output.slice(0, brace.outputIndex);
100607
+ const out = state.output.slice(0, brace.outputIndex);
100608
100608
  const toks = state.tokens.slice(brace.tokensIndex);
100609
100609
  brace.value = brace.output = "\\{";
100610
100610
  value = output = "\\}";
100611
- state.output = out3;
100611
+ state.output = out;
100612
100612
  for (const t of toks) {
100613
100613
  state.output += t.output || t.value;
100614
100614
  }
@@ -100961,11 +100961,11 @@ var require_parse2 = __commonJS((exports, module2) => {
100961
100961
  }
100962
100962
  return source;
100963
100963
  };
100964
- module2.exports = parse;
100964
+ module.exports = parse;
100965
100965
  });
100966
100966
 
100967
100967
  // ../../node_modules/.bun/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
100968
- var require_picomatch = __commonJS((exports, module2) => {
100968
+ var require_picomatch = __commonJS((exports, module) => {
100969
100969
  var scan = require_scan();
100970
100970
  var parse = require_parse2();
100971
100971
  var utils = require_utils9();
@@ -101101,11 +101101,11 @@ var require_picomatch = __commonJS((exports, module2) => {
101101
101101
  }
101102
101102
  };
101103
101103
  picomatch.constants = constants;
101104
- module2.exports = picomatch;
101104
+ module.exports = picomatch;
101105
101105
  });
101106
101106
 
101107
101107
  // ../../node_modules/.bun/picomatch@4.0.3/node_modules/picomatch/index.js
101108
- var require_picomatch2 = __commonJS((exports, module2) => {
101108
+ var require_picomatch2 = __commonJS((exports, module) => {
101109
101109
  var pico = require_picomatch();
101110
101110
  var utils = require_utils9();
101111
101111
  function picomatch(glob3, options, returnState = false) {
@@ -101115,7 +101115,7 @@ var require_picomatch2 = __commonJS((exports, module2) => {
101115
101115
  return pico(glob3, options, returnState);
101116
101116
  }
101117
101117
  Object.assign(picomatch, pico);
101118
- module2.exports = picomatch;
101118
+ module.exports = picomatch;
101119
101119
  });
101120
101120
 
101121
101121
  // src/index.ts
@@ -101715,7 +101715,11 @@ class TaskBuilder {
101715
101715
  needs(...tasks) {
101716
101716
  const ids = new Set(this.config.needs);
101717
101717
  for (const task of tasks) {
101718
- ids.add(task.config.name);
101718
+ if (typeof task === "string") {
101719
+ ids.add(task);
101720
+ } else {
101721
+ ids.add(task.config.name);
101722
+ }
101719
101723
  }
101720
101724
  return cloneTask(this, { needs: Array.from(ids) });
101721
101725
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitsi/action",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "GitHub Action for running Kitsi pipelines",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",