Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ dist/

# WASM build output (built locally and in CI)
ghostty-vt.wasm

# Local dev container config (not part of the project)
.devcontainer/
34 changes: 20 additions & 14 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion happydom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { GlobalRegistrator } from '@happy-dom/global-registrator';

// Register Happy DOM globals (window, document, etc.)
GlobalRegistrator.register();
GlobalRegistrator.register({ url: 'http://localhost/' });

// Mock Canvas 2D Context
// Happy DOM doesn't provide canvas rendering APIs, so we mock them for testing.
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
"publishConfig": {
"access": "public"
},
"overrides": {
"rollup": "3.30.0",
"postcss": "8.5.10"
},
"scripts": {
"dev": "vite --port 8000",
"demo": "node demo/bin/demo.js",
Expand All @@ -63,7 +67,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@happy-dom/global-registrator": "^15.11.0",
"@happy-dom/global-registrator": "20.9.0",
"@types/bun": "^1.3.2",
"@xterm/headless": "^5.5.0",
"@xterm/xterm": "^5.5.0",
Expand Down