music-metadata 11.7.2 → 11.8.0

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.
Files changed (97) hide show
  1. package/LICENSE.txt +9 -9
  2. package/README.md +874 -873
  3. package/lib/ParseError.js +0 -1
  4. package/lib/ParserFactory.js +0 -1
  5. package/lib/aiff/AiffLoader.js +0 -1
  6. package/lib/aiff/AiffParser.js +0 -1
  7. package/lib/aiff/AiffTagMap.js +0 -1
  8. package/lib/aiff/AiffToken.js +0 -1
  9. package/lib/apev2/APEv2Parser.js +0 -1
  10. package/lib/apev2/APEv2TagMapper.js +0 -1
  11. package/lib/apev2/APEv2Token.js +0 -1
  12. package/lib/apev2/Apev2Loader.js +0 -1
  13. package/lib/asf/AsfLoader.js +0 -1
  14. package/lib/asf/AsfObject.js +0 -1
  15. package/lib/asf/AsfParser.js +0 -1
  16. package/lib/asf/AsfTagMapper.js +0 -1
  17. package/lib/asf/AsfUtil.js +0 -1
  18. package/lib/asf/GUID.js +0 -1
  19. package/lib/common/BasicParser.js +0 -1
  20. package/lib/common/CaseInsensitiveTagMap.js +0 -1
  21. package/lib/common/CombinedTagMapper.js +0 -1
  22. package/lib/common/FourCC.js +0 -1
  23. package/lib/common/GenericTagMapper.js +0 -1
  24. package/lib/common/GenericTagTypes.js +0 -1
  25. package/lib/common/MetadataCollector.js +0 -1
  26. package/lib/common/Util.js +0 -1
  27. package/lib/core.js +0 -1
  28. package/lib/dsdiff/DsdiffLoader.js +0 -1
  29. package/lib/dsdiff/DsdiffParser.js +0 -1
  30. package/lib/dsdiff/DsdiffToken.js +0 -1
  31. package/lib/dsf/DsfChunk.js +0 -1
  32. package/lib/dsf/DsfLoader.js +0 -1
  33. package/lib/dsf/DsfParser.js +0 -1
  34. package/lib/ebml/EbmlIterator.js +0 -1
  35. package/lib/ebml/types.js +0 -1
  36. package/lib/flac/FlacLoader.js +0 -1
  37. package/lib/flac/FlacParser.js +0 -1
  38. package/lib/flac/FlacToken.js +0 -1
  39. package/lib/id3v1/ID3v1Parser.js +1 -1
  40. package/lib/id3v1/ID3v1TagMap.js +0 -1
  41. package/lib/id3v2/AbstractID3Parser.js +0 -1
  42. package/lib/id3v2/FrameParser.js +0 -1
  43. package/lib/id3v2/ID3v22TagMapper.js +0 -1
  44. package/lib/id3v2/ID3v24TagMapper.js +0 -1
  45. package/lib/id3v2/ID3v2Parser.js +1 -1
  46. package/lib/id3v2/ID3v2Token.js +0 -1
  47. package/lib/iff/index.js +0 -1
  48. package/lib/lrc/LyricsParser.js +0 -1
  49. package/lib/lyrics3/Lyrics3.js +1 -1
  50. package/lib/matroska/MatroskaDtd.js +0 -1
  51. package/lib/matroska/MatroskaLoader.js +0 -1
  52. package/lib/matroska/MatroskaParser.js +0 -1
  53. package/lib/matroska/MatroskaTagMapper.js +0 -1
  54. package/lib/matroska/types.js +0 -1
  55. package/lib/mp4/Atom.js +0 -1
  56. package/lib/mp4/AtomToken.js +0 -1
  57. package/lib/mp4/MP4Parser.js +1 -1
  58. package/lib/mp4/MP4TagMapper.js +0 -1
  59. package/lib/mp4/Mp4Loader.js +0 -1
  60. package/lib/mpeg/ExtendedLameHeader.js +0 -1
  61. package/lib/mpeg/MpegLoader.js +0 -1
  62. package/lib/mpeg/MpegParser.js +0 -1
  63. package/lib/mpeg/ReplayGainDataFormat.js +0 -1
  64. package/lib/mpeg/XingTag.js +0 -1
  65. package/lib/musepack/MusepackConentError.js +0 -1
  66. package/lib/musepack/MusepackLoader.js +0 -1
  67. package/lib/musepack/MusepackParser.js +0 -1
  68. package/lib/musepack/sv7/BitReader.js +0 -1
  69. package/lib/musepack/sv7/MpcSv7Parser.js +0 -1
  70. package/lib/musepack/sv7/StreamVersion7.js +1 -1
  71. package/lib/musepack/sv8/MpcSv8Parser.js +0 -1
  72. package/lib/musepack/sv8/StreamVersion8.js +0 -1
  73. package/lib/ogg/OggLoader.js +0 -1
  74. package/lib/ogg/OggParser.js +0 -1
  75. package/lib/ogg/OggToken.js +0 -1
  76. package/lib/ogg/flac/FlacStream.js +0 -1
  77. package/lib/ogg/opus/Opus.js +0 -1
  78. package/lib/ogg/opus/OpusStream.js +0 -1
  79. package/lib/ogg/speex/Speex.js +0 -1
  80. package/lib/ogg/speex/SpeexStream.js +0 -1
  81. package/lib/ogg/theora/Theora.js +0 -1
  82. package/lib/ogg/theora/TheoraStream.js +0 -1
  83. package/lib/ogg/vorbis/Vorbis.js +0 -1
  84. package/lib/ogg/vorbis/VorbisDecoder.js +1 -1
  85. package/lib/ogg/vorbis/VorbisStream.js +0 -1
  86. package/lib/ogg/vorbis/VorbisTagMapper.js +0 -1
  87. package/lib/riff/RiffChunk.js +0 -1
  88. package/lib/riff/RiffInfoTagMap.js +0 -1
  89. package/lib/type.js +0 -1
  90. package/lib/wav/BwfChunk.js +0 -1
  91. package/lib/wav/WaveChunk.js +0 -1
  92. package/lib/wav/WaveLoader.js +0 -1
  93. package/lib/wav/WaveParser.js +0 -1
  94. package/lib/wavpack/WavPackLoader.js +0 -1
  95. package/lib/wavpack/WavPackParser.js +0 -1
  96. package/lib/wavpack/WavPackToken.js +0 -1
  97. package/package.json +149 -148
package/package.json CHANGED
@@ -1,148 +1,149 @@
1
- {
2
- "name": "music-metadata",
3
- "description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
4
- "version": "11.7.2",
5
- "author": {
6
- "name": "Borewit",
7
- "url": "https://github.com/Borewit"
8
- },
9
- "funding": [
10
- {
11
- "type": "github",
12
- "url": "https://github.com/sponsors/Borewit"
13
- },
14
- {
15
- "type": "buymeacoffee",
16
- "url": "https://buymeacoffee.com/borewit"
17
- }
18
- ],
19
- "sideEffects": false,
20
- "type": "module",
21
- "exports": {
22
- "node": {
23
- "import": "./lib/index.js",
24
- "module-sync": "./lib/index.js",
25
- "types": "./lib/index.d.ts"
26
- },
27
- "default": {
28
- "import": "./lib/core.js",
29
- "module-sync": "./lib/core.js",
30
- "types": "./lib/core.d.ts"
31
- }
32
- },
33
- "types": "lib/index.d.ts",
34
- "files": [
35
- "lib/**/*.js",
36
- "lib/**/*.d.ts"
37
- ],
38
- "keywords": [
39
- "music",
40
- "metadata",
41
- "meta",
42
- "audio",
43
- "tag",
44
- "tags",
45
- "duration",
46
- "MusicBrainz",
47
- "Discogs",
48
- "Picard",
49
- "ID3",
50
- "ID3v1",
51
- "ID3v2",
52
- "m4a",
53
- "m4b",
54
- "mp3",
55
- "mp4",
56
- "Vorbis",
57
- "ogg",
58
- "flac",
59
- "Matroska",
60
- "WebM",
61
- "EBML",
62
- "asf",
63
- "wma",
64
- "wmv",
65
- "ape",
66
- "MonkeyAudio",
67
- "aiff",
68
- "wav",
69
- "WavPack",
70
- "Opus",
71
- "speex",
72
- "musepack",
73
- "mpc",
74
- "dsd",
75
- "dsf",
76
- "mpc",
77
- "dff",
78
- "dsdiff",
79
- "aac",
80
- "adts",
81
- "length",
82
- "chapter",
83
- "info",
84
- "parse",
85
- "parser",
86
- "bwf",
87
- "slt",
88
- "lyrics"
89
- ],
90
- "scripts": {
91
- "clean": "del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map' 'test/**/*.js' 'test/**/*.js.map' 'doc-gen/**/*.js' 'doc-gen/**/*.js.map'",
92
- "compile-src": "tsc -p lib --sourceMap false",
93
- "compile-test": "tsc -p test",
94
- "compile-doc": "tsc -p doc-gen",
95
- "compile": "yarn run compile-src && yarn compile-test && yarn compile-doc",
96
- "lint:ts": "biome check",
97
- "lint:md": "yarn run remark -u remark-preset-lint-consistent .",
98
- "lint": "yarn run lint:ts && yarn run lint:md",
99
- "test": "mocha",
100
- "build": "yarn run clean && yarn compile && yarn run doc-gen",
101
- "prepublishOnly": "yarn run build",
102
- "test-coverage": "c8 yarn run test",
103
- "send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
104
- "doc-gen": "yarn node doc-gen/gen.js",
105
- "typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit",
106
- "update-biome": "yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write"
107
- },
108
- "dependencies": {
109
- "@tokenizer/token": "^0.3.0",
110
- "content-type": "^1.0.5",
111
- "debug": "^4.4.1",
112
- "file-type": "^21.0.0",
113
- "media-typer": "^1.1.0",
114
- "strtok3": "^10.3.4",
115
- "token-types": "^6.0.4",
116
- "uint8array-extras": "^1.4.0"
117
- },
118
- "devDependencies": {
119
- "@biomejs/biome": "2.1.2",
120
- "@types/chai": "^5.2.2",
121
- "@types/chai-as-promised": "^8.0.2",
122
- "@types/content-type": "^1.1.9",
123
- "@types/debug": "^4.1.12",
124
- "@types/media-typer": "^1.1.3",
125
- "@types/mocha": "^10.0.10",
126
- "@types/node": "^24.1.0",
127
- "c8": "^10.1.3",
128
- "chai": "^5.2.1",
129
- "chai-as-promised": "^8.0.1",
130
- "del-cli": "^6.0.0",
131
- "mime": "^4.0.7",
132
- "mocha": "^11.7.1",
133
- "node-readable-to-web-readable-stream": "^0.4.2",
134
- "remark-cli": "^12.0.1",
135
- "remark-preset-lint-consistent": "^6.0.1",
136
- "ts-node": "^10.9.2",
137
- "typescript": "^5.8.3"
138
- },
139
- "engines": {
140
- "node": ">=18"
141
- },
142
- "repository": "github:Borewit/music-metadata",
143
- "license": "MIT",
144
- "bugs": {
145
- "url": "https://github.com/Borewit/music-metadata/issues"
146
- },
147
- "packageManager": "yarn@4.9.2"
148
- }
1
+ {
2
+ "name": "music-metadata",
3
+ "description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
4
+ "version": "11.8.0",
5
+ "author": {
6
+ "name": "Borewit",
7
+ "url": "https://github.com/Borewit"
8
+ },
9
+ "funding": [
10
+ {
11
+ "type": "github",
12
+ "url": "https://github.com/sponsors/Borewit"
13
+ },
14
+ {
15
+ "type": "buymeacoffee",
16
+ "url": "https://buymeacoffee.com/borewit"
17
+ }
18
+ ],
19
+ "sideEffects": false,
20
+ "type": "module",
21
+ "exports": {
22
+ "node": {
23
+ "import": "./lib/index.js",
24
+ "module-sync": "./lib/index.js",
25
+ "types": "./lib/index.d.ts"
26
+ },
27
+ "default": {
28
+ "import": "./lib/core.js",
29
+ "module-sync": "./lib/core.js",
30
+ "types": "./lib/core.d.ts"
31
+ }
32
+ },
33
+ "types": "lib/index.d.ts",
34
+ "files": [
35
+ "lib/**/*.js",
36
+ "lib/**/*.d.ts"
37
+ ],
38
+ "keywords": [
39
+ "music",
40
+ "metadata",
41
+ "meta",
42
+ "audio",
43
+ "tag",
44
+ "tags",
45
+ "duration",
46
+ "MusicBrainz",
47
+ "Discogs",
48
+ "Picard",
49
+ "ID3",
50
+ "ID3v1",
51
+ "ID3v2",
52
+ "m4a",
53
+ "m4b",
54
+ "mp3",
55
+ "mp4",
56
+ "Vorbis",
57
+ "ogg",
58
+ "flac",
59
+ "Matroska",
60
+ "WebM",
61
+ "EBML",
62
+ "asf",
63
+ "wma",
64
+ "wmv",
65
+ "ape",
66
+ "MonkeyAudio",
67
+ "aiff",
68
+ "wav",
69
+ "WavPack",
70
+ "Opus",
71
+ "speex",
72
+ "musepack",
73
+ "mpc",
74
+ "dsd",
75
+ "dsf",
76
+ "mpc",
77
+ "dff",
78
+ "dsdiff",
79
+ "aac",
80
+ "adts",
81
+ "length",
82
+ "chapter",
83
+ "info",
84
+ "parse",
85
+ "parser",
86
+ "bwf",
87
+ "slt",
88
+ "lyrics"
89
+ ],
90
+ "scripts": {
91
+ "clean": "del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map' 'test/**/*.js' 'test/**/*.js.map' 'doc-gen/**/*.js' 'doc-gen/**/*.js.map'",
92
+ "compile-src": "tsc -p lib --sourceMap false",
93
+ "compile-test": "tsc -p test",
94
+ "compile-doc": "tsc -p doc-gen",
95
+ "compile": "yarn run compile-src && yarn compile-test && yarn compile-doc",
96
+ "lint:ts": "biome check",
97
+ "lint:md": "yarn run remark -u remark-preset-lint-consistent .",
98
+ "lint": "yarn run lint:ts && yarn run lint:md",
99
+ "test": "mocha",
100
+ "build": "yarn run clean && yarn compile && yarn run doc-gen",
101
+ "prepublishOnly": "yarn run build",
102
+ "test-coverage": "c8 yarn run test",
103
+ "send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
104
+ "doc-gen": "yarn node doc-gen/gen.js",
105
+ "typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit",
106
+ "update-biome": "yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write"
107
+ },
108
+ "dependencies": {
109
+ "@kayahr/text-encoding": "^2.0.1",
110
+ "@tokenizer/token": "^0.3.0",
111
+ "content-type": "^1.0.5",
112
+ "debug": "^4.4.1",
113
+ "file-type": "^21.0.0",
114
+ "media-typer": "^1.1.0",
115
+ "strtok3": "^10.3.4",
116
+ "token-types": "^6.1.0",
117
+ "uint8array-extras": "^1.4.0"
118
+ },
119
+ "devDependencies": {
120
+ "@biomejs/biome": "2.1.4",
121
+ "@types/chai": "^5.2.2",
122
+ "@types/chai-as-promised": "^8.0.2",
123
+ "@types/content-type": "^1.1.9",
124
+ "@types/debug": "^4.1.12",
125
+ "@types/media-typer": "^1.1.3",
126
+ "@types/mocha": "^10.0.10",
127
+ "@types/node": "^24.2.1",
128
+ "c8": "^10.1.3",
129
+ "chai": "^5.2.1",
130
+ "chai-as-promised": "^8.0.1",
131
+ "del-cli": "^6.0.0",
132
+ "mime": "^4.0.7",
133
+ "mocha": "^11.7.1",
134
+ "node-readable-to-web-readable-stream": "^0.4.2",
135
+ "remark-cli": "^12.0.1",
136
+ "remark-preset-lint-consistent": "^6.0.1",
137
+ "ts-node": "^10.9.2",
138
+ "typescript": "^5.9.2"
139
+ },
140
+ "engines": {
141
+ "node": ">=18"
142
+ },
143
+ "repository": "github:Borewit/music-metadata",
144
+ "license": "MIT",
145
+ "bugs": {
146
+ "url": "https://github.com/Borewit/music-metadata/issues"
147
+ },
148
+ "packageManager": "yarn@4.9.2"
149
+ }