Files
compiler-explorer/shared
Matt GodboltandClaude b5fed45b5d Refactor URL serialization for Node/Browser compatibility
Move assert.ts and rison.ts to shared/ directory to eliminate browser
dependencies in Node.js contexts. Create shared/url-serialization.ts
with Node-compatible ConfigMinifier implementation, allowing Cypress
tests to import serialization functions without crashing on module load.

- Moved static/assert.ts → shared/assert.ts
- Moved static/rison.ts → shared/rison.ts
- Created shared/url-serialization.ts with ConfigMinifier
- Updated 40+ import paths across codebase
- Refactored cypress/e2e/frontend.cy.ts to use buildKnownGoodState()
- Added test/url-serialization.ts for verification
- Updated biome.json to allow hasOwnProperty in shared/ directory

Fixes Cypress spec file loading which previously crashed due to
GoldenLayout browser dependency in import chain.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 11:27:20 -05:00
..