unjs / unenv

๐Ÿ•Š๏ธ Convert javaScript code to be runtime agnostic
MIT License
342 stars 18 forks source link

feat: polyfill `node:domain` module #204

Closed jculvey closed 1 month ago

jculvey commented 1 month ago

Replaces the current auto-mocking of 'domain' to support destructured ESM imports and allow for functional polyfill coverage in the future.

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Polyfills the node:domain module.

๐Ÿ“ Checklist