diff --git a/package-lock.json b/package-lock.json index 208a2b0..c78c9c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -138,6 +138,12 @@ "node": ">=4" } }, + "node_modules/@bufbuild/protobuf": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.1.0.tgz", + "integrity": "sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==", + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -5870,13 +5876,13 @@ }, "node_modules/youtubei.js": { "version": "10.4.0", - "resolved": "https://registry.npmjs.org/youtubei.js/-/youtubei.js-10.4.0.tgz", - "integrity": "sha512-FZahkkg5ROyH/FgJ4czy/xDNkqHbJTCUQzumQlnR+2Q7m6HaWghAFWWJUTcexemGuu7t/5EuyQz98eBgKQRMog==", + "resolved": "git+ssh://git@github.com/LuanRT/YouTube.js.git#7a3932682112a0d76c04f65ae35445fc35403a00", "funding": [ "https://github.com/sponsors/LuanRT" ], "license": "MIT", "dependencies": { + "@bufbuild/protobuf": "^2.0.0", "jintr": "^2.1.1", "tslib": "^2.5.0", "undici": "^5.19.1" diff --git a/package.json b/package.json index 82710f3..15617bd 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,11 @@ "typescript": "^5.6.2", "uuid": "^10.0.0" }, + "overrides": { + "discord-player-youtubei": { + "youtubei.js": "github:LuanRT/YouTube.js" + } + }, "devDependencies": { "@typescript-eslint/eslint-plugin": "~8.6.0", "@typescript-eslint/parser": "~8.6.0",