Skip to content

Commit

Permalink
Update dependency strtok3 to version 10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Dec 1, 2024
1 parent f60536f commit cff6527
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/mpeg/MpegParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export class MpegParser extends AbstractID3Parser {
this.mpegOffset = this.tokenizer.position - 1;
}

await this.tokenizer.peekBuffer(this.buf_frame_header, {offset: 1, length: 3});
await this.tokenizer.peekBuffer(this.buf_frame_header.subarray(1), {length: 3});

let header: MpegFrameHeader;
try {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"file-type": "^19.6.0",
"link": "^2.1.1",
"media-typer": "^1.1.0",
"strtok3": "^9.1.1",
"strtok3": "^10.0.0",
"token-types": "^6.0.0",
"uint8array-extras": "^1.4.0"
},
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2393,7 +2393,7 @@ __metadata:
mocha: "npm:^10.8.2"
remark-cli: "npm:^12.0.1"
remark-preset-lint-consistent: "npm:^6.0.0"
strtok3: "npm:^9.1.1"
strtok3: "npm:^10.0.0"
token-types: "npm:^6.0.0"
ts-node: "npm:^10.9.2"
typescript: "npm:^5.7.2"
Expand Down Expand Up @@ -3222,23 +3222,23 @@ __metadata:
languageName: node
linkType: hard

"strtok3@npm:^9.0.1":
version: 9.0.1
resolution: "strtok3@npm:9.0.1"
"strtok3@npm:^10.0.0":
version: 10.0.0
resolution: "strtok3@npm:10.0.0"
dependencies:
"@tokenizer/token": "npm:^0.3.0"
peek-readable: "npm:^5.3.1"
checksum: 10c0/ab96030c3d30899fc885ed87b305086b6421d64c1a2b9f5240c6ecffde7b819e174d67bd3b1ecc14a10f539c7a818a0ac47386b4bbb2fa913f673b6ed1c0eb78
checksum: 10c0/a9b3b37b4b65766bba8448098895ee1e175e1f592833aa41852ca745aa35a9de01a2da23ff929d2ee4eb55d3e14f59073ff3d1105fde789ebfb4a2f09e8642df
languageName: node
linkType: hard

"strtok3@npm:^9.1.1":
version: 9.1.1
resolution: "strtok3@npm:9.1.1"
"strtok3@npm:^9.0.1":
version: 9.0.1
resolution: "strtok3@npm:9.0.1"
dependencies:
"@tokenizer/token": "npm:^0.3.0"
peek-readable: "npm:^5.3.1"
checksum: 10c0/ef9cd2a6cd21aec368c7f6fbd1d93548adc2c5b69ee28fa9a4b4e8fb6be6e539f3fcdf21107196e0c3fdff1c433db7e5d0fb8cab132c0b013ed9eef220bdcf2f
checksum: 10c0/ab96030c3d30899fc885ed87b305086b6421d64c1a2b9f5240c6ecffde7b819e174d67bd3b1ecc14a10f539c7a818a0ac47386b4bbb2fa913f673b6ed1c0eb78
languageName: node
linkType: hard

Expand Down

0 comments on commit cff6527

Please sign in to comment.