Files
remove-youtube-suggestions/server/package.json
T
Lawrence Hook 6d59948c0b Migrate SES sends from v1 to SESv2 to avoid fast-xml-parser conflict
The fast-xml-parser >=5.3.8 override (added for CVE) is incompatible
with @aws-sdk/client-ses, whose XML response parser registers entities
named "#xD" and "#10" — names that 5.x rejects with
[EntityReplacer] Invalid character '#' in entity name.

SESv2 uses REST/JSON, sidestepping the parser entirely. validateEmail
already used SESv2; this consolidates the three send functions onto
the same client and drops @aws-sdk/client-ses.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 15:36:27 -04:00

32 lines
756 B
JSON

{
"name": "rys-premium-server",
"version": "1.0.0",
"description": "Premium subscription server for Remove YouTube Suggestions extension",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"test": "node --test --test-concurrency=1 tests/*.test.js"
},
"dependencies": {
"@aws-sdk/client-sesv2": "^3.1000.0",
"better-sqlite3": "^11.0.0",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.1",
"stripe": "^14.12.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"supertest": "^6.3.4"
},
"engines": {
"node": ">=20.0.0"
},
"overrides": {
"fast-xml-parser": ">=5.3.8"
}
}