@colijnit/relation 253.1.2 → 254.1.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.
@@ -30,9 +30,9 @@
30
30
  var Version = /** @class */ (function () {
31
31
  function Version() {
32
32
  this.name = "@colijnit/relation";
33
- this.description = "Colijn IT relation package specific for version 2.5.3.";
34
- this.symVer = "253.1.2";
35
- this.publishDate = "8-7-2024 11:32:46";
33
+ this.description = "Colijn IT relation package specific for version 2.5.4.";
34
+ this.symVer = "254.1.2";
35
+ this.publishDate = "8-7-2024 11:56:35";
36
36
  }
37
37
  return Version;
38
38
  }());
@@ -367,13 +367,9 @@
367
367
  if (!Symbol.asyncIterator)
368
368
  throw new TypeError("Symbol.asyncIterator is not defined.");
369
369
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
370
- return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
371
- function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
372
- function verb(n, f) { if (g[n]) {
373
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); };
374
- if (f)
375
- i[n] = f(i[n]);
376
- } }
370
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
371
+ function verb(n) { if (g[n])
372
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
377
373
  function resume(n, v) { try {
378
374
  step(g[n](v));
379
375
  }
@@ -453,7 +449,7 @@
453
449
  if (value !== null && value !== void 0) {
454
450
  if (typeof value !== "object" && typeof value !== "function")
455
451
  throw new TypeError("Object expected.");
456
- var dispose, inner;
452
+ var dispose;
457
453
  if (async) {
458
454
  if (!Symbol.asyncDispose)
459
455
  throw new TypeError("Symbol.asyncDispose is not defined.");
@@ -463,18 +459,9 @@
463
459
  if (!Symbol.dispose)
464
460
  throw new TypeError("Symbol.dispose is not defined.");
465
461
  dispose = value[Symbol.dispose];
466
- if (async)
467
- inner = dispose;
468
462
  }
469
463
  if (typeof dispose !== "function")
470
464
  throw new TypeError("Object not disposable.");
471
- if (inner)
472
- dispose = function () { try {
473
- inner.call(this);
474
- }
475
- catch (e) {
476
- return Promise.reject(e);
477
- } };
478
465
  env.stack.push({ value: value, dispose: dispose, async: async });
479
466
  }
480
467
  else if (async) {