Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ytdl-core

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ytdl-core - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

8

lib/info.js

@@ -126,2 +126,8 @@ var format = require('url').format;

var info = config.args;
if (info.status === 'fail') {
var msg = info.errorcode && info.reason ?
'Code ' + info.errorcode + ': ' + info.reason : 'Video not found';
callback(new Error(msg));
return;
}

@@ -151,3 +157,3 @@ // Split some keys by commas.

info.formats = util.parseFormats(info);
if (info.status === 'fail' || !info.formats.length) {
if (!info.formats.length) {
callback(new Error('Video not found'));

@@ -154,0 +160,0 @@ return;

2

package.json

@@ -9,3 +9,3 @@ {

],
"version": "0.7.4",
"version": "0.7.5",
"repository": {

@@ -12,0 +12,0 @@ "type": "git",

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