mam 1.11.784 → 1.11.786

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
@@ -6044,7 +6044,7 @@ var $;
6044
6044
  const res = this.$.$mol_file.unwatched(() => this.$.$mol_run.spawn({ command: step.text(), dir }), dir)
6045
6045
  .stdout.toString().trim();
6046
6046
  if (step.type)
6047
- content += `$.${step.type} = ${JSON.stringify(res)}`;
6047
+ content += `namespace $ { export let ${step.type} = ${JSON.stringify(res)} }`;
6048
6048
  }
6049
6049
  if (!content)
6050
6050
  return [];
package/node.test.js CHANGED
@@ -6035,7 +6035,7 @@ var $;
6035
6035
  const res = this.$.$mol_file.unwatched(() => this.$.$mol_run.spawn({ command: step.text(), dir }), dir)
6036
6036
  .stdout.toString().trim();
6037
6037
  if (step.type)
6038
- content += `$.${step.type} = ${JSON.stringify(res)}`;
6038
+ content += `namespace $ { export let ${step.type} = ${JSON.stringify(res)} }`;
6039
6039
  }
6040
6040
  if (!content)
6041
6041
  return [];