@uipath/api-workflow-tool 1.204.0-preview.249 → 1.204.0-preview.254

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.
@@ -5,7 +5,7 @@ compiled into its `dist/` output rather than installed alongside it.
5
5
  Their licences and copyright notices are reproduced here in full, as
6
6
  those licences require.
7
7
 
8
- 25 bundled dependencies:
8
+ 26 bundled dependencies:
9
9
 
10
10
  - @uipath/api-workflow-commons@7.17.0 — ISC
11
11
  - @uipath/api-workflow-executor@12.27.0 — ISC
@@ -19,6 +19,7 @@ those licences require.
19
19
  - fast-redact@3.5.0 — MIT
20
20
  - fast-uri@3.1.8 — BSD-3-Clause
21
21
  - fflate@0.8.3 — MIT
22
+ - ignore@5.3.2 — MIT
22
23
  - is-docker@3.0.0 — MIT
23
24
  - is-in-ssh@1.0.0 — MIT
24
25
  - is-inside-container@1.0.0 — MIT
@@ -317,6 +318,36 @@ SOFTWARE.
317
318
 
318
319
  ---
319
320
 
321
+ ## ignore@5.3.2
322
+
323
+ SPDX: MIT
324
+
325
+ ```
326
+ Copyright (c) 2013 Kael Zhang <i@kael.me>, contributors
327
+ http://kael.me/
328
+
329
+ Permission is hereby granted, free of charge, to any person obtaining
330
+ a copy of this software and associated documentation files (the
331
+ "Software"), to deal in the Software without restriction, including
332
+ without limitation the rights to use, copy, modify, merge, publish,
333
+ distribute, sublicense, and/or sell copies of the Software, and to
334
+ permit persons to whom the Software is furnished to do so, subject to
335
+ the following conditions:
336
+
337
+ The above copyright notice and this permission notice shall be
338
+ included in all copies or substantial portions of the Software.
339
+
340
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
341
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
342
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
343
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
344
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
345
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
346
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
347
+ ```
348
+
349
+ ---
350
+
320
351
  ## is-docker@3.0.0
321
352
 
322
353
  SPDX: MIT
@@ -27,7 +27,7 @@ import {
27
27
  resolveProducedNupkgsAsync,
28
28
  setGlobalLogHandler,
29
29
  signNupkgsAsync
30
- } from "./packager-tool-jv6rdhyw.js";
30
+ } from "./packager-tool-s5998j0x.js";
31
31
  import"./packager-tool-fm7ese0m.js";
32
32
  import {
33
33
  BrowserContextStorage,
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-jx01mzvv.js";
5
+ } from "./packager-tool-53rt8wc2.js";
6
6
  import"./packager-tool-1n0det9t.js";
7
7
  import"./packager-tool-fm7ese0m.js";
8
8
  import"./packager-tool-gg1c1x4t.js";
@@ -25,7 +25,7 @@ import {
25
25
  resolveProducedNupkgsAsync,
26
26
  setGlobalLogHandler,
27
27
  signNupkgsAsync
28
- } from "./packager-tool-jv6rdhyw.js";
28
+ } from "./packager-tool-s5998j0x.js";
29
29
  import {
30
30
  ToolResult,
31
31
  translate
@@ -33,6 +33,266 @@ import {
33
33
  __toESM
34
34
  } from "./packager-tool-1de529jm.js";
35
35
 
36
+ // ../../node_modules/ignore/index.js
37
+ var require_ignore = __commonJS(function(exports, module) {
38
+ function makeArray(subject) {
39
+ return Array.isArray(subject) ? subject : [subject];
40
+ }
41
+ var EMPTY = "";
42
+ var SPACE = " ";
43
+ var ESCAPE = "\\";
44
+ var REGEX_TEST_BLANK_LINE = /^\s+$/;
45
+ var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/;
46
+ var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
47
+ var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
48
+ var REGEX_SPLITALL_CRLF = /\r?\n/g;
49
+ var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
50
+ var SLASH = "/";
51
+ var TMP_KEY_IGNORE = "node-ignore";
52
+ if (typeof Symbol !== "undefined") {
53
+ TMP_KEY_IGNORE = Symbol.for("node-ignore");
54
+ }
55
+ var KEY_IGNORE = TMP_KEY_IGNORE;
56
+ var define = (object, key, value) => Object.defineProperty(object, key, { value });
57
+ var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
58
+ var RETURN_FALSE = () => false;
59
+ var sanitizeRange = (range) => range.replace(REGEX_REGEXP_RANGE, (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY);
60
+ var cleanRangeBackSlash = (slashes) => {
61
+ const { length } = slashes;
62
+ return slashes.slice(0, length - length % 2);
63
+ };
64
+ var REPLACERS = [
65
+ [
66
+ /^\uFEFF/,
67
+ () => EMPTY
68
+ ],
69
+ [
70
+ /((?:\\\\)*?)(\\?\s+)$/,
71
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
72
+ ],
73
+ [
74
+ /(\\+?)\s/g,
75
+ (_, m1) => {
76
+ const { length } = m1;
77
+ return m1.slice(0, length - length % 2) + SPACE;
78
+ }
79
+ ],
80
+ [
81
+ /[\\$.|*+(){^]/g,
82
+ (match) => `\\${match}`
83
+ ],
84
+ [
85
+ /(?!\\)\?/g,
86
+ () => "[^/]"
87
+ ],
88
+ [
89
+ /^\//,
90
+ () => "^"
91
+ ],
92
+ [
93
+ /\//g,
94
+ () => "\\/"
95
+ ],
96
+ [
97
+ /^\^*\\\*\\\*\\\//,
98
+ () => "^(?:.*\\/)?"
99
+ ],
100
+ [
101
+ /^(?=[^^])/,
102
+ function startingReplacer() {
103
+ return !/\/(?!$)/.test(this) ? "(?:^|\\/)" : "^";
104
+ }
105
+ ],
106
+ [
107
+ /\\\/\\\*\\\*(?=\\\/|$)/g,
108
+ (_, index, str) => index + 6 < str.length ? "(?:\\/[^\\/]+)*" : "\\/.+"
109
+ ],
110
+ [
111
+ /(^|[^\\]+)(\\\*)+(?=.+)/g,
112
+ (_, p1, p2) => {
113
+ const unescaped = p2.replace(/\\\*/g, "[^\\/]*");
114
+ return p1 + unescaped;
115
+ }
116
+ ],
117
+ [
118
+ /\\\\\\(?=[$.|*+(){^])/g,
119
+ () => ESCAPE
120
+ ],
121
+ [
122
+ /\\\\/g,
123
+ () => ESCAPE
124
+ ],
125
+ [
126
+ /(\\)?\[([^\]/]*?)(\\*)($|\])/g,
127
+ (match, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
128
+ ],
129
+ [
130
+ /(?:[^*])$/,
131
+ (match) => /\/$/.test(match) ? `${match}$` : `${match}(?=$|\\/$)`
132
+ ],
133
+ [
134
+ /(\^|\\\/)?\\\*$/,
135
+ (_, p1) => {
136
+ const prefix = p1 ? `${p1}[^/]+` : "[^/]*";
137
+ return `${prefix}(?=$|\\/$)`;
138
+ }
139
+ ]
140
+ ];
141
+ var regexCache = Object.create(null);
142
+ var makeRegex = (pattern, ignoreCase) => {
143
+ let source = regexCache[pattern];
144
+ if (!source) {
145
+ source = REPLACERS.reduce((prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)), pattern);
146
+ regexCache[pattern] = source;
147
+ }
148
+ return ignoreCase ? new RegExp(source, "i") : new RegExp(source);
149
+ };
150
+ var isString = (subject) => typeof subject === "string";
151
+ var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0;
152
+ var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF);
153
+
154
+ class IgnoreRule {
155
+ constructor(origin, pattern, negative, regex) {
156
+ this.origin = origin;
157
+ this.pattern = pattern;
158
+ this.negative = negative;
159
+ this.regex = regex;
160
+ }
161
+ }
162
+ var createRule = (pattern, ignoreCase) => {
163
+ const origin = pattern;
164
+ let negative = false;
165
+ if (pattern.indexOf("!") === 0) {
166
+ negative = true;
167
+ pattern = pattern.substr(1);
168
+ }
169
+ pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#");
170
+ const regex = makeRegex(pattern, ignoreCase);
171
+ return new IgnoreRule(origin, pattern, negative, regex);
172
+ };
173
+ var throwError = (message, Ctor) => {
174
+ throw new Ctor(message);
175
+ };
176
+ var checkPath = (path, originalPath, doThrow) => {
177
+ if (!isString(path)) {
178
+ return doThrow(`path must be a string, but got \`${originalPath}\``, TypeError);
179
+ }
180
+ if (!path) {
181
+ return doThrow(`path must not be empty`, TypeError);
182
+ }
183
+ if (checkPath.isNotRelative(path)) {
184
+ const r = "`path.relative()`d";
185
+ return doThrow(`path should be a ${r} string, but got "${originalPath}"`, RangeError);
186
+ }
187
+ return true;
188
+ };
189
+ var isNotRelative = (path) => REGEX_TEST_INVALID_PATH.test(path);
190
+ checkPath.isNotRelative = isNotRelative;
191
+ checkPath.convert = (p) => p;
192
+
193
+ class Ignore {
194
+ constructor({
195
+ ignorecase = true,
196
+ ignoreCase = ignorecase,
197
+ allowRelativePaths = false
198
+ } = {}) {
199
+ define(this, KEY_IGNORE, true);
200
+ this._rules = [];
201
+ this._ignoreCase = ignoreCase;
202
+ this._allowRelativePaths = allowRelativePaths;
203
+ this._initCache();
204
+ }
205
+ _initCache() {
206
+ this._ignoreCache = Object.create(null);
207
+ this._testCache = Object.create(null);
208
+ }
209
+ _addPattern(pattern) {
210
+ if (pattern && pattern[KEY_IGNORE]) {
211
+ this._rules = this._rules.concat(pattern._rules);
212
+ this._added = true;
213
+ return;
214
+ }
215
+ if (checkPattern(pattern)) {
216
+ const rule = createRule(pattern, this._ignoreCase);
217
+ this._added = true;
218
+ this._rules.push(rule);
219
+ }
220
+ }
221
+ add(pattern) {
222
+ this._added = false;
223
+ makeArray(isString(pattern) ? splitPattern(pattern) : pattern).forEach(this._addPattern, this);
224
+ if (this._added) {
225
+ this._initCache();
226
+ }
227
+ return this;
228
+ }
229
+ addPattern(pattern) {
230
+ return this.add(pattern);
231
+ }
232
+ _testOne(path, checkUnignored) {
233
+ let ignored = false;
234
+ let unignored = false;
235
+ this._rules.forEach((rule) => {
236
+ const { negative } = rule;
237
+ if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
238
+ return;
239
+ }
240
+ const matched = rule.regex.test(path);
241
+ if (matched) {
242
+ ignored = !negative;
243
+ unignored = negative;
244
+ }
245
+ });
246
+ return {
247
+ ignored,
248
+ unignored
249
+ };
250
+ }
251
+ _test(originalPath, cache, checkUnignored, slices) {
252
+ const path = originalPath && checkPath.convert(originalPath);
253
+ checkPath(path, originalPath, this._allowRelativePaths ? RETURN_FALSE : throwError);
254
+ return this._t(path, cache, checkUnignored, slices);
255
+ }
256
+ _t(path, cache, checkUnignored, slices) {
257
+ if (path in cache) {
258
+ return cache[path];
259
+ }
260
+ if (!slices) {
261
+ slices = path.split(SLASH);
262
+ }
263
+ slices.pop();
264
+ if (!slices.length) {
265
+ return cache[path] = this._testOne(path, checkUnignored);
266
+ }
267
+ const parent = this._t(slices.join(SLASH) + SLASH, cache, checkUnignored, slices);
268
+ return cache[path] = parent.ignored ? parent : this._testOne(path, checkUnignored);
269
+ }
270
+ ignores(path) {
271
+ return this._test(path, this._ignoreCache, false).ignored;
272
+ }
273
+ createFilter() {
274
+ return (path) => !this.ignores(path);
275
+ }
276
+ filter(paths) {
277
+ return makeArray(paths).filter(this.createFilter());
278
+ }
279
+ test(path) {
280
+ return this._test(path, this._testCache, true);
281
+ }
282
+ }
283
+ var factory = (options) => new Ignore(options);
284
+ var isPathValid = (path) => checkPath(path && checkPath.convert(path), path, RETURN_FALSE);
285
+ factory.isPathValid = isPathValid;
286
+ factory.default = factory;
287
+ module.exports = factory;
288
+ if (typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")) {
289
+ const makePosix = (str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/");
290
+ checkPath.convert = makePosix;
291
+ const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
292
+ checkPath.isNotRelative = (path) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path) || isNotRelative(path);
293
+ }
294
+ });
295
+
36
296
  // ../../node_modules/ajv/dist/compile/codegen/code.js
37
297
  var require_code = __commonJS(function(exports) {
38
298
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -7160,7 +7420,7 @@ var package_default = {
7160
7420
  name: "@uipath/api-workflow-tool",
7161
7421
  author: "UiPath",
7162
7422
  license: "SEE LICENSE IN LICENSE.txt",
7163
- version: "1.204.0-preview.249",
7423
+ version: "1.204.0-preview.254",
7164
7424
  description: "Run UiPath API Workflows locally.",
7165
7425
  private: false,
7166
7426
  repository: {
@@ -7744,7 +8004,7 @@ var package_default2 = {
7744
8004
  name: "@uipath/integrationservice-sdk",
7745
8005
  author: "UiPath",
7746
8006
  license: "SEE LICENSE IN LICENSE.txt",
7747
- version: "1.204.0-preview.249",
8007
+ version: "1.204.0-preview.254",
7748
8008
  repository: {
7749
8009
  type: "git",
7750
8010
  url: "https://github.com/UiPath/cli.git",
@@ -14376,7 +14636,7 @@ Subcommands:
14376
14636
  // src/commands/packager-shared.ts
14377
14637
  async function createPackager() {
14378
14638
  registerPackagerFactories();
14379
- const { createNodeProjectPackager } = await import("./node-a3avjvr1.js");
14639
+ const { createNodeProjectPackager } = await import("./node-95rw21jb.js");
14380
14640
  return await createNodeProjectPackager({
14381
14641
  logHandler: logger.handleLog
14382
14642
  });
@@ -14399,7 +14659,7 @@ async function setupProject(packager, projectPath) {
14399
14659
  return packager.setupAsync(absPath);
14400
14660
  }
14401
14661
  async function buildBaseOptions() {
14402
- const { ProjectPackOptions } = await import("./index-q4efy8j4.js");
14662
+ const { ProjectPackOptions } = await import("./index-xvxnndpj.js");
14403
14663
  const sdkLogLevelMap = {
14404
14664
  [0 /* DEBUG */]: "Debug" /* Debug */,
14405
14665
  [1 /* INFO */]: "Information" /* Info */,
@@ -14696,7 +14956,7 @@ var package_default3 = {
14696
14956
  name: "@uipath/solution-sdk",
14697
14957
  author: "UiPath",
14698
14958
  license: "SEE LICENSE IN LICENSE.txt",
14699
- version: "1.204.0-preview.249",
14959
+ version: "1.204.0-preview.254",
14700
14960
  repository: {
14701
14961
  type: "git",
14702
14962
  url: "https://github.com/UiPath/cli.git",
@@ -14752,6 +15012,7 @@ var package_default3 = {
14752
15012
  "@uipath/studioweb-sdk": "workspace:*",
14753
15013
  "@types/node": "^25.5.2",
14754
15014
  fflate: "^0.8.2",
15015
+ ignore: "^5.3.2",
14755
15016
  typescript: "^7.0.2"
14756
15017
  }
14757
15018
  };
@@ -15297,6 +15558,7 @@ function buildOptedOutInstructions(projectDir) {
15297
15558
  var API_PROJECT_TYPES = new Set(["api", "apiautomation"]);
15298
15559
 
15299
15560
  // ../solution-sdk/src/zip-utils.ts
15561
+ var import_ignore = __toESM(require_ignore(), 1);
15300
15562
  var DEFAULT_EXCLUDED_DIR_NAMES = new Set([
15301
15563
  ".venv",
15302
15564
  "node_modules",
@@ -17090,4 +17352,4 @@ var registerCommands = async (program) => {
17090
17352
 
17091
17353
  export { metadata, registerCommands };
17092
17354
 
17093
- //# debugId=5AF525C3775BAE5864756E2164756E21
17355
+ //# debugId=E79075C237BD746464756E2164756E21
@@ -3158,7 +3158,7 @@ var package_default = {
3158
3158
  name: "@uipath/project-packager",
3159
3159
  author: "UiPath",
3160
3160
  license: "SEE LICENSE IN LICENSE.txt",
3161
- version: "1.204.0-preview.249",
3161
+ version: "1.204.0-preview.254",
3162
3162
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
3163
3163
  type: "module",
3164
3164
  main: "./dist/index.js",
@@ -4624,4 +4624,4 @@ class ProjectPublisher {
4624
4624
 
4625
4625
  export { setGlobalLogHandler, ToolLogger, RulesConfigFileType, PackagerParameters, ProjectRestoreOptions, ProjectValidateOptions, ProjectBuildOptions, ProjectCleanupOptions, ProjectPackOptions, TelemetryNames, resolvePolicyAsync, GovernancePolicyError, GovernancePolicyService, resolveProducedNupkgsAsync, PACKAGE_ID_TOO_LONG, isPackageIdTooLongError, PackService, signNupkgsAsync, PackagerParametersValidator, ProjectBuildOptionsValidator, ProjectLoader, ProjectToolExecutor, ProjectValidateOptionsValidator, ToolsFactory, ProjectPackager, PublishDestinationKind, ProjectPublishOptions, ProjectPublisher };
4626
4626
 
4627
- //# debugId=248A426AADC3F10964756E2164756E21
4627
+ //# debugId=27ED9527897467A564756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-jx01mzvv.js";
4
+ } from "./packager-tool-53rt8wc2.js";
5
5
  import"./packager-tool-1n0det9t.js";
6
6
  import"./packager-tool-fm7ese0m.js";
7
7
  import"./packager-tool-gg1c1x4t.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/api-workflow-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.204.0-preview.249",
5
+ "version": "1.204.0-preview.254",
6
6
  "description": "Run UiPath API Workflows locally.",
7
7
  "private": false,
8
8
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "a0ea4d79473cd8077d99d13c2644163be126b103"
29
+ "gitHead": "3ee79cdec05b36231a8da9e8de6bf0043585526a"
30
30
  }