Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jiti

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jiti - npm Package Versions

13
10

2.0.0

Diff

Changelog

Source

v2.0.0-rc.1

compare changes

🚀 Enhancements

  • jiti/native export (#289)
  • Improve jiti/native compatibility with node and deno (#294)

💅 Refactors

  • Improve internal babel types (#271)
  • Always use native impl for jiti/native (#293)
  • Rename experimentalBun to tryNative (#295)

📦 Build

  • Fix type resolution issue (#269)

🏡 Chore

❤️ Contributors

pi0
published 2.0.0-rc.1 •

Changelog

Source

v2.0.0-rc.1

compare changes

🚀 Enhancements

  • jiti/native export (#289)
  • Improve jiti/native compatibility with node and deno (#294)

💅 Refactors

  • Improve internal babel types (#271)
  • Always use native impl for jiti/native (#293)
  • Rename experimentalBun to tryNative (#295)

📦 Build

  • Fix type resolution issue (#269)

🏡 Chore

❤️ Contributors

pi0
published 2.0.0-beta.3 •

Changelog

Source

v2.0.0-beta.3

compare changes

🚀 Enhancements

  • Allow try and other resolve options for import/esmResolve (#268)
  • Allow set interopDefault using JITI_INTEROP_DEFAULT env (1c080a1)

🔥 Performance

🩹 Fixes

  • cache: Prefer node_modules/.cache if exists (832f206)
  • Use native esm import for built-ins (54d6b4a)
  • Respect interopDefault in babel transform (485b4e9)
  • Split cache based on interopDefault (f820a15)
  • Remove ext from cache path (50b1b3a)
  • Proprly resolve .mts/.cts with .mjs/.cjs imports (a5aefad)
  • resolve: Make sure parentURL is a dir (d224e84)

💅 Refactors

  • Improve debug logging (463a8a3)
  • Rename importResolve to esmResolve` (aac88e6)
  • Improve env handling (ee4489d)
  • Use imporr/require in debug logs (934a5bb)

🏡 Chore

✅ Tests

❤️ Contributors

pi0
published 2.0.0-beta.2 •

Changelog

Source

v2.0.0-beta.2

compare changes

🚀 Enhancements

  • Add experimental esm loader support (#266)

🔥 Performance

  • Reduce overhead of sub jiti instances (#265)

🩹 Fixes

  • Resolve with esm conditions in async context (#264)

💅 Refactors

  • Use more clear fsCache and moduleCache options (#263)
  • Use esm imports for babel plugins (22e259f)

📦 Build

🏡 Chore

🤖 CI

  • Enable loader test (#267)

❤️ Contributors

pi0
published 2.0.0-beta.1 •

Changelog

Source

v2.0.0-beta.1

compare changes

🚀 Enhancements

  • Basic top-level await support (#239)
  • Native esm support (#259)

🩹 Fixes

  • Use distinct cache paths for async mode (6e8ec7a)

💅 Refactors

  • Split option normalization (#172)
  • Split logic (#240)
  • Remove legacy node syntax polyfills (#260)
  • 3rd arg to createJiti is optional (60a23e3)
  • Upgrade cache version to 8 (99224ae)

📖 Documentation

  • Update bundlephobia link (#179)

🏡 Chore

🤖 CI

❤️ Contributors

pi0
published 1.21.6 •

pi0
published 1.21.5 •

pi0
published 1.21.4 •

pi0
published 1.21.3 •

Changelog

Source

v1.21.3

compare changes

🩹 Fixes

❤️ Contributors

pi0
published 1.21.2 •

Changelog

Source

v1.21.2

compare changes

🩹 Fixes

  • Pin mlly to 1.4.2 (#237)

❤️ Contributors

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc