💣 Breaking Changes
- Adds a new Virtual Console that by default will output all log entries to a Virtual Console Printer instead of using the global Node.js console. (#1030)
- Improves logic for catching errors in scripts, event listeners and timers. (#1030)
🎨 Features
- Adds a new NPM package called @happy-dom/uncaught-exception-observer that can be used for catching uncaught errors that are not possible to catch on a local level. (#1030)
👷♂️ Patch fixes
- Uses the default
eval()
for evaluating code instead of custom logic. This will make it possible to read context variables. #1025
Thank you @joeframbach for contributing with logic related to the eval()
functionality!