@digipair/skill-kafka 0.136.1 → 0.136.3

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/dist/index.esm.js CHANGED
@@ -6,7 +6,7 @@ import require$$6 from 'assert';
6
6
  import require$$0$4 from 'net';
7
7
  import require$$1$1 from 'tls';
8
8
 
9
- function _mergeNamespaces(n, m) {
9
+ function _mergeNamespaces$1(n, m) {
10
10
  m.forEach(function(e) {
11
11
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
12
12
  if (k !== 'default' && !(k in n)) {
@@ -26,7 +26,7 @@ var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof w
26
26
  function getDefaultExportFromCjs(x) {
27
27
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
28
28
  }
29
- var handlebars_min$1 = {
29
+ var handlebars_min = {
30
30
  exports: {}
31
31
  };
32
32
  /**!
@@ -54,7 +54,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
54
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
55
55
  THE SOFTWARE.
56
56
 
57
- */ handlebars_min$1.exports;
57
+ */ handlebars_min.exports;
58
58
  (function(module1, exports1) {
59
59
  function _instanceof(left, right) {
60
60
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -8135,12 +8135,12 @@ THE SOFTWARE.
8135
8135
  }
8136
8136
  ]);
8137
8137
  });
8138
- })(handlebars_min$1, handlebars_min$1.exports);
8139
- var handlebars_minExports = handlebars_min$1.exports;
8140
- var handlebars_min = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8141
- var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces({
8138
+ })(handlebars_min, handlebars_min.exports);
8139
+ var handlebars_minExports = handlebars_min.exports;
8140
+ var handlebars_min_default = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8141
+ var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces$1({
8142
8142
  __proto__: null,
8143
- default: handlebars_min
8143
+ default: handlebars_min_default
8144
8144
  }, [
8145
8145
  handlebars_minExports
8146
8146
  ]);
@@ -17303,6 +17303,7 @@ class represent prop names.
17303
17303
  this.deserialize = config.deserialize || function() {
17304
17304
  throw new Error("This node type doesn't define a deserialize function");
17305
17305
  };
17306
+ this.combine = config.combine || null;
17306
17307
  }
17307
17308
  _create_class$u(NodeProp, [
17308
17309
  {
@@ -17415,10 +17416,16 @@ represented by another tree.
17415
17416
  */ overlay, /**
17416
17417
  The parser used to create this subtree.
17417
17418
  */ parser) {
17419
+ var /**
17420
+ [Indicates](#common.IterMode.EnterBracketed) that the nested
17421
+ content is delineated with some kind
17422
+ of bracket token.
17423
+ */ bracketed = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
17418
17424
  _class_call_check$z(this, MountedTree);
17419
17425
  this.tree = tree;
17420
17426
  this.overlay = overlay;
17421
17427
  this.parser = parser;
17428
+ this.bracketed = bracketed;
17422
17429
  }
17423
17430
  _create_class$u(MountedTree, null, [
17424
17431
  {
@@ -17634,7 +17641,9 @@ types in it, so that the ids fit into 16-bit typed array slots.
17634
17641
  var add = source(type);
17635
17642
  if (add) {
17636
17643
  if (!newProps) newProps = Object.assign({}, type.props);
17637
- newProps[add[0].id] = add[1];
17644
+ var value = add[1], prop = add[0];
17645
+ if (prop.combine && prop.id in newProps) value = prop.combine(newProps[prop.id], value);
17646
+ newProps[prop.id] = value;
17638
17647
  }
17639
17648
  }
17640
17649
  } catch (err) {
@@ -17700,6 +17709,12 @@ operator to enable multiple ones.
17700
17709
  library to not enter mounted overlays if one covers the given
17701
17710
  position.
17702
17711
  */ IterMode[IterMode["IgnoreOverlays"] = 8] = "IgnoreOverlays";
17712
+ /**
17713
+ When set, positions on the boundary of a mounted overlay tree
17714
+ that has its [`bracketed`](#common.NestedParse.bracketed) flag
17715
+ set will enter that tree regardless of side. Only supported in
17716
+ [`enter`](#common.SyntaxNode.enter), not in cursors.
17717
+ */ IterMode[IterMode["EnterBracketed"] = 16] = "EnterBracketed";
17703
17718
  })(IterMode || (IterMode = {}));
17704
17719
  /**
17705
17720
  A piece of syntax tree. There are two ways to approach these
@@ -18258,17 +18273,17 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18258
18273
  var mode = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
18259
18274
  for(var parent = this;;){
18260
18275
  for(var _parent__tree = parent._tree, children = _parent__tree.children, positions = _parent__tree.positions, e = dir > 0 ? children.length : -1; i != e; i += dir){
18261
- var next = children[i], start = positions[i] + parent.from;
18262
- if (!checkSide(side, pos, start, start + next.length)) continue;
18276
+ var next = children[i], start = positions[i] + parent.from, mounted = void 0;
18277
+ if (!(mode & IterMode.EnterBracketed && _instanceof$i(next, Tree) && (mounted = MountedTree.get(next)) && !mounted.overlay && mounted.bracketed && pos >= start && pos <= start + next.length) && !checkSide(side, pos, start, start + next.length)) continue;
18263
18278
  if (_instanceof$i(next, TreeBuffer)) {
18264
18279
  if (mode & IterMode.ExcludeBuffers) continue;
18265
18280
  var index = next.findChild(0, next.buffer.length, dir, pos - start, side);
18266
18281
  if (index > -1) return new BufferNode(new BufferContext(parent, next, i, start), null, index);
18267
18282
  } else if (mode & IterMode.IncludeAnonymous || !next.type.isAnonymous || hasChild(next)) {
18268
- var mounted = void 0;
18269
- if (!(mode & IterMode.IgnoreMounts) && (mounted = MountedTree.get(next)) && !mounted.overlay) return new TreeNode(mounted.tree, start, i, parent);
18283
+ var mounted1 = void 0;
18284
+ if (!(mode & IterMode.IgnoreMounts) && (mounted1 = MountedTree.get(next)) && !mounted1.overlay) return new TreeNode(mounted1.tree, start, i, parent);
18270
18285
  var inner = new TreeNode(next, start, i, parent);
18271
- return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side);
18286
+ return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side, mode);
18272
18287
  }
18273
18288
  }
18274
18289
  if (mode & IterMode.IncludeAnonymous || !parent.type.isAnonymous) return null;
@@ -18303,18 +18318,24 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18303
18318
  return this.nextChild(this._tree.children.length - 1, -1, pos, -2 /* Side.Before */ );
18304
18319
  }
18305
18320
  },
18321
+ {
18322
+ key: "prop",
18323
+ value: function prop(prop) {
18324
+ return this._tree.prop(prop);
18325
+ }
18326
+ },
18306
18327
  {
18307
18328
  key: "enter",
18308
18329
  value: function enter(pos, side) {
18309
18330
  var mode = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
18310
18331
  var mounted;
18311
18332
  if (!(mode & IterMode.IgnoreOverlays) && (mounted = MountedTree.get(this._tree)) && mounted.overlay) {
18312
- var rPos = pos - this.from;
18333
+ var rPos = pos - this.from, enterBracketed = mode & IterMode.EnterBracketed && mounted.bracketed;
18313
18334
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
18314
18335
  try {
18315
18336
  for(var _iterator = mounted.overlay[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
18316
18337
  var _step_value = _step.value, from = _step_value.from, to = _step_value.to;
18317
- if ((side > 0 ? from <= rPos : from < rPos) && (side < 0 ? to >= rPos : to > rPos)) return new TreeNode(mounted.tree, mounted.overlay[0].from + this.from, -1, this);
18338
+ if ((side > 0 || enterBracketed ? from <= rPos : from < rPos) && (side < 0 || enterBracketed ? to >= rPos : to > rPos)) return new TreeNode(mounted.tree, mounted.overlay[0].from + this.from, -1, this);
18318
18339
  }
18319
18340
  } catch (err) {
18320
18341
  _didIteratorError = true;
@@ -18478,6 +18499,12 @@ var BufferNode = /*#__PURE__*/ function(BaseNode) {
18478
18499
  return this.child(-1, pos, -2 /* Side.Before */ );
18479
18500
  }
18480
18501
  },
18502
+ {
18503
+ key: "prop",
18504
+ value: function prop(prop) {
18505
+ return this.type.prop(prop);
18506
+ }
18507
+ },
18481
18508
  {
18482
18509
  key: "enter",
18483
18510
  value: function enter(pos, side) {
@@ -18608,11 +18635,8 @@ A tree cursor object focuses on a given node in a syntax tree, and
18608
18635
  allows you to move to adjacent nodes.
18609
18636
  */ var TreeCursor = /*#__PURE__*/ function() {
18610
18637
  function TreeCursor(node) {
18611
- var /**
18612
- @internal
18613
- */ mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18638
+ var mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18614
18639
  _class_call_check$z(this, TreeCursor);
18615
- this.mode = mode;
18616
18640
  /**
18617
18641
  @internal
18618
18642
  */ this.buffer = null;
@@ -18621,6 +18645,7 @@ allows you to move to adjacent nodes.
18621
18645
  @internal
18622
18646
  */ this.index = 0;
18623
18647
  this.bufferNode = null;
18648
+ this.mode = mode & ~IterMode.EnterBracketed;
18624
18649
  if (_instanceof$i(node, TreeNode)) {
18625
18650
  this.yieldNode(node);
18626
18651
  } else {
@@ -18964,7 +18989,7 @@ function buildTree(data) {
18964
18989
  function takeNode(parentStart, minPos, children, positions, inRepeat, depth) {
18965
18990
  var id = cursor.id, start = cursor.start, end = cursor.end, size = cursor.size;
18966
18991
  var lookAheadAtStart = lookAhead, contextAtStart = contextHash;
18967
- while(size < 0){
18992
+ if (size < 0) {
18968
18993
  cursor.next();
18969
18994
  if (size == -1 /* SpecialRecord.Reuse */ ) {
18970
18995
  var node = reused[id];
@@ -19131,7 +19156,7 @@ function buildTree(data) {
19131
19156
  fork.next();
19132
19157
  while(fork.pos > startPos){
19133
19158
  if (fork.size < 0) {
19134
- if (fork.size == -3 /* SpecialRecord.ContextChange */ ) localSkipped += 4;
19159
+ if (fork.size == -3 /* SpecialRecord.ContextChange */ || fork.size == -4 /* SpecialRecord.LookAhead */ ) localSkipped += 4;
19135
19160
  else break scan;
19136
19161
  } else if (fork.id >= minRepeatType) {
19137
19162
  localSkipped += 4;
@@ -19570,11 +19595,11 @@ about the parse state.
19570
19595
  var _a;
19571
19596
  var depth = action >> 19 /* Action.ReduceDepthShift */ , type = action & 65535 /* Action.ValueMask */ ;
19572
19597
  var parser = this.p.parser;
19573
- var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ ;
19574
- if (lookaheadRecord) this.setLookAhead(this.pos);
19598
+ var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ && this.setLookAhead(this.pos);
19575
19599
  var dPrec = parser.dynamicPrecedence(type);
19576
19600
  if (dPrec) this.score += dPrec;
19577
19601
  if (depth == 0) {
19602
+ if (type < parser.minRepeatTerm && this.reducePos < this.pos) this.reducePos = this.pos;
19578
19603
  this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
19579
19604
  // Zero-depth reductions are a special case—they add stuff to
19580
19605
  // the stack without popping anything off.
@@ -19588,7 +19613,9 @@ about the parse state.
19588
19613
  // expression and the state that we'll be staying in, which should
19589
19614
  // be moved to `this.state`).
19590
19615
  var base = this.stack.length - (depth - 1) * 3 - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
19591
- var start = base ? this.stack[base - 2] : this.p.ranges[0].from, size = this.reducePos - start;
19616
+ var start = base ? this.stack[base - 2] : this.p.ranges[0].from;
19617
+ if (type < parser.minRepeatTerm && start == this.reducePos && this.reducePos < this.pos) this.reducePos = this.pos;
19618
+ var size = this.reducePos - start;
19592
19619
  // This is a kludge to try and detect overly deep left-associative
19593
19620
  // trees, which will not increase the parse stack depth and thus
19594
19621
  // won't be caught by the regular stack-depth limit check.
@@ -19627,15 +19654,11 @@ about the parse state.
19627
19654
  var size = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 4, mustSink = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;
19628
19655
  if (term == 0 /* Term.Err */ && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
19629
19656
  // Try to omit/merge adjacent error nodes
19630
- var cur = this, top = this.buffer.length;
19631
- if (top == 0 && cur.parent) {
19632
- top = cur.bufferBase - cur.parent.bufferBase;
19633
- cur = cur.parent;
19634
- }
19635
- if (top > 0 && cur.buffer[top - 4] == 0 /* Term.Err */ && cur.buffer[top - 1] > -1) {
19657
+ var top = this.buffer.length;
19658
+ if (top > 0 && this.buffer[top - 4] == 0 /* Term.Err */ && this.buffer[top - 1] > -1) {
19636
19659
  if (start == end) return;
19637
- if (cur.buffer[top - 2] >= start) {
19638
- cur.buffer[top - 2] = end;
19660
+ if (this.buffer[top - 2] >= start) {
19661
+ this.buffer[top - 2] = end;
19639
19662
  return;
19640
19663
  }
19641
19664
  }
@@ -19644,7 +19667,7 @@ about the parse state.
19644
19667
  this.buffer.push(term, start, end, size);
19645
19668
  } else {
19646
19669
  var index = this.buffer.length;
19647
- if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */ ) {
19670
+ if (index > 0 && (this.buffer[index - 4] != 0 /* Term.Err */ || this.buffer[index - 1] < 0)) {
19648
19671
  var mustMove = false;
19649
19672
  for(var scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4){
19650
19673
  if (this.buffer[scan - 1] >= 0) {
@@ -19679,11 +19702,11 @@ about the parse state.
19679
19702
  this.pushState(action & 65535 /* Action.ValueMask */ , this.pos);
19680
19703
  } else if ((action & 262144 /* Action.StayFlag */ ) == 0) {
19681
19704
  var nextState = action, parser = this.p.parser;
19682
- if (end > this.pos || type <= parser.maxNode) {
19683
- this.pos = end;
19684
- if (!parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ )) this.reducePos = end;
19685
- }
19686
- this.pushState(nextState, start);
19705
+ this.pos = end;
19706
+ var skipped = parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ );
19707
+ // Skipped or zero-length non-tree tokens don't move reducePos
19708
+ if (!skipped && (end > start || type <= parser.maxNode)) this.reducePos = end;
19709
+ this.pushState(nextState, skipped ? start : Math.min(start, this.reducePos));
19687
19710
  this.shiftContext(type, start);
19688
19711
  if (type <= parser.maxNode) this.buffer.push(type, start, end, 4);
19689
19712
  } else {
@@ -19731,6 +19754,9 @@ about the parse state.
19731
19754
  value: function split() {
19732
19755
  var parent = this;
19733
19756
  var off = parent.buffer.length;
19757
+ // Leave off top error node, if there, because that might be
19758
+ // merged with other nodes.
19759
+ if (off && parent.buffer[off - 4] == 0 /* Term.Err */ ) off -= 4;
19734
19760
  // Because the top of the buffer (after this.pos) may be mutated
19735
19761
  // to reorder reductions and skipped tokens, and shared buffers
19736
19762
  // should be immutable, this copies any outstanding skipped tokens
@@ -19974,10 +20000,10 @@ about the parse state.
19974
20000
  @internal
19975
20001
  */ key: "setLookAhead",
19976
20002
  value: function setLookAhead(lookAhead) {
19977
- if (lookAhead > this.lookAhead) {
19978
- this.emitLookAhead();
19979
- this.lookAhead = lookAhead;
19980
- }
20003
+ if (lookAhead <= this.lookAhead) return false;
20004
+ this.emitLookAhead();
20005
+ this.lookAhead = lookAhead;
20006
+ return true;
19981
20007
  }
19982
20008
  },
19983
20009
  {
@@ -20870,7 +20896,12 @@ var Parse = /*#__PURE__*/ function() {
20870
20896
  }
20871
20897
  }
20872
20898
  }
20873
- if (newStacks.length > 12 /* Rec.MaxStackCount */ ) newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20899
+ if (newStacks.length > 12 /* Rec.MaxStackCount */ ) {
20900
+ newStacks.sort(function(a, b) {
20901
+ return b.score - a.score;
20902
+ });
20903
+ newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20904
+ }
20874
20905
  }
20875
20906
  this.minStackPos = newStacks[0].pos;
20876
20907
  for(var i2 = 1; i2 < newStacks.length; i2++)if (newStacks[i2].pos < this.minStackPos) this.minStackPos = newStacks[i2].pos;
@@ -20965,7 +20996,7 @@ var Parse = /*#__PURE__*/ function() {
20965
20996
  if (done) continue;
20966
20997
  }
20967
20998
  var force = stack.split(), forceBase = base;
20968
- for(var j = 0; force.forceReduce() && j < 10 /* Rec.ForceReduceLimit */ ; j++){
20999
+ for(var j = 0; j < 10 /* Rec.ForceReduceLimit */ && force.forceReduce(); j++){
20969
21000
  if (verbose) console.log(forceBase + this.stackID(force) + " (via force-reduce)");
20970
21001
  var done1 = this.advanceFully(force, newStacks);
20971
21002
  if (done1) break;
@@ -21000,8 +21031,8 @@ var Parse = /*#__PURE__*/ function() {
21000
21031
  stack.recoverByDelete(token, tokenEnd);
21001
21032
  if (verbose) console.log(base + this.stackID(stack) + " (via recover-delete ".concat(this.parser.getName(token), ")"));
21002
21033
  pushStackDedup(stack, newStacks);
21003
- } else if (!finished || finished.score < stack.score) {
21004
- finished = stack;
21034
+ } else if (!finished || finished.score < force.score) {
21035
+ finished = force;
21005
21036
  }
21006
21037
  }
21007
21038
  return finished;
@@ -21850,7 +21881,7 @@ must be quoted as JSON strings.
21850
21881
  For example:
21851
21882
 
21852
21883
  ```javascript
21853
- parser.withProps(
21884
+ parser.configure({props: [
21854
21885
  styleTags({
21855
21886
  // Style Number and BigNumber nodes
21856
21887
  "Number BigNumber": tags.number,
@@ -21865,7 +21896,7 @@ parser.withProps(
21865
21896
  // Style the node named "/" as punctuation
21866
21897
  '"/"': tags.punctuation
21867
21898
  })
21868
- )
21899
+ ]})
21869
21900
  ```
21870
21901
  */ function styleTags(spec) {
21871
21902
  var byName = Object.create(null);
@@ -21921,7 +21952,26 @@ parser.withProps(
21921
21952
  }
21922
21953
  return ruleNodeProp.add(byName);
21923
21954
  }
21924
- var ruleNodeProp = new NodeProp();
21955
+ var ruleNodeProp = new NodeProp({
21956
+ combine: function combine(a, b) {
21957
+ var cur, root, take;
21958
+ while(a || b){
21959
+ if (!a || b && a.depth >= b.depth) {
21960
+ take = b;
21961
+ b = b.next;
21962
+ } else {
21963
+ take = a;
21964
+ a = a.next;
21965
+ }
21966
+ if (cur && cur.mode == take.mode && !take.context && !cur.context) continue;
21967
+ var copy = new Rule$1(take.tags, take.mode, take.context);
21968
+ if (cur) cur.next = copy;
21969
+ else root = copy;
21970
+ cur = copy;
21971
+ }
21972
+ return root;
21973
+ }
21974
+ });
21925
21975
  var Rule$1 = /*#__PURE__*/ function() {
21926
21976
  function Rule(tags, mode, context, next) {
21927
21977
  _class_call_check$x(this, Rule);
@@ -22846,14 +22896,14 @@ function indent(str, spaces) {
22846
22896
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22847
22897
  // match is required
22848
22898
  if (!match) {
22849
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22899
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22850
22900
  v: nextMatch1
22851
22901
  };
22852
22902
  }
22853
22903
  var token = match.token, offset = match.offset;
22854
22904
  i1 += offset;
22855
22905
  if (token === ' ') {
22856
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22906
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22857
22907
  }
22858
22908
  tokens1 = _to_consumable_array$4$1(tokens1).concat([
22859
22909
  token
@@ -22872,7 +22922,7 @@ function indent(str, spaces) {
22872
22922
  if (contextKeys.some(function(el) {
22873
22923
  return el.startsWith(name);
22874
22924
  })) {
22875
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22925
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22876
22926
  }
22877
22927
  if (dateTimeIdentifiers.some(function(el) {
22878
22928
  return el === name;
@@ -22891,9 +22941,9 @@ function indent(str, spaces) {
22891
22941
  if (dateTimeIdentifiers.some(function(el) {
22892
22942
  return el.startsWith(name);
22893
22943
  })) {
22894
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22944
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22895
22945
  }
22896
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22946
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22897
22947
  v: nextMatch1
22898
22948
  };
22899
22949
  };
@@ -44397,7 +44447,7 @@ function _object_spread_props$a(target, source) {
44397
44447
  prefix: '_'
44398
44448
  })).join('').toLowerCase();
44399
44449
  }
44400
- const Handlebars = handlebars_min || HandlebarsNamespace;
44450
+ const Handlebars = handlebars_min_default || HandlebarsNamespace;
44401
44451
  Handlebars.registerHelper('JSONstringify', function(value) {
44402
44452
  return JSON.stringify(value);
44403
44453
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-kafka",
3
- "version": "0.136.1",
3
+ "version": "0.136.3",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- export * from './lib/skill-kafka.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { PinsSettings } from '@digipair/engine';
2
- import { Kafka } from 'kafkajs';
3
- export declare const kafka: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<Kafka>;
4
- export declare const produce: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
5
- export declare const consume: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
6
- export declare const consumerDisconnect: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<void>;
7
- //# sourceMappingURL=skill-kafka.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skill-kafka.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-kafka.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAsDhC,eAAO,MAAM,KAAK,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,mBACpB,CAAC;AAE9D,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACpB,CAAC;AAEhE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACpB,CAAC;AAEhE,eAAO,MAAM,kBAAkB,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,kBACpB,CAAC"}