@audio/decode 4.1.1 → 4.2.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 (105) hide show
  1. package/members/aac/audio.d.ts +1 -0
  2. package/members/aac/audio.js +1 -0
  3. package/members/aac/meta.d.ts +1 -0
  4. package/members/aac/meta.js +1 -0
  5. package/members/aac.d.ts +2 -0
  6. package/members/aac.js +2 -0
  7. package/members/ac3/audio.d.ts +1 -0
  8. package/members/ac3/audio.js +1 -0
  9. package/members/ac3.d.ts +2 -0
  10. package/members/ac3.js +2 -0
  11. package/members/aiff/audio.d.ts +1 -0
  12. package/members/aiff/audio.js +1 -0
  13. package/members/aiff.d.ts +2 -0
  14. package/members/aiff.js +2 -0
  15. package/members/amr/audio.d.ts +1 -0
  16. package/members/amr/audio.js +1 -0
  17. package/members/amr.d.ts +2 -0
  18. package/members/amr.js +2 -0
  19. package/members/avi/audio.d.ts +1 -0
  20. package/members/avi/audio.js +1 -0
  21. package/members/avi.d.ts +2 -0
  22. package/members/avi.js +2 -0
  23. package/members/caf/audio.d.ts +1 -0
  24. package/members/caf/audio.js +1 -0
  25. package/members/caf.d.ts +2 -0
  26. package/members/caf.js +2 -0
  27. package/members/dsd/audio.d.ts +1 -0
  28. package/members/dsd/audio.js +1 -0
  29. package/members/dsd/meta.d.ts +1 -0
  30. package/members/dsd/meta.js +1 -0
  31. package/members/dsd.d.ts +2 -0
  32. package/members/dsd.js +2 -0
  33. package/members/dts/audio.d.ts +1 -0
  34. package/members/dts/audio.js +1 -0
  35. package/members/dts.d.ts +2 -0
  36. package/members/dts.js +2 -0
  37. package/members/flac/audio.d.ts +1 -0
  38. package/members/flac/audio.js +1 -0
  39. package/members/flac/meta.d.ts +1 -0
  40. package/members/flac/meta.js +1 -0
  41. package/members/flac.d.ts +2 -0
  42. package/members/flac.js +2 -0
  43. package/members/gsm/audio.d.ts +1 -0
  44. package/members/gsm/audio.js +1 -0
  45. package/members/gsm.d.ts +2 -0
  46. package/members/gsm.js +2 -0
  47. package/members/mod/audio.d.ts +1 -0
  48. package/members/mod/audio.js +1 -0
  49. package/members/mod.d.ts +2 -0
  50. package/members/mod.js +2 -0
  51. package/members/mp3/audio.d.ts +1 -0
  52. package/members/mp3/audio.js +1 -0
  53. package/members/mp3/meta.d.ts +1 -0
  54. package/members/mp3/meta.js +1 -0
  55. package/members/mp3.d.ts +2 -0
  56. package/members/mp3.js +2 -0
  57. package/members/mp4/audio.d.ts +1 -0
  58. package/members/mp4/audio.js +1 -0
  59. package/members/mp4.d.ts +2 -0
  60. package/members/mp4.js +2 -0
  61. package/members/mpc/audio.d.ts +1 -0
  62. package/members/mpc/audio.js +1 -0
  63. package/members/mpc.d.ts +2 -0
  64. package/members/mpc.js +2 -0
  65. package/members/opus/audio.d.ts +1 -0
  66. package/members/opus/audio.js +1 -0
  67. package/members/opus/core.d.ts +1 -0
  68. package/members/opus/core.js +1 -0
  69. package/members/opus/meta.d.ts +1 -0
  70. package/members/opus/meta.js +1 -0
  71. package/members/opus.d.ts +2 -0
  72. package/members/opus.js +2 -0
  73. package/members/qoa/audio.d.ts +1 -0
  74. package/members/qoa/audio.js +1 -0
  75. package/members/qoa.d.ts +2 -0
  76. package/members/qoa.js +2 -0
  77. package/members/tta/audio.d.ts +1 -0
  78. package/members/tta/audio.js +1 -0
  79. package/members/tta.d.ts +2 -0
  80. package/members/tta.js +2 -0
  81. package/members/vorbis/audio.d.ts +1 -0
  82. package/members/vorbis/audio.js +1 -0
  83. package/members/vorbis/meta.d.ts +1 -0
  84. package/members/vorbis/meta.js +1 -0
  85. package/members/vorbis.d.ts +2 -0
  86. package/members/vorbis.js +2 -0
  87. package/members/wav/audio.d.ts +1 -0
  88. package/members/wav/audio.js +1 -0
  89. package/members/wav/meta.d.ts +1 -0
  90. package/members/wav/meta.js +1 -0
  91. package/members/wav.d.ts +2 -0
  92. package/members/wav.js +2 -0
  93. package/members/wavpack/audio.d.ts +1 -0
  94. package/members/wavpack/audio.js +1 -0
  95. package/members/wavpack.d.ts +2 -0
  96. package/members/wavpack.js +2 -0
  97. package/members/webm/audio.d.ts +1 -0
  98. package/members/webm/audio.js +1 -0
  99. package/members/webm.d.ts +2 -0
  100. package/members/webm.js +2 -0
  101. package/members/wma/audio.d.ts +1 -0
  102. package/members/wma/audio.js +1 -0
  103. package/members/wma.d.ts +2 -0
  104. package/members/wma.js +2 -0
  105. package/package.json +14 -7
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aac/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aac/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aac/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aac/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-aac'
2
+ export { default } from '@audio/decode-aac'
package/members/aac.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-aac'
2
+ export { default } from '@audio/decode-aac'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-ac3/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-ac3/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-ac3'
2
+ export { default } from '@audio/decode-ac3'
package/members/ac3.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-ac3'
2
+ export { default } from '@audio/decode-ac3'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aiff/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-aiff/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-aiff'
2
+ export { default } from '@audio/decode-aiff'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-aiff'
2
+ export { default } from '@audio/decode-aiff'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-amr/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-amr/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-amr'
2
+ export { default } from '@audio/decode-amr'
package/members/amr.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-amr'
2
+ export { default } from '@audio/decode-amr'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-avi/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-avi/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-avi'
2
+ export { default } from '@audio/decode-avi'
package/members/avi.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-avi'
2
+ export { default } from '@audio/decode-avi'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-caf/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-caf/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-caf'
2
+ export { default } from '@audio/decode-caf'
package/members/caf.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-caf'
2
+ export { default } from '@audio/decode-caf'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dsd/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dsd/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dsd/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dsd/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-dsd'
2
+ export { default } from '@audio/decode-dsd'
package/members/dsd.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-dsd'
2
+ export { default } from '@audio/decode-dsd'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dts/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-dts/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-dts'
2
+ export { default } from '@audio/decode-dts'
package/members/dts.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-dts'
2
+ export { default } from '@audio/decode-dts'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-flac/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-flac/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-flac/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-flac/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-flac'
2
+ export { default } from '@audio/decode-flac'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-flac'
2
+ export { default } from '@audio/decode-flac'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-gsm/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-gsm/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-gsm'
2
+ export { default } from '@audio/decode-gsm'
package/members/gsm.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-gsm'
2
+ export { default } from '@audio/decode-gsm'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mod/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mod/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mod'
2
+ export { default } from '@audio/decode-mod'
package/members/mod.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mod'
2
+ export { default } from '@audio/decode-mod'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp3/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp3/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp3/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp3/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mp3'
2
+ export { default } from '@audio/decode-mp3'
package/members/mp3.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mp3'
2
+ export { default } from '@audio/decode-mp3'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp4/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mp4/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mp4'
2
+ export { default } from '@audio/decode-mp4'
package/members/mp4.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mp4'
2
+ export { default } from '@audio/decode-mp4'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mpc/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-mpc/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mpc'
2
+ export { default } from '@audio/decode-mpc'
package/members/mpc.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-mpc'
2
+ export { default } from '@audio/decode-mpc'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/core'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/core'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-opus/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-opus'
2
+ export { default } from '@audio/decode-opus'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-opus'
2
+ export { default } from '@audio/decode-opus'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-qoa/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-qoa/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-qoa'
2
+ export { default } from '@audio/decode-qoa'
package/members/qoa.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-qoa'
2
+ export { default } from '@audio/decode-qoa'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-tta/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-tta/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-tta'
2
+ export { default } from '@audio/decode-tta'
package/members/tta.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-tta'
2
+ export { default } from '@audio/decode-tta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-vorbis/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-vorbis/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-vorbis/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-vorbis/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-vorbis'
2
+ export { default } from '@audio/decode-vorbis'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-vorbis'
2
+ export { default } from '@audio/decode-vorbis'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wav/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wav/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wav/meta'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wav/meta'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wav'
2
+ export { default } from '@audio/decode-wav'
package/members/wav.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wav'
2
+ export { default } from '@audio/decode-wav'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wavpack/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wavpack/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wavpack'
2
+ export { default } from '@audio/decode-wavpack'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wavpack'
2
+ export { default } from '@audio/decode-wavpack'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-webm/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-webm/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-webm'
2
+ export { default } from '@audio/decode-webm'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-webm'
2
+ export { default } from '@audio/decode-webm'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wma/audio'
@@ -0,0 +1 @@
1
+ export * from '@audio/decode-wma/audio'
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wma'
2
+ export { default } from '@audio/decode-wma'
package/members/wma.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@audio/decode-wma'
2
+ export { default } from '@audio/decode-wma'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/decode",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Decode audio data in node or browser",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -12,7 +12,8 @@
12
12
  "stream.js",
13
13
  "stream.d.ts",
14
14
  "meta.js",
15
- "test.html"
15
+ "test.html",
16
+ "members/"
16
17
  ],
17
18
  "exports": {
18
19
  ".": {
@@ -22,7 +23,11 @@
22
23
  },
23
24
  "./stream": "./stream.js",
24
25
  "./meta": "./meta.js",
25
- "./package.json": "./package.json"
26
+ "./package.json": "./package.json",
27
+ "./*": {
28
+ "types": "./members/*.d.ts",
29
+ "default": "./members/*.js"
30
+ }
26
31
  },
27
32
  "workspaces": [
28
33
  "packages/*"
@@ -31,14 +36,14 @@
31
36
  "@audio/decode-aac": "^1.6.0",
32
37
  "@audio/decode-ac3": "^1.0.0",
33
38
  "@audio/decode-aiff": "^1.3.0",
34
- "@audio/decode-amr": "^1.3.0",
39
+ "@audio/decode-amr": "^1.3.1",
35
40
  "@audio/decode-gsm": "^0.1.0",
36
41
  "@audio/decode-avi": "^1.1.0",
37
42
  "@audio/decode-caf": "^1.4.1",
38
43
  "@audio/decode-dts": "^1.0.0",
39
44
  "@audio/decode-flac": "^2.0.0",
40
- "@audio/decode-mp3": "^1.3.0",
41
- "@audio/decode-mp4": "^1.3.0",
45
+ "@audio/decode-mp3": "^1.3.1",
46
+ "@audio/decode-mp4": "^1.3.1",
42
47
  "@audio/decode-opus": "^1.3.3",
43
48
  "@audio/decode-qoa": "^2.0.0",
44
49
  "@audio/decode-vorbis": "^1.3.4",
@@ -63,7 +68,9 @@
63
68
  "test": "node test.js",
64
69
  "test:browser": "node test.browser.js",
65
70
  "test:all": "node test.js && node test.browser.js",
66
- "publish:all": "for d in packages/* .; do [ -f \"$d/package.json\" ] || continue; id=$(node -p \"require('./'+'$d'+'/package.json').name+'@'+require('./'+'$d'+'/package.json').version\"); npm view \"$id\" version >/dev/null 2>&1 && echo \"skip $id\" || (cd \"$d\" && npm publish); done"
71
+ "publish:all": "for d in packages/* .; do [ -f \"$d/package.json\" ] || continue; id=$(node -p \"require('./'+'$d'+'/package.json').name+'@'+require('./'+'$d'+'/package.json').version\"); npm view \"$id\" version >/dev/null 2>&1 && echo \"skip $id\" || (cd \"$d\" && npm publish); done",
72
+ "members": "node scripts/members.js",
73
+ "prepublishOnly": "node scripts/members.js --check"
67
74
  },
68
75
  "repository": {
69
76
  "type": "git",