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

jiti

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jiti - npm Package Versions

23
10

2.4.0

Diff

Changelog

Source

v2.4.0

compare changes

🚀 Enhancements

  • Support generic type for jiti.import<T> (#331)

🩹 Fixes

  • Try to resolve .ts files with .js extension from js files (#337)

🏡 Chore

🤖 CI

❤️ Contributors

pi0
published 2.3.3 •

Changelog

Source

v2.3.3

compare changes

🩹 Fixes

  • eval: Return fallback value (#326)

💅 Refactors

  • Remove some unused exports (#327)

❤️ Contributors

pi0
published 2.3.2 •

Changelog

Source

v2.3.2

compare changes

🩹 Fixes

  • eval: Fallback in async mode (#325)

🏡 Chore

❤️ Contributors

pi0
published 2.3.1 •

Changelog

Source

v2.3.1

compare changes

🩹 Fixes

  • Conditional access to mod.default (8c30a94)

🏡 Chore

❤️ Contributors

pi0
published 2.3.0 •

Changelog

Source

v2.3.0

compare changes

🚀 Enhancements

  • Support jiti.import(id, {default: true}) (#323)

🩹 Fixes

  • interopDefault: Avoid in operator for primitive inputs (#321)

💅 Refactors

  • interopDefault: Simplify logic for default export checks (#322)

📖 Documentation

  • Fix format (#320)
  • Update interopDefault description and reference (61891a0)
  • Add note about interop default (537fa39)

🏡 Chore

❤️ Contributors

pi0
published 2.2.1 •

Changelog

Source

v2.2.1

compare changes

🩹 Fixes

❤️ Contributors

pi0
published 2.2.0 •

Changelog

Source

v2.2.0

compare changes

🚀 Enhancements

  • Use smarter proxy for interopDefault (#318)

💅 Refactors

  • Inline interopDefault from mlly (8826047)

🤖 CI

❤️ Contributors

pi0
published 2.1.2 •

Changelog

Source

v2.1.2

compare changes

🌊 Types

  • Use local NodeModule type (718bea2)

❤️ Contributors

pi0
published 2.1.1 •

Changelog

Source

v2.1.1

compare changes

🩹 Fixes

  • types: Add standalone types for node require (#316)

🏡 Chore

✅ Tests

  • Add dependency tests (1d86ca3)
  • Ignore deps for node native register (e7ffe04)

❤️ Contributors

pi0
published 2.1.0 •

Changelog

Source

v2.1.0

compare changes

🚀 Enhancements

  • Enable interopDefault by default (#310)
  • Support import.meta.dirname and import.meta.filename (#308)

🔥 Performance

  • cli: Enable node 22 compile cache (#312)

🩹 Fixes

  • Make TransformOptions type strict to allow auto-complete (#305)
  • Properly handle tsx (#311)

💅 Refactors

  • Deprecate commonjs api (#313)

📦 Build

  • Fix /register and /native subpath types for Node10 module resolution (#304)

🏡 Chore

❤️ Contributors

23
10
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