music-metadata 10.6.1 → 10.6.3

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/lib/index.js CHANGED
@@ -38,3 +38,4 @@ export async function parseFile(filePath, options = {}) {
38
38
  await fileTokenizer.close();
39
39
  }
40
40
  }
41
+ //# sourceMappingURL=index.js.map
@@ -354,7 +354,7 @@ export class MpegParser extends AbstractID3Parser {
354
354
  if (this.frameCount === 0) {
355
355
  this.mpegOffset = this.tokenizer.position - 1;
356
356
  }
357
- await this.tokenizer.peekBuffer(this.buf_frame_header, { offset: 1, length: 3 });
357
+ await this.tokenizer.peekBuffer(this.buf_frame_header.subarray(1), { length: 3 });
358
358
  let header;
359
359
  try {
360
360
  header = FrameHeader.get(this.buf_frame_header, 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "music-metadata",
3
3
  "description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
4
- "version": "10.6.1",
4
+ "version": "10.6.3",
5
5
  "author": {
6
6
  "name": "Borewit",
7
7
  "url": "https://github.com/Borewit"
@@ -111,7 +111,7 @@
111
111
  "file-type": "^19.6.0",
112
112
  "link": "^2.1.1",
113
113
  "media-typer": "^1.1.0",
114
- "strtok3": "^9.1.1",
114
+ "strtok3": "^10.0.0",
115
115
  "token-types": "^6.0.0",
116
116
  "uint8array-extras": "^1.4.0"
117
117
  },