Skip to content

Releases: unjs/unenv

v1.7.2

22 Aug 11:17
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 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

❤️ Contributors

v1.7.1

08 Aug 15:14
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • node:stream: Allow tree-shaking Duplex (587860f)
  • Add sideEffects to main package.json to allow tree-shaking (6dac339)
  • node:string_decoder: Use relative import (#129)

💅 Refactors

  • node:events: Rewrite EventEmitter (#128)

❤️ Contributors

v1.7.0

08 Aug 10:25
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Expose __unenv__ flag for unenv classes and functions (#125)
  • node: Allow overriding AsyncHook, AsyncLocalStorage and AsyncResource with globalThis (#126)
  • node:buffer: Allow overriding Buffer with globalThis (1337f98)
  • node:events: Allow overriding EventEmitter with globalThis (5ba2d03)
  • node:stream: Allow overriding Duplex, Readable, Transform and Writable with globalThis (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

v1.6.2

07 Aug 14:47
@pi0 pi0
982ae0f
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Add async_hooks to nodeless preset (dee2ddd)
  • node: Add named exports for AsyncLocalStorage and AsyncResource (388f529)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.6.1

02 Aug 11:55
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🌊 Types

  • node: Type EventEmitter in dist (0106e19)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.6.0

02 Aug 11:39
@pi0 pi0
37ea959
Compare
Choose a tag to compare

compare changes

🚀 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

v1.5.2

07 Jul 20:06
@pi0 pi0
7699a76
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • node/utils: Add missing types named export (cf45410)
  • node/net: Add missing ip utils and SocketAddress class (7abe54e)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.5.1

24 May 15:08
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Keep consola/core subpath as is (40617bc)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.5.0

24 May 12:29
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Implement basic node:async_hooks (#98)
  • Use consola/core instead of mocking consola (#93)
  • http: Support IncomingMessage.headersDistinct and IncomingMessage.trailersDistinct (08e36cc)
  • node/crypto: Implement randomBytes (#100)
  • http: Support ServerResponse.appendHeader (c492d45)

🩹 Fixes

  • async_hooks: Add snapshot stub (1eec581)

🏡 Chore

❤️ Contributors

v1.4.1

16 Apr 14:06
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • node:process: Avoid recursive access (a1ba86c)

❤️ Contributors

  • Pooya Parsa (@pi0)