mol_jsx_lib 0.0.1040 → 0.0.1042

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/web.mjs CHANGED
@@ -1383,7 +1383,8 @@ var $;
1383
1383
  break reuse;
1384
1384
  return existen;
1385
1385
  }
1386
- const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}<#>`, task, host, args);
1386
+ const key = (host?.[Symbol.toStringTag] ?? host) + ('.' + task.name + '<#>');
1387
+ const next = new $mol_wire_task(key, task, host, args);
1387
1388
  if (existen?.temp) {
1388
1389
  $$.$mol_log3_warn({
1389
1390
  place: '$mol_wire_task',
@@ -1500,7 +1501,7 @@ var $;
1500
1501
  if (existen)
1501
1502
  return existen;
1502
1503
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1503
- const key = `${prefix}.${field}`;
1504
+ const key = prefix + ('.' + field);
1504
1505
  const fiber = new $mol_wire_atom(key, task, host, []);
1505
1506
  (host ?? task)[field] = fiber;
1506
1507
  return fiber;
@@ -1518,7 +1519,7 @@ var $;
1518
1519
  else {
1519
1520
  dict = (host ?? task)[field] = new Map();
1520
1521
  }
1521
- const id = `${prefix}.${task.name}<${key_str.replace(/^"|"$/g, "'")}>`;
1522
+ const id = prefix + ('.' + task.name) + ('<' + key_str.replace(/^"|"$/g, "'") + '>');
1522
1523
  const fiber = new $mol_wire_atom(id, task, host, [key]);
1523
1524
  dict.set(key_str, fiber);
1524
1525
  return fiber;