- rewrote and/or optimized all service modules
- rewrote matching and processing modules to optimize readability and performance
- added support for reddit gifs
- fixed various issues with twitter error explanations
- code optimizations and enhancements (such as finally getting rid of ==, prettier and more readable formatting, etc)
- added branch information
- all functions in currentCommit submodule run only once and cache received data
- added a test script. only twitter and soundcloud are 100% covered and tested atm, will add tests (and probably fixes) for the rest of services in next commits
- changed some localization strings for russian
- added more clarity to rate limit message
- moved services folder into processing folder
This commit is contained in:
wukko
2023-02-12 13:40:49 +06:00
parent 3432c91482
commit dacaaf5b27
39 changed files with 1139 additions and 825 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "cobalt",
"description": "save what you love",
"version": "4.9-dev",
"version": "5.0-dev1",
"author": "wukko",
"exports": "./src/cobalt.js",
"type": "module",
@@ -10,7 +10,8 @@
},
"scripts": {
"start": "node src/cobalt",
"setup": "node src/modules/setup"
"setup": "node src/modules/setup",
"test": "node src/test/test"
},
"repository": {
"type": "git",