@datapos/datapos-development 0.3.279 → 0.3.282

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.
package/README.md CHANGED
@@ -58,30 +58,28 @@ The `src/index.ts' file exposes the following utilities:
58
58
 
59
59
  ### Dependency Check Report
60
60
 
61
- The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the npm package `owasp-dependency-check`.
61
+ The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the `npm` package [owasp-dependency-check](https://dependency-check.github.io/DependencyCheck/index.html).
62
62
 
63
63
  [View the OWASP Dependency Check Report](https://data-positioning.github.io/datapos-development/dependency-check-report.html)
64
64
 
65
65
  ### Dependency Licenses
66
66
 
67
- The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the published library are covered by these checks. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use `license-report`, `license-report-check` and `license-report-recursive` to identify dependency licenses.
67
+ The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the published library are covered by these checks. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use the `npm` packages [license-report](https://www.npmjs.com/package/license-report), [license-report-check](https://www.npmjs.com/package/license-report-check) and [license-report-recursive](https://www.npmjs.com/package/license-report-recursive) to identify dependency licenses.
68
68
 
69
69
  <!-- DEPENDENCY_LICENSES_START -->
70
-
71
70
  | Name | Type | Installed | Latest | Latest Modified |
72
71
  | :---------------------- | :----------: | :-------: | :-----: | :----------------------- |
73
- | @datapos/datapos-shared | MIT | 0.3.255 | 0.3.255 | 2025-11-29T17:16:07.774Z |
72
+ | @datapos/datapos-shared | MIT | 0.3.290 | 0.3.293 | 2025-12-08T12:22:28.385Z |
74
73
  | acorn | MIT | 8.15.0 | 8.15.0 | 2025-06-09T04:08:15.567Z |
75
74
  | acorn-typescript | MIT | 1.4.13 | 1.4.13 | 2024-01-03T02:25:10.152Z |
76
75
  | acorn-walk | MIT | 8.3.4 | 8.3.4 | 2024-09-09T08:40:59.131Z |
77
76
  | dotenv | BSD-2-Clause | 17.2.3 | 17.2.3 | 2025-09-29T23:22:21.769Z |
78
- | zod | MIT | 4.1.13 | 4.1.13 | 2025-11-24T02:38:31.522Z |
79
-
77
+ | zod | MIT | 4.1.13 | 4.1.13 | 2025-12-07T22:32:17.012Z |
80
78
  <!-- DEPENDENCY_LICENSES_END -->
81
79
 
82
80
  ### Bundle Analysis Report
83
81
 
84
- The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the npm package `rollup-plugin-visualizer`.
82
+ The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the `npm` package [rollup-plugin-visualizer](https://www.npmjs.com/package/rollup-plugin-visualizer).
85
83
 
86
84
  [View the Bundle Analysis Report](https://data-positioning.github.io/datapos-development/stats.html)
87
85
 
@@ -1174,8 +1174,8 @@ const Pa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1174
1174
  Pa.init(e, t);
1175
1175
  const i = e._zod.parse, r = yi(() => Vr(t)), n = (D) => {
1176
1176
  const B = new Kn(["shape", "payload", "ctx"]), H = r.value, Ee = (Pe) => {
1177
- const xe = Vi(Pe);
1178
- return `shape[${xe}]._zod.run({ value: input[${xe}], issues: [] }, ctx)`;
1177
+ const ge = Vi(Pe);
1178
+ return `shape[${ge}]._zod.run({ value: input[${ge}], issues: [] }, ctx)`;
1179
1179
  };
1180
1180
  B.write("const input = payload.value;");
1181
1181
  const R = /* @__PURE__ */ Object.create(null);
@@ -1184,29 +1184,29 @@ const Pa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1184
1184
  R[Pe] = `key_${ne++}`;
1185
1185
  B.write("const newResult = {};");
1186
1186
  for (const Pe of H.keys) {
1187
- const xe = R[Pe], Ge = Vi(Pe);
1188
- B.write(`const ${xe} = ${Ee(Pe)};`), B.write(`
1189
- if (${xe}.issues.length) {
1190
- payload.issues = payload.issues.concat(${xe}.issues.map(iss => ({
1187
+ const ge = R[Pe], Ge = Vi(Pe);
1188
+ B.write(`const ${ge} = ${Ee(Pe)};`), B.write(`
1189
+ if (${ge}.issues.length) {
1190
+ payload.issues = payload.issues.concat(${ge}.issues.map(iss => ({
1191
1191
  ...iss,
1192
1192
  path: iss.path ? [${Ge}, ...iss.path] : [${Ge}]
1193
1193
  })));
1194
1194
  }
1195
1195
 
1196
1196
 
1197
- if (${xe}.value === undefined) {
1197
+ if (${ge}.value === undefined) {
1198
1198
  if (${Ge} in input) {
1199
1199
  newResult[${Ge}] = undefined;
1200
1200
  }
1201
1201
  } else {
1202
- newResult[${Ge}] = ${xe}.value;
1202
+ newResult[${Ge}] = ${ge}.value;
1203
1203
  }
1204
1204
 
1205
1205
  `);
1206
1206
  }
1207
1207
  B.write("payload.value = newResult;"), B.write("return payload;");
1208
1208
  const dt = B.compile();
1209
- return (Pe, xe) => dt(D, Pe, xe);
1209
+ return (Pe, ge) => dt(D, Pe, ge);
1210
1210
  };
1211
1211
  let u;
1212
1212
  const h = Dt, d = !Sr.jitless, o = d && Fs.value, S = t.catchall;
@@ -2200,7 +2200,7 @@ function Ou(e, t) {
2200
2200
  const Ru = /* @__PURE__ */ k("ZodRecord", (e, t) => {
2201
2201
  Ia.init(e, t), ee.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
2202
2202
  });
2203
- function ve(e, t, i) {
2203
+ function xe(e, t, i) {
2204
2204
  return new Ru({
2205
2205
  type: "record",
2206
2206
  keyType: e,
@@ -2410,14 +2410,14 @@ const Yu = re([g("amber"), g("green"), g("red"), g("other")]), ec = re([
2410
2410
  g("presenter"),
2411
2411
  g("presenterPresentation"),
2412
2412
  g("tool")
2413
- ]), ic = re([g("en-au"), g("en-gb"), g("en-us"), g("es-es")]), rc = ve(ic, L()), sc = Ne({
2413
+ ]), ic = re([g("en-au"), g("en-gb"), g("en-us"), g("es-es")]), rc = xe(ic, L()), sc = Ne({
2414
2414
  id: L(),
2415
2415
  color: Yu,
2416
2416
  label: L()
2417
2417
  }), nc = Ne({
2418
2418
  id: L(),
2419
- label: ve(L(), L()),
2420
- description: ve(L(), L()),
2419
+ label: xe(L(), L()),
2420
+ description: xe(L(), L()),
2421
2421
  firstCreatedAt: De().optional(),
2422
2422
  icon: L().optional(),
2423
2423
  iconDark: L().optional(),
@@ -2435,7 +2435,7 @@ const Yu = re([g("amber"), g("green"), g("red"), g("other")]), ec = re([
2435
2435
  authMethodId: re([g("apiKey"), g("disabled"), g("oAuth2"), g("none")]),
2436
2436
  label: rc.optional(),
2437
2437
  maxConnectionCount: De().optional(),
2438
- params: He(ve(L(), L())).optional()
2438
+ params: He(xe(L(), L())).optional()
2439
2439
  }), cc = re([g("application"), g("curatedDataset"), g("database"), g("fileStore")]), hc = re([
2440
2440
  g("abortOperation"),
2441
2441
  g("authenticateConnection"),
@@ -2455,7 +2455,7 @@ const Yu = re([g("amber"), g("green"), g("red"), g("other")]), ec = re([
2455
2455
  }), fc = lc.extend({
2456
2456
  category: oc.optional(),
2457
2457
  categoryId: cc,
2458
- implementations: ve(L(), uc),
2458
+ implementations: xe(L(), uc),
2459
2459
  operations: He(hc),
2460
2460
  typeId: g("connector"),
2461
2461
  usageId: pc,
@@ -2502,16 +2502,16 @@ const Yu = re([g("amber"), g("green"), g("red"), g("other")]), ec = re([
2502
2502
  label: L()
2503
2503
  }), xc = Ne({
2504
2504
  id: L(),
2505
- label: ve(L(), L()),
2506
- description: ve(L(), L()),
2505
+ label: xe(L(), L()),
2506
+ description: xe(L(), L()),
2507
2507
  icon: L().optional(),
2508
2508
  iconDark: L().optional(),
2509
2509
  order: De(),
2510
2510
  path: L()
2511
2511
  }), qr = Ne({
2512
2512
  id: L(),
2513
- label: ve(L(), L()),
2514
- description: ve(L(), L()),
2513
+ label: xe(L(), L()),
2514
+ description: xe(L(), L()),
2515
2515
  firstCreatedAt: sr.optional(),
2516
2516
  icon: L().optional(),
2517
2517
  iconDark: L().optional(),
@@ -2569,16 +2569,16 @@ const Yu = re([g("amber"), g("green"), g("red"), g("other")]), ec = re([
2569
2569
  label: L()
2570
2570
  }), Ac = Ne({
2571
2571
  id: L(),
2572
- label: ve(L(), L()),
2573
- description: ve(L(), L()),
2572
+ label: xe(L(), L()),
2573
+ description: xe(L(), L()),
2574
2574
  icon: L().optional(),
2575
2575
  iconDark: L().optional(),
2576
2576
  order: De(),
2577
2577
  path: L()
2578
2578
  }), Ec = Ne({
2579
2579
  id: L(),
2580
- label: ve(L(), L()),
2581
- description: ve(L(), L()),
2580
+ label: xe(L(), L()),
2581
+ description: xe(L(), L()),
2582
2582
  firstCreatedAt: nr.optional(),
2583
2583
  icon: L().optional(),
2584
2584
  iconDark: L().optional(),
@@ -2623,10 +2623,10 @@ function Me(e, t) {
2623
2623
  var z = function(t, i) {
2624
2624
  i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
2625
2625
  };
2626
- function ge(e, t) {
2626
+ function be(e, t) {
2627
2627
  return new z(e, { beforeExpr: !0, binop: t });
2628
2628
  }
2629
- var be = { beforeExpr: !0 }, le = { startsExpr: !0 }, at = {};
2629
+ var _e = { beforeExpr: !0 }, le = { startsExpr: !0 }, at = {};
2630
2630
  function F(e, t) {
2631
2631
  return t === void 0 && (t = {}), t.keyword = e, at[e] = new z(e, t);
2632
2632
  }
@@ -2644,16 +2644,16 @@ var p = {
2644
2644
  braceR: new z("}"),
2645
2645
  parenL: new z("(", { beforeExpr: !0, startsExpr: !0 }),
2646
2646
  parenR: new z(")"),
2647
- comma: new z(",", be),
2648
- semi: new z(";", be),
2649
- colon: new z(":", be),
2647
+ comma: new z(",", _e),
2648
+ semi: new z(";", _e),
2649
+ colon: new z(":", _e),
2650
2650
  dot: new z("."),
2651
- question: new z("?", be),
2651
+ question: new z("?", _e),
2652
2652
  questionDot: new z("?."),
2653
- arrow: new z("=>", be),
2653
+ arrow: new z("=>", _e),
2654
2654
  template: new z("template"),
2655
2655
  invalidTemplate: new z("invalidTemplate"),
2656
- ellipsis: new z("...", be),
2656
+ ellipsis: new z("...", _e),
2657
2657
  backQuote: new z("`", le),
2658
2658
  dollarBraceL: new z("${", { beforeExpr: !0, startsExpr: !0 }),
2659
2659
  // Operators. These carry several kinds of properties to help the
@@ -2673,36 +2673,36 @@ var p = {
2673
2673
  assign: new z("_=", { beforeExpr: !0, isAssign: !0 }),
2674
2674
  incDec: new z("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
2675
2675
  prefix: new z("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2676
- logicalOR: ge("||", 1),
2677
- logicalAND: ge("&&", 2),
2678
- bitwiseOR: ge("|", 3),
2679
- bitwiseXOR: ge("^", 4),
2680
- bitwiseAND: ge("&", 5),
2681
- equality: ge("==/!=/===/!==", 6),
2682
- relational: ge("</>/<=/>=", 7),
2683
- bitShift: ge("<</>>/>>>", 8),
2676
+ logicalOR: be("||", 1),
2677
+ logicalAND: be("&&", 2),
2678
+ bitwiseOR: be("|", 3),
2679
+ bitwiseXOR: be("^", 4),
2680
+ bitwiseAND: be("&", 5),
2681
+ equality: be("==/!=/===/!==", 6),
2682
+ relational: be("</>/<=/>=", 7),
2683
+ bitShift: be("<</>>/>>>", 8),
2684
2684
  plusMin: new z("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
2685
- modulo: ge("%", 10),
2686
- star: ge("*", 10),
2687
- slash: ge("/", 10),
2685
+ modulo: be("%", 10),
2686
+ star: be("*", 10),
2687
+ slash: be("/", 10),
2688
2688
  starstar: new z("**", { beforeExpr: !0 }),
2689
- coalesce: ge("??", 1),
2689
+ coalesce: be("??", 1),
2690
2690
  // Keyword token types.
2691
2691
  _break: F("break"),
2692
- _case: F("case", be),
2692
+ _case: F("case", _e),
2693
2693
  _catch: F("catch"),
2694
2694
  _continue: F("continue"),
2695
2695
  _debugger: F("debugger"),
2696
- _default: F("default", be),
2696
+ _default: F("default", _e),
2697
2697
  _do: F("do", { isLoop: !0, beforeExpr: !0 }),
2698
- _else: F("else", be),
2698
+ _else: F("else", _e),
2699
2699
  _finally: F("finally"),
2700
2700
  _for: F("for", { isLoop: !0 }),
2701
2701
  _function: F("function", le),
2702
2702
  _if: F("if"),
2703
- _return: F("return", be),
2703
+ _return: F("return", _e),
2704
2704
  _switch: F("switch"),
2705
- _throw: F("throw", be),
2705
+ _throw: F("throw", _e),
2706
2706
  _try: F("try"),
2707
2707
  _var: F("var"),
2708
2708
  _const: F("const"),
@@ -2712,7 +2712,7 @@ var p = {
2712
2712
  _this: F("this", le),
2713
2713
  _super: F("super", le),
2714
2714
  _class: F("class", le),
2715
- _extends: F("extends", be),
2715
+ _extends: F("extends", _e),
2716
2716
  _export: F("export"),
2717
2717
  _import: F("import", le),
2718
2718
  _null: F("null", le),
@@ -4836,7 +4836,7 @@ P.regexp_eatDecimalEscape = function(e) {
4836
4836
  }
4837
4837
  return !1;
4838
4838
  };
4839
- var gs = 0, ze = 1, _e = 2;
4839
+ var gs = 0, ze = 1, ke = 2;
4840
4840
  P.regexp_eatCharacterClassEscape = function(e) {
4841
4841
  var t = e.current();
4842
4842
  if (ph(t))
@@ -4852,7 +4852,7 @@ P.regexp_eatCharacterClassEscape = function(e) {
4852
4852
  125
4853
4853
  /* } */
4854
4854
  ))
4855
- return i && r === _e && e.raise("Invalid property name"), r;
4855
+ return i && r === ke && e.raise("Invalid property name"), r;
4856
4856
  e.raise("Invalid property name");
4857
4857
  }
4858
4858
  return gs;
@@ -4885,7 +4885,7 @@ P.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4885
4885
  if (e.unicodeProperties.binary.test(t))
4886
4886
  return ze;
4887
4887
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t))
4888
- return _e;
4888
+ return ke;
4889
4889
  e.raise("Invalid property name");
4890
4890
  };
4891
4891
  P.regexp_eatUnicodePropertyName = function(e) {
@@ -4921,7 +4921,7 @@ P.regexp_eatCharacterClass = function(e) {
4921
4921
  return e.eat(
4922
4922
  93
4923
4923
  /* ] */
4924
- ) || e.raise("Unterminated character class"), t && i === _e && e.raise("Negated character class may contain strings"), !0;
4924
+ ) || e.raise("Unterminated character class"), t && i === ke && e.raise("Negated character class may contain strings"), !0;
4925
4925
  }
4926
4926
  return !1;
4927
4927
  };
@@ -4982,13 +4982,13 @@ P.regexp_eatClassEscape = function(e) {
4982
4982
  P.regexp_classSetExpression = function(e) {
4983
4983
  var t = ze, i;
4984
4984
  if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
4985
- i === _e && (t = _e);
4985
+ i === ke && (t = ke);
4986
4986
  for (var r = e.pos; e.eatChars(
4987
4987
  [38, 38]
4988
4988
  /* && */
4989
4989
  ); ) {
4990
4990
  if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
4991
- i !== _e && (t = ze);
4991
+ i !== ke && (t = ze);
4992
4992
  continue;
4993
4993
  }
4994
4994
  e.raise("Invalid character in character class");
@@ -5008,7 +5008,7 @@ P.regexp_classSetExpression = function(e) {
5008
5008
  if (!this.regexp_eatClassSetRange(e)) {
5009
5009
  if (i = this.regexp_eatClassSetOperand(e), !i)
5010
5010
  return t;
5011
- i === _e && (t = _e);
5011
+ i === ke && (t = ke);
5012
5012
  }
5013
5013
  };
5014
5014
  P.regexp_eatClassSetRange = function(e) {
@@ -5043,7 +5043,7 @@ P.regexp_eatNestedClass = function(e) {
5043
5043
  93
5044
5044
  /* ] */
5045
5045
  ))
5046
- return i && r === _e && e.raise("Negated character class may contain strings"), r;
5046
+ return i && r === ke && e.raise("Negated character class may contain strings"), r;
5047
5047
  e.pos = t;
5048
5048
  }
5049
5049
  if (e.eat(
@@ -5084,13 +5084,13 @@ P.regexp_classStringDisjunctionContents = function(e) {
5084
5084
  124
5085
5085
  /* | */
5086
5086
  ); )
5087
- this.regexp_classString(e) === _e && (t = _e);
5087
+ this.regexp_classString(e) === ke && (t = ke);
5088
5088
  return t;
5089
5089
  };
5090
5090
  P.regexp_classString = function(e) {
5091
5091
  for (var t = 0; this.regexp_eatClassSetCharacter(e); )
5092
5092
  t++;
5093
- return t === 1 ? ze : _e;
5093
+ return t === 1 ? ze : ke;
5094
5094
  };
5095
5095
  P.regexp_eatClassSetCharacter = function(e) {
5096
5096
  var t = e.pos;
@@ -5911,7 +5911,7 @@ function vr(e) {
5911
5911
  function Nh(e) {
5912
5912
  var t = {}, i = t.dts, r = i !== void 0 && i, n = t.allowSatisfies, u = n !== void 0 && n;
5913
5913
  return function(h) {
5914
- var d = h.acorn || bh, y = kh(d), o = d.tokTypes, S = d.keywordTypes, E = d.isIdentifierStart, D = d.lineBreak, B = d.isNewLine, H = d.tokContexts, Ee = d.isIdentifierChar, R = y.tokTypes, ne = y.tokContexts, dt = y.keywordsRegExp, Pe = y.tokenIsLiteralPropertyName, xe = y.tokenIsTemplate, Ge = y.tokenIsTSDeclarationStart, U = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Is = y.tokenIsTSTypeOperator;
5914
+ var d = h.acorn || bh, y = kh(d), o = d.tokTypes, S = d.keywordTypes, E = d.isIdentifierStart, D = d.lineBreak, B = d.isNewLine, H = d.tokContexts, Ee = d.isIdentifierChar, R = y.tokTypes, ne = y.tokContexts, dt = y.keywordsRegExp, Pe = y.tokenIsLiteralPropertyName, ge = y.tokenIsTemplate, Ge = y.tokenIsTSDeclarationStart, U = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Is = y.tokenIsTSTypeOperator;
5915
5915
  function Ns(T, pe, oe) {
5916
5916
  oe === void 0 && (oe = T.length);
5917
5917
  for (var te = pe; te < oe; te++) {
@@ -7468,7 +7468,7 @@ function Nh(e) {
7468
7468
  var Et = b.tsParseTypeArgumentsInExpression();
7469
7469
  if (!Et) return s;
7470
7470
  if (N && !b.match(o.parenL)) return V = b.curPosition(), s;
7471
- if (xe(b.type) || b.type === o.backQuote) {
7471
+ if (ge(b.type) || b.type === o.backQuote) {
7472
7472
  var Oi = b.parseTaggedTemplateExpression(s, a, c, _);
7473
7473
  return Oi.typeParameters = Et, Oi;
7474
7474
  }
@@ -7672,7 +7672,7 @@ function Ii(e) {
7672
7672
  d && d !== "constructor" && u.accessibility !== "private" && r.push(d);
7673
7673
  }), r;
7674
7674
  }
7675
- async function ke(e, t, i = [], r) {
7675
+ async function ve(e, t, i = [], r) {
7676
7676
  const n = `${t} ${i.join(" ")}`;
7677
7677
  e !== void 0 && se(`${e} - exec(${n})`);
7678
7678
  const { stdout: u, stderr: h } = await Lh(n);
@@ -7756,7 +7756,7 @@ async function gr(e) {
7756
7756
  const y = `${n}/${d.name}`, o = u ? `${u}/${d.name}` : d.name;
7757
7757
  if (d.isDirectory()) continue;
7758
7758
  const S = `${e}_${i}/${o}`.replaceAll("\\", "/"), E = d.name.endsWith(".css") ? "text/css" : "application/octet-stream", D = d.name.endsWith(".js") ? "application/javascript" : E;
7759
- console.info(`⚙️ Uploading '${o}' → '${S}'...`), await ke(void 0, `wrangler r2 object put "${S}" --file="${y}" --content-type ${D} --jurisdiction=eu --remote`);
7759
+ console.info(`⚙️ Uploading '${o}' → '${S}'...`), await ve(void 0, `wrangler r2 object put "${S}" --file="${y}" --content-type ${D} --jurisdiction=eu --remote`);
7760
7760
  }
7761
7761
  }
7762
7762
  await r("dist");
@@ -7787,7 +7787,7 @@ async function sp() {
7787
7787
  default:
7788
7788
  await zh("2️⃣", e);
7789
7789
  }
7790
- await Ie("3️⃣ Bundle project", "vite", ["build"]), await ke("4️⃣ Stage changes", "git", ["add", "."]), await ke("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await ke("6️⃣ Push changes", "git", ["push", "origin", "main:main"]);
7790
+ await Ie("3️⃣ Bundle project", "vite", ["build"]), await ve("4️⃣ Stage changes", "git", ["add", "."]), await ve("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await ve("6️⃣ Push changes", "git", ["push", "origin", "main:main"]);
7791
7791
  const r = Zh(i);
7792
7792
  if (i === "app")
7793
7793
  se("7️⃣ Register module"), await Vh();
@@ -7809,7 +7809,7 @@ async function np() {
7809
7809
  try {
7810
7810
  Re("Synchronise Project with GitHub");
7811
7811
  const e = await Se("package.json");
7812
- se("Bump project version"), await Es("1️⃣", e), await ke("2️⃣ Stage changes", "git", ["add", "."]), await ke("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await ke("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Fe(`Project version '${e.version}' synchronised with GitHub.`);
7812
+ se("Bump project version"), await Es("1️⃣", e), await ve("2️⃣ Stage changes", "git", ["add", "."]), await ve("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await ve("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Fe(`Project version '${e.version}' synchronised with GitHub.`);
7813
7813
  } catch (e) {
7814
7814
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
7815
7815
  }
@@ -7964,17 +7964,22 @@ async function cp(e = [], t = !0) {
7964
7964
  try {
7965
7965
  Re("Document Dependencies");
7966
7966
  const i = e.flatMap((r) => ["--allowed", r]);
7967
- await ke(
7967
+ await ve(
7968
7968
  "1️⃣ Generate 'licenses.json' file",
7969
7969
  "license-report",
7970
7970
  ["--only=prod,peer", "--output=json", "--department.value=n/a", "--licensePeriod=n/a", "--material=n/a", "--relatedTo.value=n/a"],
7971
7971
  "licenses.json"
7972
- ), await ke("2️⃣ Generate 'licenses.md' file", "license-report", ["--config", "license-report-config.json", "--only=prod,peer", "--output=markdown"], "licenses.md"), await ke("3️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "./licenses.json", "--output=table", ...i]), t ? (await ke(
7972
+ ), await ve(
7973
+ "2️⃣ Generate 'licenses.md' file",
7974
+ "license-report",
7975
+ ["--config", "licenses/license-report-config.json", "--only=prod,peer", "--output=markdown"],
7976
+ "licenses.md"
7977
+ ), await ve("3️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "./licenses.json", "--output=table", ...i]), t ? (await ve(
7973
7978
  "4️⃣ Generate 'licenseTree.json' file",
7974
7979
  "license-report-recursive",
7975
- ["--only=prod,peer", "--output=tree", " --recurse", "--department.value=n/a", "--licensePeriod=n/a", "--material=n/a", "--relatedTo.value=n/a"],
7980
+ ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod=n/a", "--material=n/a", "--relatedTo.value=n/a"],
7976
7981
  "licenseTree.json"
7977
- ), await ke("5️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "./licenseTree.json", "--output=table", ...i])) : (se("4️⃣ Skip 'licenseTree.json' file generate"), se("5️⃣ Skip 'licenseTree.json' file check")), await Xh("6️⃣"), Fe("Dependencies documented.");
7982
+ ), await ve("5️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "./licenseTree.json", "--output=table", ...i])) : (se("4️⃣ Skip 'licenseTree.json' file generate"), se("5️⃣ Skip 'licenseTree.json' file check")), await ve("6️⃣ Download license files", "license-downloader", ["--source", "./licenses.json", "--licDir", "./licenses", "--download"]), await Xh("7️⃣"), Fe("Dependencies documented.");
7978
7983
  } catch (i) {
7979
7984
  console.error("❌ Error documenting dependencies.", i), process.exit(1);
7980
7985
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.279",
4
- "description": "A library of utilities for managing the Data Positioning repositories.",
3
+ "version": "0.3.282",
4
+ "description": "A library of utilities used to manage Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
7
7
  "private": false,
@@ -47,6 +47,7 @@
47
47
  "eslint-plugin-sonarjs": "^3.0.5",
48
48
  "eslint-plugin-unicorn": "^62.0.0",
49
49
  "jiti": "^2.6.1",
50
+ "license-downloader": "^1.3.3",
50
51
  "license-report": "^6.8.1",
51
52
  "license-report-check": "^0.1.2",
52
53
  "license-report-recursive": "^6.8.2",