ReviewOS

also looking at this

stacks/calendar

chore(deps): update dependency jiti to v2

#53
Closed renovate[bot] wants to merge renovate/jiti-2.x into main
2 files +25 -290
11 days ago

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
jiti^1.16.0 → ^2.7.0ageadoptionpassingconfidence

Release Notes

unjs/jiti (jiti)

v2.7.0

Compare Source

compare changes

🚀 Enhancements
  • Add explicit resource management (using/await using) support (#​422)
  • Support opt-in tsconfigPaths (#​427)
  • Support virtual modules option (#​428)
  • Add jiti/static export (#​430)
🔥 Performance
  • interopDefault: Add caching to reduce proxy overhead by ~2x (#​421)
🩹 Fixes
  • require: Passthrough resolve options (#​412)
  • ci: Skip --coverage flag for node 18 (fe264b4)
  • require: Fallback to transpilation when tryNative fails (#​413)
  • Fallback for ENAMETOOLONG when evaluating esm (#​429)
📦 Build
🏡 Chore
✅ Tests
🤖 CI
❤️ Contributors

v2.6.1

Compare Source

compare changes

🩹 Fixes
  • interop: Only passthrough default if it is not a promise (#​408)
📦 Build
  • Revert to terser-webpack-plugin (#​407)
🏡 Chore
❤️ Contributors

v2.6.0

Compare Source

compare changes

🔥 Performance
  • Lazy load babel transform (#​405)
🩹 Fixes
  • cjs-interop: Handle function default exports (#​396)
  • Always use native for node: specifiers (#​392)
📦 Build
🏡 Chore
✅ Tests
  • Update deno and bun native test ignores (df844f8)
  • New bench script (6404427)
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Volodymyr Kolesnykov (@​sjinks)
  • Jungwoo LEE <jungwoo3490@>​naver.com>

v2.5.1

Compare Source

compare changes

🩹 Fixes
  • interop: Passthrough module if it is a promise (#​389)
❤️ Contributors

v2.5.0

Compare Source

compare changes

🚀 Enhancements
  • Use sha256 for cache entries in fips mode (#​375)
  • rebuildFsCache ( JITI_REBUILD_FS_CACHE) (#​379)
🩹 Fixes
  • Interop modules with nil default export (#​377)
  • register: Handle require(<json>) (#​374)
🏡 Chore
✅ Tests
  • Update snapshot (c7cfeed)
  • Only include src for coverage report (#​372)
❤️ Contributors

v2.4.2

Compare Source

compare changes

🩹 Fixes
  • cache: Add +map suffix to fs entries when sourceMaps enabled (#​352)
  • Use native require cache of loaded entries only (#​348)
🏡 Chore
✅ Tests
❤️ Contributors

v2.4.1

Compare Source

compare changes

🩹 Fixes
  • Interop modules with primitive default export (#​343)
🏡 Chore
❤️ Contributors

v2.4.0

Compare Source

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

v2.3.3

Compare Source

compare changes

🩹 Fixes
  • eval: Return fallback value (#​326)
💅 Refactors
  • Remove some unused exports (#​327)
❤️ Contributors

v2.3.2

Compare Source

compare changes

🩹 Fixes
  • eval: Fallback in async mode (#​325)
🏡 Chore
❤️ Contributors

v2.3.1

Compare Source

compare changes

🩹 Fixes
  • Conditional access to mod.default (8c30a94)
🏡 Chore
❤️ Contributors

v2.3.0

Compare Source

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

v2.2.1

Compare Source

compare changes

🩹 Fixes
❤️ Contributors

v2.2.0

Compare Source

compare changes

🚀 Enhancements
  • Use smarter proxy for interopDefault (#​318)
💅 Refactors
  • Inline interopDefault from mlly (8826047)
🤖 CI
❤️ Contributors

v2.1.2

Compare Source

compare changes

🌊 Types
  • Use local NodeModule type (718bea2)
❤️ Contributors

v2.1.1

Compare Source

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

v2.1.0

Compare Source

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
📦 Build
  • Fix /register and /native subpath types for Node10 module resolution (#​304)
🏡 Chore
❤️ Contributors

v2.0.0

Compare Source

compare changes

🚀 Enhancements
  • Handle data: imports (non-native only) (#​299)
  • Support jsx (#​200)
  • Eval esm modules with fallback loader (#​300)
  • Support import.meta.resolve (#​301)
🩹 Fixes
  • Handle global url instance mismatch (#​298)
  • Optional access to Reflect.metadata (#​165)
  • Add only paths option to native require.resolve (50e4280)
💅 Refactors
  • Make jiti.esmResolve consistent with import.meta.resolve (#​303)
📖 Documentation
  • Add example for inline JITI_ALIAS (a53715a)
🏡 Chore
❤️ Contributors

v1.21.7

Compare Source

compare changes (📦 bundled dependencies updated)

🩹 Fixes
  • Use native require cache of loaded entries only Node.js 22.12.+ compatibility (#​349)

v1.21.6

Compare Source

compare changes

🩹 Fixes
  • Use internal cached modules only if loaded (#​247)

v1.21.5

Compare Source

compare changes

🩹 Fixes

From 1.21.4

  • Avoid node: protocol for node 14 compatibility (5d877de)
  • Update deps (5e11181)

v1.21.4

Compare Source

v1.21.3

Compare Source

compare changes

🩹 Fixes
❤️ Contributors

v1.21.2

Compare Source

compare changes

🩹 Fixes
❤️ Contributors

v1.21.1

Compare Source

compare changes

🏡 Chore
🤖 CI
❤️ Contributors

v1.21.0

Compare Source

compare changes

🚀 Enhancements
  • Add jiti.import function for async import (#​170)
  • Add forward compatible (stub) types for jiti.import (#​175)
🏡 Chore
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Anthony Fu <anthonyfu117@>​hotmail.com>

v1.20.0

Compare Source

compare changes

🚀 Enhancements
  • Experimental native bun support (#​156)
💅 Refactors
  • Replace proposal babel plugins with ecmascript transforms (1fb4d8c)
❤️ Contributors

v1.19.3

Compare Source

compare changes

🩹 Fixes
  • Only replace import.meta.env (c6895d6)
❤️ Contributors

v1.19.2

Compare Source

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

v1.19.1

Compare Source

compare changes

🩹 Fixes
  • Read cache from evalOptions (2c1765e)
❤️ Contributors

v1.19.0

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Handle nested circular dependencies (#​142)
  • types: Export JITIOptions and TreansformOptions (#​132)
📖 Documentation
🏡 Chore
✅ Tests
  • Mask node version in snapshots (64cf136)
❤️ Contributors

v1.18.2

Compare Source

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
🏡 Chore
❤️ Contributors

v1.18.1

Compare Source

v1.18.0

Compare Source

v1.17.2

Compare Source

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

v1.17.1

Compare Source

compare changes

🩹 Fixes
  • Prefer require condition first in esm resolve mode (#​117)
💅 Refactors
  • Use mkdirSync from node:fs instead of mkdirp (413d3c3)
🏡 Chore
❤️ Contributors

v1.17.0

Compare Source

Features
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)

v1.16.2

Compare Source

Features
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)

v1.16.1

Compare Source

Features
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

2 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.