@colijnit/product 12.0.7 → 254.1.1
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.
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
function Version() {
|
|
32
32
|
this.name = "@colijnit/product";
|
|
33
33
|
this.description = "Product detail page project for iOne";
|
|
34
|
-
this.symVer = "
|
|
35
|
-
this.publishDate = "
|
|
34
|
+
this.symVer = "254.1.1";
|
|
35
|
+
this.publishDate = "14-6-2024 12:34:38";
|
|
36
36
|
}
|
|
37
37
|
return Version;
|
|
38
38
|
}());
|
|
@@ -343,9 +343,13 @@
|
|
|
343
343
|
if (!Symbol.asyncIterator)
|
|
344
344
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
345
345
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
346
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
347
|
-
function
|
|
348
|
-
|
|
346
|
+
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
347
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
348
|
+
function verb(n, f) { if (g[n]) {
|
|
349
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); };
|
|
350
|
+
if (f)
|
|
351
|
+
i[n] = f(i[n]);
|
|
352
|
+
} }
|
|
349
353
|
function resume(n, v) { try {
|
|
350
354
|
step(g[n](v));
|
|
351
355
|
}
|
|
@@ -425,7 +429,7 @@
|
|
|
425
429
|
if (value !== null && value !== void 0) {
|
|
426
430
|
if (typeof value !== "object" && typeof value !== "function")
|
|
427
431
|
throw new TypeError("Object expected.");
|
|
428
|
-
var dispose;
|
|
432
|
+
var dispose, inner;
|
|
429
433
|
if (async) {
|
|
430
434
|
if (!Symbol.asyncDispose)
|
|
431
435
|
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
@@ -435,9 +439,18 @@
|
|
|
435
439
|
if (!Symbol.dispose)
|
|
436
440
|
throw new TypeError("Symbol.dispose is not defined.");
|
|
437
441
|
dispose = value[Symbol.dispose];
|
|
442
|
+
if (async)
|
|
443
|
+
inner = dispose;
|
|
438
444
|
}
|
|
439
445
|
if (typeof dispose !== "function")
|
|
440
446
|
throw new TypeError("Object not disposable.");
|
|
447
|
+
if (inner)
|
|
448
|
+
dispose = function () { try {
|
|
449
|
+
inner.call(this);
|
|
450
|
+
}
|
|
451
|
+
catch (e) {
|
|
452
|
+
return Promise.reject(e);
|
|
453
|
+
} };
|
|
441
454
|
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
442
455
|
}
|
|
443
456
|
else if (async) {
|