New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unenv

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unenv - npm Package Versions

1245
8

1.7.2

Diff
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

  • Pooya Parsa (@pi0)
pi0
published 1.6.1 •

Changelog

Source

v1.6.1

compare changes

🌊 Types

  • node: Type EventEmitter in dist (0106e19)

❤️ Contributors

  • Pooya Parsa (@pi0)
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

pi0
published 1.5.2 •

Changelog

Source

v1.5.2

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)
pi0
published 1.5.1 •

Changelog

Source

v1.5.1

compare changes

🩹 Fixes

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

❤️ Contributors

  • Pooya Parsa (@pi0)
pi0
published 1.5.0 •

Changelog

Source

v1.5.0

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

pi0
published 1.4.1 •

Changelog

Source

v1.4.1

compare changes

🩹 Fixes

  • node:process: Avoid recursive access (a1ba86c)

❤️ Contributors

  • Pooya Parsa (@pi0)