Releases: unjs/unenv
Releases · unjs/unenv
v1.7.2
🩹 Fixes
- node:fs: Default export for
node:fs/promises
(37fd173) - node:crypto: Bind crypto functions to avoid
Illegal invocation
error (#134) - node:fs: Add mock for
openAsBlob
(16f6150) - node:stream: Support
asyncDispose
for readable (f8f8f46)
🏡 Chore
- Update dependencies (7731f08)
❤️ Contributors
- Pooya Parsa (@pi0)
- Brendon Matos [email protected]
v1.7.1
v1.7.0
🚀 Enhancements
- Expose
__unenv__
flag for unenv classes and functions (#125) - node: Allow overriding
AsyncHook
,AsyncLocalStorage
andAsyncResource
withglobalThis
(#126) - node:buffer: Allow overriding
Buffer
withglobalThis
(1337f98) - node:events: Allow overriding
EventEmitter
withglobalThis
(5ba2d03) - node:stream: Allow overriding
Duplex
,Readable
,Transform
andWritable
withglobalThis
(e06358d) - Add
node:string_decoder
with global polyfill (002467a)
🩹 Fixes
- fetch: Avoid sending body for null body reponses (#124)
- node:crypto: Properly call web crypto methods (#122)
🤖 CI
❤️ Contributors
- Pooya Parsa (@pi0)
- Aaron Dewes [email protected]
v1.6.2
v1.6.1
v1.6.0
🚀 Enhancements
- node: Export full node crypto exports (#121)
🩹 Fixes
- node: Preserve http number header type with
setHeader
(#119) - node: Add missing
compose
to stream classes (5687712) - node: Import
EventEmitter
from local path (ecd741a)
❤️ Contributors
- Pooya Parsa (@pi0)
- Heb (@Hebilicious)
- Daniel Roe [email protected]
v1.5.2
v1.5.1
v1.5.0
🚀 Enhancements
- Implement basic
node:async_hooks
(#98) - Use
consola/core
instead of mocking consola (#93) - http: Support
IncomingMessage.headersDistinct
andIncomingMessage.trailersDistinct
(08e36cc) - node/crypto: Implement
randomBytes
(#100) - http: Support
ServerResponse.appendHeader
(c492d45)
🩹 Fixes
- async_hooks: Add
snapshot
stub (1eec581)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- BoxenOfDonuts [email protected]