Bundle the Open Cookie Database (Apache-2.0) with a refresh script

scripts/refresh-cookie-database.mjs (pnpm cookie-db:refresh) downloads the CSV
and license at a pinned commit, refuses a non-Apache license, and writes
src/modules/consent/scanner/data/openCookieDatabase.ts (source commit and
change notice in the header) plus docs/licenses/open-cookie-database-LICENSE.txt.
Nothing is fetched at runtime.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 14:55:19 +01:00
co-authored by Claude Opus 5.5
parent e53d09b720
commit ab45cf48be
4 changed files with 2630 additions and 0 deletions
File diff suppressed because it is too large Load Diff