jiti

Runtime Typescript and ESM support for Node.js

MIT License

Downloads
66.7M
Stars
1.4K
Committers
32

Bot releases are hidden (Show)

jiti - v1.21.0 Latest Release

Published by pi0 12 months ago

compare changes

This release enables forward compatibility for jiti v2 (See roadmap)

🚀 Enhancements

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

❤️ Contributors

jiti - v1.20.0

Published by pi0 about 1 year ago

compare changes

🚀 Enhancements

  • Experimental native Bun support (#156)

💅 Refactors

  • Replace proposal babel plugins with ECMAScript transforms (1fb4d8c)
jiti - v1.19.3

Published by pi0 about 1 year ago

compare changes

🩹 Fixes

  • Only replace import.meta.env (c6895d6)

❤️ Contributors

  • Pooya Parsa (@pi0)
jiti - v1.19.2

Published by pi0 about 1 year ago

compare changes

🩹 Fixes

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

✅ Tests

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

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Anhao
jiti - v1.19.1

Published by pi0 over 1 year ago

compare changes

🩹 Fixes

jiti - v1.19.0

Published by pi0 over 1 year ago

compare changes

🚀 Enhancements

  • Expose jiti.evalModule (#146)

🩹 Fixes

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

📖 Documentation

🏡 Chore

  • Fix development in windows (#135)

✅ Tests

  • Mask node version in snapshots (64cf136)

❤️ Contributors

jiti - v1.18.2

Published by pi0 over 1 year ago

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 parents with .cts/.mts extension too

🏡 Chore

❤️ Contributors

jiti - v1.17.2

Published by pi0 over 1 year ago

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