1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Updates node modules

This commit is contained in:
DanieL 2023-02-17 15:04:26 -03:00
parent 41e60bca0a
commit 3c001dd8e3
1172 changed files with 192787 additions and 0 deletions

19
node_modules/random-iterate/index.js generated vendored Normal file
View file

@ -0,0 +1,19 @@
var iterate = function (list) {
var offset = 0
return function () {
if (offset === list.length) return null
var len = list.length - offset
var i = (Math.random() * len) | 0
var el = list[offset + i]
var tmp = list[offset]
list[offset] = el
list[offset + i] = tmp
offset++
return el
}
}
module.exports = iterate