Socket
Socket
Sign inDemoInstall

jiti

Package Overview
Dependencies
0
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
8Next

1.21.0

Diff

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

pi0
published 1.20.0 •

Changelog

Source

v1.20.0

compare changes

🚀 Enhancements

  • Experimental native bun support (#156)

💅 Refactors

  • Replace proposal babel plugins with ecmascript transforms (1fb4d8c)

❤️ Contributors

pi0
published 1.19.3 •

Changelog

Source

v1.19.3

compare changes

🩹 Fixes

  • Only replace import.meta.env (c6895d6)

❤️ Contributors

pi0
published 1.19.2 •

Changelog

Source

v1.19.2

compare changes

🩹 Fixes

  • Pass custom extensions to esm resolver (#152)
  • Support import.meta.env and import.meta.env?.prop (#159)

🏡 Chore

✅ Tests

  • typescript: Remove type-only namespace access (de73bd9)

🎨 Styles

  • Format with prettier v3 (fe61c6e)
  • Format report with prettier (6098284)

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Anhao
pi0
published 1.19.1 •

Changelog

Source

v1.19.1

compare changes

🩹 Fixes

  • Read cache from evalOptions (2c1765e)

❤️ Contributors

pi0
published 1.19.0 •

Changelog

Source

v1.19.0

compare changes

🚀 Enhancements

  • Expose jiti.evalModule (#146)

🩹 Fixes

  • Handle nested circular dependencies (#142)
  • types: Export JITIOptions and TreansformOptions (#132)

📖 Documentation

🏡 Chore

✅ Tests

  • Mask node version in snapshots (64cf136)

❤️ Contributors

pi0
published 1.18.2 •

Changelog

Source

v1.18.2

compare changes

🚀 Enhancements

  • Allow resolving .ts files with .js extension (#128)
  • Support import.meta.env (#129)

🔥 Performance

  • Use extension resolutions only for parent typescript files (27a9888)

🩹 Fixes

  • Handle parretns with c ([mts extension too](https://github.com/unjs/jiti/commit/mts` extension too))

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Db3f994 <Pooya Parsa>
  • Guillaume Chau (@Akryum)
pi0
published 1.18.1 •

pi0
published 1.18.0 •

pi0
published 1.17.2 •

Changelog

Source

v1.17.2

compare changes

🩹 Fixes

  • Add support to emit decorator metadata (#119)
  • Use inline require cache to avoid circular dependencies (#125)
  • Workaround for pnpm and TMPDIR (#123)

🏡 Chore

✅ Tests

  • Add typescript satisfies fixture (#107)

🎨 Styles

❤️ Contributors

2345
8Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc