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

youtubedl-core

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtubedl-core - npm Package Compare versions

Comparing version 4.11.5 to 4.11.6

2

lib/sig.js

@@ -59,3 +59,3 @@ const querystring = require('querystring');

let functionName = utils.between(body, `&&(b=a.get("n"))&&(b=`, `(b)`);
if (functionName.includes('[')) functionName = utils.between(body, `${functionName.split('[')[0]}=[`, `]`);
if (functionName.includes('[')) functionName = utils.between(body, `var ${functionName.split('[')[0]}=[`, `]`);
if (functionName && functionName.length) {

@@ -62,0 +62,0 @@ const functionStart = `${functionName}=function(a)`;

@@ -101,8 +101,2 @@ const miniget = require('miniget');

if (!isEscaped && isEscapedObject !== null && mixedJson[i] === isEscapedObject.end) {
// Ignore character inside RegEx character set with a range of 30 characters
let charsetStart = mixedJson.substring(i - 15, i).search(/\[[^\]]*/)
let charsetEnd = mixedJson.substring(i, i + 15).search(/[^\[]*\]/)
if (mixedJson[i] == '/' && charsetStart !== -1 && charsetEnd !== -1)
continue;
isEscapedObject = null;

@@ -109,0 +103,0 @@ continue;

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

],
"version": "4.11.5",
"repository": {
"type": "git",
"url": "https://github.com/Eternity-Bots"
},
"version": "4.11.6",
"author": "fent <fentbox@gmail.com> (https://github.com/fent)",

@@ -16,0 +12,0 @@ "contributors": [

@@ -1,2 +0,2 @@

declare module 'ytdl-core' {
declare module 'youtubedl-core {
import { Readable } from 'stream';

@@ -3,0 +3,0 @@

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