@nsshunt/stsfhirclient 1.1.20 → 1.1.22

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.
@@ -1797,7 +1797,7 @@ function createPacketDecoderStream(maxPayload, binaryType) {
1797
1797
  }
1798
1798
  });
1799
1799
  }
1800
- const protocol$1 = 4;
1800
+ const protocol = 4;
1801
1801
  const nextTick = (() => {
1802
1802
  const isPromiseAvailable = typeof Promise === "function" && typeof Promise.resolve === "function";
1803
1803
  if (isPromiseAvailable) {
@@ -2001,7 +2001,7 @@ class Transport extends Emitter {
2001
2001
  return hostname.indexOf(":") === -1 ? hostname : "[" + hostname + "]";
2002
2002
  }
2003
2003
  _port() {
2004
- if (this.opts.port && (this.opts.secure && Number(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80)) {
2004
+ if (this.opts.port && (this.opts.secure && Number(this.opts.port) !== 443 || !this.opts.secure && Number(this.opts.port) !== 80)) {
2005
2005
  return ":" + this.opts.port;
2006
2006
  } else {
2007
2007
  return "";
@@ -2705,7 +2705,7 @@ class SocketWithoutUpgrade extends Emitter {
2705
2705
  */
2706
2706
  createTransport(name) {
2707
2707
  const query = Object.assign({}, this.opts.query);
2708
- query.EIO = protocol$1;
2708
+ query.EIO = protocol;
2709
2709
  query.transport = name;
2710
2710
  if (this.id)
2711
2711
  query.sid = this.id;
@@ -3034,7 +3034,7 @@ class SocketWithoutUpgrade extends Emitter {
3034
3034
  }
3035
3035
  }
3036
3036
  }
3037
- SocketWithoutUpgrade.protocol = protocol$1;
3037
+ SocketWithoutUpgrade.protocol = protocol;
3038
3038
  class SocketWithUpgrade extends SocketWithoutUpgrade {
3039
3039
  constructor() {
3040
3040
  super(...arguments);
@@ -3300,14 +3300,18 @@ function _reconstructPacket(data, buffers) {
3300
3300
  }
3301
3301
  const RESERVED_EVENTS$1 = [
3302
3302
  "connect",
3303
+ // used on the client side
3303
3304
  "connect_error",
3305
+ // used on the client side
3304
3306
  "disconnect",
3307
+ // used on both sides
3305
3308
  "disconnecting",
3309
+ // used on the server side
3306
3310
  "newListener",
3311
+ // used by the Node.js EventEmitter
3307
3312
  "removeListener"
3308
3313
  // used by the Node.js EventEmitter
3309
3314
  ];
3310
- const protocol = 5;
3311
3315
  var PacketType;
3312
3316
  (function(PacketType2) {
3313
3317
  PacketType2[PacketType2["CONNECT"] = 0] = "CONNECT";
@@ -3378,9 +3382,6 @@ class Encoder {
3378
3382
  return buffers;
3379
3383
  }
3380
3384
  }
3381
- function isObject(value2) {
3382
- return Object.prototype.toString.call(value2) === "[object Object]";
3383
- }
3384
3385
  class Decoder extends Emitter {
3385
3386
  /**
3386
3387
  * Decoder constructor
@@ -3552,14 +3553,16 @@ class BinaryReconstructor {
3552
3553
  this.buffers = [];
3553
3554
  }
3554
3555
  }
3556
+ function isObject(value2) {
3557
+ return Object.prototype.toString.call(value2) === "[object Object]";
3558
+ }
3555
3559
  const parser = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3556
3560
  __proto__: null,
3557
3561
  Decoder,
3558
3562
  Encoder,
3559
3563
  get PacketType() {
3560
3564
  return PacketType;
3561
- },
3562
- protocol
3565
+ }
3563
3566
  }, Symbol.toStringTag, { value: "Module" }));
3564
3567
  function on(obj, ev, fn) {
3565
3568
  obj.on(ev, fn);
@@ -8525,17 +8528,17 @@ var hasRequiredCode$1;
8525
8528
  function requireCode$1() {
8526
8529
  if (hasRequiredCode$1) return code$1;
8527
8530
  hasRequiredCode$1 = 1;
8528
- (function(exports) {
8529
- Object.defineProperty(exports, "__esModule", { value: true });
8530
- exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
8531
+ (function(exports$1) {
8532
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8533
+ exports$1.regexpCode = exports$1.getEsmExportName = exports$1.getProperty = exports$1.safeStringify = exports$1.stringify = exports$1.strConcat = exports$1.addCodeArg = exports$1.str = exports$1._ = exports$1.nil = exports$1._Code = exports$1.Name = exports$1.IDENTIFIER = exports$1._CodeOrName = void 0;
8531
8534
  class _CodeOrName {
8532
8535
  }
8533
- exports._CodeOrName = _CodeOrName;
8534
- exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
8536
+ exports$1._CodeOrName = _CodeOrName;
8537
+ exports$1.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
8535
8538
  class Name extends _CodeOrName {
8536
8539
  constructor(s) {
8537
8540
  super();
8538
- if (!exports.IDENTIFIER.test(s))
8541
+ if (!exports$1.IDENTIFIER.test(s))
8539
8542
  throw new Error("CodeGen: name must be a valid identifier");
8540
8543
  this.str = s;
8541
8544
  }
@@ -8549,7 +8552,7 @@ function requireCode$1() {
8549
8552
  return { [this.str]: 1 };
8550
8553
  }
8551
8554
  }
8552
- exports.Name = Name;
8555
+ exports$1.Name = Name;
8553
8556
  class _Code extends _CodeOrName {
8554
8557
  constructor(code2) {
8555
8558
  super();
@@ -8577,8 +8580,8 @@ function requireCode$1() {
8577
8580
  }, {});
8578
8581
  }
8579
8582
  }
8580
- exports._Code = _Code;
8581
- exports.nil = new _Code("");
8583
+ exports$1._Code = _Code;
8584
+ exports$1.nil = new _Code("");
8582
8585
  function _(strs, ...args) {
8583
8586
  const code2 = [strs[0]];
8584
8587
  let i = 0;
@@ -8588,7 +8591,7 @@ function requireCode$1() {
8588
8591
  }
8589
8592
  return new _Code(code2);
8590
8593
  }
8591
- exports._ = _;
8594
+ exports$1._ = _;
8592
8595
  const plus = new _Code("+");
8593
8596
  function str(strs, ...args) {
8594
8597
  const expr = [safeStringify(strs[0])];
@@ -8601,7 +8604,7 @@ function requireCode$1() {
8601
8604
  optimize(expr);
8602
8605
  return new _Code(expr);
8603
8606
  }
8604
- exports.str = str;
8607
+ exports$1.str = str;
8605
8608
  function addCodeArg(code2, arg) {
8606
8609
  if (arg instanceof _Code)
8607
8610
  code2.push(...arg._items);
@@ -8610,7 +8613,7 @@ function requireCode$1() {
8610
8613
  else
8611
8614
  code2.push(interpolate(arg));
8612
8615
  }
8613
- exports.addCodeArg = addCodeArg;
8616
+ exports$1.addCodeArg = addCodeArg;
8614
8617
  function optimize(expr) {
8615
8618
  let i = 1;
8616
8619
  while (i < expr.length - 1) {
@@ -8646,33 +8649,33 @@ function requireCode$1() {
8646
8649
  function strConcat(c1, c2) {
8647
8650
  return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`;
8648
8651
  }
8649
- exports.strConcat = strConcat;
8652
+ exports$1.strConcat = strConcat;
8650
8653
  function interpolate(x) {
8651
8654
  return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x);
8652
8655
  }
8653
8656
  function stringify(x) {
8654
8657
  return new _Code(safeStringify(x));
8655
8658
  }
8656
- exports.stringify = stringify;
8659
+ exports$1.stringify = stringify;
8657
8660
  function safeStringify(x) {
8658
8661
  return JSON.stringify(x).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
8659
8662
  }
8660
- exports.safeStringify = safeStringify;
8663
+ exports$1.safeStringify = safeStringify;
8661
8664
  function getProperty(key) {
8662
- return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
8665
+ return typeof key == "string" && exports$1.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
8663
8666
  }
8664
- exports.getProperty = getProperty;
8667
+ exports$1.getProperty = getProperty;
8665
8668
  function getEsmExportName(key) {
8666
- if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
8669
+ if (typeof key == "string" && exports$1.IDENTIFIER.test(key)) {
8667
8670
  return new _Code(`${key}`);
8668
8671
  }
8669
8672
  throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
8670
8673
  }
8671
- exports.getEsmExportName = getEsmExportName;
8674
+ exports$1.getEsmExportName = getEsmExportName;
8672
8675
  function regexpCode(rx) {
8673
8676
  return new _Code(rx.toString());
8674
8677
  }
8675
- exports.regexpCode = regexpCode;
8678
+ exports$1.regexpCode = regexpCode;
8676
8679
  })(code$1);
8677
8680
  return code$1;
8678
8681
  }
@@ -8681,9 +8684,9 @@ var hasRequiredScope;
8681
8684
  function requireScope() {
8682
8685
  if (hasRequiredScope) return scope;
8683
8686
  hasRequiredScope = 1;
8684
- (function(exports) {
8685
- Object.defineProperty(exports, "__esModule", { value: true });
8686
- exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
8687
+ (function(exports$1) {
8688
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8689
+ exports$1.ValueScope = exports$1.ValueScopeName = exports$1.Scope = exports$1.varKinds = exports$1.UsedValueState = void 0;
8687
8690
  const code_1 = requireCode$1();
8688
8691
  class ValueError extends Error {
8689
8692
  constructor(name) {
@@ -8695,8 +8698,8 @@ function requireScope() {
8695
8698
  (function(UsedValueState2) {
8696
8699
  UsedValueState2[UsedValueState2["Started"] = 0] = "Started";
8697
8700
  UsedValueState2[UsedValueState2["Completed"] = 1] = "Completed";
8698
- })(UsedValueState || (exports.UsedValueState = UsedValueState = {}));
8699
- exports.varKinds = {
8701
+ })(UsedValueState || (exports$1.UsedValueState = UsedValueState = {}));
8702
+ exports$1.varKinds = {
8700
8703
  const: new code_1.Name("const"),
8701
8704
  let: new code_1.Name("let"),
8702
8705
  var: new code_1.Name("var")
@@ -8725,7 +8728,7 @@ function requireScope() {
8725
8728
  return this._names[prefix] = { prefix, index: 0 };
8726
8729
  }
8727
8730
  }
8728
- exports.Scope = Scope;
8731
+ exports$1.Scope = Scope;
8729
8732
  class ValueScopeName extends code_1.Name {
8730
8733
  constructor(prefix, nameStr) {
8731
8734
  super(nameStr);
@@ -8736,7 +8739,7 @@ function requireScope() {
8736
8739
  this.scopePath = (0, code_1._)`.${new code_1.Name(property)}[${itemIndex}]`;
8737
8740
  }
8738
8741
  }
8739
- exports.ValueScopeName = ValueScopeName;
8742
+ exports$1.ValueScopeName = ValueScopeName;
8740
8743
  const line = (0, code_1._)`\n`;
8741
8744
  class ValueScope extends Scope {
8742
8745
  constructor(opts) {
@@ -8806,7 +8809,7 @@ function requireScope() {
8806
8809
  nameSet.set(name, UsedValueState.Started);
8807
8810
  let c = valueCode(name);
8808
8811
  if (c) {
8809
- const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
8812
+ const def = this.opts.es5 ? exports$1.varKinds.var : exports$1.varKinds.const;
8810
8813
  code2 = (0, code_1._)`${code2}${def} ${name} = ${c};${this.opts._n}`;
8811
8814
  } else if (c = getCode === null || getCode === void 0 ? void 0 : getCode(name)) {
8812
8815
  code2 = (0, code_1._)`${code2}${c}${this.opts._n}`;
@@ -8819,7 +8822,7 @@ function requireScope() {
8819
8822
  return code2;
8820
8823
  }
8821
8824
  }
8822
- exports.ValueScope = ValueScope;
8825
+ exports$1.ValueScope = ValueScope;
8823
8826
  })(scope);
8824
8827
  return scope;
8825
8828
  }
@@ -8827,50 +8830,50 @@ var hasRequiredCodegen;
8827
8830
  function requireCodegen() {
8828
8831
  if (hasRequiredCodegen) return codegen;
8829
8832
  hasRequiredCodegen = 1;
8830
- (function(exports) {
8831
- Object.defineProperty(exports, "__esModule", { value: true });
8832
- exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
8833
+ (function(exports$1) {
8834
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8835
+ exports$1.or = exports$1.and = exports$1.not = exports$1.CodeGen = exports$1.operators = exports$1.varKinds = exports$1.ValueScopeName = exports$1.ValueScope = exports$1.Scope = exports$1.Name = exports$1.regexpCode = exports$1.stringify = exports$1.getProperty = exports$1.nil = exports$1.strConcat = exports$1.str = exports$1._ = void 0;
8833
8836
  const code_1 = requireCode$1();
8834
8837
  const scope_1 = requireScope();
8835
8838
  var code_2 = requireCode$1();
8836
- Object.defineProperty(exports, "_", { enumerable: true, get: function() {
8839
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
8837
8840
  return code_2._;
8838
8841
  } });
8839
- Object.defineProperty(exports, "str", { enumerable: true, get: function() {
8842
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
8840
8843
  return code_2.str;
8841
8844
  } });
8842
- Object.defineProperty(exports, "strConcat", { enumerable: true, get: function() {
8845
+ Object.defineProperty(exports$1, "strConcat", { enumerable: true, get: function() {
8843
8846
  return code_2.strConcat;
8844
8847
  } });
8845
- Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
8848
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
8846
8849
  return code_2.nil;
8847
8850
  } });
8848
- Object.defineProperty(exports, "getProperty", { enumerable: true, get: function() {
8851
+ Object.defineProperty(exports$1, "getProperty", { enumerable: true, get: function() {
8849
8852
  return code_2.getProperty;
8850
8853
  } });
8851
- Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
8854
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
8852
8855
  return code_2.stringify;
8853
8856
  } });
8854
- Object.defineProperty(exports, "regexpCode", { enumerable: true, get: function() {
8857
+ Object.defineProperty(exports$1, "regexpCode", { enumerable: true, get: function() {
8855
8858
  return code_2.regexpCode;
8856
8859
  } });
8857
- Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
8860
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
8858
8861
  return code_2.Name;
8859
8862
  } });
8860
8863
  var scope_2 = requireScope();
8861
- Object.defineProperty(exports, "Scope", { enumerable: true, get: function() {
8864
+ Object.defineProperty(exports$1, "Scope", { enumerable: true, get: function() {
8862
8865
  return scope_2.Scope;
8863
8866
  } });
8864
- Object.defineProperty(exports, "ValueScope", { enumerable: true, get: function() {
8867
+ Object.defineProperty(exports$1, "ValueScope", { enumerable: true, get: function() {
8865
8868
  return scope_2.ValueScope;
8866
8869
  } });
8867
- Object.defineProperty(exports, "ValueScopeName", { enumerable: true, get: function() {
8870
+ Object.defineProperty(exports$1, "ValueScopeName", { enumerable: true, get: function() {
8868
8871
  return scope_2.ValueScopeName;
8869
8872
  } });
8870
- Object.defineProperty(exports, "varKinds", { enumerable: true, get: function() {
8873
+ Object.defineProperty(exports$1, "varKinds", { enumerable: true, get: function() {
8871
8874
  return scope_2.varKinds;
8872
8875
  } });
8873
- exports.operators = {
8876
+ exports$1.operators = {
8874
8877
  GT: new code_1._Code(">"),
8875
8878
  GTE: new code_1._Code(">="),
8876
8879
  LT: new code_1._Code("<"),
@@ -9283,7 +9286,7 @@ function requireCodegen() {
9283
9286
  }
9284
9287
  // `+=` code
9285
9288
  add(lhs, rhs) {
9286
- return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
9289
+ return this._leafNode(new AssignOp(lhs, exports$1.operators.ADD, rhs));
9287
9290
  }
9288
9291
  // appends passed SafeExpr to code or executes Block
9289
9292
  code(c) {
@@ -9483,7 +9486,7 @@ function requireCodegen() {
9483
9486
  ns[ns.length - 1] = node;
9484
9487
  }
9485
9488
  }
9486
- exports.CodeGen = CodeGen;
9489
+ exports$1.CodeGen = CodeGen;
9487
9490
  function addNames(names2, from) {
9488
9491
  for (const n in from)
9489
9492
  names2[n] = (names2[n] || 0) + (from[n] || 0);
@@ -9524,17 +9527,17 @@ function requireCodegen() {
9524
9527
  function not2(x) {
9525
9528
  return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._)`!${par(x)}`;
9526
9529
  }
9527
- exports.not = not2;
9528
- const andCode = mappend(exports.operators.AND);
9530
+ exports$1.not = not2;
9531
+ const andCode = mappend(exports$1.operators.AND);
9529
9532
  function and(...args) {
9530
9533
  return args.reduce(andCode);
9531
9534
  }
9532
- exports.and = and;
9533
- const orCode = mappend(exports.operators.OR);
9535
+ exports$1.and = and;
9536
+ const orCode = mappend(exports$1.operators.OR);
9534
9537
  function or(...args) {
9535
9538
  return args.reduce(orCode);
9536
9539
  }
9537
- exports.or = or;
9540
+ exports$1.or = or;
9538
9541
  function mappend(op) {
9539
9542
  return (x, y) => x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._)`${par(x)} ${op} ${par(y)}`;
9540
9543
  }
@@ -9754,19 +9757,19 @@ var hasRequiredErrors;
9754
9757
  function requireErrors() {
9755
9758
  if (hasRequiredErrors) return errors;
9756
9759
  hasRequiredErrors = 1;
9757
- (function(exports) {
9758
- Object.defineProperty(exports, "__esModule", { value: true });
9759
- exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
9760
+ (function(exports$1) {
9761
+ Object.defineProperty(exports$1, "__esModule", { value: true });
9762
+ exports$1.extendErrors = exports$1.resetErrorsCount = exports$1.reportExtraError = exports$1.reportError = exports$1.keyword$DataError = exports$1.keywordError = void 0;
9760
9763
  const codegen_1 = requireCodegen();
9761
9764
  const util_1 = requireUtil();
9762
9765
  const names_1 = requireNames();
9763
- exports.keywordError = {
9766
+ exports$1.keywordError = {
9764
9767
  message: ({ keyword: keyword2 }) => (0, codegen_1.str)`must pass "${keyword2}" keyword validation`
9765
9768
  };
9766
- exports.keyword$DataError = {
9769
+ exports$1.keyword$DataError = {
9767
9770
  message: ({ keyword: keyword2, schemaType }) => schemaType ? (0, codegen_1.str)`"${keyword2}" keyword must be ${schemaType} ($data)` : (0, codegen_1.str)`"${keyword2}" keyword is invalid ($data)`
9768
9771
  };
9769
- function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) {
9772
+ function reportError(cxt, error = exports$1.keywordError, errorPaths, overrideAllErrors) {
9770
9773
  const { it } = cxt;
9771
9774
  const { gen, compositeRule, allErrors } = it;
9772
9775
  const errObj = errorObjectCode(cxt, error, errorPaths);
@@ -9776,8 +9779,8 @@ function requireErrors() {
9776
9779
  returnErrors(it, (0, codegen_1._)`[${errObj}]`);
9777
9780
  }
9778
9781
  }
9779
- exports.reportError = reportError;
9780
- function reportExtraError(cxt, error = exports.keywordError, errorPaths) {
9782
+ exports$1.reportError = reportError;
9783
+ function reportExtraError(cxt, error = exports$1.keywordError, errorPaths) {
9781
9784
  const { it } = cxt;
9782
9785
  const { gen, compositeRule, allErrors } = it;
9783
9786
  const errObj = errorObjectCode(cxt, error, errorPaths);
@@ -9786,12 +9789,12 @@ function requireErrors() {
9786
9789
  returnErrors(it, names_1.default.vErrors);
9787
9790
  }
9788
9791
  }
9789
- exports.reportExtraError = reportExtraError;
9792
+ exports$1.reportExtraError = reportExtraError;
9790
9793
  function resetErrorsCount(gen, errsCount) {
9791
9794
  gen.assign(names_1.default.errors, errsCount);
9792
9795
  gen.if((0, codegen_1._)`${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._)`${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));
9793
9796
  }
9794
- exports.resetErrorsCount = resetErrorsCount;
9797
+ exports$1.resetErrorsCount = resetErrorsCount;
9795
9798
  function extendErrors({ gen, keyword: keyword2, schemaValue, data, errsCount, it }) {
9796
9799
  if (errsCount === void 0)
9797
9800
  throw new Error("ajv implementation error");
@@ -9806,7 +9809,7 @@ function requireErrors() {
9806
9809
  }
9807
9810
  });
9808
9811
  }
9809
- exports.extendErrors = extendErrors;
9812
+ exports$1.extendErrors = extendErrors;
9810
9813
  function addError(gen, errObj) {
9811
9814
  const err = gen.const("err", errObj);
9812
9815
  gen.if((0, codegen_1._)`${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._)`[${err}]`), (0, codegen_1._)`${names_1.default.vErrors}.push(${err})`);
@@ -12325,30 +12328,30 @@ var hasRequiredCore$1;
12325
12328
  function requireCore$1() {
12326
12329
  if (hasRequiredCore$1) return core$1;
12327
12330
  hasRequiredCore$1 = 1;
12328
- (function(exports) {
12329
- Object.defineProperty(exports, "__esModule", { value: true });
12330
- exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
12331
+ (function(exports$1) {
12332
+ Object.defineProperty(exports$1, "__esModule", { value: true });
12333
+ exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = void 0;
12331
12334
  var validate_1 = requireValidate();
12332
- Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function() {
12335
+ Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
12333
12336
  return validate_1.KeywordCxt;
12334
12337
  } });
12335
12338
  var codegen_1 = requireCodegen();
12336
- Object.defineProperty(exports, "_", { enumerable: true, get: function() {
12339
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
12337
12340
  return codegen_1._;
12338
12341
  } });
12339
- Object.defineProperty(exports, "str", { enumerable: true, get: function() {
12342
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
12340
12343
  return codegen_1.str;
12341
12344
  } });
12342
- Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
12345
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
12343
12346
  return codegen_1.stringify;
12344
12347
  } });
12345
- Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
12348
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
12346
12349
  return codegen_1.nil;
12347
12350
  } });
12348
- Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
12351
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
12349
12352
  return codegen_1.Name;
12350
12353
  } });
12351
- Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function() {
12354
+ Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
12352
12355
  return codegen_1.CodeGen;
12353
12356
  } });
12354
12357
  const validation_error_1 = requireValidation_error();
@@ -12802,7 +12805,7 @@ function requireCore$1() {
12802
12805
  }
12803
12806
  Ajv2.ValidationError = validation_error_1.default;
12804
12807
  Ajv2.MissingRefError = ref_error_1.default;
12805
- exports.default = Ajv2;
12808
+ exports$1.default = Ajv2;
12806
12809
  function checkOptions(checkOpts, options, msg, log = "error") {
12807
12810
  for (const key in checkOpts) {
12808
12811
  const opt = key;
@@ -13834,13 +13837,13 @@ var hasRequiredDependencies;
13834
13837
  function requireDependencies() {
13835
13838
  if (hasRequiredDependencies) return dependencies;
13836
13839
  hasRequiredDependencies = 1;
13837
- (function(exports) {
13838
- Object.defineProperty(exports, "__esModule", { value: true });
13839
- exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
13840
+ (function(exports$1) {
13841
+ Object.defineProperty(exports$1, "__esModule", { value: true });
13842
+ exports$1.validateSchemaDeps = exports$1.validatePropertyDeps = exports$1.error = void 0;
13840
13843
  const codegen_1 = requireCodegen();
13841
13844
  const util_1 = requireUtil();
13842
13845
  const code_1 = requireCode();
13843
- exports.error = {
13846
+ exports$1.error = {
13844
13847
  message: ({ params: { property, depsCount, deps } }) => {
13845
13848
  const property_ies = depsCount === 1 ? "property" : "properties";
13846
13849
  return (0, codegen_1.str)`must have ${property_ies} ${deps} when property ${property} is present`;
@@ -13855,7 +13858,7 @@ function requireDependencies() {
13855
13858
  keyword: "dependencies",
13856
13859
  type: "object",
13857
13860
  schemaType: "object",
13858
- error: exports.error,
13861
+ error: exports$1.error,
13859
13862
  code(cxt) {
13860
13863
  const [propDeps, schDeps] = splitDependencies(cxt);
13861
13864
  validatePropertyDeps(cxt, propDeps);
@@ -13901,7 +13904,7 @@ function requireDependencies() {
13901
13904
  }
13902
13905
  }
13903
13906
  }
13904
- exports.validatePropertyDeps = validatePropertyDeps;
13907
+ exports$1.validatePropertyDeps = validatePropertyDeps;
13905
13908
  function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
13906
13909
  const { gen, data, keyword: keyword2, it } = cxt;
13907
13910
  const valid = gen.name("valid");
@@ -13920,8 +13923,8 @@ function requireDependencies() {
13920
13923
  cxt.ok(valid);
13921
13924
  }
13922
13925
  }
13923
- exports.validateSchemaDeps = validateSchemaDeps;
13924
- exports.default = def;
13926
+ exports$1.validateSchemaDeps = validateSchemaDeps;
13927
+ exports$1.default = def;
13925
13928
  })(dependencies);
13926
13929
  return dependencies;
13927
13930
  }
@@ -14756,9 +14759,9 @@ var hasRequiredAjv;
14756
14759
  function requireAjv() {
14757
14760
  if (hasRequiredAjv) return ajv.exports;
14758
14761
  hasRequiredAjv = 1;
14759
- (function(module, exports) {
14760
- Object.defineProperty(exports, "__esModule", { value: true });
14761
- exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
14762
+ (function(module, exports$1) {
14763
+ Object.defineProperty(exports$1, "__esModule", { value: true });
14764
+ exports$1.MissingRefError = exports$1.ValidationError = exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = exports$1.Ajv = void 0;
14762
14765
  const core_1 = requireCore$1();
14763
14766
  const draft7_1 = requireDraft7();
14764
14767
  const discriminator_1 = requireDiscriminator();
@@ -14784,40 +14787,40 @@ function requireAjv() {
14784
14787
  return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);
14785
14788
  }
14786
14789
  }
14787
- exports.Ajv = Ajv2;
14788
- module.exports = exports = Ajv2;
14790
+ exports$1.Ajv = Ajv2;
14791
+ module.exports = exports$1 = Ajv2;
14789
14792
  module.exports.Ajv = Ajv2;
14790
- Object.defineProperty(exports, "__esModule", { value: true });
14791
- exports.default = Ajv2;
14793
+ Object.defineProperty(exports$1, "__esModule", { value: true });
14794
+ exports$1.default = Ajv2;
14792
14795
  var validate_1 = requireValidate();
14793
- Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function() {
14796
+ Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
14794
14797
  return validate_1.KeywordCxt;
14795
14798
  } });
14796
14799
  var codegen_1 = requireCodegen();
14797
- Object.defineProperty(exports, "_", { enumerable: true, get: function() {
14800
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
14798
14801
  return codegen_1._;
14799
14802
  } });
14800
- Object.defineProperty(exports, "str", { enumerable: true, get: function() {
14803
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
14801
14804
  return codegen_1.str;
14802
14805
  } });
14803
- Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
14806
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
14804
14807
  return codegen_1.stringify;
14805
14808
  } });
14806
- Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
14809
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
14807
14810
  return codegen_1.nil;
14808
14811
  } });
14809
- Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
14812
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
14810
14813
  return codegen_1.Name;
14811
14814
  } });
14812
- Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function() {
14815
+ Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
14813
14816
  return codegen_1.CodeGen;
14814
14817
  } });
14815
14818
  var validation_error_1 = requireValidation_error();
14816
- Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function() {
14819
+ Object.defineProperty(exports$1, "ValidationError", { enumerable: true, get: function() {
14817
14820
  return validation_error_1.default;
14818
14821
  } });
14819
14822
  var ref_error_1 = requireRef_error();
14820
- Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function() {
14823
+ Object.defineProperty(exports$1, "MissingRefError", { enumerable: true, get: function() {
14821
14824
  return ref_error_1.default;
14822
14825
  } });
14823
14826
  })(ajv, ajv.exports);