mol_jsx_lib 0.0.430 → 0.0.431

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/node.test.js CHANGED
@@ -1818,7 +1818,7 @@ var $;
1818
1818
  const sub = $mol_wire_auto();
1819
1819
  const existen = sub?.track_next();
1820
1820
  reuse: if (existen) {
1821
- if (!(existen.constructor.name === '$mol_wire_task'))
1821
+ if (existen.constructor.name !== '$mol_wire_task')
1822
1822
  break reuse;
1823
1823
  if (existen.host !== host)
1824
1824
  break reuse;
@@ -1986,7 +1986,7 @@ var $;
1986
1986
  return this.resync([...this.args, next]);
1987
1987
  if (!$mol_wire_fiber.warm)
1988
1988
  return this.result();
1989
- if ($mol_wire_auto() instanceof $mol_wire_task) {
1989
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
1990
1990
  return this.once();
1991
1991
  }
1992
1992
  else {
@@ -2102,7 +2102,7 @@ var $;
2102
2102
  if ((args.length === 0) || (args[0] === undefined)) {
2103
2103
  if (!$mol_wire_fiber.warm)
2104
2104
  return atom.result();
2105
- if ($mol_wire_auto() instanceof $mol_wire_task) {
2105
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
2106
2106
  return atom.once();
2107
2107
  }
2108
2108
  else {
@@ -2139,7 +2139,7 @@ var $;
2139
2139
  if ((args.length === 1) || (args[1] === undefined)) {
2140
2140
  if (!$mol_wire_fiber.warm)
2141
2141
  return atom.result();
2142
- if ($mol_wire_auto() instanceof $mol_wire_task) {
2142
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
2143
2143
  return atom.once();
2144
2144
  }
2145
2145
  else {