fixed extra space at end of filenames, updated itty-router, changed rust edition to 2021

This commit is contained in:
uh wot 2022-01-23 03:34:18 +01:00
parent 21297658fe
commit 873e1002b9
Signed by: uhwot
GPG Key ID: CB2454984587B781
6 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
name = "dzserver" name = "dzserver"
version = "0.1.0" version = "0.1.0"
authors = ["uh wot <uhwot@protonmail.com>"] authors = ["uh wot <uhwot@protonmail.com>"]
edition = "2018" edition = "2021"
[lib] [lib]
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]

6
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -236,7 +236,7 @@ async function track(id, format, tagging) {
} }
let title = json.SNG_TITLE let title = json.SNG_TITLE
if (json.VERSION !== undefined) title += ` ${json.VERSION}` if (json.VERSION) title += ` ${json.VERSION}`
let id3 let id3
if (tagging) { if (tagging) {

14
package-lock.json generated
View File

@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"browser-id3-writer": "^4.4.0", "browser-id3-writer": "^4.4.0",
"itty-router": "^2.4.8", "itty-router": "^2.4.10",
"serverless-cloudflare-workers": "^1.2.0" "serverless-cloudflare-workers": "^1.2.0"
}, },
"devDependencies": { "devDependencies": {
@ -2401,9 +2401,9 @@
} }
}, },
"node_modules/itty-router": { "node_modules/itty-router": {
"version": "2.4.8", "version": "2.4.10",
"resolved": "https://registry.npmjs.org/itty-router/-/itty-router-2.4.8.tgz", "resolved": "https://registry.npmjs.org/itty-router/-/itty-router-2.4.10.tgz",
"integrity": "sha512-VpAHeAN+/ABLqT/zEnwMomNCDh8eRrs06C8HRR8OxjVwGhXtvzoJbggjUnjAeNGxqjV4w7pp87Iu8jzEpr92fg==" "integrity": "sha512-6z8UO4MoJRCdgLRVU++L6QTHJwU2pCAYFM8+9HjjcneRM5DqYyF5g6tsgIw24xXLFJlpvVrIzVzhjn862ZQZcQ=="
}, },
"node_modules/jest-worker": { "node_modules/jest-worker": {
"version": "27.0.6", "version": "27.0.6",
@ -6813,9 +6813,9 @@
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
}, },
"itty-router": { "itty-router": {
"version": "2.4.8", "version": "2.4.10",
"resolved": "https://registry.npmjs.org/itty-router/-/itty-router-2.4.8.tgz", "resolved": "https://registry.npmjs.org/itty-router/-/itty-router-2.4.10.tgz",
"integrity": "sha512-VpAHeAN+/ABLqT/zEnwMomNCDh8eRrs06C8HRR8OxjVwGhXtvzoJbggjUnjAeNGxqjV4w7pp87Iu8jzEpr92fg==" "integrity": "sha512-6z8UO4MoJRCdgLRVU++L6QTHJwU2pCAYFM8+9HjjcneRM5DqYyF5g6tsgIw24xXLFJlpvVrIzVzhjn862ZQZcQ=="
}, },
"jest-worker": { "jest-worker": {
"version": "27.0.6", "version": "27.0.6",

View File

@ -16,7 +16,7 @@
}, },
"dependencies": { "dependencies": {
"browser-id3-writer": "^4.4.0", "browser-id3-writer": "^4.4.0",
"itty-router": "^2.4.8", "itty-router": "^2.4.10",
"serverless-cloudflare-workers": "^1.2.0" "serverless-cloudflare-workers": "^1.2.0"
} }
} }

View File

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