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

simple-youtube-api

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-youtube-api - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

dist/sya.js

16

package.json
{
"name": "simple-youtube-api",
"version": "5.0.1",
"version": "5.0.2",
"description": "A module to simplify the YouTube API.",
"sideEffects": false,
"main": "src/index.js",
"unpkg": "dist/sya.min.js",
"scripts": {
"docs": "jsdoc -c jsdoc.json",
"test": "mocha"
"test": "mocha",
"build": "webpack"
},
"dependencies": {
"iso8601-duration": "^1.0.0",
"node-fetch": "^1.7.2"
"cross-fetch": "^2.1.1",
"iso8601-duration": "^1.0.0"
},

@@ -17,4 +20,7 @@ "devDependencies": {

"jsdoc": "^3.4.0",
"lodash.defaultsdeep": "^4.6.0",
"minami": "^1.1.0",
"mocha": "^3.3.0"
"mocha": "^3.5.3",
"webpack": "^4.6.0",
"webpack-cli": "^2.1.2"
},

@@ -21,0 +27,0 @@ "repository": {

# Simple YouTube API
[![Module support server](https://discordapp.com/api/guilds/430216837276368897/embed.png)](https://discord.gg/A97Qftr)
[![Build Status](https://travis-ci.org/HyperCoder2975/simple-youtube-api.svg?branch=master)](https://travis-ci.org/HyperCoder2975/simple-youtube-api)
This library is designed to greatly simplify interacting with the basic functions of the YouTube API.

@@ -3,0 +7,0 @@ It deals with viewing/searching videos, playlists, and channels.

@@ -152,3 +152,2 @@ const Request = require('./Request');

search(query, limit = 5, options = {}) {
options = Object.assign(options, { part: Constants.PARTS.Search, q: query, maxResults: limit });
return this.request.getPaginated(Constants.ENDPOINTS.Search, limit, Object.assign(options, { q: query, part: Constants.PARTS.Search }))

@@ -155,0 +154,0 @@ .then(result => result.map(item => {

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

const fetch = require('node-fetch');
const fetch = require('cross-fetch');
const Constants = require('./util/Constants');

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

@@ -0,0 +0,0 @@ const { parseURL } = require('../util');

@@ -0,0 +0,0 @@ exports.PARTS = {

@@ -0,0 +0,0 @@ const { parse } = require('url');

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