fixed mime type on aac_96, updated dependencies, updated compat date

This commit is contained in:
uh wot 2022-03-29 23:08:47 +02:00
parent 101394e22d
commit 80c9ddf1bb
Signed by: uhwot
GPG Key ID: CB2454984587B781
5 changed files with 13 additions and 13 deletions

2
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@ const client_id = "447462"
const client_secret = "a83bf7f38ad2f137e444727cfc3775cf"
const formats = {
aac_96: { num: '8', gw: 'AAC_96', mime: 'audio/aac', ext: '3gp' },
aac_96: { num: '8', gw: 'AAC_96', mime: 'audio/3gpp', ext: '3gp' },
64: { num: '10', gw: 'MP3_64', mime: 'audio/mpeg', ext: 'mp3' },
128: { num: '1', gw: 'MP3_128', mime: 'audio/mpeg', ext: 'mp3' },
320: { num: '3', gw: 'MP3_320', mime: 'audio/mpeg', ext: 'mp3' },

View File

@ -12,11 +12,11 @@
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
"html-loader": "^1.3.2",
"prettier": "^2.5.1"
"prettier": "^2.6.1"
},
"dependencies": {
"browser-id3-writer": "^4.4.0",
"itty-router": "^2.5.2",
"itty-router": "^2.6.1",
"serverless-cloudflare-workers": "^1.2.0"
}
}

View File

@ -6,7 +6,7 @@ workers_dev = true
kv_namespaces = [
{ binding = "KV", id = "974c0967a84e415daa054bbbcc7f80c6", preview_id = "cfcc6491f3484cbca664913836635113" }
]
compatibility_date = "2022-03-09"
compatibility_date = "2022-03-29"
# [secrets]
# ARL

View File

@ -1462,10 +1462,10 @@ isobject@^3.0.0, isobject@^3.0.1:
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
itty-router@^2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/itty-router/-/itty-router-2.5.2.tgz#296e2db945e8f75a47fa9ffe16eecb30a6551a77"
integrity sha512-igVdp/qoMe7aMnwB1eI9OCgV9HGyQlQ9LBDWPMSDkoYv7SpcxZp0t86noQcXKCSVK2B7y7z8d5SiaNbRMLUIyg==
itty-router@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/itty-router/-/itty-router-2.6.1.tgz#eecb59fa25b5f6f519276cc5bcaaa1cb341d5fee"
integrity sha512-l9gxWe5TOLUESYnBn85Jxd6tIZLWdRX5YKkHIBfSgbNQ7UFPNUGuWihRV+LlEbfJJIzgLmhwAbaWRi5yWJm8kg==
json-parse-better-errors@^1.0.2:
version "1.0.2"
@ -1962,10 +1962,10 @@ posix-character-classes@^0.1.0:
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
prettier@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"
integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==
prettier@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.1.tgz#d472797e0d7461605c1609808e27b80c0f9cfe17"
integrity sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==
process-nextick-args@~2.0.0:
version "2.0.1"