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

1345
8

2.0.0-rc.4

Diff
pi0
published 2.0.0-rc.4 •

Changelog

Source

v2.0.0-rc.4

compare changes

🩹 Fixes

  • mock/proxy: Support promises (#440)

💅 Refactors

  • Import node types as nodeSomeModule (#429)
  • Add node:repl and node:inspector/promises to the nodeless preset (#431)
  • ⚠️ Cleanup defineEnv and docs (#434)
  • ⚠️ Avoid proxy mock usage (#438)

📦 Build

  • Fix path to type definitions (#433)
  • Add types to package.json (f7a69b1)

🏡 Chore

  • Update readme (#435)
  • Update readme (57be824)
  • Remove extra console log (9921df5)
  • Run all tests through vitest runner (#439)
  • Sync mock-cjs (ce0ca9a)
  • Simplify code (#441)

✅ Tests

  • workerd: Crypto.randomBytes() returns bytes (#428)
⚠️ Breaking Changes
  • ⚠️ Cleanup defineEnv and docs (#434)
  • ⚠️ Avoid proxy mock usage (#438)

❤️ Contributors

pi0
published 2.0.0-rc.3 •

Changelog

Source

v2.0.0-rc.3

compare changes

🩹 Fixes

  • defineEnv: Use import.meta.url (890c145)
  • Fix coverage and add node:repl + node:inspector/promises (#424)
  • Full coverage for (esm) node exports (#425)
  • Add missing default exports (#426)
  • defineEnv: Ignore falst ids (21dea9b)

💅 Refactors

  • ⚠️ Only export defineEnv from main (#421)
  • ⚠️ Only export defineEnv from main (#421)
  • Use same builtinModules from runtime (041d4f6)
  • Mark notImplemented constructors as side-effect free (#422)
  • Explicit imports with extension (#416)
  • Use satisfies T when possible (#423)
  • ⚠️ Reduce inject and polyfill for nodeCompat (#427)

📦 Build

  • Sync main subpath types (a65352f)
  • Avoid bundling dependencies (de43cd2)

✅ Tests

  • Make expect error better (cc5dad3)
⚠️ Breaking Changes
  • ⚠️ Only export defineEnv from main (#421)
  • ⚠️ Only export defineEnv from main (#421)
  • ⚠️ Reduce inject and polyfill for nodeCompat (#427)

❤️ Contributors

  • Pooya Parsa (@pi0)
pi0
published 2.0.0-rc.2 •

Changelog

Source

v2.0.0-rc.2

compare changes

🚀 Enhancements

  • Compatibility with node@22.13.1 types (#414)

🩹 Fixes

  • node:async_hooks: Remove extra methods from AsyncHook class (#415)
  • node:timers: Avoid circular dependency in internals (#418)
  • node:crypto: Fix randomBytes returning zero values (#420)

💅 Refactors

  • tls: Import Socket and Server from node:net (#405)
  • Remove direct fetch support (#411)
  • ⚠️ Update runtime/node structure (#392)

📦 Build

  • ⚠️ Esm-only build (#417)

🏡 Chore

🤖 CI

⚠️ Breaking Changes
  • ⚠️ Update runtime/node structure (#392)
  • ⚠️ Esm-only build (#417)

❤️ Contributors

pi0
published 2.0.0-rc.1 •

Changelog

Source

v2.0.0-rc.1

compare changes

🚀 Enhancements

  • cloudflare: Add node:net and node:timers (#396)

🩹 Fixes

  • cloudflare: node:net/promises does not exist (#400)

💅 Refactors

  • tty: ReadStream depend on node:net (#389)
  • tty: ReadStream depend on node:net (#388)

🏡 Chore

❤️ Contributors

pi0
published 2.0.0-rc.0 •
pi0
published 1.10.0 •
pi0
published 1.9.0 •

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

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

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

  • Pooya Parsa (@pi0)
pi0
published 1.7.3 •

Changelog

Source

v1.7.3

compare changes

🩹 Fixes

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

❤️ Contributors

  • Pooya Parsa (@pi0)