@kenzuya/mediabunny 1.28.5 → 1.28.6

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.
@@ -16827,7 +16827,7 @@ var AVI = new AviInputFormat;
16827
16827
  var ALL_FORMATS = [MP4, QTFF, MATROSKA, WEBM, WAVE, OGG, FLAC, MP3, ADTS, AVI];
16828
16828
 
16829
16829
  // src/source.ts
16830
- var nodeAlias = (() => ({}));
16830
+ var fs = (() => ({}));
16831
16831
  /*!
16832
16832
  * Copyright (c) 2025-present, Vanilagy and contributors
16833
16833
  *
@@ -16835,7 +16835,6 @@ var nodeAlias = (() => ({}));
16835
16835
  * License, v. 2.0. If a copy of the MPL was not distributed with this
16836
16836
  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
16837
16837
  */
16838
- var node = typeof nodeAlias !== "undefined" ? nodeAlias : undefined;
16839
16838
 
16840
16839
  class Source {
16841
16840
  _disposed = false;
@@ -17148,7 +17147,8 @@ class FilePathSource extends Source {
17148
17147
  super();
17149
17148
  this._streamSource = new StreamSource({
17150
17149
  getSize: async () => {
17151
- this._fileHandle = await node.fs.open(filePath, "r");
17150
+ this._fileHandle = await fs.open(filePath, "r");
17151
+ assert(this._fileHandle);
17152
17152
  const stats = await this._fileHandle.stat();
17153
17153
  return stats.size;
17154
17154
  },
@@ -20144,9 +20144,6 @@ class FlacMuxer extends Muxer {
20144
20144
  // src/isobmff/isobmff-muxer.ts
20145
20145
  init_subtitles();
20146
20146
 
20147
- // src/target.ts
20148
- var nodeAlias2 = (() => ({}));
20149
-
20150
20147
  // src/writer.ts
20151
20148
  /*!
20152
20149
  * Copyright (c) 2025-present, Vanilagy and contributors
@@ -20490,6 +20487,7 @@ class NullTargetWriter extends Writer {
20490
20487
  }
20491
20488
 
20492
20489
  // src/target.ts
20490
+ var { default: fs2} = (() => ({}));
20493
20491
  /*!
20494
20492
  * Copyright (c) 2025-present, Vanilagy and contributors
20495
20493
  *
@@ -20497,7 +20495,6 @@ class NullTargetWriter extends Writer {
20497
20495
  * License, v. 2.0. If a copy of the MPL was not distributed with this
20498
20496
  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
20499
20497
  */
20500
- var node2 = typeof nodeAlias2 !== "undefined" ? nodeAlias2 : undefined;
20501
20498
 
20502
20499
  class Target {
20503
20500
  _output = null;
@@ -20549,7 +20546,8 @@ class FilePathTarget extends Target {
20549
20546
  super();
20550
20547
  const writable = new WritableStream({
20551
20548
  start: async () => {
20552
- this._fileHandle = await node2.fs.open(filePath, "w");
20549
+ this._fileHandle = await fs2.open(filePath, "w");
20550
+ assert(this._fileHandle);
20553
20551
  },
20554
20552
  write: async (chunk) => {
20555
20553
  assert(this._fileHandle);