mol_plot_all 1.2.747 → 1.2.749

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
@@ -1178,7 +1178,7 @@ var $;
1178
1178
  const field = task.name + '()';
1179
1179
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1180
1180
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1181
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1181
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1182
1182
  if (dict) {
1183
1183
  const existen = dict.get(id);
1184
1184
  if (existen)
@@ -1399,9 +1399,9 @@ var $node = new Proxy({ require }, {
1399
1399
  while (!fs.existsSync(path.join(dir, suffix))) {
1400
1400
  const parent = path.resolve(dir, '..');
1401
1401
  if (parent === dir) {
1402
- $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '--no-save', name);
1402
+ $$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
1403
1403
  try {
1404
- $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '--no-save', '@types/' + name);
1404
+ $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
1405
1405
  }
1406
1406
  catch { }
1407
1407
  break;
package/node.test.js CHANGED
@@ -1170,7 +1170,7 @@ var $;
1170
1170
  const field = task.name + '()';
1171
1171
  let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
1172
1172
  const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
1173
- const id = `${prefix}.${task.name}(${$mol_key(key)})`;
1173
+ const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
1174
1174
  if (dict) {
1175
1175
  const existen = dict.get(id);
1176
1176
  if (existen)
@@ -1391,9 +1391,9 @@ var $node = new Proxy({ require }, {
1391
1391
  while (!fs.existsSync(path.join(dir, suffix))) {
1392
1392
  const parent = path.resolve(dir, '..');
1393
1393
  if (parent === dir) {
1394
- $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '--no-save', name);
1394
+ $$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
1395
1395
  try {
1396
- $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '--no-save', '@types/' + name);
1396
+ $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
1397
1397
  }
1398
1398
  catch { }
1399
1399
  break;