mol_plot_all 1.2.1301 → 1.2.1303

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.d.ts CHANGED
@@ -537,8 +537,8 @@ declare namespace $ {
537
537
  dir: string;
538
538
  }> {
539
539
  }
540
- const $mol_run_spawn: (command: string, args: readonly string[], options: import("child_process").SpawnOptions) => import("child_process").ChildProcess;
541
- const $mol_run_spawn_sync: (command: string, args?: readonly string[] | undefined, options?: import("child_process").SpawnSyncOptions | undefined) => import("child_process").SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
540
+ const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
541
+ const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
542
542
  type $mol_run_options = {
543
543
  command: readonly string[] | string;
544
544
  dir: string;
package/node.js CHANGED
@@ -3208,11 +3208,11 @@ var $;
3208
3208
  }
3209
3209
  *view_find(check, path = []) {
3210
3210
  if (path.length === 0 && check(this))
3211
- return yield [...path, this];
3211
+ return yield [this];
3212
3212
  try {
3213
3213
  for (const item of this.sub()) {
3214
3214
  if (item instanceof $mol_view && check(item)) {
3215
- return yield [...path, item];
3215
+ return yield [...path, this, item];
3216
3216
  }
3217
3217
  }
3218
3218
  for (const item of this.sub()) {