Socket
Socket
Sign inDemoInstall

unenv

Package Overview
Dependencies
5
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23456Next

1.9.0

Diff

Changelog

Source

v1.9.0

compare changes

🚀 Enhancements

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

🏡 Chore

❤️ Contributors

pi0
published 1.8.0 •

Changelog

Source

v1.8.0

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

pi0
published 1.7.4 •

Changelog

Source

v1.7.4

compare changes

🩹 Fixes

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

🏡 Chore

❤️ Contributors

pi0
published 1.7.3 •

Changelog

Source

v1.7.3

compare changes

🩹 Fixes

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

❤️ Contributors

pi0
published 1.7.2 •

Changelog

Source

v1.7.2

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

pi0
published 1.7.1 •

Changelog

Source

v1.7.1

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

pi0
published 1.7.0 •

Changelog

Source

v1.7.0

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)

🏡 Chore

🤖 CI

❤️ Contributors

pi0
published 1.6.2 •

Changelog

Source

v1.6.2

compare changes

🩹 Fixes

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

🏡 Chore

❤️ Contributors

pi0
published 1.6.1 •

Changelog

Source

v1.6.1

compare changes

🌊 Types

  • node: Type EventEmitter in dist (0106e19)

❤️ Contributors

pi0
published 1.6.0 •

Changelog

Source

v1.6.0

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)

🏡 Chore

🤖 CI

  • Use conventional commit for autofix action (#120)

❤️ Contributors

23456Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc