[chore] update dependencies (#681)

* update dependencies

* Fix ytjs 15
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-07-18 20:20:05 -04:00
1 parent 64cad65e1a
commit 84304cd26e
5 files changed
+76 -86

No files matched your search

+30 -30
View File
@@ -12,7 +12,7 @@
"@rokucommunity/bslint": "^0.8.33",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.0.13",
"@types/node": "^24.0.14",
"@types/xml2js": "^0.4.14",
"argparse": "^2.0.1",
"brighterscript": "0.68.5",
@@ -27,7 +27,7 @@
"json5": "^2.2.3",
"mailparser": "^3.7.4",
"protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.12.1",
"puppeteer": "^24.14.0",
"roku-deploy": "^3.12.6",
"roku-test-automation": "^2.0.13",
"rooibos-roku": "5.15.7",
@@ -43,7 +43,7 @@
"node": "22"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.44.2"
"@rollup/rollup-linux-x64-gnu": "^4.45.1"
}
},
"node_modules/@babel/code-frame": {
@@ -573,9 +573,9 @@
}
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.44.2",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.2.tgz",
"integrity": "sha512-/bXb0bEsWMyEkIsUL2Yt5nFB5naLAwyOWMEviQfQY1x3l5WsLKgvZf66TM7UTfED6erckUVUJQ/jJ1FSpm3pRQ==",
"version": "4.45.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.45.1.tgz",
"integrity": "sha512-+E/lYl6qu1zqgPEnTrs4WysQtvc/Sh4fC2nByfFExqgYrqkKWp1tWIbe+ELhixnenSpBbLXNi6vbEEJ8M7fiHw==",
"cpu": [
"x64"
],
@@ -736,9 +736,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "24.0.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.13.tgz",
"integrity": "sha512-Qm9OYVOFHFYg3wJoTSrz80hoec5Lia/dPp84do3X7dZvLikQvM1YpmvTBEdIr/e+U8HTkFjLHLnl78K/qjf+jQ==",
"version": "24.0.14",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.14.tgz",
"integrity": "sha512-4zXMWD91vBLGRtHK3YbIoFMia+1nqEz72coM42C5ETjnNCa/heoj7NT1G67iAfOqMmcfhuCZ4uNpyz8EjlAejw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5441,18 +5441,18 @@
}
},
"node_modules/puppeteer": {
"version": "24.12.1",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.12.1.tgz",
"integrity": "sha512-+vvwl+Xo4z5uXLLHG+XW8uXnUXQ62oY6KU6bEFZJvHWLutbmv5dw9A/jcMQ0fqpQdLydHmK0Uy7/9Ilj8ufwSQ==",
"version": "24.14.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.14.0.tgz",
"integrity": "sha512-GB7suRDkp9pUnxpNGAORICQCtw11KFbg6U2iJXVTflzJLK5D1qzq8xOOmLgN/QnDBpDMdpn96ri52XkuN83Giw==",
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "2.10.5",
"chromium-bidi": "5.1.0",
"@puppeteer/browsers": "2.10.6",
"chromium-bidi": "7.1.1",
"cosmiconfig": "^9.0.0",
"devtools-protocol": "0.0.1464554",
"puppeteer-core": "24.12.1",
"puppeteer-core": "24.14.0",
"typed-query-selector": "^2.12.0"
},
"bin": {
@@ -5486,9 +5486,9 @@
"dev": true
},
"node_modules/puppeteer/node_modules/@puppeteer/browsers": {
"version": "2.10.5",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.5.tgz",
"integrity": "sha512-eifa0o+i8dERnngJwKrfp3dEq7ia5XFyoqB17S4gK8GhsQE4/P8nxOfQSE0zQHxzzLo/cmF+7+ywEQ7wK7Fb+w==",
"version": "2.10.6",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.6.tgz",
"integrity": "sha512-pHUn6ZRt39bP3698HFQlu2ZHCkS/lPcpv7fVQcGBSzNNygw171UXAKrCUhy+TEMw4lEttOKDgNpb04hwUAJeiQ==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -5497,7 +5497,7 @@
"progress": "^2.0.3",
"proxy-agent": "^6.5.0",
"semver": "^7.7.2",
"tar-fs": "^3.0.8",
"tar-fs": "^3.1.0",
"yargs": "^17.7.2"
},
"bin": {
@@ -5534,9 +5534,9 @@
}
},
"node_modules/puppeteer/node_modules/chromium-bidi": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz",
"integrity": "sha512-9MSRhWRVoRPDG0TgzkHrshFSJJNZzfY5UFqUMuksg7zL1yoZIZ3jLB0YAgHclbiAxPI86pBnwDX1tbzoiV8aFw==",
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-7.1.1.tgz",
"integrity": "sha512-L2BKQ0rSLADgbPMIdDh3wnYHs3EiUiMay2Sq0CTolheaADmWIf6Pe+T9LJRcnh5rcMz0U7MVk0cQVvKsGRMa1g==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -5597,14 +5597,14 @@
"license": "MIT"
},
"node_modules/puppeteer/node_modules/puppeteer-core": {
"version": "24.12.1",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.12.1.tgz",
"integrity": "sha512-8odp6d3ERKBa3BAVaYWXn95UxQv3sxvP1reD+xZamaX6ed8nCykhwlOiHSaHR9t/MtmIB+rJmNencI6Zy4Gxvg==",
"version": "24.14.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.14.0.tgz",
"integrity": "sha512-NO9XpCl+i8oB0zJp81iPhzMo2QK8/JTj4ramSvTpGCo9CPCNo4AZ8qVOGpSgXzlcOfOT3VHOkzTfPo08GOE5jA==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "2.10.5",
"chromium-bidi": "5.1.0",
"@puppeteer/browsers": "2.10.6",
"chromium-bidi": "7.1.1",
"debug": "^4.4.1",
"devtools-protocol": "0.0.1464554",
"typed-query-selector": "^2.12.0",
@@ -7356,9 +7356,9 @@
}
},
"node_modules/tar-fs": {
"version": "3.0.10",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.10.tgz",
"integrity": "sha512-C1SwlQGNLe/jPNqapK8epDsXME7CAJR5RL3GcE6KWx1d9OUByzoHVcbu1VPI8tevg9H8Alae0AApHHFGzrD5zA==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz",
"integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==",
"dev": true,
"license": "MIT",
"dependencies": {
+3 -3
View File
@@ -6,7 +6,7 @@
"@rokucommunity/bslint": "^0.8.33",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.0.13",
"@types/node": "^24.0.14",
"@types/xml2js": "^0.4.14",
"argparse": "^2.0.1",
"brighterscript": "0.68.5",
@@ -21,7 +21,7 @@
"json5": "^2.2.3",
"mailparser": "^3.7.4",
"protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.12.1",
"puppeteer": "^24.14.0",
"roku-deploy": "^3.12.6",
"roku-test-automation": "^2.0.13",
"rooibos-roku": "5.15.7",
@@ -74,6 +74,6 @@
"shutdown": "node tools/shutdown.js"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.44.2"
"@rollup/rollup-linux-x64-gnu": "^4.45.1"
}
}
+35 -46
View File
@@ -8,10 +8,10 @@
"name": "playlet-web",
"version": "0.40.9",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.0.0",
"@sveltejs/vite-plugin-svelte": "^6.1.0",
"@tailwindcss/typography": "^0.5.16",
"@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^7.0.0",
"@vitejs/plugin-legacy": "^7.0.1",
"autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0",
"daisyui": "^4.12.23",
@@ -19,17 +19,17 @@
"ip": "^2.0.1",
"jszip": "^3.10.1",
"postcss": "^8.5.6",
"svelte": "^5.35.6",
"svelte-check": "^4.2.2",
"svelte": "^5.36.8",
"svelte-check": "^4.3.0",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17",
"terser": "^5.43.1",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^7.0.4",
"vite": "^7.0.5",
"vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4",
"youtubei.js": "^14.0.0"
"youtubei.js": "^15.0.0"
}
},
"node_modules/@alloc/quick-lru": {
@@ -2003,16 +2003,6 @@
"node": ">=18"
}
},
"node_modules/@fastify/busboy": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz",
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=14"
}
},
"node_modules/@isaacs/cliui": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -2413,9 +2403,9 @@
}
},
"node_modules/@sveltejs/vite-plugin-svelte": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-6.0.0.tgz",
"integrity": "sha512-mma5GJ23pYiWpTNbN//g9XI3Hfob3aAlXPP42qRtvjgTAU6pfJyLyNPTdLjFuj+jfC9JslP4J3AkeiJNhjtLLA==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-6.1.0.tgz",
"integrity": "sha512-+U6lz1wvGEG/BvQyL4z/flyNdQ9xDNv5vrh+vWBWTHaebqT0c9RNggpZTo/XSPoHsSCWBlYaTlRX8pZ9GATXCw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2481,17 +2471,19 @@
"license": "MIT"
},
"node_modules/@vitejs/plugin-legacy": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-7.0.0.tgz",
"integrity": "sha512-qevhyYFUeZXBd/bAZGwpBgyn4GGAYije9YPV8Jg07newPCZtFEIlFlzsQowPbm87iKekOIL/90wKn+hvGkjzkg==",
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-7.0.1.tgz",
"integrity": "sha512-ZpT0cKlFzNPU/kjdKzuI+2aDr2MYs7MxndmV7ekAMO2TD6YdU6GJKtc+/K7gaiJwEyaAZhDsxmBSi7SqM6MBxQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"browserslist": "^4.25.0",
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"babel-plugin-polyfill-corejs3": "^0.13.0",
"babel-plugin-polyfill-regenerator": "^0.6.5",
"browserslist": "^4.25.1",
"browserslist-to-esbuild": "^2.1.1",
"core-js": "^3.43.0",
"core-js": "^3.44.0",
"magic-string": "^0.30.17",
"regenerator-runtime": "^0.14.1",
"systemjs": "^6.15.1"
@@ -4508,9 +4500,9 @@
}
},
"node_modules/svelte": {
"version": "5.35.6",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.35.6.tgz",
"integrity": "sha512-p7PVLQYrvCxJuxzGfOv/l71hVuHC6EZk5UDjbt/bndMYaBcUV5sFjDsj+PSIYvz1vcfbG6inX83/xIUeik1xGA==",
"version": "5.36.8",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.36.8.tgz",
"integrity": "sha512-8JbZWQu96hMjH/oYQPxXW6taeC6Awl6muGHeZzJTxQx7NGRQ/J9wN1hkzRKLOlSDlbS2igiFg7p5xyTp5uXG3A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4534,9 +4526,9 @@
}
},
"node_modules/svelte-check": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.2.2.tgz",
"integrity": "sha512-1+31EOYZ7NKN0YDMKusav2hhEoA51GD9Ws6o//0SphMT0ve9mBTsTUEX7OmDMadUP3KjNHsSKtJrqdSaD8CrGQ==",
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.0.tgz",
"integrity": "sha512-Iz8dFXzBNAM7XlEIsUjUGQhbEE+Pvv9odb9+0+ITTgFWZBGeJRRYqHUUglwe2EkLD5LIsQaAc4IUJyvtKuOO5w==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4850,16 +4842,13 @@
}
},
"node_modules/undici": {
"version": "5.29.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz",
"integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==",
"version": "6.21.3",
"resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz",
"integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@fastify/busboy": "^2.0.0"
},
"engines": {
"node": ">=14.0"
"node": ">=18.17"
}
},
"node_modules/unicode-canonical-property-names-ecmascript": {
@@ -4953,9 +4942,9 @@
"dev": true
},
"node_modules/vite": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.0.4.tgz",
"integrity": "sha512-SkaSguuS7nnmV7mfJ8l81JGBFV7Gvzp8IzgE8A8t23+AxuNX61Q5H1Tpz5efduSN7NHC8nQXD3sKQKZAu5mNEA==",
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.0.5.tgz",
"integrity": "sha512-1mncVwJxy2C9ThLwz0+2GKZyEXuC3MyWtAAlNftlZZXZDP3AJt5FmwcMit/IGGaNZ8ZOB2BNO/HFUB+CpN0NQw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5203,9 +5192,9 @@
}
},
"node_modules/youtubei.js": {
"version": "14.0.0",
"resolved": "https://registry.npmjs.org/youtubei.js/-/youtubei.js-14.0.0.tgz",
"integrity": "sha512-KAFttOw+9fwwBUvBc1T7KzMNBLczDOuN/dfote8BA9CABxgx8MPgV+vZWlowdDB6DnHjSUYppv+xvJ4VNBLK9A==",
"version": "15.0.0",
"resolved": "https://registry.npmjs.org/youtubei.js/-/youtubei.js-15.0.0.tgz",
"integrity": "sha512-giPZREn+q0z8Jr45NUcJUXE7QA2+UD2jx5FR+ULdnexvtHg5uQZr9Am8aYcECPKzbBNe6ksBD1yT4SKNbhpRqA==",
"dev": true,
"funding": [
"https://github.com/sponsors/LuanRT"
@@ -5215,7 +5204,7 @@
"@bufbuild/protobuf": "^2.0.0",
"jintr": "^3.3.1",
"tslib": "^2.5.0",
"undici": "^5.19.1"
"undici": "^6.21.3"
}
},
"node_modules/zimmerframe": {
+6 -6
View File
@@ -9,10 +9,10 @@
"lint": "svelte-check --tsconfig ./tsconfig.json --fail-on-warnings"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.0.0",
"@sveltejs/vite-plugin-svelte": "^6.1.0",
"@tailwindcss/typography": "^0.5.16",
"@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^7.0.0",
"@vitejs/plugin-legacy": "^7.0.1",
"autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0",
"daisyui": "^4.12.23",
@@ -20,16 +20,16 @@
"ip": "^2.0.1",
"jszip": "^3.10.1",
"postcss": "^8.5.6",
"svelte": "^5.35.6",
"svelte-check": "^4.2.2",
"svelte": "^5.36.8",
"svelte-check": "^4.3.0",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17",
"terser": "^5.43.1",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^7.0.4",
"vite": "^7.0.5",
"vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4",
"youtubei.js": "^14.0.0"
"youtubei.js": "^15.0.0"
}
}
+2 -1
View File
@@ -221,6 +221,7 @@ export class YoutubeJs {
YoutubeJs.innerTube = await Innertube.create({
fetch: YoutubeJs.fetch,
cache: new UniversalCache(true),
// TODO:P0 with ytjs 15, poTokens should be regenerated per video
po_token: YoutubeJs.poToken,
visitor_data: YoutubeJs.visitorData,
});
@@ -283,7 +284,7 @@ export class YoutubeJs {
static async getVideoInfo(videoId: string) {
await YoutubeJs.initInnertube();
const info = await YoutubeJs.innerTube.getBasicInfo(videoId, 'TV');
const info = await YoutubeJs.innerTube.getBasicInfo(videoId, { client: 'TV' });
// We can't generate a proper dash from live videos.
// By returning null, we're telling Playlet to fetch video info itself.