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

ytpl

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ytpl - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

9

lib/utils.js

@@ -73,3 +73,2 @@ const URL = require('url');

}
if (!obj.requestOptions) obj.requestOptions = {};
// Set required parameter: query

@@ -83,5 +82,7 @@ obj.query = { list: plistId };

// Default requestOptions
if (!options.requestOptions) options.requestOptions = {};
// Unlink requestOptions
obj.requestOptions = JSON.parse(JSON.stringify(options.requestOptions));
obj.requestOptions = Object.assign({}, options.requestOptions);
// Unlink requestOptions#headers
if (obj.requestOptions.headers) {
obj.requestOptions.headers = JSON.parse(JSON.stringify(obj.requestOptions.headers));
}
return obj;

@@ -88,0 +89,0 @@ };

{
"name": "ytpl",
"version": "2.0.3",
"version": "2.0.4",
"description": "Anonymous YouTube playlist resolver.",
"keywords": [
"youtube",
"playlist"
"yt",
"video",
"videos",
"api",
"playlist",
"pl",
"scrape",
"pagination",
"promise"
],
"homepage": "https://github.com/TimeForANinja/node-ytpl#readme",
"bugs": {

@@ -30,6 +39,6 @@ "url": "https://github.com/TimeForANinja/node-ytpl/issues"

"mocha": "mocha -- -t 16000 test/*-test.js",
"mocha:coverage": "mocha -- -t 16000 test/*-test.js --exclude test/e2e-test.js",
"nyc": "nyc --reporter=lcov npm run-script mocha",
"nyc:coverage": "nyc --reporter=lcov npm run-script mocha:coverage",
"test": "npm run-script nyc",
"mocha:coverage": "mocha -- -t 16000 test/*-test.js --exclude test/e2e-test.js",
"nyc:coverage": "nyc --reporter=lcov npm run-script mocha:coverage",
"test:coverage": "npm run-script nyc:coverage && codecov"

@@ -36,0 +45,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