Fix most glaring bugs and vulnerabilities

This commit is contained in:
Luka Romih
2023-05-08 23:25:25 +02:00
parent 9867875ef2
commit d0e53fee3b
144 changed files with 2231 additions and 2981 deletions
+2
View File
@@ -7,4 +7,6 @@ utils.pipe = (...fns) => (initialVal) => fns.reduce((val, fn) => fn(val), initia
utils.composeAsync = (...fns) => input => fns.reduceRight((chain, func) => chain.then(func), Promise.resolve(input));
utils.pipeAsync = (...fns) => input => fns.reduce((chain, func) => chain.then(func), Promise.resolve(input));
utils.capitalize = string => string[0].toUpperCase() + string.slice(1)
module.exports = utils