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

2345
8

2.0.0-rc.14

Diff
pi0
published 2.0.0-rc.14 •

Changelog

Source

v2.0.0-rc.14

compare changes

🩹 Fixes

  • node:process: Return undefined for getBuiltinModule (#485)

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.13

compare changes

🩹 Fixes

  • readline: Fixed import of readline/promise (#482)
  • web/performance: Use consistent performance.now checks (#481)
  • Validate globalThis.performance before reexporting it (#483)

💅 Refactors

  • web/performance: Clean ordering (#479)
  • node:performance: Standalone implementation (#478)
  • node:events: Simple top level exports (#484)

❤️ Contributors

pi0
published 2.0.0-rc.12 •

Changelog

Source

v2.0.0-rc.12

compare changes

🩹 Fixes

  • defineEnv: Resolve preset layers individually (#476)

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.11

compare changes

🩹 Fixes

  • node:perf_hooks: Avoid referencing to global (b6fef5b)

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.10

compare changes

🩹 Fixes

  • node: Add getOwnPropertyDescriptor for process.env (#475)
  • Keep original process ref in top level (3abdebc)

🏡 Chore

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.9

compare changes

🚀 Enhancements

  • Add opt-in polyfills for timers and buffer (#474)

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.8

compare changes

🩹 Fixes

  • Resolve built-in modules as node: (6fb091b)

❤️ Contributors

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

Changelog

Source

v2.0.0-rc.7

compare changes

🚀 Enhancements

  • Update node compat injects (#465)
  • defineEnv: Support disabling polyfill and external with ! prefix (#467)

🩹 Fixes

  • defineEnv: Resolve paths with aliases (#466)

💅 Refactors

  • Prefer node:*/promises for promises export (#468)
  • Mark all symbol inits as pure to allow treeshake (#469)
  • Use exsolve to resolve paths (#472)

🌊 Types

  • Fix defineEnv (#464)

🏡 Chore

✅ Tests

❤️ Contributors

pi0
published 2.0.0-rc.6 •

Changelog

Source

v2.0.0-rc.6

compare changes

🩹 Fixes

  • DefineEnv returns a ResolvedEnvironment (#451)
  • process: Refine types (#452)
  • Use node:process for polyfill (#453)
  • Resolve tree-shaking issues with node/util (#458)
  • Allow tree-shaking with default exports (#459)
  • Circular dependency between node and web performance.now() (#463)

💅 Refactors

  • process: ⚠️ Extract nextTick to a separate file (#454)
  • Mark process internals as side-effect free (#455)
  • Improve node:util tree-shaking (#456)
  • Overhaul node constants (#460)

🏡 Chore

  • Rename internal node type imports (#461)
⚠️ Breaking Changes
  • process: ⚠️ Extract nextTick to a separate file (#454)

❤️ Contributors

pi0
published 2.0.0-rc.5 •

Changelog

Source

v2.0.0-rc.5

compare changes

🩹 Fixes

  • console: Rename _time to _times (#443)
  • util: Import types from node:util/types (#447)
  • DefineEnv returns a ResolvedEnvironment where inject values are never false (#448)

💅 Refactors

  • ⚠️ Add all npm shims with opt-in npmShims (#444)
  • ⚠️ Remove extra node exports (#445)
  • ⚠️ Rewrite process as class (#450)

📦 Build

  • Copy non .ts files as is (5d18c2b)
⚠️ Breaking Changes
  • ⚠️ Add all npm shims with opt-in npmShims (#444)
  • ⚠️ Remove extra node exports (#445)
  • ⚠️ Rewrite process as class (#450)

❤️ Contributors

2345
8