@digipair/skill-vespa 0.114.1 → 0.114.2

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.
Files changed (2) hide show
  1. package/dist/index.cjs.js +181 -189
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -4,13 +4,13 @@ var engine = require('@digipair/engine');
4
4
 
5
5
  /**
6
6
  * Interface for interacting with a document.
7
- */ function _class_call_check$F(instance, Constructor) {
7
+ */ function _class_call_check$G(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
12
  var Document = function Document(fields) {
13
- _class_call_check$F(this, Document);
13
+ _class_call_check$G(this, Document);
14
14
  Object.defineProperty(this, "pageContent", {
15
15
  enumerable: true,
16
16
  configurable: true,
@@ -287,7 +287,7 @@ function _assert_this_initialized$m(self) {
287
287
  }
288
288
  return self;
289
289
  }
290
- function _class_call_check$E(instance, Constructor) {
290
+ function _class_call_check$F(instance, Constructor) {
291
291
  if (!(instance instanceof Constructor)) {
292
292
  throw new TypeError("Cannot call a class as a function");
293
293
  }
@@ -309,7 +309,7 @@ function _construct$7(Parent, args, Class) {
309
309
  }
310
310
  return _construct$7.apply(null, arguments);
311
311
  }
312
- function _defineProperties$y(target, props) {
312
+ function _defineProperties$z(target, props) {
313
313
  for(var i = 0; i < props.length; i++){
314
314
  var descriptor = props[i];
315
315
  descriptor.enumerable = descriptor.enumerable || false;
@@ -318,9 +318,9 @@ function _defineProperties$y(target, props) {
318
318
  Object.defineProperty(target, descriptor.key, descriptor);
319
319
  }
320
320
  }
321
- function _create_class$y(Constructor, protoProps, staticProps) {
322
- if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
323
- if (staticProps) _defineProperties$y(Constructor, staticProps);
321
+ function _create_class$z(Constructor, protoProps, staticProps) {
322
+ if (protoProps) _defineProperties$z(Constructor.prototype, protoProps);
323
+ if (staticProps) _defineProperties$z(Constructor, staticProps);
324
324
  return Constructor;
325
325
  }
326
326
  function _get_prototype_of$m(o) {
@@ -458,7 +458,7 @@ var ZodError = /*#__PURE__*/ function _target(Error1) {
458
458
  _inherits$m(ZodError, Error1);
459
459
  var _super = _create_super$m(ZodError);
460
460
  function ZodError(issues) {
461
- _class_call_check$E(this, ZodError);
461
+ _class_call_check$F(this, ZodError);
462
462
  var _this;
463
463
  _this = _super.call(this);
464
464
  _this.issues = [];
@@ -482,7 +482,7 @@ var ZodError = /*#__PURE__*/ function _target(Error1) {
482
482
  _this.issues = issues;
483
483
  return _this;
484
484
  }
485
- _create_class$y(ZodError, [
485
+ _create_class$z(ZodError, [
486
486
  {
487
487
  key: "errors",
488
488
  get: function get() {
@@ -776,12 +776,12 @@ function _async_to_generator$q(fn) {
776
776
  });
777
777
  };
778
778
  }
779
- function _class_call_check$D(instance, Constructor) {
779
+ function _class_call_check$E(instance, Constructor) {
780
780
  if (!(instance instanceof Constructor)) {
781
781
  throw new TypeError("Cannot call a class as a function");
782
782
  }
783
783
  }
784
- function _defineProperties$x(target, props) {
784
+ function _defineProperties$y(target, props) {
785
785
  for(var i = 0; i < props.length; i++){
786
786
  var descriptor = props[i];
787
787
  descriptor.enumerable = descriptor.enumerable || false;
@@ -790,9 +790,9 @@ function _defineProperties$x(target, props) {
790
790
  Object.defineProperty(target, descriptor.key, descriptor);
791
791
  }
792
792
  }
793
- function _create_class$x(Constructor, protoProps, staticProps) {
794
- if (protoProps) _defineProperties$x(Constructor.prototype, protoProps);
795
- if (staticProps) _defineProperties$x(Constructor, staticProps);
793
+ function _create_class$y(Constructor, protoProps, staticProps) {
794
+ if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
795
+ if (staticProps) _defineProperties$y(Constructor, staticProps);
796
796
  return Constructor;
797
797
  }
798
798
  function _define_property$N(obj, key, value) {
@@ -1024,10 +1024,10 @@ function addIssueToContext(ctx, issueData) {
1024
1024
  }
1025
1025
  var ParseStatus = /*#__PURE__*/ function() {
1026
1026
  function ParseStatus() {
1027
- _class_call_check$D(this, ParseStatus);
1027
+ _class_call_check$E(this, ParseStatus);
1028
1028
  this.value = "valid";
1029
1029
  }
1030
- _create_class$x(ParseStatus, [
1030
+ _create_class$y(ParseStatus, [
1031
1031
  {
1032
1032
  key: "dirty",
1033
1033
  value: function dirty() {
@@ -1285,12 +1285,12 @@ function _async_to_generator$p(fn) {
1285
1285
  });
1286
1286
  };
1287
1287
  }
1288
- function _class_call_check$C(instance, Constructor) {
1288
+ function _class_call_check$D(instance, Constructor) {
1289
1289
  if (!(instance instanceof Constructor)) {
1290
1290
  throw new TypeError("Cannot call a class as a function");
1291
1291
  }
1292
1292
  }
1293
- function _defineProperties$w(target, props) {
1293
+ function _defineProperties$x(target, props) {
1294
1294
  for(var i = 0; i < props.length; i++){
1295
1295
  var descriptor = props[i];
1296
1296
  descriptor.enumerable = descriptor.enumerable || false;
@@ -1299,9 +1299,9 @@ function _defineProperties$w(target, props) {
1299
1299
  Object.defineProperty(target, descriptor.key, descriptor);
1300
1300
  }
1301
1301
  }
1302
- function _create_class$w(Constructor, protoProps, staticProps) {
1303
- if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
1304
- if (staticProps) _defineProperties$w(Constructor, staticProps);
1302
+ function _create_class$x(Constructor, protoProps, staticProps) {
1303
+ if (protoProps) _defineProperties$x(Constructor.prototype, protoProps);
1304
+ if (staticProps) _defineProperties$x(Constructor, staticProps);
1305
1305
  return Constructor;
1306
1306
  }
1307
1307
  function _define_property$M(obj, key, value) {
@@ -1562,14 +1562,14 @@ function _ts_generator$q(thisArg, body) {
1562
1562
  }
1563
1563
  var ParseInputLazyPath = /*#__PURE__*/ function() {
1564
1564
  function ParseInputLazyPath(parent, value, path, key) {
1565
- _class_call_check$C(this, ParseInputLazyPath);
1565
+ _class_call_check$D(this, ParseInputLazyPath);
1566
1566
  this._cachedPath = [];
1567
1567
  this.parent = parent;
1568
1568
  this.data = value;
1569
1569
  this._path = path;
1570
1570
  this._key = key;
1571
1571
  }
1572
- _create_class$w(ParseInputLazyPath, [
1572
+ _create_class$x(ParseInputLazyPath, [
1573
1573
  {
1574
1574
  key: "path",
1575
1575
  get: function get() {
@@ -1650,7 +1650,7 @@ function processCreateParams(params) {
1650
1650
  var ZodType = /*#__PURE__*/ function() {
1651
1651
  function ZodType(def) {
1652
1652
  var _this = this;
1653
- _class_call_check$C(this, ZodType);
1653
+ _class_call_check$D(this, ZodType);
1654
1654
  /** Alias of safeParseAsync */ this.spa = this.safeParseAsync;
1655
1655
  this._def = def;
1656
1656
  this.parse = this.parse.bind(this);
@@ -1685,7 +1685,7 @@ var ZodType = /*#__PURE__*/ function() {
1685
1685
  }
1686
1686
  };
1687
1687
  }
1688
- _create_class$w(ZodType, [
1688
+ _create_class$x(ZodType, [
1689
1689
  {
1690
1690
  key: "description",
1691
1691
  get: function get() {
@@ -2199,10 +2199,10 @@ var ZodString = /*#__PURE__*/ function(ZodType) {
2199
2199
  _inherits$l(ZodString, ZodType);
2200
2200
  var _super = _create_super$l(ZodString);
2201
2201
  function ZodString() {
2202
- _class_call_check$C(this, ZodString);
2202
+ _class_call_check$D(this, ZodString);
2203
2203
  return _super.apply(this, arguments);
2204
2204
  }
2205
- _create_class$w(ZodString, [
2205
+ _create_class$x(ZodString, [
2206
2206
  {
2207
2207
  key: "_parse",
2208
2208
  value: function _parse(input) {
@@ -3024,7 +3024,7 @@ var ZodAny = /*#__PURE__*/ function(ZodType) {
3024
3024
  _inherits$l(ZodAny, ZodType);
3025
3025
  var _super = _create_super$l(ZodAny);
3026
3026
  function ZodAny() {
3027
- _class_call_check$C(this, ZodAny);
3027
+ _class_call_check$D(this, ZodAny);
3028
3028
  var _this;
3029
3029
  _this = _super.call.apply(_super, [
3030
3030
  this
@@ -3033,7 +3033,7 @@ var ZodAny = /*#__PURE__*/ function(ZodType) {
3033
3033
  _this._any = true;
3034
3034
  return _this;
3035
3035
  }
3036
- _create_class$w(ZodAny, [
3036
+ _create_class$x(ZodAny, [
3037
3037
  {
3038
3038
  key: "_parse",
3039
3039
  value: function _parse(input) {
@@ -3052,10 +3052,10 @@ var ZodNever = /*#__PURE__*/ function(ZodType) {
3052
3052
  _inherits$l(ZodNever, ZodType);
3053
3053
  var _super = _create_super$l(ZodNever);
3054
3054
  function ZodNever() {
3055
- _class_call_check$C(this, ZodNever);
3055
+ _class_call_check$D(this, ZodNever);
3056
3056
  return _super.apply(this, arguments);
3057
3057
  }
3058
- _create_class$w(ZodNever, [
3058
+ _create_class$x(ZodNever, [
3059
3059
  {
3060
3060
  key: "_parse",
3061
3061
  value: function _parse(input) {
@@ -3080,10 +3080,10 @@ var ZodArray = /*#__PURE__*/ function(ZodType) {
3080
3080
  _inherits$l(ZodArray, ZodType);
3081
3081
  var _super = _create_super$l(ZodArray);
3082
3082
  function ZodArray() {
3083
- _class_call_check$C(this, ZodArray);
3083
+ _class_call_check$D(this, ZodArray);
3084
3084
  return _super.apply(this, arguments);
3085
3085
  }
3086
- _create_class$w(ZodArray, [
3086
+ _create_class$x(ZodArray, [
3087
3087
  {
3088
3088
  key: "_parse",
3089
3089
  value: function _parse(input) {
@@ -3241,7 +3241,7 @@ var ZodObject = /*#__PURE__*/ function(ZodType) {
3241
3241
  _inherits$l(ZodObject, ZodType);
3242
3242
  var _super = _create_super$l(ZodObject);
3243
3243
  function ZodObject() {
3244
- _class_call_check$C(this, ZodObject);
3244
+ _class_call_check$D(this, ZodObject);
3245
3245
  var _this;
3246
3246
  _this = _super.call.apply(_super, [
3247
3247
  this
@@ -3289,7 +3289,7 @@ var ZodObject = /*#__PURE__*/ function(ZodType) {
3289
3289
  * */ _this.augment = _this.extend;
3290
3290
  return _this;
3291
3291
  }
3292
- _create_class$w(ZodObject, [
3292
+ _create_class$x(ZodObject, [
3293
3293
  {
3294
3294
  key: "_getCached",
3295
3295
  value: function _getCached() {
@@ -3874,10 +3874,10 @@ var ZodUnion = /*#__PURE__*/ function(ZodType) {
3874
3874
  _inherits$l(ZodUnion, ZodType);
3875
3875
  var _super = _create_super$l(ZodUnion);
3876
3876
  function ZodUnion() {
3877
- _class_call_check$C(this, ZodUnion);
3877
+ _class_call_check$D(this, ZodUnion);
3878
3878
  return _super.apply(this, arguments);
3879
3879
  }
3880
- _create_class$w(ZodUnion, [
3880
+ _create_class$x(ZodUnion, [
3881
3881
  {
3882
3882
  key: "_parse",
3883
3883
  value: function _parse(input) {
@@ -4132,10 +4132,10 @@ var ZodIntersection = /*#__PURE__*/ function(ZodType) {
4132
4132
  _inherits$l(ZodIntersection, ZodType);
4133
4133
  var _super = _create_super$l(ZodIntersection);
4134
4134
  function ZodIntersection() {
4135
- _class_call_check$C(this, ZodIntersection);
4135
+ _class_call_check$D(this, ZodIntersection);
4136
4136
  return _super.apply(this, arguments);
4137
4137
  }
4138
- _create_class$w(ZodIntersection, [
4138
+ _create_class$x(ZodIntersection, [
4139
4139
  {
4140
4140
  key: "_parse",
4141
4141
  value: function _parse(input) {
@@ -4203,10 +4203,10 @@ var ZodTuple = /*#__PURE__*/ function(ZodType) {
4203
4203
  _inherits$l(ZodTuple, ZodType);
4204
4204
  var _super = _create_super$l(ZodTuple);
4205
4205
  function ZodTuple() {
4206
- _class_call_check$C(this, ZodTuple);
4206
+ _class_call_check$D(this, ZodTuple);
4207
4207
  return _super.apply(this, arguments);
4208
4208
  }
4209
- _create_class$w(ZodTuple, [
4209
+ _create_class$x(ZodTuple, [
4210
4210
  {
4211
4211
  key: "_parse",
4212
4212
  value: function _parse(input) {
@@ -4294,10 +4294,10 @@ var ZodEnum = /*#__PURE__*/ function(ZodType) {
4294
4294
  _inherits$l(ZodEnum, ZodType);
4295
4295
  var _super = _create_super$l(ZodEnum);
4296
4296
  function ZodEnum() {
4297
- _class_call_check$C(this, ZodEnum);
4297
+ _class_call_check$D(this, ZodEnum);
4298
4298
  return _super.apply(this, arguments);
4299
4299
  }
4300
- _create_class$w(ZodEnum, [
4300
+ _create_class$x(ZodEnum, [
4301
4301
  {
4302
4302
  key: "_parse",
4303
4303
  value: function _parse(input) {
@@ -4438,10 +4438,10 @@ var ZodPromise = /*#__PURE__*/ function(ZodType) {
4438
4438
  _inherits$l(ZodPromise, ZodType);
4439
4439
  var _super = _create_super$l(ZodPromise);
4440
4440
  function ZodPromise() {
4441
- _class_call_check$C(this, ZodPromise);
4441
+ _class_call_check$D(this, ZodPromise);
4442
4442
  return _super.apply(this, arguments);
4443
4443
  }
4444
- _create_class$w(ZodPromise, [
4444
+ _create_class$x(ZodPromise, [
4445
4445
  {
4446
4446
  key: "unwrap",
4447
4447
  value: function unwrap() {
@@ -4483,10 +4483,10 @@ var ZodEffects = /*#__PURE__*/ function(ZodType) {
4483
4483
  _inherits$l(ZodEffects, ZodType);
4484
4484
  var _super = _create_super$l(ZodEffects);
4485
4485
  function ZodEffects() {
4486
- _class_call_check$C(this, ZodEffects);
4486
+ _class_call_check$D(this, ZodEffects);
4487
4487
  return _super.apply(this, arguments);
4488
4488
  }
4489
- _create_class$w(ZodEffects, [
4489
+ _create_class$x(ZodEffects, [
4490
4490
  {
4491
4491
  key: "innerType",
4492
4492
  value: function innerType() {
@@ -4679,10 +4679,10 @@ var ZodOptional = /*#__PURE__*/ function(ZodType) {
4679
4679
  _inherits$l(ZodOptional, ZodType);
4680
4680
  var _super = _create_super$l(ZodOptional);
4681
4681
  function ZodOptional() {
4682
- _class_call_check$C(this, ZodOptional);
4682
+ _class_call_check$D(this, ZodOptional);
4683
4683
  return _super.apply(this, arguments);
4684
4684
  }
4685
- _create_class$w(ZodOptional, [
4685
+ _create_class$x(ZodOptional, [
4686
4686
  {
4687
4687
  key: "_parse",
4688
4688
  value: function _parse(input) {
@@ -4712,10 +4712,10 @@ var ZodNullable = /*#__PURE__*/ function(ZodType) {
4712
4712
  _inherits$l(ZodNullable, ZodType);
4713
4713
  var _super = _create_super$l(ZodNullable);
4714
4714
  function ZodNullable() {
4715
- _class_call_check$C(this, ZodNullable);
4715
+ _class_call_check$D(this, ZodNullable);
4716
4716
  return _super.apply(this, arguments);
4717
4717
  }
4718
- _create_class$w(ZodNullable, [
4718
+ _create_class$x(ZodNullable, [
4719
4719
  {
4720
4720
  key: "_parse",
4721
4721
  value: function _parse(input) {
@@ -4745,10 +4745,10 @@ var ZodDefault = /*#__PURE__*/ function(ZodType) {
4745
4745
  _inherits$l(ZodDefault, ZodType);
4746
4746
  var _super = _create_super$l(ZodDefault);
4747
4747
  function ZodDefault() {
4748
- _class_call_check$C(this, ZodDefault);
4748
+ _class_call_check$D(this, ZodDefault);
4749
4749
  return _super.apply(this, arguments);
4750
4750
  }
4751
- _create_class$w(ZodDefault, [
4751
+ _create_class$x(ZodDefault, [
4752
4752
  {
4753
4753
  key: "_parse",
4754
4754
  value: function _parse(input) {
@@ -4786,10 +4786,10 @@ var ZodCatch = /*#__PURE__*/ function(ZodType) {
4786
4786
  _inherits$l(ZodCatch, ZodType);
4787
4787
  var _super = _create_super$l(ZodCatch);
4788
4788
  function ZodCatch() {
4789
- _class_call_check$C(this, ZodCatch);
4789
+ _class_call_check$D(this, ZodCatch);
4790
4790
  return _super.apply(this, arguments);
4791
4791
  }
4792
- _create_class$w(ZodCatch, [
4792
+ _create_class$x(ZodCatch, [
4793
4793
  {
4794
4794
  key: "_parse",
4795
4795
  value: function _parse(input) {
@@ -4853,10 +4853,10 @@ var ZodBranded = /*#__PURE__*/ function(ZodType) {
4853
4853
  _inherits$l(ZodBranded, ZodType);
4854
4854
  var _super = _create_super$l(ZodBranded);
4855
4855
  function ZodBranded() {
4856
- _class_call_check$C(this, ZodBranded);
4856
+ _class_call_check$D(this, ZodBranded);
4857
4857
  return _super.apply(this, arguments);
4858
4858
  }
4859
- _create_class$w(ZodBranded, [
4859
+ _create_class$x(ZodBranded, [
4860
4860
  {
4861
4861
  key: "_parse",
4862
4862
  value: function _parse(input) {
@@ -4882,10 +4882,10 @@ var ZodPipeline = /*#__PURE__*/ function(ZodType) {
4882
4882
  _inherits$l(ZodPipeline, ZodType);
4883
4883
  var _super = _create_super$l(ZodPipeline);
4884
4884
  function ZodPipeline() {
4885
- _class_call_check$C(this, ZodPipeline);
4885
+ _class_call_check$D(this, ZodPipeline);
4886
4886
  return _super.apply(this, arguments);
4887
4887
  }
4888
- _create_class$w(ZodPipeline, [
4888
+ _create_class$x(ZodPipeline, [
4889
4889
  {
4890
4890
  key: "_parse",
4891
4891
  value: function _parse(input) {
@@ -4977,10 +4977,10 @@ var ZodReadonly = /*#__PURE__*/ function(ZodType) {
4977
4977
  _inherits$l(ZodReadonly, ZodType);
4978
4978
  var _super = _create_super$l(ZodReadonly);
4979
4979
  function ZodReadonly() {
4980
- _class_call_check$C(this, ZodReadonly);
4980
+ _class_call_check$D(this, ZodReadonly);
4981
4981
  return _super.apply(this, arguments);
4982
4982
  }
4983
- _create_class$w(ZodReadonly, [
4983
+ _create_class$x(ZodReadonly, [
4984
4984
  {
4985
4985
  key: "_parse",
4986
4986
  value: function _parse(input) {
@@ -5342,7 +5342,7 @@ function _async_to_generator$o(fn) {
5342
5342
  });
5343
5343
  };
5344
5344
  }
5345
- function _class_call_check$B(instance, Constructor) {
5345
+ function _class_call_check$C(instance, Constructor) {
5346
5346
  if (!(instance instanceof Constructor)) {
5347
5347
  throw new TypeError("Cannot call a class as a function");
5348
5348
  }
@@ -5594,7 +5594,7 @@ var AbortError = /*#__PURE__*/ function(Error1) {
5594
5594
  _inherits$k(AbortError, Error1);
5595
5595
  var _super = _create_super$k(AbortError);
5596
5596
  function AbortError(message) {
5597
- _class_call_check$B(this, AbortError);
5597
+ _class_call_check$C(this, AbortError);
5598
5598
  var _this;
5599
5599
  _this = _super.call(this);
5600
5600
  if (_instanceof$g(message, Error)) {
@@ -5984,12 +5984,12 @@ function sha1(bytes) {
5984
5984
 
5985
5985
  var v5 = v35('v5', 0x50, sha1);
5986
5986
 
5987
- function _class_call_check$A(instance, Constructor) {
5987
+ function _class_call_check$B(instance, Constructor) {
5988
5988
  if (!(instance instanceof Constructor)) {
5989
5989
  throw new TypeError("Cannot call a class as a function");
5990
5990
  }
5991
5991
  }
5992
- function _defineProperties$v(target, props) {
5992
+ function _defineProperties$w(target, props) {
5993
5993
  for(var i = 0; i < props.length; i++){
5994
5994
  var descriptor = props[i];
5995
5995
  descriptor.enumerable = descriptor.enumerable || false;
@@ -5998,15 +5998,15 @@ function _defineProperties$v(target, props) {
5998
5998
  Object.defineProperty(target, descriptor.key, descriptor);
5999
5999
  }
6000
6000
  }
6001
- function _create_class$v(Constructor, protoProps, staticProps) {
6002
- if (protoProps) _defineProperties$v(Constructor.prototype, protoProps);
6001
+ function _create_class$w(Constructor, protoProps, staticProps) {
6002
+ if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
6003
6003
  return Constructor;
6004
6004
  }
6005
6005
  var MockAsyncLocalStorage$1 = /*#__PURE__*/ function() {
6006
6006
  function MockAsyncLocalStorage() {
6007
- _class_call_check$A(this, MockAsyncLocalStorage);
6007
+ _class_call_check$B(this, MockAsyncLocalStorage);
6008
6008
  }
6009
- _create_class$v(MockAsyncLocalStorage, [
6009
+ _create_class$w(MockAsyncLocalStorage, [
6010
6010
  {
6011
6011
  key: "getStore",
6012
6012
  value: function getStore() {
@@ -6026,9 +6026,9 @@ var TRACING_ALS_KEY$1 = Symbol.for("ls:tracing_async_local_storage");
6026
6026
  var mockAsyncLocalStorage$1 = new MockAsyncLocalStorage$1();
6027
6027
  var AsyncLocalStorageProvider$1 = /*#__PURE__*/ function() {
6028
6028
  function AsyncLocalStorageProvider() {
6029
- _class_call_check$A(this, AsyncLocalStorageProvider);
6029
+ _class_call_check$B(this, AsyncLocalStorageProvider);
6030
6030
  }
6031
- _create_class$v(AsyncLocalStorageProvider, [
6031
+ _create_class$w(AsyncLocalStorageProvider, [
6032
6032
  {
6033
6033
  key: "getInstance",
6034
6034
  value: function getInstance() {
@@ -6075,7 +6075,7 @@ function isTraceableFunction(x) {
6075
6075
  }
6076
6076
  return self;
6077
6077
  }
6078
- function _class_call_check$z(instance, Constructor) {
6078
+ function _class_call_check$A(instance, Constructor) {
6079
6079
  if (!(instance instanceof Constructor)) {
6080
6080
  throw new TypeError("Cannot call a class as a function");
6081
6081
  }
@@ -6302,7 +6302,7 @@ var PatchError = /*#__PURE__*/ function _target(Error1) {
6302
6302
  _inherits$j(PatchError, Error1);
6303
6303
  var _super = _create_super$j(PatchError);
6304
6304
  function PatchError(message, name, index, operation, tree) {
6305
- _class_call_check$z(this, PatchError);
6305
+ _class_call_check$A(this, PatchError);
6306
6306
  var _this;
6307
6307
  _this = _super.call(this, patchErrorMessageFormatter(message, {
6308
6308
  name: name,
@@ -7439,12 +7439,12 @@ function getOtelEnabled() {
7439
7439
  }
7440
7440
 
7441
7441
  // Should not import any OTEL packages to avoid pulling in optional deps.
7442
- function _class_call_check$y(instance, Constructor) {
7442
+ function _class_call_check$z(instance, Constructor) {
7443
7443
  if (!(instance instanceof Constructor)) {
7444
7444
  throw new TypeError("Cannot call a class as a function");
7445
7445
  }
7446
7446
  }
7447
- function _defineProperties$u(target, props) {
7447
+ function _defineProperties$v(target, props) {
7448
7448
  for(var i = 0; i < props.length; i++){
7449
7449
  var descriptor = props[i];
7450
7450
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7453,13 +7453,13 @@ function _defineProperties$u(target, props) {
7453
7453
  Object.defineProperty(target, descriptor.key, descriptor);
7454
7454
  }
7455
7455
  }
7456
- function _create_class$u(Constructor, protoProps, staticProps) {
7457
- if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
7456
+ function _create_class$v(Constructor, protoProps, staticProps) {
7457
+ if (protoProps) _defineProperties$v(Constructor.prototype, protoProps);
7458
7458
  return Constructor;
7459
7459
  }
7460
7460
  var MockTracer = /*#__PURE__*/ function() {
7461
7461
  function MockTracer() {
7462
- _class_call_check$y(this, MockTracer);
7462
+ _class_call_check$z(this, MockTracer);
7463
7463
  Object.defineProperty(this, "hasWarned", {
7464
7464
  enumerable: true,
7465
7465
  configurable: true,
@@ -7467,7 +7467,7 @@ var MockTracer = /*#__PURE__*/ function() {
7467
7467
  value: false
7468
7468
  });
7469
7469
  }
7470
- _create_class$u(MockTracer, [
7470
+ _create_class$v(MockTracer, [
7471
7471
  {
7472
7472
  key: "startActiveSpan",
7473
7473
  value: function startActiveSpan(_name) {
@@ -7501,7 +7501,7 @@ var MockTracer = /*#__PURE__*/ function() {
7501
7501
  }();
7502
7502
  var MockOTELTrace = /*#__PURE__*/ function() {
7503
7503
  function MockOTELTrace() {
7504
- _class_call_check$y(this, MockOTELTrace);
7504
+ _class_call_check$z(this, MockOTELTrace);
7505
7505
  Object.defineProperty(this, "mockTracer", {
7506
7506
  enumerable: true,
7507
7507
  configurable: true,
@@ -7509,7 +7509,7 @@ var MockOTELTrace = /*#__PURE__*/ function() {
7509
7509
  value: new MockTracer()
7510
7510
  });
7511
7511
  }
7512
- _create_class$u(MockOTELTrace, [
7512
+ _create_class$v(MockOTELTrace, [
7513
7513
  {
7514
7514
  key: "getTracer",
7515
7515
  value: function getTracer(_name, _version) {
@@ -7557,9 +7557,9 @@ var MockOTELTrace = /*#__PURE__*/ function() {
7557
7557
  }();
7558
7558
  var MockOTELContext = /*#__PURE__*/ function() {
7559
7559
  function MockOTELContext() {
7560
- _class_call_check$y(this, MockOTELContext);
7560
+ _class_call_check$z(this, MockOTELContext);
7561
7561
  }
7562
- _create_class$u(MockOTELContext, [
7562
+ _create_class$v(MockOTELContext, [
7563
7563
  {
7564
7564
  key: "active",
7565
7565
  value: function active() {
@@ -7582,9 +7582,9 @@ var mockOTELTrace = new MockOTELTrace();
7582
7582
  var mockOTELContext = new MockOTELContext();
7583
7583
  var OTELProvider = /*#__PURE__*/ function() {
7584
7584
  function OTELProvider() {
7585
- _class_call_check$y(this, OTELProvider);
7585
+ _class_call_check$z(this, OTELProvider);
7586
7586
  }
7587
- _create_class$u(OTELProvider, [
7587
+ _create_class$v(OTELProvider, [
7588
7588
  {
7589
7589
  key: "getTraceInstance",
7590
7590
  value: function getTraceInstance() {
@@ -7661,12 +7661,12 @@ function _array_like_to_array$F(arr, len) {
7661
7661
  function _array_with_holes$g(arr) {
7662
7662
  if (Array.isArray(arr)) return arr;
7663
7663
  }
7664
- function _class_call_check$x(instance, Constructor) {
7664
+ function _class_call_check$y(instance, Constructor) {
7665
7665
  if (!(instance instanceof Constructor)) {
7666
7666
  throw new TypeError("Cannot call a class as a function");
7667
7667
  }
7668
7668
  }
7669
- function _defineProperties$t(target, props) {
7669
+ function _defineProperties$u(target, props) {
7670
7670
  for(var i = 0; i < props.length; i++){
7671
7671
  var descriptor = props[i];
7672
7672
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7675,8 +7675,8 @@ function _defineProperties$t(target, props) {
7675
7675
  Object.defineProperty(target, descriptor.key, descriptor);
7676
7676
  }
7677
7677
  }
7678
- function _create_class$t(Constructor, protoProps, staticProps) {
7679
- if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
7678
+ function _create_class$u(Constructor, protoProps, staticProps) {
7679
+ if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
7680
7680
  return Constructor;
7681
7681
  }
7682
7682
  function _iterable_to_array_limit$g(arr, i) {
@@ -7733,7 +7733,7 @@ function getOperationName(runType) {
7733
7733
  }
7734
7734
  var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
7735
7735
  function LangSmithToOTELTranslator() {
7736
- _class_call_check$x(this, LangSmithToOTELTranslator);
7736
+ _class_call_check$y(this, LangSmithToOTELTranslator);
7737
7737
  Object.defineProperty(this, "spans", {
7738
7738
  enumerable: true,
7739
7739
  configurable: true,
@@ -7741,7 +7741,7 @@ var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
7741
7741
  value: new Map()
7742
7742
  });
7743
7743
  }
7744
- _create_class$t(LangSmithToOTELTranslator, [
7744
+ _create_class$u(LangSmithToOTELTranslator, [
7745
7745
  {
7746
7746
  key: "exportBatch",
7747
7747
  value: function exportBatch(operations, otelContextMap) {
@@ -8525,7 +8525,7 @@ function _assert_this_initialized$i(self) {
8525
8525
  }
8526
8526
  return self;
8527
8527
  }
8528
- function _class_call_check$w(instance, Constructor) {
8528
+ function _class_call_check$x(instance, Constructor) {
8529
8529
  if (!(instance instanceof Constructor)) {
8530
8530
  throw new TypeError("Cannot call a class as a function");
8531
8531
  }
@@ -8648,7 +8648,7 @@ var TimeoutError = /*#__PURE__*/ function(Error1) {
8648
8648
  _inherits$i(TimeoutError, Error1);
8649
8649
  var _super = _create_super$i(TimeoutError);
8650
8650
  function TimeoutError(message) {
8651
- _class_call_check$w(this, TimeoutError);
8651
+ _class_call_check$x(this, TimeoutError);
8652
8652
  var _this;
8653
8653
  _this = _super.call(this, message);
8654
8654
  _this.name = 'TimeoutError';
@@ -8721,12 +8721,12 @@ function lowerBound(array, value, comparator) {
8721
8721
  }
8722
8722
  lowerBound$1.default = lowerBound;
8723
8723
 
8724
- function _class_call_check$v(instance, Constructor) {
8724
+ function _class_call_check$w(instance, Constructor) {
8725
8725
  if (!(instance instanceof Constructor)) {
8726
8726
  throw new TypeError("Cannot call a class as a function");
8727
8727
  }
8728
8728
  }
8729
- function _defineProperties$s(target, props) {
8729
+ function _defineProperties$t(target, props) {
8730
8730
  for(var i = 0; i < props.length; i++){
8731
8731
  var descriptor = props[i];
8732
8732
  descriptor.enumerable = descriptor.enumerable || false;
@@ -8735,8 +8735,8 @@ function _defineProperties$s(target, props) {
8735
8735
  Object.defineProperty(target, descriptor.key, descriptor);
8736
8736
  }
8737
8737
  }
8738
- function _create_class$s(Constructor, protoProps, staticProps) {
8739
- if (protoProps) _defineProperties$s(Constructor.prototype, protoProps);
8738
+ function _create_class$t(Constructor, protoProps, staticProps) {
8739
+ if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
8740
8740
  return Constructor;
8741
8741
  }
8742
8742
  Object.defineProperty(priorityQueue, "__esModule", {
@@ -8745,10 +8745,10 @@ Object.defineProperty(priorityQueue, "__esModule", {
8745
8745
  var lower_bound_1 = lowerBound$1;
8746
8746
  var PriorityQueue = /*#__PURE__*/ function() {
8747
8747
  function PriorityQueue() {
8748
- _class_call_check$v(this, PriorityQueue);
8748
+ _class_call_check$w(this, PriorityQueue);
8749
8749
  this._queue = [];
8750
8750
  }
8751
- _create_class$s(PriorityQueue, [
8751
+ _create_class$t(PriorityQueue, [
8752
8752
  {
8753
8753
  key: "enqueue",
8754
8754
  value: function enqueue(run, options) {
@@ -8832,12 +8832,12 @@ function _async_to_generator$m(fn) {
8832
8832
  });
8833
8833
  };
8834
8834
  }
8835
- function _class_call_check$u(instance, Constructor) {
8835
+ function _class_call_check$v(instance, Constructor) {
8836
8836
  if (!(instance instanceof Constructor)) {
8837
8837
  throw new TypeError("Cannot call a class as a function");
8838
8838
  }
8839
8839
  }
8840
- function _defineProperties$r(target, props) {
8840
+ function _defineProperties$s(target, props) {
8841
8841
  for(var i = 0; i < props.length; i++){
8842
8842
  var descriptor = props[i];
8843
8843
  descriptor.enumerable = descriptor.enumerable || false;
@@ -8846,8 +8846,8 @@ function _defineProperties$r(target, props) {
8846
8846
  Object.defineProperty(target, descriptor.key, descriptor);
8847
8847
  }
8848
8848
  }
8849
- function _create_class$r(Constructor, protoProps, staticProps) {
8850
- if (protoProps) _defineProperties$r(Constructor.prototype, protoProps);
8849
+ function _create_class$s(Constructor, protoProps, staticProps) {
8850
+ if (protoProps) _defineProperties$s(Constructor.prototype, protoProps);
8851
8851
  return Constructor;
8852
8852
  }
8853
8853
  function _get_prototype_of$h(o) {
@@ -9020,7 +9020,7 @@ Promise queue with concurrency control.
9020
9020
  _inherits$h(PQueue, EventEmitter);
9021
9021
  var _super = _create_super$h(PQueue);
9022
9022
  function PQueue(options) {
9023
- _class_call_check$u(this, PQueue);
9023
+ _class_call_check$v(this, PQueue);
9024
9024
  var _this;
9025
9025
  var _a, _b, _c, _d;
9026
9026
  _this = _super.call(this);
@@ -9056,7 +9056,7 @@ Promise queue with concurrency control.
9056
9056
  _this._isPaused = options.autoStart === false;
9057
9057
  return _this;
9058
9058
  }
9059
- _create_class$r(PQueue, [
9059
+ _create_class$s(PQueue, [
9060
9060
  {
9061
9061
  key: "_doesIntervalAllowAnother",
9062
9062
  get: function get() {
@@ -9479,12 +9479,12 @@ function _async_to_generator$l(fn) {
9479
9479
  });
9480
9480
  };
9481
9481
  }
9482
- function _class_call_check$t(instance, Constructor) {
9482
+ function _class_call_check$u(instance, Constructor) {
9483
9483
  if (!(instance instanceof Constructor)) {
9484
9484
  throw new TypeError("Cannot call a class as a function");
9485
9485
  }
9486
9486
  }
9487
- function _defineProperties$q(target, props) {
9487
+ function _defineProperties$r(target, props) {
9488
9488
  for(var i = 0; i < props.length; i++){
9489
9489
  var descriptor = props[i];
9490
9490
  descriptor.enumerable = descriptor.enumerable || false;
@@ -9493,8 +9493,8 @@ function _defineProperties$q(target, props) {
9493
9493
  Object.defineProperty(target, descriptor.key, descriptor);
9494
9494
  }
9495
9495
  }
9496
- function _create_class$q(Constructor, protoProps, staticProps) {
9497
- if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
9496
+ function _create_class$r(Constructor, protoProps, staticProps) {
9497
+ if (protoProps) _defineProperties$r(Constructor.prototype, protoProps);
9498
9498
  return Constructor;
9499
9499
  }
9500
9500
  function _instanceof$c(left, right) {
@@ -9637,7 +9637,7 @@ var STATUS_RETRYABLE = [
9637
9637
  * exponential backoff between each attempt.
9638
9638
  */ var AsyncCaller$1 = /*#__PURE__*/ function() {
9639
9639
  function AsyncCaller(params) {
9640
- _class_call_check$t(this, AsyncCaller);
9640
+ _class_call_check$u(this, AsyncCaller);
9641
9641
  Object.defineProperty(this, "maxConcurrency", {
9642
9642
  enumerable: true,
9643
9643
  configurable: true,
@@ -9679,7 +9679,7 @@ var STATUS_RETRYABLE = [
9679
9679
  }
9680
9680
  this.onFailedResponseHook = params === null || params === void 0 ? void 0 : params.onFailedResponseHook;
9681
9681
  }
9682
- _create_class$q(AsyncCaller, [
9682
+ _create_class$r(AsyncCaller, [
9683
9683
  {
9684
9684
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9685
9685
  key: "call",
@@ -10174,12 +10174,12 @@ var identifiers$1 = {
10174
10174
  rcompareIdentifiers: rcompareIdentifiers
10175
10175
  };
10176
10176
 
10177
- function _class_call_check$s(instance, Constructor) {
10177
+ function _class_call_check$t(instance, Constructor) {
10178
10178
  if (!(instance instanceof Constructor)) {
10179
10179
  throw new TypeError("Cannot call a class as a function");
10180
10180
  }
10181
10181
  }
10182
- function _defineProperties$p(target, props) {
10182
+ function _defineProperties$q(target, props) {
10183
10183
  for(var i = 0; i < props.length; i++){
10184
10184
  var descriptor = props[i];
10185
10185
  descriptor.enumerable = descriptor.enumerable || false;
@@ -10188,8 +10188,8 @@ function _defineProperties$p(target, props) {
10188
10188
  Object.defineProperty(target, descriptor.key, descriptor);
10189
10189
  }
10190
10190
  }
10191
- function _create_class$p(Constructor, protoProps, staticProps) {
10192
- if (protoProps) _defineProperties$p(Constructor.prototype, protoProps);
10191
+ function _create_class$q(Constructor, protoProps, staticProps) {
10192
+ if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
10193
10193
  return Constructor;
10194
10194
  }
10195
10195
  function _instanceof$b(left, right) {
@@ -10210,7 +10210,7 @@ var parseOptions = parseOptions_1;
10210
10210
  var compareIdentifiers = identifiers$1.compareIdentifiers;
10211
10211
  var SemVer$1 = /*#__PURE__*/ function() {
10212
10212
  function SemVer(version, options) {
10213
- _class_call_check$s(this, SemVer);
10213
+ _class_call_check$t(this, SemVer);
10214
10214
  options = parseOptions(options);
10215
10215
  if (_instanceof$b(version, SemVer)) {
10216
10216
  if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
@@ -10265,7 +10265,7 @@ var SemVer$1 = /*#__PURE__*/ function() {
10265
10265
  this.build = m[5] ? m[5].split('.') : [];
10266
10266
  this.format();
10267
10267
  }
10268
- _create_class$p(SemVer, [
10268
+ _create_class$q(SemVer, [
10269
10269
  {
10270
10270
  key: "format",
10271
10271
  value: function format() {
@@ -10623,78 +10623,70 @@ var cmp_1 = cmp;
10623
10623
 
10624
10624
  var _require = reExports; _require.safeRe; _require.t;
10625
10625
 
10626
- var lrucache;
10627
- var hasRequiredLrucache;
10628
-
10629
- function requireLrucache () {
10630
- if (hasRequiredLrucache) return lrucache;
10631
- hasRequiredLrucache = 1;
10632
- function _class_call_check(instance, Constructor) {
10633
- if (!(instance instanceof Constructor)) {
10634
- throw new TypeError("Cannot call a class as a function");
10635
- }
10636
- }
10637
- function _defineProperties(target, props) {
10638
- for(var i = 0; i < props.length; i++){
10639
- var descriptor = props[i];
10640
- descriptor.enumerable = descriptor.enumerable || false;
10641
- descriptor.configurable = true;
10642
- if ("value" in descriptor) descriptor.writable = true;
10643
- Object.defineProperty(target, descriptor.key, descriptor);
10644
- }
10645
- }
10646
- function _create_class(Constructor, protoProps, staticProps) {
10647
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
10648
- return Constructor;
10649
- }
10650
- var LRUCache = /*#__PURE__*/ function() {
10651
- function LRUCache() {
10652
- _class_call_check(this, LRUCache);
10653
- this.max = 1000;
10654
- this.map = new Map();
10655
- }
10656
- _create_class(LRUCache, [
10657
- {
10658
- key: "get",
10659
- value: function get(key) {
10660
- var value = this.map.get(key);
10661
- if (value === undefined) {
10662
- return undefined;
10663
- } else {
10664
- // Remove the key from the map and add it to the end
10665
- this.map.delete(key);
10666
- this.map.set(key, value);
10667
- return value;
10668
- }
10669
- }
10670
- },
10671
- {
10672
- key: "delete",
10673
- value: function _delete(key) {
10674
- return this.map.delete(key);
10675
- }
10676
- },
10677
- {
10678
- key: "set",
10679
- value: function set(key, value) {
10680
- var deleted = this.delete(key);
10681
- if (!deleted && value !== undefined) {
10682
- // If cache is full, delete the least recently used item
10683
- if (this.map.size >= this.max) {
10684
- var firstKey = this.map.keys().next().value;
10685
- this.delete(firstKey);
10686
- }
10687
- this.map.set(key, value);
10688
- }
10689
- return this;
10690
- }
10691
- }
10692
- ]);
10693
- return LRUCache;
10694
- }();
10695
- lrucache = LRUCache;
10696
- return lrucache;
10626
+ function _class_call_check$s(instance, Constructor) {
10627
+ if (!(instance instanceof Constructor)) {
10628
+ throw new TypeError("Cannot call a class as a function");
10629
+ }
10630
+ }
10631
+ function _defineProperties$p(target, props) {
10632
+ for(var i = 0; i < props.length; i++){
10633
+ var descriptor = props[i];
10634
+ descriptor.enumerable = descriptor.enumerable || false;
10635
+ descriptor.configurable = true;
10636
+ if ("value" in descriptor) descriptor.writable = true;
10637
+ Object.defineProperty(target, descriptor.key, descriptor);
10638
+ }
10639
+ }
10640
+ function _create_class$p(Constructor, protoProps, staticProps) {
10641
+ if (protoProps) _defineProperties$p(Constructor.prototype, protoProps);
10642
+ return Constructor;
10697
10643
  }
10644
+ var LRUCache = /*#__PURE__*/ function() {
10645
+ function LRUCache() {
10646
+ _class_call_check$s(this, LRUCache);
10647
+ this.max = 1000;
10648
+ this.map = new Map();
10649
+ }
10650
+ _create_class$p(LRUCache, [
10651
+ {
10652
+ key: "get",
10653
+ value: function get(key) {
10654
+ var value = this.map.get(key);
10655
+ if (value === undefined) {
10656
+ return undefined;
10657
+ } else {
10658
+ // Remove the key from the map and add it to the end
10659
+ this.map.delete(key);
10660
+ this.map.set(key, value);
10661
+ return value;
10662
+ }
10663
+ }
10664
+ },
10665
+ {
10666
+ key: "delete",
10667
+ value: function _delete(key) {
10668
+ return this.map.delete(key);
10669
+ }
10670
+ },
10671
+ {
10672
+ key: "set",
10673
+ value: function set(key, value) {
10674
+ var deleted = this.delete(key);
10675
+ if (!deleted && value !== undefined) {
10676
+ // If cache is full, delete the least recently used item
10677
+ if (this.map.size >= this.max) {
10678
+ var firstKey = this.map.keys().next().value;
10679
+ this.delete(firstKey);
10680
+ }
10681
+ this.map.set(key, value);
10682
+ }
10683
+ return this;
10684
+ }
10685
+ }
10686
+ ]);
10687
+ return LRUCache;
10688
+ }();
10689
+ var lrucache = LRUCache;
10698
10690
 
10699
10691
  var range;
10700
10692
  var hasRequiredRange;
@@ -10998,7 +10990,7 @@ function requireRange () {
10998
10990
  return Range;
10999
10991
  }();
11000
10992
  range = Range;
11001
- var LRU = requireLrucache();
10993
+ var LRU = lrucache;
11002
10994
  var cache = new LRU();
11003
10995
  var parseOptions = parseOptions_1;
11004
10996
  var Comparator = requireComparator();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-vespa",
3
- "version": "0.114.1",
3
+ "version": "0.114.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",