From 4de85f42ee74a1ecf038af0b3d78baf1d452b2a8 Mon Sep 17 00:00:00 2001 From: uh wot Date: Thu, 5 Sep 2024 01:05:12 +0200 Subject: [PATCH 1/2] bump librespot version --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6fa024b..12b8d86 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dependencies": { "blowfish-cbc": "^1.0.1", "image-size": "^1.1.1", - "librespot": "^0.2.10", + "librespot": "^0.2.11", "undici": "^6.19.4", "xmldom-qsa": "^1.1.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8074915..2dcb24d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^1.1.1 version: 1.1.1 librespot: - specifier: ^0.2.10 - version: 0.2.10 + specifier: ^0.2.11 + version: 0.2.11 undici: specifier: ^6.19.4 version: 6.19.4 @@ -464,8 +464,8 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - librespot@0.2.10: - resolution: {integrity: sha512-yyeqIERbRHYJ4wvsiMNX2s4ewr/Zi3fwDdy68d3VtrthHZAL3x9ObiY2oOgPbUzx3/EsuWyiahRpADDEqe2aZw==} + librespot@0.2.11: + resolution: {integrity: sha512-WAbqvBCqiyutBSC+3rxIsIJcsFcb7l9fyAHVtvPLh3qHyIimV4jqN46GkLgJDASzTuNK9F6v3yG6EQcSh0Zn8Q==} locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} @@ -1135,7 +1135,7 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - librespot@0.2.10: + librespot@0.2.11: dependencies: fast-xml-parser: 4.3.4 protobufjs: 7.2.6 From ef983da16b272c8623ea0543960f118f17bb637c Mon Sep 17 00:00:00 2001 From: uh wot Date: Thu, 5 Sep 2024 01:08:21 +0200 Subject: [PATCH 2/2] fix eslint error --- src/streamers/soundcloud/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamers/soundcloud/main.ts b/src/streamers/soundcloud/main.ts index 7fdf7f4..70d8d29 100644 --- a/src/streamers/soundcloud/main.ts +++ b/src/streamers/soundcloud/main.ts @@ -340,7 +340,7 @@ async function getStream( if (filter.length == 0) throw new Error('Could not find applicable format.') // and this is just in case none of those exist const transcoding = filter[0] - let streamUrl = new URL(transcoding.url) + const streamUrl = new URL(transcoding.url) if (client?.id) streamUrl.searchParams.append('client_id', client?.id) streamUrl.searchParams.append('track_authorization', trackAuth)