From 00e9755fb1eeb2543c27da5761dc9b00a35d7198 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Tue, 5 May 2026 11:45:13 +0000 Subject: [PATCH] chore: Override rate-limit-threshold to use new version with reduced dependencies Borewit/rate-limit-threshold#110 --- Dockerfile | 2 - package-lock.json | 164 ++-------------------------------------------- package.json | 3 + 3 files changed, 8 insertions(+), 161 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84765923..4fa81ddb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -118,8 +118,6 @@ RUN npm ci --omit=dev --no-audit \ && npm uninstall ts-json-schema-generator \ && npm cache clean --force \ && chown -R abc:abc node_modules \ - # added superflously https://github.com/Borewit/rate-limit-threshold/issues/110 - && rm -R node_modules/@biomejs \ && npx @usex/prune-mod -w \ && rm -rf /root/.cache diff --git a/package-lock.json b/package-lock.json index 16da9788..665cba32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -797,161 +797,6 @@ "node": ">= 18" } }, - "node_modules/@biomejs/biome": { - "version": "1.9.4", - "hasInstallScript": true, - "license": "MIT OR Apache-2.0", - "bin": { - "biome": "bin/biome" - }, - "engines": { - "node": ">=14.21.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/biome" - }, - "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "1.9.4", - "@biomejs/cli-darwin-x64": "1.9.4", - "@biomejs/cli-linux-arm64": "1.9.4", - "@biomejs/cli-linux-arm64-musl": "1.9.4", - "@biomejs/cli-linux-x64": "1.9.4", - "@biomejs/cli-linux-x64-musl": "1.9.4", - "@biomejs/cli-win32-arm64": "1.9.4", - "@biomejs/cli-win32-x64": "1.9.4" - } - }, - "node_modules/@biomejs/cli-darwin-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz", - "integrity": "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==", - "cpu": [ - "arm64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-darwin-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz", - "integrity": "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==", - "cpu": [ - "x64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-linux-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz", - "integrity": "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==", - "cpu": [ - "arm64" - ], - "libc": [ - "glibc" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz", - "integrity": "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==", - "cpu": [ - "arm64" - ], - "libc": [ - "musl" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-linux-x64": { - "version": "1.9.4", - "cpu": [ - "x64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "1.9.4", - "cpu": [ - "x64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-win32-arm64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz", - "integrity": "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==", - "cpu": [ - "arm64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=14.21.3" - } - }, - "node_modules/@biomejs/cli-win32-x64": { - "version": "1.9.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz", - "integrity": "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==", - "cpu": [ - "x64" - ], - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=14.21.3" - } - }, "node_modules/@bufbuild/protobuf": { "version": "2.2.1", "license": "(Apache-2.0 AND BSD-3-Clause)" @@ -11003,6 +10848,8 @@ }, "node_modules/musicbrainz-api": { "version": "0.27.0", + "resolved": "https://registry.npmjs.org/musicbrainz-api/-/musicbrainz-api-0.27.0.tgz", + "integrity": "sha512-0U+rwgtxE7Q2AjIA6eRKzDPfYa6ailktpL6UfpEK2lFDQxWw4pfG50ZwL0irbjHPyEtjB5umbtvHTH/6tFKkLw==", "license": "MIT", "dependencies": { "debug": "^4.3.4", @@ -12116,11 +11963,10 @@ } }, "node_modules/rate-limit-threshold": { - "version": "0.2.0", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/rate-limit-threshold/-/rate-limit-threshold-0.2.1.tgz", + "integrity": "sha512-WWn+uXLg0KMO/M9TaA4JzIAwvQ0aE87PM0pO4TVvCeHb3kXe82rOXLuUfIS9OZdxbYIca7quInuReAr27LMktQ==", "license": "MIT", - "dependencies": { - "@biomejs/biome": "^1.8.3" - }, "engines": { "node": "^14.13.1 || >=16.0.0" } diff --git a/package.json b/package.json index 8138779d..00114033 100644 --- a/package.json +++ b/package.json @@ -227,6 +227,9 @@ "overrides": { "spotify-web-api-node": { "superagent": "$superagent" + }, + "musicbrainz-api": { + "rate-limit-threshold": "0.2.1" } } } -- 2.51.2