@digipair/skill-service 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
@@ -1,4 +1,4 @@
1
- function _mergeNamespaces(n, m) {
1
+ function _mergeNamespaces$1(n, m) {
2
2
  m.forEach(function(e) {
3
3
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
4
4
  if (k !== 'default' && !(k in n)) {
@@ -18,7 +18,7 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
18
18
  function getDefaultExportFromCjs(x) {
19
19
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
20
20
  }
21
- var handlebars_min$1 = {
21
+ var handlebars_min = {
22
22
  exports: {}
23
23
  };
24
24
  /**!
@@ -46,7 +46,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
46
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
47
47
  THE SOFTWARE.
48
48
 
49
- */ handlebars_min$1.exports;
49
+ */ handlebars_min.exports;
50
50
  (function(module1, exports1) {
51
51
  function _instanceof(left, right) {
52
52
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -8127,12 +8127,12 @@ THE SOFTWARE.
8127
8127
  }
8128
8128
  ]);
8129
8129
  });
8130
- })(handlebars_min$1, handlebars_min$1.exports);
8131
- var handlebars_minExports = handlebars_min$1.exports;
8132
- var handlebars_min = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8133
- var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces({
8130
+ })(handlebars_min, handlebars_min.exports);
8131
+ var handlebars_minExports = handlebars_min.exports;
8132
+ var handlebars_min_default = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8133
+ var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces$1({
8134
8134
  __proto__: null,
8135
- default: handlebars_min
8135
+ default: handlebars_min_default
8136
8136
  }, [
8137
8137
  handlebars_minExports
8138
8138
  ]);
@@ -17295,6 +17295,7 @@ class represent prop names.
17295
17295
  this.deserialize = config.deserialize || function() {
17296
17296
  throw new Error("This node type doesn't define a deserialize function");
17297
17297
  };
17298
+ this.combine = config.combine || null;
17298
17299
  }
17299
17300
  _create_class$u(NodeProp, [
17300
17301
  {
@@ -17407,10 +17408,16 @@ represented by another tree.
17407
17408
  */ overlay, /**
17408
17409
  The parser used to create this subtree.
17409
17410
  */ parser) {
17411
+ var /**
17412
+ [Indicates](#common.IterMode.EnterBracketed) that the nested
17413
+ content is delineated with some kind
17414
+ of bracket token.
17415
+ */ bracketed = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
17410
17416
  _class_call_check$z(this, MountedTree);
17411
17417
  this.tree = tree;
17412
17418
  this.overlay = overlay;
17413
17419
  this.parser = parser;
17420
+ this.bracketed = bracketed;
17414
17421
  }
17415
17422
  _create_class$u(MountedTree, null, [
17416
17423
  {
@@ -17626,7 +17633,9 @@ types in it, so that the ids fit into 16-bit typed array slots.
17626
17633
  var add = source(type);
17627
17634
  if (add) {
17628
17635
  if (!newProps) newProps = Object.assign({}, type.props);
17629
- newProps[add[0].id] = add[1];
17636
+ var value = add[1], prop = add[0];
17637
+ if (prop.combine && prop.id in newProps) value = prop.combine(newProps[prop.id], value);
17638
+ newProps[prop.id] = value;
17630
17639
  }
17631
17640
  }
17632
17641
  } catch (err) {
@@ -17692,6 +17701,12 @@ operator to enable multiple ones.
17692
17701
  library to not enter mounted overlays if one covers the given
17693
17702
  position.
17694
17703
  */ IterMode[IterMode["IgnoreOverlays"] = 8] = "IgnoreOverlays";
17704
+ /**
17705
+ When set, positions on the boundary of a mounted overlay tree
17706
+ that has its [`bracketed`](#common.NestedParse.bracketed) flag
17707
+ set will enter that tree regardless of side. Only supported in
17708
+ [`enter`](#common.SyntaxNode.enter), not in cursors.
17709
+ */ IterMode[IterMode["EnterBracketed"] = 16] = "EnterBracketed";
17695
17710
  })(IterMode || (IterMode = {}));
17696
17711
  /**
17697
17712
  A piece of syntax tree. There are two ways to approach these
@@ -18250,17 +18265,17 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18250
18265
  var mode = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
18251
18266
  for(var parent = this;;){
18252
18267
  for(var _parent__tree = parent._tree, children = _parent__tree.children, positions = _parent__tree.positions, e = dir > 0 ? children.length : -1; i != e; i += dir){
18253
- var next = children[i], start = positions[i] + parent.from;
18254
- if (!checkSide(side, pos, start, start + next.length)) continue;
18268
+ var next = children[i], start = positions[i] + parent.from, mounted = void 0;
18269
+ 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;
18255
18270
  if (_instanceof$i(next, TreeBuffer)) {
18256
18271
  if (mode & IterMode.ExcludeBuffers) continue;
18257
18272
  var index = next.findChild(0, next.buffer.length, dir, pos - start, side);
18258
18273
  if (index > -1) return new BufferNode(new BufferContext(parent, next, i, start), null, index);
18259
18274
  } else if (mode & IterMode.IncludeAnonymous || !next.type.isAnonymous || hasChild(next)) {
18260
- var mounted = void 0;
18261
- if (!(mode & IterMode.IgnoreMounts) && (mounted = MountedTree.get(next)) && !mounted.overlay) return new TreeNode(mounted.tree, start, i, parent);
18275
+ var mounted1 = void 0;
18276
+ if (!(mode & IterMode.IgnoreMounts) && (mounted1 = MountedTree.get(next)) && !mounted1.overlay) return new TreeNode(mounted1.tree, start, i, parent);
18262
18277
  var inner = new TreeNode(next, start, i, parent);
18263
- return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side);
18278
+ return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side, mode);
18264
18279
  }
18265
18280
  }
18266
18281
  if (mode & IterMode.IncludeAnonymous || !parent.type.isAnonymous) return null;
@@ -18295,18 +18310,24 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18295
18310
  return this.nextChild(this._tree.children.length - 1, -1, pos, -2 /* Side.Before */ );
18296
18311
  }
18297
18312
  },
18313
+ {
18314
+ key: "prop",
18315
+ value: function prop(prop) {
18316
+ return this._tree.prop(prop);
18317
+ }
18318
+ },
18298
18319
  {
18299
18320
  key: "enter",
18300
18321
  value: function enter(pos, side) {
18301
18322
  var mode = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
18302
18323
  var mounted;
18303
18324
  if (!(mode & IterMode.IgnoreOverlays) && (mounted = MountedTree.get(this._tree)) && mounted.overlay) {
18304
- var rPos = pos - this.from;
18325
+ var rPos = pos - this.from, enterBracketed = mode & IterMode.EnterBracketed && mounted.bracketed;
18305
18326
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
18306
18327
  try {
18307
18328
  for(var _iterator = mounted.overlay[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
18308
18329
  var _step_value = _step.value, from = _step_value.from, to = _step_value.to;
18309
- 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);
18330
+ 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);
18310
18331
  }
18311
18332
  } catch (err) {
18312
18333
  _didIteratorError = true;
@@ -18470,6 +18491,12 @@ var BufferNode = /*#__PURE__*/ function(BaseNode) {
18470
18491
  return this.child(-1, pos, -2 /* Side.Before */ );
18471
18492
  }
18472
18493
  },
18494
+ {
18495
+ key: "prop",
18496
+ value: function prop(prop) {
18497
+ return this.type.prop(prop);
18498
+ }
18499
+ },
18473
18500
  {
18474
18501
  key: "enter",
18475
18502
  value: function enter(pos, side) {
@@ -18600,11 +18627,8 @@ A tree cursor object focuses on a given node in a syntax tree, and
18600
18627
  allows you to move to adjacent nodes.
18601
18628
  */ var TreeCursor = /*#__PURE__*/ function() {
18602
18629
  function TreeCursor(node) {
18603
- var /**
18604
- @internal
18605
- */ mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18630
+ var mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18606
18631
  _class_call_check$z(this, TreeCursor);
18607
- this.mode = mode;
18608
18632
  /**
18609
18633
  @internal
18610
18634
  */ this.buffer = null;
@@ -18613,6 +18637,7 @@ allows you to move to adjacent nodes.
18613
18637
  @internal
18614
18638
  */ this.index = 0;
18615
18639
  this.bufferNode = null;
18640
+ this.mode = mode & ~IterMode.EnterBracketed;
18616
18641
  if (_instanceof$i(node, TreeNode)) {
18617
18642
  this.yieldNode(node);
18618
18643
  } else {
@@ -18956,7 +18981,7 @@ function buildTree(data) {
18956
18981
  function takeNode(parentStart, minPos, children, positions, inRepeat, depth) {
18957
18982
  var id = cursor.id, start = cursor.start, end = cursor.end, size = cursor.size;
18958
18983
  var lookAheadAtStart = lookAhead, contextAtStart = contextHash;
18959
- while(size < 0){
18984
+ if (size < 0) {
18960
18985
  cursor.next();
18961
18986
  if (size == -1 /* SpecialRecord.Reuse */ ) {
18962
18987
  var node = reused[id];
@@ -19123,7 +19148,7 @@ function buildTree(data) {
19123
19148
  fork.next();
19124
19149
  while(fork.pos > startPos){
19125
19150
  if (fork.size < 0) {
19126
- if (fork.size == -3 /* SpecialRecord.ContextChange */ ) localSkipped += 4;
19151
+ if (fork.size == -3 /* SpecialRecord.ContextChange */ || fork.size == -4 /* SpecialRecord.LookAhead */ ) localSkipped += 4;
19127
19152
  else break scan;
19128
19153
  } else if (fork.id >= minRepeatType) {
19129
19154
  localSkipped += 4;
@@ -19562,11 +19587,11 @@ about the parse state.
19562
19587
  var _a;
19563
19588
  var depth = action >> 19 /* Action.ReduceDepthShift */ , type = action & 65535 /* Action.ValueMask */ ;
19564
19589
  var parser = this.p.parser;
19565
- var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ ;
19566
- if (lookaheadRecord) this.setLookAhead(this.pos);
19590
+ var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ && this.setLookAhead(this.pos);
19567
19591
  var dPrec = parser.dynamicPrecedence(type);
19568
19592
  if (dPrec) this.score += dPrec;
19569
19593
  if (depth == 0) {
19594
+ if (type < parser.minRepeatTerm && this.reducePos < this.pos) this.reducePos = this.pos;
19570
19595
  this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
19571
19596
  // Zero-depth reductions are a special case—they add stuff to
19572
19597
  // the stack without popping anything off.
@@ -19580,7 +19605,9 @@ about the parse state.
19580
19605
  // expression and the state that we'll be staying in, which should
19581
19606
  // be moved to `this.state`).
19582
19607
  var base = this.stack.length - (depth - 1) * 3 - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
19583
- var start = base ? this.stack[base - 2] : this.p.ranges[0].from, size = this.reducePos - start;
19608
+ var start = base ? this.stack[base - 2] : this.p.ranges[0].from;
19609
+ if (type < parser.minRepeatTerm && start == this.reducePos && this.reducePos < this.pos) this.reducePos = this.pos;
19610
+ var size = this.reducePos - start;
19584
19611
  // This is a kludge to try and detect overly deep left-associative
19585
19612
  // trees, which will not increase the parse stack depth and thus
19586
19613
  // won't be caught by the regular stack-depth limit check.
@@ -19619,15 +19646,11 @@ about the parse state.
19619
19646
  var size = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 4, mustSink = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;
19620
19647
  if (term == 0 /* Term.Err */ && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
19621
19648
  // Try to omit/merge adjacent error nodes
19622
- var cur = this, top = this.buffer.length;
19623
- if (top == 0 && cur.parent) {
19624
- top = cur.bufferBase - cur.parent.bufferBase;
19625
- cur = cur.parent;
19626
- }
19627
- if (top > 0 && cur.buffer[top - 4] == 0 /* Term.Err */ && cur.buffer[top - 1] > -1) {
19649
+ var top = this.buffer.length;
19650
+ if (top > 0 && this.buffer[top - 4] == 0 /* Term.Err */ && this.buffer[top - 1] > -1) {
19628
19651
  if (start == end) return;
19629
- if (cur.buffer[top - 2] >= start) {
19630
- cur.buffer[top - 2] = end;
19652
+ if (this.buffer[top - 2] >= start) {
19653
+ this.buffer[top - 2] = end;
19631
19654
  return;
19632
19655
  }
19633
19656
  }
@@ -19636,7 +19659,7 @@ about the parse state.
19636
19659
  this.buffer.push(term, start, end, size);
19637
19660
  } else {
19638
19661
  var index = this.buffer.length;
19639
- if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */ ) {
19662
+ if (index > 0 && (this.buffer[index - 4] != 0 /* Term.Err */ || this.buffer[index - 1] < 0)) {
19640
19663
  var mustMove = false;
19641
19664
  for(var scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4){
19642
19665
  if (this.buffer[scan - 1] >= 0) {
@@ -19671,11 +19694,11 @@ about the parse state.
19671
19694
  this.pushState(action & 65535 /* Action.ValueMask */ , this.pos);
19672
19695
  } else if ((action & 262144 /* Action.StayFlag */ ) == 0) {
19673
19696
  var nextState = action, parser = this.p.parser;
19674
- if (end > this.pos || type <= parser.maxNode) {
19675
- this.pos = end;
19676
- if (!parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ )) this.reducePos = end;
19677
- }
19678
- this.pushState(nextState, start);
19697
+ this.pos = end;
19698
+ var skipped = parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ );
19699
+ // Skipped or zero-length non-tree tokens don't move reducePos
19700
+ if (!skipped && (end > start || type <= parser.maxNode)) this.reducePos = end;
19701
+ this.pushState(nextState, skipped ? start : Math.min(start, this.reducePos));
19679
19702
  this.shiftContext(type, start);
19680
19703
  if (type <= parser.maxNode) this.buffer.push(type, start, end, 4);
19681
19704
  } else {
@@ -19723,6 +19746,9 @@ about the parse state.
19723
19746
  value: function split() {
19724
19747
  var parent = this;
19725
19748
  var off = parent.buffer.length;
19749
+ // Leave off top error node, if there, because that might be
19750
+ // merged with other nodes.
19751
+ if (off && parent.buffer[off - 4] == 0 /* Term.Err */ ) off -= 4;
19726
19752
  // Because the top of the buffer (after this.pos) may be mutated
19727
19753
  // to reorder reductions and skipped tokens, and shared buffers
19728
19754
  // should be immutable, this copies any outstanding skipped tokens
@@ -19966,10 +19992,10 @@ about the parse state.
19966
19992
  @internal
19967
19993
  */ key: "setLookAhead",
19968
19994
  value: function setLookAhead(lookAhead) {
19969
- if (lookAhead > this.lookAhead) {
19970
- this.emitLookAhead();
19971
- this.lookAhead = lookAhead;
19972
- }
19995
+ if (lookAhead <= this.lookAhead) return false;
19996
+ this.emitLookAhead();
19997
+ this.lookAhead = lookAhead;
19998
+ return true;
19973
19999
  }
19974
20000
  },
19975
20001
  {
@@ -20862,7 +20888,12 @@ var Parse = /*#__PURE__*/ function() {
20862
20888
  }
20863
20889
  }
20864
20890
  }
20865
- if (newStacks.length > 12 /* Rec.MaxStackCount */ ) newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20891
+ if (newStacks.length > 12 /* Rec.MaxStackCount */ ) {
20892
+ newStacks.sort(function(a, b) {
20893
+ return b.score - a.score;
20894
+ });
20895
+ newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20896
+ }
20866
20897
  }
20867
20898
  this.minStackPos = newStacks[0].pos;
20868
20899
  for(var i2 = 1; i2 < newStacks.length; i2++)if (newStacks[i2].pos < this.minStackPos) this.minStackPos = newStacks[i2].pos;
@@ -20957,7 +20988,7 @@ var Parse = /*#__PURE__*/ function() {
20957
20988
  if (done) continue;
20958
20989
  }
20959
20990
  var force = stack.split(), forceBase = base;
20960
- for(var j = 0; force.forceReduce() && j < 10 /* Rec.ForceReduceLimit */ ; j++){
20991
+ for(var j = 0; j < 10 /* Rec.ForceReduceLimit */ && force.forceReduce(); j++){
20961
20992
  if (verbose) console.log(forceBase + this.stackID(force) + " (via force-reduce)");
20962
20993
  var done1 = this.advanceFully(force, newStacks);
20963
20994
  if (done1) break;
@@ -20992,8 +21023,8 @@ var Parse = /*#__PURE__*/ function() {
20992
21023
  stack.recoverByDelete(token, tokenEnd);
20993
21024
  if (verbose) console.log(base + this.stackID(stack) + " (via recover-delete ".concat(this.parser.getName(token), ")"));
20994
21025
  pushStackDedup(stack, newStacks);
20995
- } else if (!finished || finished.score < stack.score) {
20996
- finished = stack;
21026
+ } else if (!finished || finished.score < force.score) {
21027
+ finished = force;
20997
21028
  }
20998
21029
  }
20999
21030
  return finished;
@@ -21842,7 +21873,7 @@ must be quoted as JSON strings.
21842
21873
  For example:
21843
21874
 
21844
21875
  ```javascript
21845
- parser.withProps(
21876
+ parser.configure({props: [
21846
21877
  styleTags({
21847
21878
  // Style Number and BigNumber nodes
21848
21879
  "Number BigNumber": tags.number,
@@ -21857,7 +21888,7 @@ parser.withProps(
21857
21888
  // Style the node named "/" as punctuation
21858
21889
  '"/"': tags.punctuation
21859
21890
  })
21860
- )
21891
+ ]})
21861
21892
  ```
21862
21893
  */ function styleTags(spec) {
21863
21894
  var byName = Object.create(null);
@@ -21913,7 +21944,26 @@ parser.withProps(
21913
21944
  }
21914
21945
  return ruleNodeProp.add(byName);
21915
21946
  }
21916
- var ruleNodeProp = new NodeProp();
21947
+ var ruleNodeProp = new NodeProp({
21948
+ combine: function combine(a, b) {
21949
+ var cur, root, take;
21950
+ while(a || b){
21951
+ if (!a || b && a.depth >= b.depth) {
21952
+ take = b;
21953
+ b = b.next;
21954
+ } else {
21955
+ take = a;
21956
+ a = a.next;
21957
+ }
21958
+ if (cur && cur.mode == take.mode && !take.context && !cur.context) continue;
21959
+ var copy = new Rule$1(take.tags, take.mode, take.context);
21960
+ if (cur) cur.next = copy;
21961
+ else root = copy;
21962
+ cur = copy;
21963
+ }
21964
+ return root;
21965
+ }
21966
+ });
21917
21967
  var Rule$1 = /*#__PURE__*/ function() {
21918
21968
  function Rule(tags, mode, context, next) {
21919
21969
  _class_call_check$x(this, Rule);
@@ -22838,14 +22888,14 @@ function indent(str, spaces) {
22838
22888
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22839
22889
  // match is required
22840
22890
  if (!match) {
22841
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22891
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22842
22892
  v: nextMatch1
22843
22893
  };
22844
22894
  }
22845
22895
  var token = match.token, offset = match.offset;
22846
22896
  i1 += offset;
22847
22897
  if (token === ' ') {
22848
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22898
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22849
22899
  }
22850
22900
  tokens1 = _to_consumable_array$4(tokens1).concat([
22851
22901
  token
@@ -22864,7 +22914,7 @@ function indent(str, spaces) {
22864
22914
  if (contextKeys.some(function(el) {
22865
22915
  return el.startsWith(name);
22866
22916
  })) {
22867
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22917
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22868
22918
  }
22869
22919
  if (dateTimeIdentifiers.some(function(el) {
22870
22920
  return el === name;
@@ -22883,9 +22933,9 @@ function indent(str, spaces) {
22883
22933
  if (dateTimeIdentifiers.some(function(el) {
22884
22934
  return el.startsWith(name);
22885
22935
  })) {
22886
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22936
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22887
22937
  }
22888
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22938
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22889
22939
  v: nextMatch1
22890
22940
  };
22891
22941
  };
@@ -44389,7 +44439,7 @@ function _object_spread_props(target, source) {
44389
44439
  prefix: '_'
44390
44440
  })).join('').toLowerCase();
44391
44441
  }
44392
- const Handlebars = handlebars_min || HandlebarsNamespace;
44442
+ const Handlebars = handlebars_min_default || HandlebarsNamespace;
44393
44443
  Handlebars.registerHelper('JSONstringify', function(value) {
44394
44444
  return JSON.stringify(value);
44395
44445
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-service",
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-service';
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,qBAAqB,CAAC"}
@@ -1,10 +0,0 @@
1
- import { PinsSettings } from '@digipair/engine';
2
- export declare const service: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
3
- export declare const send: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
4
- export declare const status: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
5
- export declare const headers: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
6
- export declare const upload: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<{
7
- body: any;
8
- files: any;
9
- }>;
10
- //# sourceMappingURL=skill-service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skill-service.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,kBAAkB,CAAC;AA+CjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAElE,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAE/D,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAEjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAElE,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG;;;EAClB,CAAC"}