Skip to content

Releases: unjs/unenv

v1.10.0

16 Jul 17:57
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Implement node:os (#282)

v1.9.0

04 Jan 20:12
@pi0 pi0
489de19
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Experimental deno preset (#155)
  • Experimental cloudflare preset (#156)
  • Experimental vercel preset (#157)
  • deno: Add process.env polyfill (a34f3e0)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.8.0

22 Nov 14:53
@pi0 pi0
f79a091
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Polyfill node:module (#148)
  • Add polyfill for node:https with named exports (5917a50)
  • Support consola/utils subpath (#149)

🩹 Fixes

  • node:net: Add missing new exports (2b805b1)
  • node:net/socket: Add new destroySoon and autoSelectFamilyAttemptedAddresses (311c72b)

🏡 Chore

🎨 Styles

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.7.4

25 Aug 22:47
@pi0 pi0
9050919
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • node:fs: Named exports for /promises subpath (b035e09)
  • node:stream: Add placeholder for more not implemented methods (294f283)

v1.7.3

22 Aug 21:39
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Add AbortController export from node-fetch (230385c)

❤️ Contributors

Thanks to @dario-piotrowicz for reporting this issue!

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)