Repository navigation
build: raise the bundle budgets for protocol 0.67.0 and patch dompurify - #1796
Conversation
The Update Mouse Protocol workflow measured main at 1,754,503 bytes and JS at 4,878,816 with @openmouse/protocol 0.67.0 (Viper Mini remapping, Angry Miao .97/.100R2, Aula SC590 Pro, Logitech profile write fixes). Main goes to 1.8 MB and JS to 5.0 MB, room for keyboard-protocol 1.10.0 too. dompurify 3.4.17 -> 3.5.1 for GHSA-qm7q-q8h9-jg8q and GHSA-hrxw-jjj6-2g2j, which failed npm audit in the Update Keyboard Protocol workflow.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The changes are confined to ignored paths and are described as modest bundle-budget increases and a DOMPurify lockfile update. The supplied scope and review context identify no material risk requiring human judgment. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Unblocks the Update Mouse Protocol and Update Keyboard Protocol workflows.
npm auditin the keyboard update run.Note
Raise bundle size budgets to 1,800,000 main chunk and 5,000,000 JS total
Bumps the size limits in build/check-bundle-size.ts:
MAIN_CHUNK_BUDGET_BYTESgoes from 1,750,000 to 1,800,000 and the total JS budget from 4,900,000 to 5,000,000. This accommodates the larger bundles from protocol 0.67.0 and a dompurify patch in the updated lockfile.Macroscope summarized 80f5b59.
Summary by CodeRabbit