Fix: compare parser-bundle freshness by source digest.

Byte-comparing bun's generated vendor file fails on Linux CI because bundler output is not portable across bun versions. Stamp the header with a digest of the entry and parser package versions instead.

AI-assisted.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Abdul Wahab
2026-09-01 20:05:00 +05:00
co-authored by Cursor
parent 3fcd656aaf
commit e095c53819
3 changed files with 35 additions and 18 deletions
+1
View File
@@ -1,6 +1,7 @@
/**
* GENERATED -- do not edit. Source: scripts/lib/static-html-parsers.entry.mjs
* Rebuild: node scripts/build-static-html-parsers.js
* Source digest: 7169e400f73e8c91
*
* Bundles htmlparser2, css-select, css-tree, and domutils for skill/plugin installs.
* Third-party licenses: see NOTICE.md.