mol_wire_lib 1.0.739 → 1.0.740

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.mjs CHANGED
@@ -1143,7 +1143,7 @@ var $;
1143
1143
  const field = task.name + '()';
1144
1144
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1145
1145
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1146
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1146
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1147
1147
  if (dict) {
1148
1148
  const existen = dict.get(id);
1149
1149
  if (existen)
package/node.test.js CHANGED
@@ -1135,7 +1135,7 @@ var $;
1135
1135
  const field = task.name + '()';
1136
1136
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1137
1137
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1138
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1138
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1139
1139
  if (dict) {
1140
1140
  const existen = dict.get(id);
1141
1141
  if (existen)