music-metadata 11.3.0 → 11.5.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.
- package/LICENSE.txt +9 -9
- package/README.md +859 -859
- package/lib/ParserFactory.d.ts +1 -1
- package/lib/ParserFactory.js +10 -1
- package/lib/aiff/AiffParser.js +1 -0
- package/lib/apev2/APEv2Parser.d.ts +1 -1
- package/lib/apev2/APEv2Parser.js +5 -4
- package/lib/asf/AsfObject.d.ts +1 -1
- package/lib/asf/AsfObject.js +1 -1
- package/lib/common/GenericTagMapper.d.ts +1 -1
- package/lib/common/GenericTagMapper.js +1 -1
- package/lib/common/MetadataCollector.d.ts +2 -0
- package/lib/common/MetadataCollector.js +5 -1
- package/lib/core.d.ts +2 -2
- package/lib/core.js +3 -6
- package/lib/dsdiff/DsdiffParser.js +1 -0
- package/lib/dsf/DsfParser.js +1 -0
- package/lib/ebml/EbmlIterator.js +1 -1
- package/lib/flac/FlacParser.js +1 -0
- package/lib/mp4/Atom.js +1 -1
- package/lib/mp4/AtomToken.d.ts +84 -2
- package/lib/mp4/AtomToken.js +141 -9
- package/lib/mp4/MP4Parser.d.ts +4 -0
- package/lib/mp4/MP4Parser.js +156 -57
- package/lib/mp4/MP4TagMapper.d.ts +1 -1
- package/lib/mp4/MP4TagMapper.js +1 -1
- package/lib/mpeg/MpegParser.js +1 -0
- package/lib/musepack/MusepackParser.js +1 -0
- package/lib/musepack/sv7/MpcSv7Parser.js +2 -2
- package/lib/musepack/sv8/MpcSv8Parser.js +2 -2
- package/lib/ogg/opus/OpusParser.d.ts +1 -1
- package/lib/ogg/opus/OpusParser.js +2 -1
- package/lib/ogg/speex/SpeexParser.d.ts +1 -1
- package/lib/ogg/speex/SpeexParser.js +2 -1
- package/lib/ogg/theora/TheoraParser.d.ts +3 -5
- package/lib/ogg/theora/TheoraParser.js +4 -5
- package/lib/ogg/vorbis/VorbisParser.d.ts +1 -1
- package/lib/ogg/vorbis/VorbisParser.js +2 -1
- package/lib/type.d.ts +9 -1
- package/lib/wav/WaveParser.js +1 -0
- package/lib/wavpack/WavPackParser.js +3 -2
- package/package.json +146 -146
package/package.json
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "music-metadata",
|
|
3
|
-
"description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
|
|
4
|
-
"version": "11.
|
|
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",
|
|
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
|
|
97
|
-
"lint
|
|
98
|
-
"lint": "yarn run lint
|
|
99
|
-
"test": "mocha",
|
|
100
|
-
"build": "yarn run clean && yarn compile && yarn run doc-gen",
|
|
101
|
-
"test-coverage": "c8 yarn run test",
|
|
102
|
-
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
|
|
103
|
-
"doc-gen": "yarn node doc-gen/gen.js",
|
|
104
|
-
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@tokenizer/token": "^0.3.0",
|
|
108
|
-
"content-type": "^1.0.5",
|
|
109
|
-
"debug": "^4.4.1",
|
|
110
|
-
"file-type": "^21.0.0",
|
|
111
|
-
"media-typer": "^1.1.0",
|
|
112
|
-
"strtok3": "^10.3.1",
|
|
113
|
-
"token-types": "^6.0.
|
|
114
|
-
"uint8array-extras": "^1.4.0"
|
|
115
|
-
},
|
|
116
|
-
"devDependencies": {
|
|
117
|
-
"@biomejs/biome": "
|
|
118
|
-
"@types/chai": "^5.2.2",
|
|
119
|
-
"@types/chai-as-promised": "^8.0.2",
|
|
120
|
-
"@types/content-type": "^1.1.9",
|
|
121
|
-
"@types/debug": "^4.1.12",
|
|
122
|
-
"@types/media-typer": "^1.1.3",
|
|
123
|
-
"@types/mocha": "^10.0.10",
|
|
124
|
-
"@types/node": "^24.0.
|
|
125
|
-
"c8": "^10.1.3",
|
|
126
|
-
"chai": "^5.2.0",
|
|
127
|
-
"chai-as-promised": "^8.0.1",
|
|
128
|
-
"del-cli": "^6.0.0",
|
|
129
|
-
"mime": "^4.0.7",
|
|
130
|
-
"mocha": "^11.
|
|
131
|
-
"node-readable-to-web-readable-stream": "^0.4.2",
|
|
132
|
-
"remark-cli": "^12.0.1",
|
|
133
|
-
"remark-preset-lint-consistent": "^6.0.1",
|
|
134
|
-
"ts-node": "^10.9.2",
|
|
135
|
-
"typescript": "^5.8.3"
|
|
136
|
-
},
|
|
137
|
-
"engines": {
|
|
138
|
-
"node": ">=18"
|
|
139
|
-
},
|
|
140
|
-
"repository": "github:Borewit/music-metadata",
|
|
141
|
-
"license": "MIT",
|
|
142
|
-
"bugs": {
|
|
143
|
-
"url": "https://github.com/Borewit/music-metadata/issues"
|
|
144
|
-
},
|
|
145
|
-
"packageManager": "yarn@4.9.
|
|
146
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "music-metadata",
|
|
3
|
+
"description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
|
|
4
|
+
"version": "11.5.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",
|
|
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 --error-on-warnings",
|
|
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
|
+
"test-coverage": "c8 yarn run test",
|
|
102
|
+
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
|
|
103
|
+
"doc-gen": "yarn node doc-gen/gen.js",
|
|
104
|
+
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit"
|
|
105
|
+
},
|
|
106
|
+
"dependencies": {
|
|
107
|
+
"@tokenizer/token": "^0.3.0",
|
|
108
|
+
"content-type": "^1.0.5",
|
|
109
|
+
"debug": "^4.4.1",
|
|
110
|
+
"file-type": "^21.0.0",
|
|
111
|
+
"media-typer": "^1.1.0",
|
|
112
|
+
"strtok3": "^10.3.1",
|
|
113
|
+
"token-types": "^6.0.3",
|
|
114
|
+
"uint8array-extras": "^1.4.0"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@biomejs/biome": "2.0.6",
|
|
118
|
+
"@types/chai": "^5.2.2",
|
|
119
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
120
|
+
"@types/content-type": "^1.1.9",
|
|
121
|
+
"@types/debug": "^4.1.12",
|
|
122
|
+
"@types/media-typer": "^1.1.3",
|
|
123
|
+
"@types/mocha": "^10.0.10",
|
|
124
|
+
"@types/node": "^24.0.4",
|
|
125
|
+
"c8": "^10.1.3",
|
|
126
|
+
"chai": "^5.2.0",
|
|
127
|
+
"chai-as-promised": "^8.0.1",
|
|
128
|
+
"del-cli": "^6.0.0",
|
|
129
|
+
"mime": "^4.0.7",
|
|
130
|
+
"mocha": "^11.7.1",
|
|
131
|
+
"node-readable-to-web-readable-stream": "^0.4.2",
|
|
132
|
+
"remark-cli": "^12.0.1",
|
|
133
|
+
"remark-preset-lint-consistent": "^6.0.1",
|
|
134
|
+
"ts-node": "^10.9.2",
|
|
135
|
+
"typescript": "^5.8.3"
|
|
136
|
+
},
|
|
137
|
+
"engines": {
|
|
138
|
+
"node": ">=18"
|
|
139
|
+
},
|
|
140
|
+
"repository": "github:Borewit/music-metadata",
|
|
141
|
+
"license": "MIT",
|
|
142
|
+
"bugs": {
|
|
143
|
+
"url": "https://github.com/Borewit/music-metadata/issues"
|
|
144
|
+
},
|
|
145
|
+
"packageManager": "yarn@4.9.2"
|
|
146
|
+
}
|