@datapos/datapos-development 0.3.161 → 0.3.162

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.
@@ -1341,12 +1341,12 @@ _.parseSubscript = function(t, e, r, a, u, f, d) {
1341
1341
  } else if (!a && this.eat(h.parenL)) {
1342
1342
  var N = new ee(), M = this.yieldPos, j = this.awaitPos, B = this.awaitIdentPos;
1343
1343
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1344
- var H = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, N);
1344
+ var z = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, N);
1345
1345
  if (u && !g && this.shouldParseAsyncArrow())
1346
- return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = j, this.awaitIdentPos = B, this.parseSubscriptAsyncArrow(e, r, H, d);
1346
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = j, this.awaitIdentPos = B, this.parseSubscriptAsyncArrow(e, r, z, d);
1347
1347
  this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, this.awaitIdentPos = B || this.awaitIdentPos;
1348
1348
  var I = this.startNodeAt(e, r);
1349
- I.callee = t, I.arguments = H, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1349
+ I.callee = t, I.arguments = z, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1350
1350
  } else if (this.type === h.backQuote) {
1351
1351
  (g || f) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1352
1352
  var X = this.startNodeAt(e, r);
@@ -1460,10 +1460,10 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1460
1460
  break;
1461
1461
  } else
1462
1462
  g.push(this.parseMaybeAssign(!1, N, this.parseParenItem));
1463
- var H = this.lastTokEnd, I = this.lastTokEndLoc;
1463
+ var z = this.lastTokEnd, I = this.lastTokEndLoc;
1464
1464
  if (this.expect(h.parenR), t && this.shouldParseArrow(g) && this.eat(h.arrow))
1465
1465
  return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = M, this.awaitPos = j, this.parseParenArrowList(r, a, g, e);
1466
- (!g.length || w) && this.unexpected(this.lastTokStart), B && this.unexpected(B), this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, g.length > 1 ? (u = this.startNodeAt(d, v), u.expressions = g, this.finishNodeAt(u, "SequenceExpression", H, I)) : u = g[0];
1466
+ (!g.length || w) && this.unexpected(this.lastTokStart), B && this.unexpected(B), this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, g.length > 1 ? (u = this.startNodeAt(d, v), u.expressions = g, this.finishNodeAt(u, "SequenceExpression", z, I)) : u = g[0];
1467
1467
  } else
1468
1468
  u = this.parseParenExpression();
1469
1469
  if (this.options.preserveParens) {
@@ -3319,7 +3319,7 @@ function Be(t) {
3319
3319
  function Es(t) {
3320
3320
  var e = {}, r = e.dts, a = r !== void 0 && r, u = e.allowSatisfies, f = u !== void 0 && u;
3321
3321
  return function(d) {
3322
- var v = d.acorn || xs, g = gs(v), o = v.tokTypes, w = v.keywordTypes, N = v.isIdentifierStart, M = v.lineBreak, j = v.isNewLine, B = v.tokContexts, H = v.isIdentifierChar, I = g.tokTypes, X = g.tokContexts, Ct = g.keywordsRegExp, Ti = g.tokenIsLiteralPropertyName, Pi = g.tokenIsTemplate, Ci = g.tokenIsTSDeclarationStart, U = g.tokenIsIdentifier, Ht = g.tokenIsKeywordOrIdentifier, ki = g.tokenIsTSTypeOperator;
3322
+ var v = d.acorn || xs, g = gs(v), o = v.tokTypes, w = v.keywordTypes, N = v.isIdentifierStart, M = v.lineBreak, j = v.isNewLine, B = v.tokContexts, z = v.isIdentifierChar, I = g.tokTypes, X = g.tokContexts, Ct = g.keywordsRegExp, Ti = g.tokenIsLiteralPropertyName, Pi = g.tokenIsTemplate, Ci = g.tokenIsTSDeclarationStart, U = g.tokenIsIdentifier, Ht = g.tokenIsKeywordOrIdentifier, ki = g.tokenIsTSTypeOperator;
3323
3323
  function Ai(T, it, Y) {
3324
3324
  Y === void 0 && (Y = T.length);
3325
3325
  for (var G = it; G < Y; G++) {
@@ -3631,7 +3631,7 @@ function Es(t) {
3631
3631
  var n = i + s.length;
3632
3632
  if (this.input.slice(i, n) === s) {
3633
3633
  var c = this.input.charCodeAt(n);
3634
- return !(H(c) || (64512 & c) == 55296);
3634
+ return !(z(c) || (64512 & c) == 55296);
3635
3635
  }
3636
3636
  return !1;
3637
3637
  }, p.isAbstractConstructorSignature = function() {
@@ -4178,10 +4178,10 @@ function Es(t) {
4178
4178
  s[m] = n[m];
4179
4179
  }
4180
4180
  }, p.tsParseModifiers = function(i) {
4181
- for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, S = function(W, z, K, $) {
4182
- z === K && n[$] && s.raise(W.column, A.InvalidModifiersOrder({ orderedModifiers: [K, $] }));
4183
- }, E = function(W, z, K, $) {
4184
- (n[K] && z === $ || n[$] && z === K) && s.raise(W.column, A.IncompatibleModifiers({ modifiers: [K, $] }));
4181
+ for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, S = function(W, H, K, $) {
4182
+ H === K && n[$] && s.raise(W.column, A.InvalidModifiersOrder({ orderedModifiers: [K, $] }));
4183
+ }, E = function(W, H, K, $) {
4184
+ (n[K] && H === $ || n[$] && H === K) && s.raise(W.column, A.IncompatibleModifiers({ modifiers: [K, $] }));
4185
4185
  }; ; ) {
4186
4186
  var L = this.startLoc, C = this.tsParseModifier(c.concat(l ?? []), m);
4187
4187
  if (!C) break;
@@ -4624,8 +4624,8 @@ function Es(t) {
4624
4624
  (s.eatContextual("get") || s.eatContextual("set")) && (s.isClassElementNameStart() ? b = W : m = W);
4625
4625
  }
4626
4626
  if (m ? (l.computed = !1, l.key = s.startNodeAt(s.lastTokStart, s.lastTokStartLoc), l.key.name = m, s.finishNode(l.key, "Identifier")) : s.parseClassElementName(l), s.parsePostMemberNameModifiers(l), s.isClassMethod() || c < 13 || s.type === o.parenL || b !== "method" || y || x) {
4627
- var z = !l.static && Ve(l, "constructor"), K = z && i;
4628
- z && b !== "method" && s.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = z ? "constructor" : b, s.parseClassMethod(l, y, x, K);
4627
+ var H = !l.static && Ve(l, "constructor"), K = H && i;
4628
+ H && b !== "method" && s.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = H ? "constructor" : b, s.parseClassMethod(l, y, x, K);
4629
4629
  } else s.parseClassField(l);
4630
4630
  return l;
4631
4631
  }
@@ -4665,10 +4665,10 @@ function Es(t) {
4665
4665
  }
4666
4666
  return c && this.checkExpressionErrors(s, !0), l > -1 && (s.parenthesizedAssign = l), m > -1 && (s.trailingComma = m), S;
4667
4667
  }, p.parseMaybeAssign = function(i, s, n) {
4668
- var c, l, m, y, x, b, S, E, L, C, W, z = this;
4668
+ var c, l, m, y, x, b, S, E, L, C, W, H = this;
4669
4669
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4670
4670
  if (E = this.cloneCurLookaheadState(), !(L = this.tryParse(function() {
4671
- return z.parseMaybeAssignOrigin(i, s, n);
4671
+ return H.parseMaybeAssignOrigin(i, s, n);
4672
4672
  }, E)).error) return L.node;
4673
4673
  var K = this.context, $ = K[K.length - 1];
4674
4674
  $ === g.tokContexts.tc_oTag && K[K.length - 2] === g.tokContexts.tc_expr ? (K.pop(), K.pop()) : $ !== g.tokContexts.tc_oTag && $ !== g.tokContexts.tc_expr || K.pop();
@@ -4677,13 +4677,13 @@ function Es(t) {
4677
4677
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
4678
4678
  var rt = this.tryParse(function(vt) {
4679
4679
  var Nt, Lt;
4680
- W = z.tsParseTypeParameters();
4681
- var gt = z.parseMaybeAssignOrigin(i, s, n);
4682
- return (gt.type !== "ArrowFunctionExpression" || (Nt = gt.extra) != null && Nt.parenthesized) && vt(), ((Lt = W) == null ? void 0 : Lt.params.length) !== 0 && z.resetStartLocationFromNode(gt, W), gt.typeParameters = W, gt;
4680
+ W = H.tsParseTypeParameters();
4681
+ var gt = H.parseMaybeAssignOrigin(i, s, n);
4682
+ return (gt.type !== "ArrowFunctionExpression" || (Nt = gt.extra) != null && Nt.parenthesized) && vt(), ((Lt = W) == null ? void 0 : Lt.params.length) !== 0 && H.resetStartLocationFromNode(gt, W), gt.typeParameters = W, gt;
4683
4683
  }, E);
4684
4684
  if (!rt.error && !rt.aborted) return W && this.reportReservedArrowTypeParam(W), rt.node;
4685
4685
  if (!L && (Fe(!0), !(C = this.tryParse(function() {
4686
- return z.parseMaybeAssignOrigin(i, s, n);
4686
+ return H.parseMaybeAssignOrigin(i, s, n);
4687
4687
  }, E)).error)) return C.node;
4688
4688
  if ((l = L) != null && l.node) return this.setLookaheadState(L.failState), L.node;
4689
4689
  if (rt.node) return this.setLookaheadState(rt.failState), W && this.reportReservedArrowTypeParam(W), rt.node;
@@ -4812,7 +4812,7 @@ function Es(t) {
4812
4812
  if (this.options.ecmaVersion >= 6) {
4813
4813
  var y = this.maybeInArrowParameters;
4814
4814
  this.maybeInArrowParameters = !0, this.next();
4815
- var x, b = this.start, S = this.startLoc, E = [], L = !0, C = !1, W = new Rt(), z = this.yieldPos, K = this.awaitPos;
4815
+ var x, b = this.start, S = this.startLoc, E = [], L = !0, C = !1, W = new Rt(), H = this.yieldPos, K = this.awaitPos;
4816
4816
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; ) {
4817
4817
  if (L ? L = !1 : this.expect(o.comma), m && this.afterTrailingComma(o.parenR, !0)) {
4818
4818
  C = !0;
@@ -4825,8 +4825,8 @@ function Es(t) {
4825
4825
  E.push(this.parseMaybeAssign(s, W, this.parseParenItem));
4826
4826
  }
4827
4827
  var $ = this.lastTokEnd, rt = this.lastTokEndLoc;
4828
- if (this.expect(o.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(o.arrow)) return this.checkPatternErrors(W, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = z, this.awaitPos = K, this.parseParenArrowList(c, l, E, s);
4829
- E.length && !C || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(W, !0), this.yieldPos = z || this.yieldPos, this.awaitPos = K || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", $, rt)) : n = E[0];
4828
+ if (this.expect(o.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(o.arrow)) return this.checkPatternErrors(W, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = H, this.awaitPos = K, this.parseParenArrowList(c, l, E, s);
4829
+ E.length && !C || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(W, !0), this.yieldPos = H || this.yieldPos, this.awaitPos = K || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", $, rt)) : n = E[0];
4830
4830
  } else n = this.parseParenExpression();
4831
4831
  if (this.options.preserveParens) {
4832
4832
  var vt = this.startNodeAt(c, l);
@@ -4892,27 +4892,27 @@ function Es(t) {
4892
4892
  });
4893
4893
  if (L && this.unexpected(L), C) return C.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, A.InvalidPropertyAccessAfterInstantiationExpression), i = C;
4894
4894
  }
4895
- var W = this.options.ecmaVersion >= 11, z = W && this.eat(o.questionDot);
4896
- c && z && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4895
+ var W = this.options.ecmaVersion >= 11, H = W && this.eat(o.questionDot);
4896
+ c && H && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4897
4897
  var K = this.eat(o.bracketL);
4898
- if (K || z && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
4898
+ if (K || H && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
4899
4899
  var $ = this.startNodeAt(s, n);
4900
- $.object = i, K ? ($.property = this.parseExpression(), this.expect(o.bracketR)) : $.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), $.computed = !!K, W && ($.optional = z), i = this.finishNode($, "MemberExpression");
4900
+ $.object = i, K ? ($.property = this.parseExpression(), this.expect(o.bracketR)) : $.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), $.computed = !!K, W && ($.optional = H), i = this.finishNode($, "MemberExpression");
4901
4901
  } else if (!c && this.eat(o.parenL)) {
4902
4902
  var rt = this.maybeInArrowParameters;
4903
4903
  this.maybeInArrowParameters = !0;
4904
4904
  var vt = new Rt(), Nt = this.yieldPos, Lt = this.awaitPos, gt = this.awaitIdentPos;
4905
4905
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
4906
4906
  var Pe = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, vt);
4907
- if (l && !z && this.shouldParseAsyncArrow()) this.checkPatternErrors(vt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Nt, this.awaitPos = Lt, this.awaitIdentPos = gt, i = this.parseSubscriptAsyncArrow(s, n, Pe, y);
4907
+ if (l && !H && this.shouldParseAsyncArrow()) this.checkPatternErrors(vt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Nt, this.awaitPos = Lt, this.awaitIdentPos = gt, i = this.parseSubscriptAsyncArrow(s, n, Pe, y);
4908
4908
  else {
4909
4909
  this.checkExpressionErrors(vt, !0), this.yieldPos = Nt || this.yieldPos, this.awaitPos = Lt || this.awaitPos, this.awaitIdentPos = gt || this.awaitIdentPos;
4910
4910
  var zt = this.startNodeAt(s, n);
4911
- zt.callee = i, zt.arguments = Pe, W && (zt.optional = z), i = this.finishNode(zt, "CallExpression");
4911
+ zt.callee = i, zt.arguments = Pe, W && (zt.optional = H), i = this.finishNode(zt, "CallExpression");
4912
4912
  }
4913
4913
  this.maybeInArrowParameters = rt;
4914
4914
  } else if (this.type === o.backQuote) {
4915
- (z || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
4915
+ (H || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
4916
4916
  var re = this.startNodeAt(s, n);
4917
4917
  re.tag = i, re.quasi = this.parseTemplate({ isTagged: !0 }), i = this.finishNode(re, "TaggedTemplateExpression");
4918
4918
  }
@@ -5118,19 +5118,15 @@ async function Vs() {
5118
5118
  break;
5119
5119
  }
5120
5120
  case "MethodDefinition": {
5121
- const B = j;
5122
- console.log(1111, B);
5123
- const H = B.key;
5124
- console.log(2222, H);
5125
- const I = H.name, X = I === "constructor", Ct = H.type === "PrivateIdentifier";
5121
+ const B = j, z = B.key, I = z.name, X = I === "constructor", Ct = z.type === "PrivateIdentifier";
5126
5122
  console.log(3333, I, X, Ct, B.accessibility), I && !Ct && !X && d.add(I);
5127
5123
  break;
5128
5124
  }
5129
5125
  }
5130
5126
  for (const B in j) {
5131
5127
  if (B === "loc" || B === "range" || B === "start" || B === "end" || B === "comments") continue;
5132
- const H = j[B];
5133
- Array.isArray(H) ? H.forEach(t) : H && typeof H == "object" && typeof H.type == "string" && t(H);
5128
+ const z = j[B];
5129
+ Array.isArray(z) ? z.forEach(t) : z && typeof z == "object" && typeof z.type == "string" && t(z);
5134
5130
  }
5135
5131
  };
5136
5132
  console.info("🚀 Building connector configuration...");
@@ -5204,8 +5200,8 @@ async function Hs() {
5204
5200
  for (const j of r.dependencies)
5205
5201
  if (j.vulnerabilities != null)
5206
5202
  for (const B of j.vulnerabilities) {
5207
- const H = B.severity?.toLowerCase() ?? "unknown";
5208
- H in a ? a[H]++ : a.unknown++;
5203
+ const z = B.severity?.toLowerCase() ?? "unknown";
5204
+ z in a ? a[z]++ : a.unknown++;
5209
5205
  }
5210
5206
  const u = {
5211
5207
  critical: { color: "D32F2F", label: "critical" },
@@ -5218,9 +5214,9 @@ async function Hs() {
5218
5214
  console.info("✅ No vulnerabilities found."), d.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5219
5215
  else
5220
5216
  for (const [j, B] of Object.entries(a)) {
5221
- const H = u[j];
5222
- if (console.warn(`⚠️ ${B} ${H.label} vulnerability(ies) found.`), B === 0) continue;
5223
- const I = `https://img.shields.io/badge/OWASP-${B}%20${H.label}-${H.color}`;
5217
+ const z = u[j];
5218
+ if (console.warn(`⚠️ ${B} ${z.label} vulnerability(ies) found.`), B === 0) continue;
5219
+ const I = `https://img.shields.io/badge/OWASP-${B}%20${z.label}-${z.color}`;
5224
5220
  d.push(`[![OWASP](${I})](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5225
5221
  }
5226
5222
  const g = await R.readFile("./README.md", "utf8"), o = g.indexOf(t), w = g.indexOf(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.161",
3
+ "version": "0.3.162",
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>",