New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-player-youtubei

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-player-youtubei - npm Package Compare versions

Comparing version 1.2.6-alpha.3 to 1.2.6-alpha.4

5

dist/index.js

@@ -80,2 +80,3 @@ "use strict";

for await (const chunk of import_youtubei.Utils.streamToIterable(readStream)) {
if (readable.destroyed) continue;
const shouldWrite = readable.write(chunk);

@@ -85,2 +86,6 @@ if (!shouldWrite) await new Promise((res) => readable.on("drain", () => res(null)));

})();
readable._destroy = () => {
readable.destroyed = true;
readable.destroy();
};
return readable;

@@ -87,0 +92,0 @@ }

2

package.json
{
"name": "discord-player-youtubei",
"version": "1.2.6-alpha.3",
"version": "1.2.6-alpha.4",
"description": "An unofficial package to test the use of youtubei in discord-player v6.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -78,2 +78,3 @@ # Discord Player YouTubei

| useClient | [InnerTubeClient](https://github.com/LuanRT/YouTube.js/blob/main/src/Innertube.ts#L49) | Which client to get the stream from | false |
| highWaterMark | number | How many bytes the stream can hold. The more bytes allocated, the smoother the stream at the cost of more memory usage | false |

@@ -80,0 +81,0 @@ #### YoutubeiOptions

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc