@uipath/packager-tool-datafabric 1.204.0-preview.250 → 1.204.0-preview.255

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
- 16 bundled dependencies:
8
+ 17 bundled dependencies:
9
9
 
10
10
  - @uipath/entity-modeler@1.12.1 — SEE LICENSE IN LICENSE.txt
11
11
  - bundle-name@4.1.0 — MIT
@@ -13,6 +13,7 @@ those licences require.
13
13
  - default-browser@5.5.0 — MIT
14
14
  - default-browser-id@5.0.1 — MIT
15
15
  - define-lazy-prop@3.0.0 — MIT
16
+ - ignore@5.3.2 — MIT
16
17
  - is-docker@3.0.0 — MIT
17
18
  - is-in-ssh@1.0.0 — MIT
18
19
  - is-inside-container@1.0.0 — MIT
@@ -141,6 +142,36 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
141
142
 
142
143
  ---
143
144
 
145
+ ## ignore@5.3.2
146
+
147
+ SPDX: MIT
148
+
149
+ ```
150
+ Copyright (c) 2013 Kael Zhang <i@kael.me>, contributors
151
+ http://kael.me/
152
+
153
+ Permission is hereby granted, free of charge, to any person obtaining
154
+ a copy of this software and associated documentation files (the
155
+ "Software"), to deal in the Software without restriction, including
156
+ without limitation the rights to use, copy, modify, merge, publish,
157
+ distribute, sublicense, and/or sell copies of the Software, and to
158
+ permit persons to whom the Software is furnished to do so, subject to
159
+ the following conditions:
160
+
161
+ The above copyright notice and this permission notice shall be
162
+ included in all copies or substantial portions of the Software.
163
+
164
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
165
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
166
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
167
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
168
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
169
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
170
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
171
+ ```
172
+
173
+ ---
174
+
144
175
  ## is-docker@3.0.0
145
176
 
146
177
  SPDX: MIT
package/dist/init.js CHANGED
@@ -7382,6 +7382,266 @@ var require_commander = __commonJS(function(exports) {
7382
7382
  exports.InvalidOptionArgumentError = InvalidArgumentError;
7383
7383
  });
7384
7384
 
7385
+ // ../../../node_modules/ignore/index.js
7386
+ var require_ignore = __commonJS(function(exports, module) {
7387
+ function makeArray(subject) {
7388
+ return Array.isArray(subject) ? subject : [subject];
7389
+ }
7390
+ var EMPTY = "";
7391
+ var SPACE = " ";
7392
+ var ESCAPE = "\\";
7393
+ var REGEX_TEST_BLANK_LINE = /^\s+$/;
7394
+ var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/;
7395
+ var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
7396
+ var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
7397
+ var REGEX_SPLITALL_CRLF = /\r?\n/g;
7398
+ var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
7399
+ var SLASH = "/";
7400
+ var TMP_KEY_IGNORE = "node-ignore";
7401
+ if (typeof Symbol !== "undefined") {
7402
+ TMP_KEY_IGNORE = Symbol.for("node-ignore");
7403
+ }
7404
+ var KEY_IGNORE = TMP_KEY_IGNORE;
7405
+ var define = (object, key, value) => Object.defineProperty(object, key, { value });
7406
+ var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
7407
+ var RETURN_FALSE = () => false;
7408
+ var sanitizeRange = (range) => range.replace(REGEX_REGEXP_RANGE, (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY);
7409
+ var cleanRangeBackSlash = (slashes) => {
7410
+ const { length } = slashes;
7411
+ return slashes.slice(0, length - length % 2);
7412
+ };
7413
+ var REPLACERS = [
7414
+ [
7415
+ /^\uFEFF/,
7416
+ () => EMPTY
7417
+ ],
7418
+ [
7419
+ /((?:\\\\)*?)(\\?\s+)$/,
7420
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
7421
+ ],
7422
+ [
7423
+ /(\\+?)\s/g,
7424
+ (_, m1) => {
7425
+ const { length } = m1;
7426
+ return m1.slice(0, length - length % 2) + SPACE;
7427
+ }
7428
+ ],
7429
+ [
7430
+ /[\\$.|*+(){^]/g,
7431
+ (match) => `\\${match}`
7432
+ ],
7433
+ [
7434
+ /(?!\\)\?/g,
7435
+ () => "[^/]"
7436
+ ],
7437
+ [
7438
+ /^\//,
7439
+ () => "^"
7440
+ ],
7441
+ [
7442
+ /\//g,
7443
+ () => "\\/"
7444
+ ],
7445
+ [
7446
+ /^\^*\\\*\\\*\\\//,
7447
+ () => "^(?:.*\\/)?"
7448
+ ],
7449
+ [
7450
+ /^(?=[^^])/,
7451
+ function startingReplacer() {
7452
+ return !/\/(?!$)/.test(this) ? "(?:^|\\/)" : "^";
7453
+ }
7454
+ ],
7455
+ [
7456
+ /\\\/\\\*\\\*(?=\\\/|$)/g,
7457
+ (_, index, str2) => index + 6 < str2.length ? "(?:\\/[^\\/]+)*" : "\\/.+"
7458
+ ],
7459
+ [
7460
+ /(^|[^\\]+)(\\\*)+(?=.+)/g,
7461
+ (_, p1, p2) => {
7462
+ const unescaped = p2.replace(/\\\*/g, "[^\\/]*");
7463
+ return p1 + unescaped;
7464
+ }
7465
+ ],
7466
+ [
7467
+ /\\\\\\(?=[$.|*+(){^])/g,
7468
+ () => ESCAPE
7469
+ ],
7470
+ [
7471
+ /\\\\/g,
7472
+ () => ESCAPE
7473
+ ],
7474
+ [
7475
+ /(\\)?\[([^\]/]*?)(\\*)($|\])/g,
7476
+ (match, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
7477
+ ],
7478
+ [
7479
+ /(?:[^*])$/,
7480
+ (match) => /\/$/.test(match) ? `${match}$` : `${match}(?=$|\\/$)`
7481
+ ],
7482
+ [
7483
+ /(\^|\\\/)?\\\*$/,
7484
+ (_, p1) => {
7485
+ const prefix = p1 ? `${p1}[^/]+` : "[^/]*";
7486
+ return `${prefix}(?=$|\\/$)`;
7487
+ }
7488
+ ]
7489
+ ];
7490
+ var regexCache = Object.create(null);
7491
+ var makeRegex = (pattern, ignoreCase) => {
7492
+ let source = regexCache[pattern];
7493
+ if (!source) {
7494
+ source = REPLACERS.reduce((prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)), pattern);
7495
+ regexCache[pattern] = source;
7496
+ }
7497
+ return ignoreCase ? new RegExp(source, "i") : new RegExp(source);
7498
+ };
7499
+ var isString = (subject) => typeof subject === "string";
7500
+ var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0;
7501
+ var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF);
7502
+
7503
+ class IgnoreRule {
7504
+ constructor(origin, pattern, negative, regex) {
7505
+ this.origin = origin;
7506
+ this.pattern = pattern;
7507
+ this.negative = negative;
7508
+ this.regex = regex;
7509
+ }
7510
+ }
7511
+ var createRule = (pattern, ignoreCase) => {
7512
+ const origin = pattern;
7513
+ let negative = false;
7514
+ if (pattern.indexOf("!") === 0) {
7515
+ negative = true;
7516
+ pattern = pattern.substr(1);
7517
+ }
7518
+ pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#");
7519
+ const regex = makeRegex(pattern, ignoreCase);
7520
+ return new IgnoreRule(origin, pattern, negative, regex);
7521
+ };
7522
+ var throwError = (message, Ctor) => {
7523
+ throw new Ctor(message);
7524
+ };
7525
+ var checkPath = (path3, originalPath, doThrow) => {
7526
+ if (!isString(path3)) {
7527
+ return doThrow(`path must be a string, but got \`${originalPath}\``, TypeError);
7528
+ }
7529
+ if (!path3) {
7530
+ return doThrow(`path must not be empty`, TypeError);
7531
+ }
7532
+ if (checkPath.isNotRelative(path3)) {
7533
+ const r = "`path.relative()`d";
7534
+ return doThrow(`path should be a ${r} string, but got "${originalPath}"`, RangeError);
7535
+ }
7536
+ return true;
7537
+ };
7538
+ var isNotRelative = (path3) => REGEX_TEST_INVALID_PATH.test(path3);
7539
+ checkPath.isNotRelative = isNotRelative;
7540
+ checkPath.convert = (p) => p;
7541
+
7542
+ class Ignore {
7543
+ constructor({
7544
+ ignorecase = true,
7545
+ ignoreCase = ignorecase,
7546
+ allowRelativePaths = false
7547
+ } = {}) {
7548
+ define(this, KEY_IGNORE, true);
7549
+ this._rules = [];
7550
+ this._ignoreCase = ignoreCase;
7551
+ this._allowRelativePaths = allowRelativePaths;
7552
+ this._initCache();
7553
+ }
7554
+ _initCache() {
7555
+ this._ignoreCache = Object.create(null);
7556
+ this._testCache = Object.create(null);
7557
+ }
7558
+ _addPattern(pattern) {
7559
+ if (pattern && pattern[KEY_IGNORE]) {
7560
+ this._rules = this._rules.concat(pattern._rules);
7561
+ this._added = true;
7562
+ return;
7563
+ }
7564
+ if (checkPattern(pattern)) {
7565
+ const rule = createRule(pattern, this._ignoreCase);
7566
+ this._added = true;
7567
+ this._rules.push(rule);
7568
+ }
7569
+ }
7570
+ add(pattern) {
7571
+ this._added = false;
7572
+ makeArray(isString(pattern) ? splitPattern(pattern) : pattern).forEach(this._addPattern, this);
7573
+ if (this._added) {
7574
+ this._initCache();
7575
+ }
7576
+ return this;
7577
+ }
7578
+ addPattern(pattern) {
7579
+ return this.add(pattern);
7580
+ }
7581
+ _testOne(path3, checkUnignored) {
7582
+ let ignored = false;
7583
+ let unignored = false;
7584
+ this._rules.forEach((rule) => {
7585
+ const { negative } = rule;
7586
+ if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
7587
+ return;
7588
+ }
7589
+ const matched = rule.regex.test(path3);
7590
+ if (matched) {
7591
+ ignored = !negative;
7592
+ unignored = negative;
7593
+ }
7594
+ });
7595
+ return {
7596
+ ignored,
7597
+ unignored
7598
+ };
7599
+ }
7600
+ _test(originalPath, cache, checkUnignored, slices) {
7601
+ const path3 = originalPath && checkPath.convert(originalPath);
7602
+ checkPath(path3, originalPath, this._allowRelativePaths ? RETURN_FALSE : throwError);
7603
+ return this._t(path3, cache, checkUnignored, slices);
7604
+ }
7605
+ _t(path3, cache, checkUnignored, slices) {
7606
+ if (path3 in cache) {
7607
+ return cache[path3];
7608
+ }
7609
+ if (!slices) {
7610
+ slices = path3.split(SLASH);
7611
+ }
7612
+ slices.pop();
7613
+ if (!slices.length) {
7614
+ return cache[path3] = this._testOne(path3, checkUnignored);
7615
+ }
7616
+ const parent = this._t(slices.join(SLASH) + SLASH, cache, checkUnignored, slices);
7617
+ return cache[path3] = parent.ignored ? parent : this._testOne(path3, checkUnignored);
7618
+ }
7619
+ ignores(path3) {
7620
+ return this._test(path3, this._ignoreCache, false).ignored;
7621
+ }
7622
+ createFilter() {
7623
+ return (path3) => !this.ignores(path3);
7624
+ }
7625
+ filter(paths) {
7626
+ return makeArray(paths).filter(this.createFilter());
7627
+ }
7628
+ test(path3) {
7629
+ return this._test(path3, this._testCache, true);
7630
+ }
7631
+ }
7632
+ var factory = (options) => new Ignore(options);
7633
+ var isPathValid = (path3) => checkPath(path3 && checkPath.convert(path3), path3, RETURN_FALSE);
7634
+ factory.isPathValid = isPathValid;
7635
+ factory.default = factory;
7636
+ module.exports = factory;
7637
+ if (typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")) {
7638
+ const makePosix = (str2) => /^\\\\\?\\/.test(str2) || /["<>|\u0000-\u001F]+/u.test(str2) ? str2 : str2.replace(/\\/g, "/");
7639
+ checkPath.convert = makePosix;
7640
+ const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
7641
+ checkPath.isNotRelative = (path3) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path3) || isNotRelative(path3);
7642
+ }
7643
+ });
7644
+
7385
7645
  // ../../filesystem/src/node.ts
7386
7646
  import { randomUUID } from "node:crypto";
7387
7647
  import { existsSync } from "node:fs";
@@ -11904,7 +12164,7 @@ var package_default = {
11904
12164
  name: "@uipath/solution-sdk",
11905
12165
  author: "UiPath",
11906
12166
  license: "SEE LICENSE IN LICENSE.txt",
11907
- version: "1.204.0-preview.250",
12167
+ version: "1.204.0-preview.255",
11908
12168
  repository: {
11909
12169
  type: "git",
11910
12170
  url: "https://github.com/UiPath/cli.git",
@@ -11960,6 +12220,7 @@ var package_default = {
11960
12220
  "@uipath/studioweb-sdk": "workspace:*",
11961
12221
  "@types/node": "^25.5.2",
11962
12222
  fflate: "^0.8.2",
12223
+ ignore: "^5.3.2",
11963
12224
  typescript: "^7.0.2"
11964
12225
  }
11965
12226
  };
@@ -12571,6 +12832,7 @@ function buildOptedOutInstructions(projectDir) {
12571
12832
  var API_PROJECT_TYPES = new Set(["api", "apiautomation"]);
12572
12833
 
12573
12834
  // ../../solution-sdk/src/zip-utils.ts
12835
+ var import_ignore = __toESM(require_ignore(), 1);
12574
12836
  var DEFAULT_EXCLUDED_DIR_NAMES = new Set([
12575
12837
  ".venv",
12576
12838
  "node_modules",
@@ -12831,4 +13093,4 @@ export {
12831
13093
  entityInitAsync
12832
13094
  };
12833
13095
 
12834
- //# debugId=A739AB2B8727319364756E2164756E21
13096
+ //# debugId=8DC460C7B137A4CD64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-datafabric",
3
- "version": "1.204.0-preview.250",
3
+ "version": "1.204.0-preview.255",
4
4
  "description": "UiPath Data Fabric entity schema, validation and packaging library",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "@uipath/solutionpackager-tool-core": "1.204.0"
26
26
  },
27
- "gitHead": "80ffb08b3e58d7ca233b16fae8521163b1dcd635"
27
+ "gitHead": "699c58dabb59414557755a8933bcbe40aa420df3"
28
28
  }