@datapos/datapos-development 0.3.219 → 0.3.220

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.
@@ -1179,13 +1179,13 @@ const Tn = /* @__PURE__ */ w("$ZodObject", (e, t) => {
1179
1179
  return `shape[${ge}]._zod.run({ value: input[${ge}], issues: [] }, ctx)`;
1180
1180
  };
1181
1181
  M.write("const input = payload.value;");
1182
- const Ne = /* @__PURE__ */ Object.create(null);
1182
+ const Le = /* @__PURE__ */ Object.create(null);
1183
1183
  let R = 0;
1184
1184
  for (const de of U.keys)
1185
- Ne[de] = `key_${R++}`;
1185
+ Le[de] = `key_${R++}`;
1186
1186
  M.write("const newResult = {};");
1187
1187
  for (const de of U.keys) {
1188
- const ge = Ne[de], Ke = Di(de);
1188
+ const ge = Le[de], Ke = Di(de);
1189
1189
  M.write(`const ${ge} = ${he(de)};`), M.write(`
1190
1190
  if (${ge}.issues.length) {
1191
1191
  payload.issues = payload.issues.concat(${ge}.issues.map(iss => ({
@@ -2127,7 +2127,7 @@ const Y = /* @__PURE__ */ w("ZodStringFormat", (e, t) => {
2127
2127
  const i = e._zod.bag;
2128
2128
  e.minValue = Math.max(i.minimum ?? Number.NEGATIVE_INFINITY, i.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(i.maximum ?? Number.POSITIVE_INFINITY, i.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (i.format ?? "").includes("int") || Number.isSafeInteger(i.multipleOf ?? 0.5), e.isFinite = !0, e.format = i.format ?? null;
2129
2129
  });
2130
- function Le(e) {
2130
+ function Oe(e) {
2131
2131
  return yo(Vs, e);
2132
2132
  }
2133
2133
  const bu = /* @__PURE__ */ w("ZodNumberFormat", (e, t) => {
@@ -2412,10 +2412,10 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2412
2412
  id: L(),
2413
2413
  label: xe(L(), L()),
2414
2414
  description: xe(L(), L()),
2415
- firstCreatedAt: Le().optional(),
2415
+ firstCreatedAt: Oe().optional(),
2416
2416
  icon: L().optional(),
2417
2417
  iconDark: L().optional(),
2418
- lastUpdatedAt: Le().optional(),
2418
+ lastUpdatedAt: Oe().optional(),
2419
2419
  status: tc.nullable().optional(),
2420
2420
  statusId: Xu,
2421
2421
  typeId: Qu
@@ -2423,12 +2423,12 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2423
2423
  id: L(),
2424
2424
  label: L()
2425
2425
  }), ac = Ce({
2426
- activeConnectionCount: Le().optional(),
2426
+ activeConnectionCount: Oe().optional(),
2427
2427
  canDescribe: wu().optional(),
2428
2428
  id: L().optional(),
2429
2429
  authMethodId: se([g("apiKey"), g("disabled"), g("oAuth2"), g("none")]),
2430
2430
  label: ec.optional(),
2431
- maxConnectionCount: Le().optional(),
2431
+ maxConnectionCount: Oe().optional(),
2432
2432
  params: Ze(xe(L(), L())).optional()
2433
2433
  }), nc = se([g("application"), g("curatedDataset"), g("database"), g("fileStore")]), oc = se([
2434
2434
  g("abortOperation"),
@@ -2490,7 +2490,7 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2490
2490
  g("presenter"),
2491
2491
  g("presenterPresentation"),
2492
2492
  g("tool")
2493
- ]), is = Le(), dc = Ce({
2493
+ ]), is = Oe(), dc = Ce({
2494
2494
  id: L(),
2495
2495
  color: pc,
2496
2496
  label: L()
@@ -2500,7 +2500,7 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2500
2500
  description: xe(L(), L()),
2501
2501
  icon: L().optional(),
2502
2502
  iconDark: L().optional(),
2503
- order: Le(),
2503
+ order: Oe(),
2504
2504
  path: L()
2505
2505
  }), Bs = Ce({
2506
2506
  id: L(),
@@ -2518,12 +2518,12 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2518
2518
  version: L()
2519
2519
  }), xc = Bs.extend({
2520
2520
  modelRefs: Ze(mc),
2521
- order: Le()
2521
+ order: Oe()
2522
2522
  }), gc = g("list"), bc = vc.extend({
2523
2523
  models: Ze(xc),
2524
2524
  operations: Ze(gc),
2525
2525
  typeId: g("context")
2526
- }), kc = se([g("amber"), g("green"), g("red"), g("other")]), wc = se([g("alpha"), g("beta"), g("generalAvailability"), g("notApplicable"), g("preAlpha"), g("proposed"), g("releaseCandidate"), g("unavailable"), g("underReview")]), Sc = se([g("app"), g("connector"), g("connectorConnection"), g("context"), g("contextModelGroup"), g("contextModel"), g("contextModelDimensionGroup"), g("contextModelDimension"), g("contextModelDimensionHierarchy"), g("contextModelEntityGroup"), g("contextModelEntity"), g("contextModelEntityDataItem"), g("contextModelEntityEvent"), g("contextModelEntityPrimaryMeasure"), g("contextModelSecondaryMeasureGroup"), g("contextModelSecondaryMeasure"), g("dataView"), g("dimension"), g("engine"), g("eventQuery"), g("presenter"), g("presenterPresentation"), g("tool")]), ss = Le(), Tc = Ce({
2526
+ }), kc = se([g("amber"), g("green"), g("red"), g("other")]), wc = se([g("alpha"), g("beta"), g("generalAvailability"), g("notApplicable"), g("preAlpha"), g("proposed"), g("releaseCandidate"), g("unavailable"), g("underReview")]), Sc = se([g("app"), g("connector"), g("connectorConnection"), g("context"), g("contextModelGroup"), g("contextModel"), g("contextModelDimensionGroup"), g("contextModelDimension"), g("contextModelDimensionHierarchy"), g("contextModelEntityGroup"), g("contextModelEntity"), g("contextModelEntityDataItem"), g("contextModelEntityEvent"), g("contextModelEntityPrimaryMeasure"), g("contextModelSecondaryMeasureGroup"), g("contextModelSecondaryMeasure"), g("dataView"), g("dimension"), g("engine"), g("eventQuery"), g("presenter"), g("presenterPresentation"), g("tool")]), ss = Oe(), Tc = Ce({
2527
2527
  id: L(),
2528
2528
  color: kc,
2529
2529
  label: L()
@@ -2533,7 +2533,7 @@ const Ju = se([g("amber"), g("green"), g("red"), g("other")]), Xu = se([
2533
2533
  description: xe(L(), L()),
2534
2534
  icon: L().optional(),
2535
2535
  iconDark: L().optional(),
2536
- order: Le(),
2536
+ order: Oe(),
2537
2537
  path: L()
2538
2538
  }), Pc = Ce({
2539
2539
  id: L(),
@@ -2577,7 +2577,7 @@ function ui(e, t) {
2577
2577
  function Pe(e, t) {
2578
2578
  return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Rc.test(String.fromCharCode(e)) : t === !1 ? !1 : ui(e, $s);
2579
2579
  }
2580
- function Oe(e, t) {
2580
+ function Me(e, t) {
2581
2581
  return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Dc.test(String.fromCharCode(e)) : t === !1 ? !1 : ui(e, $s) || ui(e, Nc);
2582
2582
  }
2583
2583
  var V = function(t, i) {
@@ -2704,7 +2704,7 @@ var wi = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, ae = /(?:\s|\/\/.*|\/\
2704
2704
  function Be(e) {
2705
2705
  return as[e] || (as[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2706
2706
  }
2707
- function Me(e) {
2707
+ function Re(e) {
2708
2708
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
2709
2709
  }
2710
2710
  var Fc = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, nt = function(t, i) {
@@ -2849,7 +2849,7 @@ var vt = 1, ut = 2, Ti = 4, Ws = 8, _i = 16, Ks = 32, Zt = 64, Gs = 128, Qe = 25
2849
2849
  function Pi(e, t) {
2850
2850
  return ut | (e ? Ti : 0) | (t ? Ws : 0);
2851
2851
  }
2852
- var Dt = 0, Ai = 1, De = 2, Js = 3, Xs = 4, Qs = 5, X = function(t, i, s) {
2852
+ var Dt = 0, Ai = 1, ze = 2, Js = 3, Xs = 4, Qs = 5, X = function(t, i, s) {
2853
2853
  this.options = t = jc(t), this.sourceFile = t.sourceFile, this.keywords = Be(Oc[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
2854
2854
  var a = "";
2855
2855
  t.allowReserved !== !0 && (a = ei[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (a += " await")), this.reservedWords = Be(a);
@@ -3018,7 +3018,7 @@ E.isLet = function(e) {
3018
3018
  if (s === 123 || s > 55295 && s < 56320)
3019
3019
  return !0;
3020
3020
  if (Pe(s, !0)) {
3021
- for (var a = i + 1; Oe(s = this.input.charCodeAt(a), !0); )
3021
+ for (var a = i + 1; Me(s = this.input.charCodeAt(a), !0); )
3022
3022
  ++a;
3023
3023
  if (s === 92 || s > 55295 && s < 56320)
3024
3024
  return !0;
@@ -3033,7 +3033,7 @@ E.isAsyncFunction = function() {
3033
3033
  return !1;
3034
3034
  ae.lastIndex = this.pos;
3035
3035
  var e = ae.exec(this.input), t = this.pos + e[0].length, i;
3036
- return !ue.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Oe(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
3036
+ return !ue.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Me(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
3037
3037
  };
3038
3038
  E.isUsingKeyword = function(e, t) {
3039
3039
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using"))
@@ -3044,7 +3044,7 @@ E.isUsingKeyword = function(e, t) {
3044
3044
  return !1;
3045
3045
  if (e) {
3046
3046
  var a = s + 5, o;
3047
- if (this.input.slice(s, a) !== "using" || a === this.input.length || Oe(o = this.input.charCodeAt(a)) || o > 55295 && o < 56320)
3047
+ if (this.input.slice(s, a) !== "using" || a === this.input.length || Me(o = this.input.charCodeAt(a)) || o > 55295 && o < 56320)
3048
3048
  return !1;
3049
3049
  ae.lastIndex = a;
3050
3050
  var h = ae.exec(this.input);
@@ -3053,7 +3053,7 @@ E.isUsingKeyword = function(e, t) {
3053
3053
  }
3054
3054
  if (t) {
3055
3055
  var d = s + 2, y;
3056
- if (this.input.slice(s, d) === "of" && (d === this.input.length || !Oe(y = this.input.charCodeAt(d)) && !(y > 55295 && y < 56320)))
3056
+ if (this.input.slice(s, d) === "of" && (d === this.input.length || !Me(y = this.input.charCodeAt(d)) && !(y > 55295 && y < 56320)))
3057
3057
  return !1;
3058
3058
  }
3059
3059
  var u = this.input.charCodeAt(s);
@@ -3188,7 +3188,7 @@ E.parseThrowStatement = function(e) {
3188
3188
  var Zc = [];
3189
3189
  E.parseCatchClauseParam = function() {
3190
3190
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
3191
- return this.enterScope(t ? Ks : 0), this.checkLValPattern(e, t ? Xs : De), this.expect(p.parenR), e;
3191
+ return this.enterScope(t ? Ks : 0), this.checkLValPattern(e, t ? Xs : ze), this.expect(p.parenR), e;
3192
3192
  };
3193
3193
  E.parseTryStatement = function(e) {
3194
3194
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === p._catch) {
@@ -3252,11 +3252,11 @@ E.parseVar = function(e, t, i, s) {
3252
3252
  return e;
3253
3253
  };
3254
3254
  E.parseVarId = function(e, t) {
3255
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ai : De, !1);
3255
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ai : ze, !1);
3256
3256
  };
3257
3257
  var dt = 1, ci = 2, Ys = 4;
3258
3258
  E.parseFunction = function(e, t, i, s, a) {
3259
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === p.star && t & ci && this.unexpected(), e.generator = this.eat(p.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & dt && (e.id = t & Ys && this.type !== p.name ? null : this.parseIdent(), e.id && !(t & ci) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ai : De : Js));
3259
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === p.star && t & ci && this.unexpected(), e.generator = this.eat(p.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & dt && (e.id = t & Ys && this.type !== p.name ? null : this.parseIdent(), e.id && !(t & ci) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ai : ze : Js));
3260
3260
  var o = this.yieldPos, h = this.awaitPos, d = this.awaitIdentPos;
3261
3261
  return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Pi(e.async, e.generator)), t & dt || (e.id = this.type === p.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, a), this.yieldPos = o, this.awaitPos = h, this.awaitIdentPos = d, this.finishNode(e, t & dt ? "FunctionDeclaration" : "FunctionExpression");
3262
3262
  };
@@ -3319,7 +3319,7 @@ E.parseClassStaticBlock = function(e) {
3319
3319
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
3320
3320
  };
3321
3321
  E.parseClassId = function(e, t) {
3322
- this.type === p.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, De, !1)) : (t === !0 && this.unexpected(), e.id = null);
3322
+ this.type === p.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, ze, !1)) : (t === !0 && this.unexpected(), e.id = null);
3323
3323
  };
3324
3324
  E.parseClassSuper = function(e) {
3325
3325
  e.superClass = this.eat(p._extends) ? this.parseExprSubscripts(null, !1) : null;
@@ -3437,15 +3437,15 @@ E.parseImport = function(e) {
3437
3437
  };
3438
3438
  E.parseImportSpecifier = function() {
3439
3439
  var e = this.startNode();
3440
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, De), this.finishNode(e, "ImportSpecifier");
3440
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportSpecifier");
3441
3441
  };
3442
3442
  E.parseImportDefaultSpecifier = function() {
3443
3443
  var e = this.startNode();
3444
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, De), this.finishNode(e, "ImportDefaultSpecifier");
3444
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportDefaultSpecifier");
3445
3445
  };
3446
3446
  E.parseImportNamespaceSpecifier = function() {
3447
3447
  var e = this.startNode();
3448
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, De), this.finishNode(e, "ImportNamespaceSpecifier");
3448
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportNamespaceSpecifier");
3449
3449
  };
3450
3450
  E.parseImportSpecifiers = function() {
3451
3451
  var e = [], t = !0;
@@ -3606,7 +3606,7 @@ Te.checkLValSimple = function(e, t, i) {
3606
3606
  var s = t !== Dt;
3607
3607
  switch (e.type) {
3608
3608
  case "Identifier":
3609
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === De && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (ot(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== Qs && this.declareName(e.name, t, e.start));
3609
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === ze && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (ot(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== Qs && this.declareName(e.name, t, e.start));
3610
3610
  break;
3611
3611
  case "ChainExpression":
3612
3612
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -3893,12 +3893,12 @@ D.parseSubscript = function(e, t, i, s, a, o, h) {
3893
3893
  } else if (!s && this.eat(p.parenL)) {
3894
3894
  var P = new Ht(), M = this.yieldPos, U = this.awaitPos, he = this.awaitIdentPos;
3895
3895
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3896
- var Ne = this.parseExprList(p.parenR, this.options.ecmaVersion >= 8, !1, P);
3896
+ var Le = this.parseExprList(p.parenR, this.options.ecmaVersion >= 8, !1, P);
3897
3897
  if (a && !y && this.shouldParseAsyncArrow())
3898
- return this.checkPatternErrors(P, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = U, this.awaitIdentPos = he, this.parseSubscriptAsyncArrow(t, i, Ne, h);
3898
+ return this.checkPatternErrors(P, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = U, this.awaitIdentPos = he, this.parseSubscriptAsyncArrow(t, i, Le, h);
3899
3899
  this.checkExpressionErrors(P, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = U || this.awaitPos, this.awaitIdentPos = he || this.awaitIdentPos;
3900
3900
  var R = this.startNodeAt(t, i);
3901
- R.callee = e, R.arguments = Ne, d && (R.optional = y), e = this.finishNode(R, "CallExpression");
3901
+ R.callee = e, R.arguments = Le, d && (R.optional = y), e = this.finishNode(R, "CallExpression");
3902
3902
  } else if (this.type === p.backQuote) {
3903
3903
  (y || o) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
3904
3904
  var re = this.startNodeAt(t, i);
@@ -4012,10 +4012,10 @@ D.parseParenAndDistinguishExpression = function(e, t) {
4012
4012
  break;
4013
4013
  } else
4014
4014
  y.push(this.parseMaybeAssign(!1, P, this.parseParenItem));
4015
- var Ne = this.lastTokEnd, R = this.lastTokEndLoc;
4015
+ var Le = this.lastTokEnd, R = this.lastTokEndLoc;
4016
4016
  if (this.expect(p.parenR), e && this.shouldParseArrow(y) && this.eat(p.arrow))
4017
4017
  return this.checkPatternErrors(P, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = M, this.awaitPos = U, this.parseParenArrowList(i, s, y, t);
4018
- (!y.length || S) && this.unexpected(this.lastTokStart), he && this.unexpected(he), this.checkExpressionErrors(P, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = U || this.awaitPos, y.length > 1 ? (a = this.startNodeAt(h, d), a.expressions = y, this.finishNodeAt(a, "SequenceExpression", Ne, R)) : a = y[0];
4018
+ (!y.length || S) && this.unexpected(this.lastTokStart), he && this.unexpected(he), this.checkExpressionErrors(P, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = U || this.awaitPos, y.length > 1 ? (a = this.startNodeAt(h, d), a.expressions = y, this.finishNodeAt(a, "SequenceExpression", Le, R)) : a = y[0];
4019
4019
  } else
4020
4020
  a = this.parseParenExpression();
4021
4021
  if (this.options.preserveParens) {
@@ -4213,7 +4213,7 @@ He.treatFunctionsAsVarInScope = function(e) {
4213
4213
  };
4214
4214
  He.declareName = function(e, t, i) {
4215
4215
  var s = !1;
4216
- if (t === De) {
4216
+ if (t === ze) {
4217
4217
  var a = this.currentScope();
4218
4218
  s = a.lexical.indexOf(e) > -1 || a.functions.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.lexical.push(e), this.inModule && a.flags & vt && delete this.undefinedExports[e];
4219
4219
  } else if (t === Xs) {
@@ -4595,7 +4595,7 @@ A.regexp_eatCapturingGroup = function(e) {
4595
4595
  };
4596
4596
  A.regexp_eatModifiers = function(e) {
4597
4597
  for (var t = "", i = 0; (i = e.current()) !== -1 && rh(i); )
4598
- t += Me(i), e.advance();
4598
+ t += Re(i), e.advance();
4599
4599
  return t;
4600
4600
  };
4601
4601
  function rh(e) {
@@ -4660,8 +4660,8 @@ A.regexp_eatGroupName = function(e) {
4660
4660
  };
4661
4661
  A.regexp_eatRegExpIdentifierName = function(e) {
4662
4662
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
4663
- for (e.lastStringValue += Me(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); )
4664
- e.lastStringValue += Me(e.lastIntValue);
4663
+ for (e.lastStringValue += Re(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); )
4664
+ e.lastStringValue += Re(e.lastIntValue);
4665
4665
  return !0;
4666
4666
  }
4667
4667
  return !1;
@@ -4678,7 +4678,7 @@ A.regexp_eatRegExpIdentifierPart = function(e) {
4678
4678
  return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), nh(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
4679
4679
  };
4680
4680
  function nh(e) {
4681
- return Oe(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4681
+ return Me(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4682
4682
  }
4683
4683
  A.regexp_eatAtomEscape = function(e) {
4684
4684
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
@@ -4796,11 +4796,11 @@ A.regexp_eatDecimalEscape = function(e) {
4796
4796
  }
4797
4797
  return !1;
4798
4798
  };
4799
- var mr = 0, Re = 1, we = 2;
4799
+ var mr = 0, De = 1, we = 2;
4800
4800
  A.regexp_eatCharacterClassEscape = function(e) {
4801
4801
  var t = e.current();
4802
4802
  if (uh(t))
4803
- return e.lastIntValue = -1, e.advance(), Re;
4803
+ return e.lastIntValue = -1, e.advance(), De;
4804
4804
  var i = !1;
4805
4805
  if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
4806
4806
  e.lastIntValue = -1, e.advance();
@@ -4829,7 +4829,7 @@ A.regexp_eatUnicodePropertyValueExpression = function(e) {
4829
4829
  var i = e.lastStringValue;
4830
4830
  if (this.regexp_eatUnicodePropertyValue(e)) {
4831
4831
  var s = e.lastStringValue;
4832
- return this.regexp_validateUnicodePropertyNameAndValue(e, i, s), Re;
4832
+ return this.regexp_validateUnicodePropertyNameAndValue(e, i, s), De;
4833
4833
  }
4834
4834
  }
4835
4835
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
@@ -4843,7 +4843,7 @@ A.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
4843
4843
  };
4844
4844
  A.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4845
4845
  if (e.unicodeProperties.binary.test(t))
4846
- return Re;
4846
+ return De;
4847
4847
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t))
4848
4848
  return we;
4849
4849
  e.raise("Invalid property name");
@@ -4851,7 +4851,7 @@ A.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4851
4851
  A.regexp_eatUnicodePropertyName = function(e) {
4852
4852
  var t = 0;
4853
4853
  for (e.lastStringValue = ""; yr(t = e.current()); )
4854
- e.lastStringValue += Me(t), e.advance();
4854
+ e.lastStringValue += Re(t), e.advance();
4855
4855
  return e.lastStringValue !== "";
4856
4856
  };
4857
4857
  function yr(e) {
@@ -4860,7 +4860,7 @@ function yr(e) {
4860
4860
  A.regexp_eatUnicodePropertyValue = function(e) {
4861
4861
  var t = 0;
4862
4862
  for (e.lastStringValue = ""; ch(t = e.current()); )
4863
- e.lastStringValue += Me(t), e.advance();
4863
+ e.lastStringValue += Re(t), e.advance();
4864
4864
  return e.lastStringValue !== "";
4865
4865
  };
4866
4866
  function ch(e) {
@@ -4886,7 +4886,7 @@ A.regexp_eatCharacterClass = function(e) {
4886
4886
  return !1;
4887
4887
  };
4888
4888
  A.regexp_classContents = function(e) {
4889
- return e.current() === 93 ? Re : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Re);
4889
+ return e.current() === 93 ? De : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), De);
4890
4890
  };
4891
4891
  A.regexp_nonEmptyClassRanges = function(e) {
4892
4892
  for (; this.regexp_eatClassAtom(e); ) {
@@ -4940,7 +4940,7 @@ A.regexp_eatClassEscape = function(e) {
4940
4940
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
4941
4941
  };
4942
4942
  A.regexp_classSetExpression = function(e) {
4943
- var t = Re, i;
4943
+ var t = De, i;
4944
4944
  if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
4945
4945
  i === we && (t = we);
4946
4946
  for (var s = e.pos; e.eatChars(
@@ -4948,7 +4948,7 @@ A.regexp_classSetExpression = function(e) {
4948
4948
  /* && */
4949
4949
  ); ) {
4950
4950
  if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
4951
- i !== we && (t = Re);
4951
+ i !== we && (t = De);
4952
4952
  continue;
4953
4953
  }
4954
4954
  e.raise("Invalid character in character class");
@@ -4987,7 +4987,7 @@ A.regexp_eatClassSetRange = function(e) {
4987
4987
  return !1;
4988
4988
  };
4989
4989
  A.regexp_eatClassSetOperand = function(e) {
4990
- return this.regexp_eatClassSetCharacter(e) ? Re : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
4990
+ return this.regexp_eatClassSetCharacter(e) ? De : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
4991
4991
  };
4992
4992
  A.regexp_eatNestedClass = function(e) {
4993
4993
  var t = e.pos;
@@ -5050,7 +5050,7 @@ A.regexp_classStringDisjunctionContents = function(e) {
5050
5050
  A.regexp_classString = function(e) {
5051
5051
  for (var t = 0; this.regexp_eatClassSetCharacter(e); )
5052
5052
  t++;
5053
- return t === 1 ? Re : we;
5053
+ return t === 1 ? De : we;
5054
5054
  };
5055
5055
  A.regexp_eatClassSetCharacter = function(e) {
5056
5056
  var t = e.pos;
@@ -5317,7 +5317,7 @@ F.readToken_numberSign = function() {
5317
5317
  var e = this.options.ecmaVersion, t = 35;
5318
5318
  if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), Pe(t, !0) || t === 92))
5319
5319
  return this.finishToken(p.privateId, this.readWord1());
5320
- this.raise(this.pos, "Unexpected character '" + Me(t) + "'");
5320
+ this.raise(this.pos, "Unexpected character '" + Re(t) + "'");
5321
5321
  };
5322
5322
  F.getTokenFromCode = function(e) {
5323
5323
  switch (e) {
@@ -5404,7 +5404,7 @@ F.getTokenFromCode = function(e) {
5404
5404
  case 35:
5405
5405
  return this.readToken_numberSign();
5406
5406
  }
5407
- this.raise(this.pos, "Unexpected character '" + Me(e) + "'");
5407
+ this.raise(this.pos, "Unexpected character '" + Re(e) + "'");
5408
5408
  };
5409
5409
  F.finishOp = function(e, t) {
5410
5410
  var i = this.input.slice(this.pos, this.pos + t);
@@ -5581,7 +5581,7 @@ F.readEscapedChar = function(e) {
5581
5581
  return String.fromCharCode(this.readHexChar(2));
5582
5582
  // 'x'
5583
5583
  case 117:
5584
- return Me(this.readCodePoint());
5584
+ return Re(this.readCodePoint());
5585
5585
  // 'u'
5586
5586
  case 116:
5587
5587
  return " ";
@@ -5631,14 +5631,14 @@ F.readWord1 = function() {
5631
5631
  this.containsEsc = !1;
5632
5632
  for (var e = "", t = !0, i = this.pos, s = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
5633
5633
  var a = this.fullCharCodeAtPos();
5634
- if (Oe(a, s))
5634
+ if (Me(a, s))
5635
5635
  this.pos += a <= 65535 ? 1 : 2;
5636
5636
  else if (a === 92) {
5637
5637
  this.containsEsc = !0, e += this.input.slice(i, this.pos);
5638
5638
  var o = this.pos;
5639
5639
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
5640
5640
  var h = this.readCodePoint();
5641
- (t ? Pe : Oe)(h, s) || this.invalidStringToken(o, "Invalid Unicode escape"), e += Me(h), i = this.pos;
5641
+ (t ? Pe : Me)(h, s) || this.invalidStringToken(o, "Invalid Unicode escape"), e += Re(h), i = this.pos;
5642
5642
  } else
5643
5643
  break;
5644
5644
  t = !1;
@@ -5663,7 +5663,7 @@ X.acorn = {
5663
5663
  keywordTypes: at,
5664
5664
  TokContext: oe,
5665
5665
  tokContexts: H,
5666
- isIdentifierChar: Oe,
5666
+ isIdentifierChar: Me,
5667
5667
  isIdentifierStart: Pe,
5668
5668
  Token: Kt,
5669
5669
  isNewLine: Xe,
@@ -5691,7 +5691,7 @@ const vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5691
5691
  TokenType: V,
5692
5692
  defaultOptions: Rt,
5693
5693
  getLineInfo: Si,
5694
- isIdentifierChar: Oe,
5694
+ isIdentifierChar: Me,
5695
5695
  isIdentifierStart: Pe,
5696
5696
  isNewLine: Xe,
5697
5697
  keywordTypes: at,
@@ -5871,7 +5871,7 @@ function ms(e) {
5871
5871
  function Ch(e) {
5872
5872
  var t = {}, i = t.dts, s = i !== void 0 && i, a = t.allowSatisfies, o = a !== void 0 && a;
5873
5873
  return function(h) {
5874
- var d = h.acorn || vh, y = gh(d), u = d.tokTypes, S = d.keywordTypes, P = d.isIdentifierStart, M = d.lineBreak, U = d.isNewLine, he = d.tokContexts, Ne = d.isIdentifierChar, R = y.tokTypes, re = y.tokContexts, de = y.keywordsRegExp, ge = y.tokenIsLiteralPropertyName, Ke = y.tokenIsTemplate, Ar = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Tt = y.tokenIsKeywordOrIdentifier, Cr = y.tokenIsTSTypeOperator;
5874
+ var d = h.acorn || vh, y = gh(d), u = d.tokTypes, S = d.keywordTypes, P = d.isIdentifierStart, M = d.lineBreak, U = d.isNewLine, he = d.tokContexts, Le = d.isIdentifierChar, R = y.tokTypes, re = y.tokContexts, de = y.keywordsRegExp, ge = y.tokenIsLiteralPropertyName, Ke = y.tokenIsTemplate, Ar = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Tt = y.tokenIsKeywordOrIdentifier, Cr = y.tokenIsTSTypeOperator;
5875
5875
  function Er(_, pe, ne) {
5876
5876
  ne === void 0 && (ne = _.length);
5877
5877
  for (var te = pe; te < ne; te++) {
@@ -6183,7 +6183,7 @@ function Ch(e) {
6183
6183
  var c = r + n.length;
6184
6184
  if (this.input.slice(r, c) === n) {
6185
6185
  var l = this.input.charCodeAt(c);
6186
- return !(Ne(l) || (64512 & l) == 55296);
6186
+ return !(Le(l) || (64512 & l) == 55296);
6187
6187
  }
6188
6188
  return !1;
6189
6189
  }, f.isAbstractConstructorSignature = function() {
@@ -7647,7 +7647,7 @@ async function _e(e, t = [], i) {
7647
7647
  async function Nh() {
7648
7648
  We("Load environment variables"), (await import("dotenv")).config();
7649
7649
  }
7650
- function ze(e) {
7650
+ function Ne(e) {
7651
7651
  const t = "\x1B[36m", i = "\x1B[0m", s = "─".repeat(e.length + 10);
7652
7652
  console.info(`
7653
7653
  ${t}${s}`), console.info(`🚀 ${e}`), console.info(`${s}${i}`);
@@ -7695,31 +7695,37 @@ async function Tr(e, t) {
7695
7695
  }
7696
7696
  async function $h() {
7697
7697
  try {
7698
- ze("Build Artifact"), await Ae("vite", ["build"]), Ve("Artifact build complete.");
7698
+ Ne("Build Artifact"), await Ae("vite", ["build"]), Ve("Artifact built.");
7699
7699
  } catch (e) {
7700
7700
  console.error("❌ Error building artifact.", e), process.exit(1);
7701
7701
  }
7702
7702
  }
7703
7703
  async function Uh(e = !1) {
7704
7704
  try {
7705
- ze("Release Artifact");
7705
+ Ne("Release Artifact");
7706
7706
  const t = await St("package.json");
7707
- await _r(t), await Lh(t), await Ae("vite", ["build"]), await _e("git", ["add", "."]), await _e("git", ["commit", "-m", `"v${t.version}"`]), await _e("git", ["push", "origin", "main:main"]), await Ae("npm", ["publish", "--access", "public"]), Ve(`Version ${t.version} of artifact released.`);
7707
+ await _r(t), await Lh(t), await Ae("vite", ["build"]), await _e("git", ["add", "."]), await _e("git", ["commit", "-m", `"v${t.version}"`]), await _e("git", ["push", "origin", "main:main"]), await Ae("npm", ["publish", "--access", "public"]), Ve(`Artifact version ${t.version} released.`);
7708
7708
  } catch (t) {
7709
7709
  console.error("❌ Error releasing artifact.", t), process.exit(1);
7710
7710
  }
7711
7711
  }
7712
7712
  async function Zh() {
7713
7713
  try {
7714
- ze("Synchronising Artifact with GitHub");
7714
+ Ne("Synchronise Artifact with GitHub");
7715
7715
  const e = await St("package.json");
7716
- We("Bump artifact version"), await _r(e), await _e("git", ["add", "."]), await _e("git", ["commit", "-m", `"v${e.version}"`]), await _e("git", ["push", "origin", "main:main"]), Ve(`Version ${e.version} of artifact synchronised with GitHub.`);
7716
+ We("Bump artifact version"), await _r(e), await _e("git", ["add", "."]), await _e("git", ["commit", "-m", `"v${e.version}"`]), await _e("git", ["push", "origin", "main:main"]), Ve(`Artifact version ${e.version} synchronised with GitHub.`);
7717
7717
  } catch (e) {
7718
7718
  console.error("❌ Error synchronising artifact with GitHub.", e), process.exit(1);
7719
7719
  }
7720
7720
  }
7721
7721
  function qh() {
7722
- console.log("Test artifact...");
7722
+ try {
7723
+ Ne("Test Artifact"), console.log(`
7724
+ ❌ Test artifact is not implemented. No vitest command.
7725
+ `);
7726
+ } catch (e) {
7727
+ console.error("❌ Error testing artifact.", e), process.exit(1);
7728
+ }
7723
7729
  }
7724
7730
  async function Lh(e) {
7725
7731
  We("Build artifact configuration");
@@ -7737,7 +7743,7 @@ async function _r(e, t = "./") {
7737
7743
  const Oh = ["critical", "high", "moderate", "low", "unknown"];
7738
7744
  async function Hh() {
7739
7745
  try {
7740
- ze("Audit Dependencies"), await Nh(), await Ae("owasp-dependency-check", [
7746
+ Ne("Audit Dependencies"), await Nh(), await Ae("owasp-dependency-check", [
7741
7747
  "--project",
7742
7748
  "@datapos/datapos-development",
7743
7749
  "--enableRetired",
@@ -7795,14 +7801,14 @@ async function Rh(e) {
7795
7801
  }
7796
7802
  async function Wh() {
7797
7803
  try {
7798
- ze("Check Dependencies"), await Ae("npm", ["outdated"], !0), await Ae("npm-check-updates", ["-i"]), Ve("Dependency checking complete.");
7804
+ Ne("Check Dependencies"), await Ae("npm", ["outdated"], !0), await Ae("npm-check-updates", ["-i"]), Ve("Dependency checking complete.");
7799
7805
  } catch (e) {
7800
7806
  console.error("❌ Error checking dependencies.", e), process.exit(1);
7801
7807
  }
7802
7808
  }
7803
7809
  async function Kh(e) {
7804
7810
  try {
7805
- ze("Document Dependencies");
7811
+ Ne("Document Dependencies");
7806
7812
  const t = e.flatMap((i) => ["--allowed", i]);
7807
7813
  await _e(
7808
7814
  "license-report",
@@ -7835,21 +7841,21 @@ async function Dh() {
7835
7841
  }
7836
7842
  async function Gh() {
7837
7843
  try {
7838
- ze("Format Code"), await Ae("prettier", ["--write", "src/"]), Ve("Code formatting complete.");
7844
+ Ne("Format Code"), await Ae("prettier", ["--write", "src/"]), Ve("Code formatting complete.");
7839
7845
  } catch (e) {
7840
7846
  console.error("❌ Error formatting code.", e), process.exit(1);
7841
7847
  }
7842
7848
  }
7843
7849
  async function Jh() {
7844
7850
  try {
7845
- ze("Lint Code"), await Ae("eslint", ["."]), Ve("Code linting complete.");
7851
+ Ne("Lint Code"), await Ae("eslint", ["."]), Ve("Code linting complete.");
7846
7852
  } catch (e) {
7847
7853
  console.error("❌ Error linting code.", e), process.exit(1);
7848
7854
  }
7849
7855
  }
7850
7856
  async function Xh(e) {
7851
7857
  try {
7852
- ze("Update datapos Dependencies");
7858
+ Ne("Update datapos Dependencies");
7853
7859
  for (const t of e)
7854
7860
  await Ae("npm", ["install", `@datapos/datapos-${t}@latest`]);
7855
7861
  Ve("Updating datapos dependencies complete.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.219",
3
+ "version": "0.3.220",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",