@milaboratories/pl-drivers 1.5.11 → 1.5.12

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/dist/index.mjs CHANGED
@@ -3735,7 +3735,9 @@ class Tn {
3735
3735
  case "zip":
3736
3736
  this.state.zipPath = this.path + ".zip";
3737
3737
  const c = U.toWeb(it.createWriteStream(this.state.zipPath));
3738
- await e.pipeTo(c, { signal: t }), this.state.zipPathCreated = !0, await me(this.path + ".zip", n), await it.promises.rm(this.state.zipPath), this.state.zipPathDeleted = !0;
3738
+ await e.pipeTo(c, { signal: t }), this.state.zipPathCreated = !0, await me(this.state.zipPath, n, {
3739
+ filter: (l) => !l.path.endsWith("/")
3740
+ }), this.state.zipDecompressed = !0, await it.promises.rm(this.state.zipPath), this.state.zipPathDeleted = !0;
3739
3741
  return;
3740
3742
  default:
3741
3743
  le(this.format);