Files
AniKotoAPI/package.json
T
Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ 5ad3189b8a v1.8.0: Full diagnostic sweep - 20 bugs fixed
Critical fixes:
- extractPages.helper.js: Pagination URL bug (?page → &page)
- package.json: Fixed invalid dep versions (axios, dotenv, express)
- privacy.html + tos.html: Broken footer links (//tos → /tos)
- manifest.json: Invalid icon purpose (any maskable → maskable)

High fixes:
- server.js: Removed duplicate CORS middleware (triple → single)
- search.controller.js: Cache key collision with suggestion controller
- apiRoutes.js: Dynamic endpoint count (was hardcoded 27)
- vercel.json: Removed duplicate CORS header

Medium fixes:
- header.config.js: Updated User-Agent to Chrome 130
- dataUrl.js: Removed redundant domain from ALT_DOMAINS
- category.extractor.js: Removed unused cheerio import
- server.js: Added __dirname, removed unused cors import

Documentation:
- CHANGELOG.md: Added v1.8.0 entry
- README.md: Updated version badges (1.8.0, Express 4.21)
- test.js: Fixed status endpoint (currently-airing → airing)
2026-06-09 05:14:56 +05:30

29 lines
693 B
JSON

{
"name": "AniKotoAPI",
"version": "1.8.0",
"description": "A restful API to provide all information about anime from anikototv.to",
"main": "./server.js",
"scripts": {
"start": "node ./server.js",
"dev": "nodemon server.js",
"test": "node test.js"
},
"author": "Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ",
"license": "MIT",
"dependencies": {
"axios": "^1.7.0",
"cheerio": "^1.0.0-rc.12",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.0",
"express": "^4.21.0"
},
"type": "module",
"devDependencies": {
"nodemon": "^3.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Shineii86/AniKotoAPI.git"
}
}