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.
@@ -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 (ctx.base.pending && value instanceof Promise) value.catch(ignoreRejection);
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 (ctx.base.pending && value instanceof Promise) value.catch(ignoreRejection);
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 (ctx.base.pending && value instanceof Promise) value.catch(ignoreRejection);
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 (ctx.base.pending && value instanceof Promise) value.catch(ignoreRejection);
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;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "seroval",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "1.7.1",
5
+ "version": "1.7.2",
6
6
  "files": [
7
7
  "dist"
8
8
  ],