@zip.js/zip.js 2.6.67 → 2.6.68

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/zip-full.js CHANGED
@@ -6848,8 +6848,8 @@
6848
6848
  }
6849
6849
 
6850
6850
  async init() {
6851
- super.init();
6852
6851
  await initHttpReader(this, sendFetchRequest, getFetchRequestData);
6852
+ super.init();
6853
6853
  }
6854
6854
 
6855
6855
  readUint8Array(index, length) {
@@ -6865,8 +6865,8 @@
6865
6865
  }
6866
6866
 
6867
6867
  async init() {
6868
- super.init();
6869
6868
  await initHttpReader(this, sendXMLHttpRequest, getXMLHttpRequestData);
6869
+ super.init();
6870
6870
  }
6871
6871
 
6872
6872
  readUint8Array(index, length) {
@@ -7053,8 +7053,8 @@
7053
7053
  }
7054
7054
 
7055
7055
  async init() {
7056
- super.init();
7057
7056
  await this.reader.init();
7057
+ super.init();
7058
7058
  }
7059
7059
 
7060
7060
  readUint8Array(index, length) {
@@ -7089,11 +7089,11 @@
7089
7089
  class Uint8ArrayWriter extends Writer {
7090
7090
 
7091
7091
  init(initSize = 0) {
7092
- super.init();
7093
7092
  Object.assign(this, {
7094
7093
  offset: 0,
7095
7094
  array: new Uint8Array(initSize)
7096
7095
  });
7096
+ super.init();
7097
7097
  }
7098
7098
 
7099
7099
  writeUint8Array(array) {
@@ -7120,7 +7120,6 @@
7120
7120
  }
7121
7121
 
7122
7122
  async init() {
7123
- super.init();
7124
7123
  const reader = this;
7125
7124
  const { readers } = reader;
7126
7125
  reader.lastDiskNumber = 0;
@@ -7128,6 +7127,7 @@
7128
7127
  await diskReader.init();
7129
7128
  reader.size += diskReader.size;
7130
7129
  }));
7130
+ super.init();
7131
7131
  }
7132
7132
 
7133
7133
  async readUint8Array(offset, length, diskNumber = 0) {