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

@micmac/youtube

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@micmac/youtube - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

17

main.js

@@ -113,9 +113,12 @@ // fonction searchVideos retourne les 10 dernières videos de la chaine beerus

let lgTxt = _chaine.length;
let chaine1 = _chaine.slice(0,Math.max(Math.floor(lgTxt/2),300));
let chaine2 = _chaine.slice(Math.max(Math.floor(lgTxt/2),300));
let chaine1 = _chaine.slice(0, Math.max(Math.floor(lgTxt / 2), 300));
let chaine2 = _chaine.slice(Math.max(Math.floor(lgTxt / 2), 300));
let lastSpacePos = chaine1.lastIndexOf(' ');
let pieceOfChaine = chaine1.slice(lastSpacePos);
chaine1 = chaine1.slice(0, lastSpacePos);
chaine2 = pieceOfChaine + chaine2;
return {chaine1: chaine1,chaine2: chaine2};
};
if (lgTxt !== chaine1.length) {
let pieceOfChaine = chaine1.slice(lastSpacePos);
chaine1 = chaine1.slice(0, lastSpacePos);
chaine2 = pieceOfChaine + chaine2;
}
return {chaine1: chaine1, chaine2: chaine2};
}
;
{
"name": "@micmac/youtube",
"version": "2.1.1",
"version": "2.1.2",
"description": "utilisation api youtube data",

@@ -5,0 +5,0 @@ "main": "main.js",

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