mol_jsx_lib 0.0.607 → 0.0.609

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
@@ -1968,7 +1968,7 @@ var $;
1968
1968
  const field = task.name + '()';
1969
1969
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1970
1970
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1971
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1971
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1972
1972
  if (dict) {
1973
1973
  const existen = dict.get(id);
1974
1974
  if (existen)
package/node.test.js CHANGED
@@ -1960,7 +1960,7 @@ var $;
1960
1960
  const field = task.name + '()';
1961
1961
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1962
1962
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1963
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1963
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1964
1964
  if (dict) {
1965
1965
  const existen = dict.get(id);
1966
1966
  if (existen)