seroval 1.7.1 → 1.7.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.
- package/dist/dev/index.cjs +1 -1
- package/dist/dev/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/dev/index.cjs
CHANGED
|
@@ -1706,7 +1706,7 @@ function isThennable(value) {
|
|
|
1706
1706
|
const ignoreRejection = () => {};
|
|
1707
1707
|
function assignIndexedValue$1(ctx, id, value) {
|
|
1708
1708
|
guardIndexedValue(ctx.base, id);
|
|
1709
|
-
if (
|
|
1709
|
+
if (value instanceof Promise) value.catch(ignoreRejection);
|
|
1710
1710
|
const marked = ctx.marked;
|
|
1711
1711
|
if (!marked || marked.has(id)) ctx.base.refs.set(id, value);
|
|
1712
1712
|
return value;
|
package/dist/dev/index.js
CHANGED
|
@@ -1705,7 +1705,7 @@ function isThennable(value) {
|
|
|
1705
1705
|
const ignoreRejection = () => {};
|
|
1706
1706
|
function assignIndexedValue$1(ctx, id, value) {
|
|
1707
1707
|
guardIndexedValue(ctx.base, id);
|
|
1708
|
-
if (
|
|
1708
|
+
if (value instanceof Promise) value.catch(ignoreRejection);
|
|
1709
1709
|
const marked = ctx.marked;
|
|
1710
1710
|
if (!marked || marked.has(id)) ctx.base.refs.set(id, value);
|
|
1711
1711
|
return value;
|
package/dist/index.cjs
CHANGED
|
@@ -1690,7 +1690,7 @@ function isThennable(value) {
|
|
|
1690
1690
|
const ignoreRejection = () => {};
|
|
1691
1691
|
function assignIndexedValue$1(ctx, id, value) {
|
|
1692
1692
|
guardIndexedValue(ctx.base, id);
|
|
1693
|
-
if (
|
|
1693
|
+
if (value instanceof Promise) value.catch(ignoreRejection);
|
|
1694
1694
|
const marked = ctx.marked;
|
|
1695
1695
|
if (!marked || marked.has(id)) ctx.base.refs.set(id, value);
|
|
1696
1696
|
return value;
|
package/dist/index.js
CHANGED
|
@@ -1689,7 +1689,7 @@ function isThennable(value) {
|
|
|
1689
1689
|
const ignoreRejection = () => {};
|
|
1690
1690
|
function assignIndexedValue$1(ctx, id, value) {
|
|
1691
1691
|
guardIndexedValue(ctx.base, id);
|
|
1692
|
-
if (
|
|
1692
|
+
if (value instanceof Promise) value.catch(ignoreRejection);
|
|
1693
1693
|
const marked = ctx.marked;
|
|
1694
1694
|
if (!marked || marked.has(id)) ctx.base.refs.set(id, value);
|
|
1695
1695
|
return value;
|