@digipair/skill-web 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
@@ -2,7 +2,7 @@ import { JSDOM } from 'jsdom';
2
2
  import { readFile } from 'fs/promises';
3
3
  import require$$1 from 'path';
4
4
 
5
- function _mergeNamespaces(n, m) {
5
+ function _mergeNamespaces$1(n, m) {
6
6
  m.forEach(function(e) {
7
7
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
8
8
  if (k !== 'default' && !(k in n)) {
@@ -22,7 +22,7 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
22
22
  function getDefaultExportFromCjs(x) {
23
23
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
24
24
  }
25
- var handlebars_min$1 = {
25
+ var handlebars_min = {
26
26
  exports: {}
27
27
  };
28
28
  /**!
@@ -50,7 +50,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50
50
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
51
51
  THE SOFTWARE.
52
52
 
53
- */ handlebars_min$1.exports;
53
+ */ handlebars_min.exports;
54
54
  (function(module1, exports1) {
55
55
  function _instanceof(left, right) {
56
56
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -8131,12 +8131,12 @@ THE SOFTWARE.
8131
8131
  }
8132
8132
  ]);
8133
8133
  });
8134
- })(handlebars_min$1, handlebars_min$1.exports);
8135
- var handlebars_minExports = handlebars_min$1.exports;
8136
- var handlebars_min = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8137
- var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces({
8134
+ })(handlebars_min, handlebars_min.exports);
8135
+ var handlebars_minExports = handlebars_min.exports;
8136
+ var handlebars_min_default = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8137
+ var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces$1({
8138
8138
  __proto__: null,
8139
- default: handlebars_min
8139
+ default: handlebars_min_default
8140
8140
  }, [
8141
8141
  handlebars_minExports
8142
8142
  ]);
@@ -17299,6 +17299,7 @@ class represent prop names.
17299
17299
  this.deserialize = config.deserialize || function() {
17300
17300
  throw new Error("This node type doesn't define a deserialize function");
17301
17301
  };
17302
+ this.combine = config.combine || null;
17302
17303
  }
17303
17304
  _create_class$u(NodeProp, [
17304
17305
  {
@@ -17411,10 +17412,16 @@ represented by another tree.
17411
17412
  */ overlay, /**
17412
17413
  The parser used to create this subtree.
17413
17414
  */ parser) {
17415
+ var /**
17416
+ [Indicates](#common.IterMode.EnterBracketed) that the nested
17417
+ content is delineated with some kind
17418
+ of bracket token.
17419
+ */ bracketed = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
17414
17420
  _class_call_check$z(this, MountedTree);
17415
17421
  this.tree = tree;
17416
17422
  this.overlay = overlay;
17417
17423
  this.parser = parser;
17424
+ this.bracketed = bracketed;
17418
17425
  }
17419
17426
  _create_class$u(MountedTree, null, [
17420
17427
  {
@@ -17630,7 +17637,9 @@ types in it, so that the ids fit into 16-bit typed array slots.
17630
17637
  var add = source(type);
17631
17638
  if (add) {
17632
17639
  if (!newProps) newProps = Object.assign({}, type.props);
17633
- newProps[add[0].id] = add[1];
17640
+ var value = add[1], prop = add[0];
17641
+ if (prop.combine && prop.id in newProps) value = prop.combine(newProps[prop.id], value);
17642
+ newProps[prop.id] = value;
17634
17643
  }
17635
17644
  }
17636
17645
  } catch (err) {
@@ -17696,6 +17705,12 @@ operator to enable multiple ones.
17696
17705
  library to not enter mounted overlays if one covers the given
17697
17706
  position.
17698
17707
  */ IterMode[IterMode["IgnoreOverlays"] = 8] = "IgnoreOverlays";
17708
+ /**
17709
+ When set, positions on the boundary of a mounted overlay tree
17710
+ that has its [`bracketed`](#common.NestedParse.bracketed) flag
17711
+ set will enter that tree regardless of side. Only supported in
17712
+ [`enter`](#common.SyntaxNode.enter), not in cursors.
17713
+ */ IterMode[IterMode["EnterBracketed"] = 16] = "EnterBracketed";
17699
17714
  })(IterMode || (IterMode = {}));
17700
17715
  /**
17701
17716
  A piece of syntax tree. There are two ways to approach these
@@ -18254,17 +18269,17 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18254
18269
  var mode = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
18255
18270
  for(var parent = this;;){
18256
18271
  for(var _parent__tree = parent._tree, children = _parent__tree.children, positions = _parent__tree.positions, e = dir > 0 ? children.length : -1; i != e; i += dir){
18257
- var next = children[i], start = positions[i] + parent.from;
18258
- if (!checkSide(side, pos, start, start + next.length)) continue;
18272
+ var next = children[i], start = positions[i] + parent.from, mounted = void 0;
18273
+ 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;
18259
18274
  if (_instanceof$i(next, TreeBuffer)) {
18260
18275
  if (mode & IterMode.ExcludeBuffers) continue;
18261
18276
  var index = next.findChild(0, next.buffer.length, dir, pos - start, side);
18262
18277
  if (index > -1) return new BufferNode(new BufferContext(parent, next, i, start), null, index);
18263
18278
  } else if (mode & IterMode.IncludeAnonymous || !next.type.isAnonymous || hasChild(next)) {
18264
- var mounted = void 0;
18265
- if (!(mode & IterMode.IgnoreMounts) && (mounted = MountedTree.get(next)) && !mounted.overlay) return new TreeNode(mounted.tree, start, i, parent);
18279
+ var mounted1 = void 0;
18280
+ if (!(mode & IterMode.IgnoreMounts) && (mounted1 = MountedTree.get(next)) && !mounted1.overlay) return new TreeNode(mounted1.tree, start, i, parent);
18266
18281
  var inner = new TreeNode(next, start, i, parent);
18267
- return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side);
18282
+ return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side, mode);
18268
18283
  }
18269
18284
  }
18270
18285
  if (mode & IterMode.IncludeAnonymous || !parent.type.isAnonymous) return null;
@@ -18299,18 +18314,24 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18299
18314
  return this.nextChild(this._tree.children.length - 1, -1, pos, -2 /* Side.Before */ );
18300
18315
  }
18301
18316
  },
18317
+ {
18318
+ key: "prop",
18319
+ value: function prop(prop) {
18320
+ return this._tree.prop(prop);
18321
+ }
18322
+ },
18302
18323
  {
18303
18324
  key: "enter",
18304
18325
  value: function enter(pos, side) {
18305
18326
  var mode = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
18306
18327
  var mounted;
18307
18328
  if (!(mode & IterMode.IgnoreOverlays) && (mounted = MountedTree.get(this._tree)) && mounted.overlay) {
18308
- var rPos = pos - this.from;
18329
+ var rPos = pos - this.from, enterBracketed = mode & IterMode.EnterBracketed && mounted.bracketed;
18309
18330
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
18310
18331
  try {
18311
18332
  for(var _iterator = mounted.overlay[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
18312
18333
  var _step_value = _step.value, from = _step_value.from, to = _step_value.to;
18313
- 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);
18334
+ 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);
18314
18335
  }
18315
18336
  } catch (err) {
18316
18337
  _didIteratorError = true;
@@ -18474,6 +18495,12 @@ var BufferNode = /*#__PURE__*/ function(BaseNode) {
18474
18495
  return this.child(-1, pos, -2 /* Side.Before */ );
18475
18496
  }
18476
18497
  },
18498
+ {
18499
+ key: "prop",
18500
+ value: function prop(prop) {
18501
+ return this.type.prop(prop);
18502
+ }
18503
+ },
18477
18504
  {
18478
18505
  key: "enter",
18479
18506
  value: function enter(pos, side) {
@@ -18604,11 +18631,8 @@ A tree cursor object focuses on a given node in a syntax tree, and
18604
18631
  allows you to move to adjacent nodes.
18605
18632
  */ var TreeCursor = /*#__PURE__*/ function() {
18606
18633
  function TreeCursor(node) {
18607
- var /**
18608
- @internal
18609
- */ mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18634
+ var mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18610
18635
  _class_call_check$z(this, TreeCursor);
18611
- this.mode = mode;
18612
18636
  /**
18613
18637
  @internal
18614
18638
  */ this.buffer = null;
@@ -18617,6 +18641,7 @@ allows you to move to adjacent nodes.
18617
18641
  @internal
18618
18642
  */ this.index = 0;
18619
18643
  this.bufferNode = null;
18644
+ this.mode = mode & ~IterMode.EnterBracketed;
18620
18645
  if (_instanceof$i(node, TreeNode)) {
18621
18646
  this.yieldNode(node);
18622
18647
  } else {
@@ -18960,7 +18985,7 @@ function buildTree(data) {
18960
18985
  function takeNode(parentStart, minPos, children, positions, inRepeat, depth) {
18961
18986
  var id = cursor.id, start = cursor.start, end = cursor.end, size = cursor.size;
18962
18987
  var lookAheadAtStart = lookAhead, contextAtStart = contextHash;
18963
- while(size < 0){
18988
+ if (size < 0) {
18964
18989
  cursor.next();
18965
18990
  if (size == -1 /* SpecialRecord.Reuse */ ) {
18966
18991
  var node = reused[id];
@@ -19127,7 +19152,7 @@ function buildTree(data) {
19127
19152
  fork.next();
19128
19153
  while(fork.pos > startPos){
19129
19154
  if (fork.size < 0) {
19130
- if (fork.size == -3 /* SpecialRecord.ContextChange */ ) localSkipped += 4;
19155
+ if (fork.size == -3 /* SpecialRecord.ContextChange */ || fork.size == -4 /* SpecialRecord.LookAhead */ ) localSkipped += 4;
19131
19156
  else break scan;
19132
19157
  } else if (fork.id >= minRepeatType) {
19133
19158
  localSkipped += 4;
@@ -19566,11 +19591,11 @@ about the parse state.
19566
19591
  var _a;
19567
19592
  var depth = action >> 19 /* Action.ReduceDepthShift */ , type = action & 65535 /* Action.ValueMask */ ;
19568
19593
  var parser = this.p.parser;
19569
- var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ ;
19570
- if (lookaheadRecord) this.setLookAhead(this.pos);
19594
+ var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ && this.setLookAhead(this.pos);
19571
19595
  var dPrec = parser.dynamicPrecedence(type);
19572
19596
  if (dPrec) this.score += dPrec;
19573
19597
  if (depth == 0) {
19598
+ if (type < parser.minRepeatTerm && this.reducePos < this.pos) this.reducePos = this.pos;
19574
19599
  this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
19575
19600
  // Zero-depth reductions are a special case—they add stuff to
19576
19601
  // the stack without popping anything off.
@@ -19584,7 +19609,9 @@ about the parse state.
19584
19609
  // expression and the state that we'll be staying in, which should
19585
19610
  // be moved to `this.state`).
19586
19611
  var base = this.stack.length - (depth - 1) * 3 - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
19587
- var start = base ? this.stack[base - 2] : this.p.ranges[0].from, size = this.reducePos - start;
19612
+ var start = base ? this.stack[base - 2] : this.p.ranges[0].from;
19613
+ if (type < parser.minRepeatTerm && start == this.reducePos && this.reducePos < this.pos) this.reducePos = this.pos;
19614
+ var size = this.reducePos - start;
19588
19615
  // This is a kludge to try and detect overly deep left-associative
19589
19616
  // trees, which will not increase the parse stack depth and thus
19590
19617
  // won't be caught by the regular stack-depth limit check.
@@ -19623,15 +19650,11 @@ about the parse state.
19623
19650
  var size = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 4, mustSink = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;
19624
19651
  if (term == 0 /* Term.Err */ && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
19625
19652
  // Try to omit/merge adjacent error nodes
19626
- var cur = this, top = this.buffer.length;
19627
- if (top == 0 && cur.parent) {
19628
- top = cur.bufferBase - cur.parent.bufferBase;
19629
- cur = cur.parent;
19630
- }
19631
- if (top > 0 && cur.buffer[top - 4] == 0 /* Term.Err */ && cur.buffer[top - 1] > -1) {
19653
+ var top = this.buffer.length;
19654
+ if (top > 0 && this.buffer[top - 4] == 0 /* Term.Err */ && this.buffer[top - 1] > -1) {
19632
19655
  if (start == end) return;
19633
- if (cur.buffer[top - 2] >= start) {
19634
- cur.buffer[top - 2] = end;
19656
+ if (this.buffer[top - 2] >= start) {
19657
+ this.buffer[top - 2] = end;
19635
19658
  return;
19636
19659
  }
19637
19660
  }
@@ -19640,7 +19663,7 @@ about the parse state.
19640
19663
  this.buffer.push(term, start, end, size);
19641
19664
  } else {
19642
19665
  var index = this.buffer.length;
19643
- if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */ ) {
19666
+ if (index > 0 && (this.buffer[index - 4] != 0 /* Term.Err */ || this.buffer[index - 1] < 0)) {
19644
19667
  var mustMove = false;
19645
19668
  for(var scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4){
19646
19669
  if (this.buffer[scan - 1] >= 0) {
@@ -19675,11 +19698,11 @@ about the parse state.
19675
19698
  this.pushState(action & 65535 /* Action.ValueMask */ , this.pos);
19676
19699
  } else if ((action & 262144 /* Action.StayFlag */ ) == 0) {
19677
19700
  var nextState = action, parser = this.p.parser;
19678
- if (end > this.pos || type <= parser.maxNode) {
19679
- this.pos = end;
19680
- if (!parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ )) this.reducePos = end;
19681
- }
19682
- this.pushState(nextState, start);
19701
+ this.pos = end;
19702
+ var skipped = parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ );
19703
+ // Skipped or zero-length non-tree tokens don't move reducePos
19704
+ if (!skipped && (end > start || type <= parser.maxNode)) this.reducePos = end;
19705
+ this.pushState(nextState, skipped ? start : Math.min(start, this.reducePos));
19683
19706
  this.shiftContext(type, start);
19684
19707
  if (type <= parser.maxNode) this.buffer.push(type, start, end, 4);
19685
19708
  } else {
@@ -19727,6 +19750,9 @@ about the parse state.
19727
19750
  value: function split() {
19728
19751
  var parent = this;
19729
19752
  var off = parent.buffer.length;
19753
+ // Leave off top error node, if there, because that might be
19754
+ // merged with other nodes.
19755
+ if (off && parent.buffer[off - 4] == 0 /* Term.Err */ ) off -= 4;
19730
19756
  // Because the top of the buffer (after this.pos) may be mutated
19731
19757
  // to reorder reductions and skipped tokens, and shared buffers
19732
19758
  // should be immutable, this copies any outstanding skipped tokens
@@ -19970,10 +19996,10 @@ about the parse state.
19970
19996
  @internal
19971
19997
  */ key: "setLookAhead",
19972
19998
  value: function setLookAhead(lookAhead) {
19973
- if (lookAhead > this.lookAhead) {
19974
- this.emitLookAhead();
19975
- this.lookAhead = lookAhead;
19976
- }
19999
+ if (lookAhead <= this.lookAhead) return false;
20000
+ this.emitLookAhead();
20001
+ this.lookAhead = lookAhead;
20002
+ return true;
19977
20003
  }
19978
20004
  },
19979
20005
  {
@@ -20866,7 +20892,12 @@ var Parse = /*#__PURE__*/ function() {
20866
20892
  }
20867
20893
  }
20868
20894
  }
20869
- if (newStacks.length > 12 /* Rec.MaxStackCount */ ) newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20895
+ if (newStacks.length > 12 /* Rec.MaxStackCount */ ) {
20896
+ newStacks.sort(function(a, b) {
20897
+ return b.score - a.score;
20898
+ });
20899
+ newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20900
+ }
20870
20901
  }
20871
20902
  this.minStackPos = newStacks[0].pos;
20872
20903
  for(var i2 = 1; i2 < newStacks.length; i2++)if (newStacks[i2].pos < this.minStackPos) this.minStackPos = newStacks[i2].pos;
@@ -20961,7 +20992,7 @@ var Parse = /*#__PURE__*/ function() {
20961
20992
  if (done) continue;
20962
20993
  }
20963
20994
  var force = stack.split(), forceBase = base;
20964
- for(var j = 0; force.forceReduce() && j < 10 /* Rec.ForceReduceLimit */ ; j++){
20995
+ for(var j = 0; j < 10 /* Rec.ForceReduceLimit */ && force.forceReduce(); j++){
20965
20996
  if (verbose) console.log(forceBase + this.stackID(force) + " (via force-reduce)");
20966
20997
  var done1 = this.advanceFully(force, newStacks);
20967
20998
  if (done1) break;
@@ -20996,8 +21027,8 @@ var Parse = /*#__PURE__*/ function() {
20996
21027
  stack.recoverByDelete(token, tokenEnd);
20997
21028
  if (verbose) console.log(base + this.stackID(stack) + " (via recover-delete ".concat(this.parser.getName(token), ")"));
20998
21029
  pushStackDedup(stack, newStacks);
20999
- } else if (!finished || finished.score < stack.score) {
21000
- finished = stack;
21030
+ } else if (!finished || finished.score < force.score) {
21031
+ finished = force;
21001
21032
  }
21002
21033
  }
21003
21034
  return finished;
@@ -21846,7 +21877,7 @@ must be quoted as JSON strings.
21846
21877
  For example:
21847
21878
 
21848
21879
  ```javascript
21849
- parser.withProps(
21880
+ parser.configure({props: [
21850
21881
  styleTags({
21851
21882
  // Style Number and BigNumber nodes
21852
21883
  "Number BigNumber": tags.number,
@@ -21861,7 +21892,7 @@ parser.withProps(
21861
21892
  // Style the node named "/" as punctuation
21862
21893
  '"/"': tags.punctuation
21863
21894
  })
21864
- )
21895
+ ]})
21865
21896
  ```
21866
21897
  */ function styleTags(spec) {
21867
21898
  var byName = Object.create(null);
@@ -21917,7 +21948,26 @@ parser.withProps(
21917
21948
  }
21918
21949
  return ruleNodeProp.add(byName);
21919
21950
  }
21920
- var ruleNodeProp = new NodeProp();
21951
+ var ruleNodeProp = new NodeProp({
21952
+ combine: function combine(a, b) {
21953
+ var cur, root, take;
21954
+ while(a || b){
21955
+ if (!a || b && a.depth >= b.depth) {
21956
+ take = b;
21957
+ b = b.next;
21958
+ } else {
21959
+ take = a;
21960
+ a = a.next;
21961
+ }
21962
+ if (cur && cur.mode == take.mode && !take.context && !cur.context) continue;
21963
+ var copy = new Rule$1(take.tags, take.mode, take.context);
21964
+ if (cur) cur.next = copy;
21965
+ else root = copy;
21966
+ cur = copy;
21967
+ }
21968
+ return root;
21969
+ }
21970
+ });
21921
21971
  var Rule$1 = /*#__PURE__*/ function() {
21922
21972
  function Rule(tags, mode, context, next) {
21923
21973
  _class_call_check$x(this, Rule);
@@ -22842,14 +22892,14 @@ function indent(str, spaces) {
22842
22892
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22843
22893
  // match is required
22844
22894
  if (!match) {
22845
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22895
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22846
22896
  v: nextMatch1
22847
22897
  };
22848
22898
  }
22849
22899
  var token = match.token, offset = match.offset;
22850
22900
  i1 += offset;
22851
22901
  if (token === ' ') {
22852
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22902
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22853
22903
  }
22854
22904
  tokens1 = _to_consumable_array$4(tokens1).concat([
22855
22905
  token
@@ -22868,7 +22918,7 @@ function indent(str, spaces) {
22868
22918
  if (contextKeys.some(function(el) {
22869
22919
  return el.startsWith(name);
22870
22920
  })) {
22871
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22921
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22872
22922
  }
22873
22923
  if (dateTimeIdentifiers.some(function(el) {
22874
22924
  return el === name;
@@ -22887,9 +22937,9 @@ function indent(str, spaces) {
22887
22937
  if (dateTimeIdentifiers.some(function(el) {
22888
22938
  return el.startsWith(name);
22889
22939
  })) {
22890
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22940
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22891
22941
  }
22892
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22942
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22893
22943
  v: nextMatch1
22894
22944
  };
22895
22945
  };
@@ -44393,7 +44443,7 @@ function _object_spread_props(target, source) {
44393
44443
  prefix: '_'
44394
44444
  })).join('').toLowerCase();
44395
44445
  }
44396
- const Handlebars = handlebars_min || HandlebarsNamespace;
44446
+ const Handlebars = handlebars_min_default || HandlebarsNamespace;
44397
44447
  Handlebars.registerHelper('JSONstringify', function(value) {
44398
44448
  return JSON.stringify(value);
44399
44449
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web",
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-web';
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,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PinsSettings } from '@digipair/engine';
2
- export declare const page: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
3
- //# sourceMappingURL=skill-web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skill-web.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4C,MAAM,kBAAkB,CAAC;AAuS1F,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACtB,CAAC"}