mol_jsx_lib 0.0.732 → 0.0.734

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.js CHANGED
@@ -296,7 +296,7 @@ var $;
296
296
  destructor() { }
297
297
  static destructor() { }
298
298
  toString() {
299
- return this[Symbol.toStringTag] || this.constructor.name + '()';
299
+ return this[Symbol.toStringTag] || this.constructor.name + '<>';
300
300
  }
301
301
  static toJSON() {
302
302
  return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
@@ -1506,7 +1506,7 @@ var $;
1506
1506
  return $mol_promise_like(this.cache);
1507
1507
  }
1508
1508
  field() {
1509
- return this.task.name + '()';
1509
+ return this.task.name + '<>';
1510
1510
  }
1511
1511
  constructor(id, task, host, args) {
1512
1512
  super();
@@ -1889,7 +1889,7 @@ var $;
1889
1889
  break reuse;
1890
1890
  return existen;
1891
1891
  }
1892
- const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}(#)`, task, host, args);
1892
+ const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}<#>`, task, host, args);
1893
1893
  if (existen?.temp) {
1894
1894
  $$.$mol_log3_warn({
1895
1895
  place: '$mol_wire_task',
@@ -2001,7 +2001,7 @@ var $;
2001
2001
  (function ($) {
2002
2002
  class $mol_wire_atom extends $mol_wire_fiber {
2003
2003
  static solo(host, task) {
2004
- const field = task.name + '()';
2004
+ const field = task.name + '<>';
2005
2005
  const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2006
2006
  if (existen)
2007
2007
  return existen;
@@ -2012,7 +2012,7 @@ var $;
2012
2012
  return fiber;
2013
2013
  }
2014
2014
  static plex(host, task, key) {
2015
- const field = task.name + '()';
2015
+ const field = task.name + '<>';
2016
2016
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
2017
2017
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
2018
2018
  const key_str = $mol_key(key);
@@ -2024,7 +2024,7 @@ var $;
2024
2024
  else {
2025
2025
  dict = (host ?? task)[field] = new Map();
2026
2026
  }
2027
- const id = `${prefix}.${task.name}(${key_str.replace(/^"|"$/g, "'")})`;
2027
+ const id = `${prefix}.${task.name}<${key_str.replace(/^"|"$/g, "'")}>`;
2028
2028
  const fiber = new $mol_wire_atom(id, task, host, [key]);
2029
2029
  dict.set(key_str, fiber);
2030
2030
  return fiber;