youtubedl-core
Advanced tools
Comparing version 4.11.5 to 4.11.6
@@ -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 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
88461
2541
1
3