unjs / unenv

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

feat(node:child_process): polyfill `node:child_process` module #202

Closed jculvey closed 4 months ago

jculvey commented 4 months ago

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

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Adds a polyfill for child_process module and includes in nodeless preset.

@pi0 you think it's ok to mark these as notImplemented?

๐Ÿ“ Checklist