Socket
Socket
Sign inDemoInstall

jiti

Package Overview
Dependencies
0
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
9Next

2.0.0-beta.3

Diff

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

pi0
published 1.21.1 •

Changelog

Source

v1.21.1

compare changes

🏡 Chore

🤖 CI

❤️ Contributors

pi0
published 1.21.0 •

Changelog

Source

v1.21.0

compare changes

🚀 Enhancements

  • Add jiti.import function for async import (#170)
  • Add forward compatible (stub) types for jiti.import (#175)

🏡 Chore

❤️ Contributors

2345
9Next
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc