1
0
mirror of synced 2026-05-22 14:43:19 +00:00
Commit Graph

3583 Commits

Author SHA1 Message Date
Borewit 8c822709d3 Add ID3v2 chapter support 2026-01-24 19:48:05 +01:00
Borewit 9809b7dcb0 Drop Discord link 2026-01-23 12:58:23 +01:00
dependabot[bot] 509010a699 Change NPM download statistics to weekly 2026-01-23 12:57:58 +01:00
dependabot[bot] 213e08dc90 Bump win-guid from 0.1.3 to 0.2.0
Bumps [win-guid](https://github.com/Borewit/win-guid) from 0.1.3 to 0.2.0.
- [Release notes](https://github.com/Borewit/win-guid/releases)
- [Commits](https://github.com/Borewit/win-guid/compare/v0.1.3...v0.2.0)

---
updated-dependencies:
- dependency-name: win-guid
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 23:55:36 +01:00
Borewit e86e878c15 11.10.6 v11.10.6 2026-01-14 18:11:29 +01:00
dependabot[bot] 99d80e5685 Bump file-type from 21.2.0 to 21.3.0
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.2.0 to 21.3.0.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.2.0...v21.3.0)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-14 18:04:56 +01:00
Borewit b13fab0e7b Depend on win-guid for Windows GUID conversion 2026-01-14 18:04:39 +01:00
Borewit 81dca61fee Fix small code smalls, update Biome to 2.3.11 2026-01-06 15:50:42 +01:00
Borewit 9368e35f7a 11.10.5 v11.10.5 2026-01-06 13:47:18 +01:00
Borewit 64d2148d11 id3v2: harden frame parsing and fix edge cases
- Correctly handle missing null terminators in text fields
- Avoid reading text encoding for frames that do not define it
- Decode URL link frames according to ID3v2 specification
- Improve robustness of POPM and GEOB frame parsing
2026-01-06 13:39:38 +01:00
Borewit fd8b32b309 Improve findZero:
- eliminates all OOB reads.
- makes the “not found” behavior explicit and consistent.
2026-01-06 13:39:38 +01:00
Borewit 7ad0198d67 Improve readNullTerminatedString
- Don’t overwrite `uint8Array`, keep `valueArray` so the length comparison is correct and readable.
- Replace `zeroIndex === -`1 with `zeroIndex >= valueArray.length`.
2026-01-06 13:39:38 +01:00
Borewit 0e4156b986 id3v2: tighten frame decoding, trim nulls without regex, reduce allocations
- Use flatMap for TCON genre expansion to avoid concat/reduce allocations
- Add trimNullPadding helper and replace regex-based trailing null trimming
- Add defensive length checks for COMM/USLT and POPM parsing
- Use decodeUintBE consistently for POPM counter decoding
2026-01-06 13:39:38 +01:00
Borewit 26696ec75f Removed the eager, unconditional TextEncodingToken.get(...) at the start of readData() 2026-01-06 13:39:38 +01:00
Borewit da2f4ca2e9 Better reuse FrameParser.readNullTerminatedString 2026-01-06 13:39:38 +01:00
Borewit abbe09323d Improve MP3 parsing code
Favor Uint8Array.subarray, over passing offset and length
2026-01-06 13:39:38 +01:00
Borewit 65ec1c8fbd Move header parsing to FrameHeader.ts file, to allow re-using
Replace passing offset, and utilize `Uint8Array.subarray` instead.
2026-01-06 13:39:38 +01:00
Borewit 8caef3641a 11.10.4 v11.10.4 2026-01-01 15:52:22 +01:00
dependabot[bot] 82327db7fd Bump the types group across 1 directory with 2 updates
Bumps the types group with 2 updates in the / directory: [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/chai` from 5.2.2 to 5.2.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

Updates `@types/node` from 24.5.0 to 25.0.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-version: 5.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/node"
  dependency-version: 25.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 15:51:24 +01:00
dependabot[bot] ea8090715d Bump token-types from 6.1.1 to 6.1.2
Bumps [token-types](https://github.com/Borewit/token-types) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/Borewit/token-types/releases)
- [Commits](https://github.com/Borewit/token-types/commits)

---
updated-dependencies:
- dependency-name: token-types
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 15:47:43 +01:00
Borewit a4ec9aa2d5 Update Biome to 2.3.10 2026-01-01 15:29:56 +01:00
dependabot[bot] a6cf8069ed Bump @borewit/text-codec from 0.2.0 to 0.2.1
Bumps [@borewit/text-codec](https://github.com/Borewit/text-codec) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/Borewit/text-codec/releases)
- [Commits](https://github.com/Borewit/text-codec/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: "@borewit/text-codec"
  dependency-version: 0.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 15:14:46 +01:00
Borewit dbdbc45ffb Update license year to 2026 2026-01-01 01:50:06 +00:00
dependabot[bot] d455a8e683 Bump chai from 6.2.1 to 6.2.2
Bumps [chai](https://github.com/chaijs/chai) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v6.2.1...v6.2.2)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 22:38:20 +01:00
dependabot[bot] ee853ed5fb Bump file-type from 21.1.1 to 21.2.0
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.1.1 to 21.2.0.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.1.1...v21.2.0)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 22:38:07 +01:00
Borewit af1d35bf0c 11.10.3 v11.10.3 2025-11-23 12:47:36 +01:00
Borewit af6caa7738 Improve MP4 bitrate calculation
Avoid using bitrate using `mdat` box, which could contain multiple streams
2025-11-23 12:25:29 +01:00
Borewit 03f2b41531 Update Biome to version 2.3.7 2025-11-23 12:23:44 +01:00
Borewit f303d941a0 11.10.2 v11.10.2 2025-11-19 21:52:08 +01:00
Borewit 1944b80e8c Fix bitrate calculation over multiple mdat boxes 2025-11-19 21:50:04 +01:00
dependabot[bot] 0ae930d7ed Bump glob from 10.4.5 to 10.5.0
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 19:11:22 +01:00
dependabot[bot] 5fd819bf67 Bump file-type from 21.1.0 to 21.1.1
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.1.0 to 21.1.1.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.1.0...v21.1.1)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 19:11:06 +01:00
Borewit 071f1da7cf 11.10.1 v11.10.1 2025-11-15 19:26:22 +01:00
dependabot[bot] c30a1c7219 Bump js-yaml from 4.1.0 to 4.1.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 19:25:12 +01:00
dependabot[bot] 6183cbf420 Bump chai from 6.2.0 to 6.2.1
Bumps [chai](https://github.com/chaijs/chai) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 19:24:55 +01:00
dependabot[bot] 2531de9bfe Bump file-type from 21.0.0 to 21.1.0
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.0.0 to 21.1.0.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.0.0...v21.1.0)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 19:24:45 +01:00
Borewit 4c189dd6bf Update biome to 2.3.5 2025-11-15 19:24:35 +01:00
Borewit 9f5f545136 Fix Ogg/Opus duration calculation.
Duration calculation requires to parse the entire Ogg/Opus file.
2025-11-15 19:24:15 +01:00
Borewit 40c8e8b388 11.10.0 v11.10.0 2025-11-09 14:59:19 +01:00
Gérald LEBAN 44f262f011 Add support for vorbis unsynced lyrics (#2489)
Extract unsynced vorbis lyrics
---------
Co-authored-by: Borewit <Borewit@users.noreply.github.com>
2025-11-09 14:55:57 +01:00
dependabot[bot] 0222c1e383 Bump @types/node from 24.3.1 to 24.5.0 in the types group
Bumps the types group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 24.3.1 to 24.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-09 14:15:09 +01:00
Borewit 65e6146668 Add support Apple’s QuickTime File Format 2025-11-09 14:14:54 +01:00
dependabot[bot] 0c896c515f Bump chai from 6.0.1 to 6.2.0
Bumps [chai](https://github.com/chaijs/chai) from 6.0.1 to 6.2.0.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v6.0.1...v6.2.0)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-09 14:11:28 +01:00
dependabot[bot] cb1bf4d4e4 Bump del-cli from 6.0.0 to 7.0.0
Bumps [del-cli](https://github.com/sindresorhus/del-cli) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/del-cli/releases)
- [Commits](https://github.com/sindresorhus/del-cli/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: del-cli
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-09 14:11:12 +01:00
dependabot[bot] 3bac2b565f Bump mocha from 11.7.2 to 11.7.5
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.2 to 11.7.5.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/v11.7.5/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.2...v11.7.5)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-09 14:11:01 +01:00
dependabot[bot] efc3cd89fd Bump typescript from 5.9.2 to 5.9.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.2...v5.9.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-09 14:10:48 +01:00
Borewit 044e565de8 Update Biome to 2.3.4 2025-11-09 14:10:39 +01:00
Borewit f830c9fcc4 Document includeChapters option 2025-11-09 14:05:44 +01:00
Borewit 4266bbe559 11.9.0 v11.9.0 2025-09-15 20:41:15 +02:00
dependabot[bot] 9f1761ea76 Bump @types/node from 24.3.0 to 24.3.1 in the types group
Bumps the types group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 24.3.0 to 24.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 20:37:18 +02:00