This PR contains the following updates:
Release Notes
unjs/jiti (jiti)
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
- Simplify snapshot tests (#351)
❤️ Contributors
Compare Source
compare changes
🩹 Fixes
- Interop modules with primitive default export (#343)
🏡 Chore
❤️ Contributors
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
Compare Source
compare changes
🩹 Fixes
- eval: Return fallback value (#326)
💅 Refactors
- Remove some unused exports (#327)
❤️ Contributors
Compare Source
compare changes
🩹 Fixes
- eval: Fallback in async mode (#325)
🏡 Chore
❤️ Contributors
Compare Source
compare changes
🩹 Fixes
- Conditional access to
mod.default (8c30a94)
🏡 Chore
❤️ Contributors
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
Compare Source
compare changes
🩹 Fixes
❤️ Contributors
Compare Source
compare changes
🚀 Enhancements
- Use smarter proxy for
interopDefault (#318)
💅 Refactors
- Inline interopDefault from mlly (8826047)
🤖 CI
❤️ Contributors
Compare Source
compare changes
🌊 Types
- Use local
NodeModule type (718bea2)
❤️ Contributors
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
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
- Deprecate commonjs api (#313)
📦 Build
- Fix
/register and /native subpath types for Node10 module resolution (#304)
🏡 Chore
❤️ Contributors
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
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
^1.17.1->^2.0.0Release Notes
unjs/jiti (jiti)
v2.4.2Compare Source
compare changes
🩹 Fixes
+mapsuffix to fs entries whensourceMapsenabled (#352)🏡 Chore
✅ Tests
❤️ Contributors
v2.4.1Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v2.4.0Compare Source
compare changes
🚀 Enhancements
jiti.import<T>(#331)🩹 Fixes
.tsfiles with.jsextension from js files (#337)🏡 Chore
🤖 CI
❤️ Contributors
v2.3.3Compare Source
compare changes
🩹 Fixes
💅 Refactors
❤️ Contributors
v2.3.2Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v2.3.1Compare Source
compare changes
🩹 Fixes
mod.default(8c30a94)🏡 Chore
❤️ Contributors
v2.3.0Compare Source
compare changes
🚀 Enhancements
jiti.import(id, {default: true})(#323)🩹 Fixes
inoperator for primitive inputs (#321)💅 Refactors
📖 Documentation
🏡 Chore
❤️ Contributors
v2.2.1Compare Source
compare changes
🩹 Fixes
❤️ Contributors
v2.2.0Compare Source
compare changes
🚀 Enhancements
interopDefault(#318)💅 Refactors
🤖 CI
❤️ Contributors
v2.1.2Compare Source
compare changes
🌊 Types
NodeModuletype (718bea2)❤️ Contributors
v2.1.1Compare Source
compare changes
🩹 Fixes
🏡 Chore
✅ Tests
❤️ Contributors
v2.1.0Compare Source
compare changes
🚀 Enhancements
interopDefaultby default (#310)import.meta.dirnameandimport.meta.filename(#308)🔥 Performance
🩹 Fixes
TransformOptionstype strict to allow auto-complete (#305)💅 Refactors
📦 Build
/registerand/nativesubpath types forNode10module resolution (#304)🏡 Chore
❤️ Contributors
v2.0.0Compare Source
compare changes
🚀 Enhancements
data:imports (non-native only) (#299)import.meta.resolve(#301)🩹 Fixes
Reflect.metadata(#165)pathsoption to nativerequire.resolve(50e4280)💅 Refactors
jiti.esmResolveconsistent withimport.meta.resolve(#303)📖 Documentation
JITI_ALIAS(a53715a)🏡 Chore
❤️ Contributors
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.