This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| jiti | ^1.16.0 → ^2.7.0 |
Release Notes
unjs/jiti (jiti)
v2.7.0
🚀 Enhancements
- Add explicit resource management (using/await using) support (#422)
- Support opt-in
tsconfigPaths(#427) - Support virtual modules option (#428)
- Add
jiti/staticexport (#430)
🔥 Performance
- interopDefault: Add caching to reduce proxy overhead by ~2x (#421)
🩹 Fixes
- require: Passthrough resolve options (#412)
- ci: Skip
--coverageflag for node 18 (fe264b4) - require: Fallback to transpilation when
tryNativefails (#413) - Fallback for
ENAMETOOLONGwhen evaluating esm (#429)
📦 Build
🏡 Chore
- Fix lint issues (4045c7a)
- Update deps (e88ac44)
- Update deps (498e8d7)
- Add missing prettier dep (650bc48)
- Lint (058d91a)
- Init agents.md (c49c54e)
- Update agents.md (4deba16)
- Update deps (08fc868)
- Update tsconfig (8c7822e)
- Update release script (27fe3f2)
✅ Tests
🤖 CI
- Update node test matrix (0abda72)
❤️ Contributors
- Pooya Parsa (@pi0)
- Kricsleo (@kricsleo)
- Espen Hovlandsdal (@rexxars)
- Rintaro Itokawa (@re-taro)
- Matteo Collina (@mcollina)
v2.6.1
🩹 Fixes
- interop: Only passthrough default if it is not a promise (#408)
📦 Build
- Revert to
terser-webpack-plugin(#407)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- Kricsleo (@kricsleo)
v2.6.0
🔥 Performance
- Lazy load babel transform (#405)
🩹 Fixes
📦 Build
- Migrate to rspack (#404)
🏡 Chore
- Update deps (5123334)
✅ Tests
❤️ Contributors
v2.5.1
🩹 Fixes
- interop: Passthrough module if it is a promise (#389)
❤️ Contributors
- Pooya Parsa pyapar@gmail.com
v2.5.0
🚀 Enhancements
🩹 Fixes
🏡 Chore
- Update ci (6b7fe8b)
- Update deps (fb2b903)
- Add defaults in JSDocs (#365)
- Update deps (35a6a61)
- Lint (dde7c82)
- Update snapshot (c567a37)
✅ Tests
❤️ Contributors
- Kricsleo (@kricsleo)
- Pooya Parsa (@pi0)
- Kanon (@ysknsid25)
- Arya Emami (@aryaemami59)
v2.4.2
🩹 Fixes
- cache: Add
+mapsuffix to fs entries whensourceMapsenabled (#352) - Use native require cache of loaded entries only (#348)
🏡 Chore
- Update deps (7b7ffef)
✅ Tests
- Simplify snapshot tests (#351)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.4.1
🩹 Fixes
- Interop modules with primitive default export (#343)
🏡 Chore
- Update deps (58d3f5f)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.4.0
🚀 Enhancements
- Support generic type for
jiti.import<T>(#331)
🩹 Fixes
- Try to resolve
.tsfiles with.jsextension from js files (#337)
🏡 Chore
🤖 CI
- Deno v2 compat (f4d0062)
❤️ Contributors
- Pooya Parsa (@pi0)
- Lars Kappert (@webpro)
- Alexander a.hywax@gmail.com
v2.3.3
🩹 Fixes
- eval: Return fallback value (#326)
💅 Refactors
- Remove some unused exports (#327)
❤️ Contributors
- Lars Kappert (@webpro)
v2.3.2
🩹 Fixes
- eval: Fallback in async mode (#325)
🏡 Chore
- Update lockfile (3627a56)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.3.1
🩹 Fixes
- Conditional access to
mod.default(8c30a94)
🏡 Chore
- Update note (f67ed60)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.3.0
🚀 Enhancements
- Support
jiti.import(id, {default: true})(#323)
🩹 Fixes
- interopDefault: Avoid
inoperator 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
- Update lockfile (c1325e9)
❤️ Contributors
v2.2.1
🩹 Fixes
- Bump cache version (3acd097)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.2.0
🚀 Enhancements
- Use smarter proxy for
interopDefault(#318)
💅 Refactors
- Inline interopDefault from mlly (8826047)
🤖 CI
❤️ Contributors
- Pooya Parsa (@pi0)
v2.1.2
🌊 Types
- Use local
NodeModuletype (718bea2)
❤️ Contributors
- Pooya Parsa (@pi0)
v2.1.1
🩹 Fixes
- types: Add standalone types for node require (#316)
🏡 Chore
- Updarte deps (5998e3c)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
v2.1.0
🚀 Enhancements
- Enable
interopDefaultby default (#310) - Support
import.meta.dirnameandimport.meta.filename(#308)
🔥 Performance
- cli: Enable node 22 compile cache (#312)
🩹 Fixes
💅 Refactors
- Deprecate commonjs api (#313)
📦 Build
- Fix
/registerand/nativesubpath types forNode10module resolution (#304)
🏡 Chore
- Remove ext for consistency (e4a9bae)
- Add jsx field (6a4e13a)
- Update dependencies (ee90eca)
- Lint (85d7c41)
❤️ Contributors
- Pooya Parsa (@pi0)
- Arya Emami (@aryaemami59)
v2.0.0
🚀 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
pathsoption to nativerequire.resolve(50e4280)
💅 Refactors
- Make
jiti.esmResolveconsistent withimport.meta.resolve(#303)
📖 Documentation
- Add example for inline
JITI_ALIAS(a53715a)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- Vlad Sirenko (@sirenkovladd)
- Ethan (@yuusheng)
- Jakub Boháček gh-noreply@bohacek.dev
- Daniel Roe (@danielroe)
v1.21.7
compare changes (📦 bundled dependencies updated)
🩹 Fixes
- Use native require cache of loaded entries only Node.js 22.12.+ compatibility (#349)
v1.21.6
🩹 Fixes
- Use internal cached modules only if loaded (#247)
v1.21.5
🩹 Fixes
From 1.21.4
v1.21.4
v1.21.3
🩹 Fixes
- Update mlly to ^1.7.1 (9adbcb3)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.21.2
🩹 Fixes
- Pin mlly to 1.4.2 (#237)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.21.1
🏡 Chore
- Update dependencies (0bd991b)
- Update dependencies (cfb106c)
- Update to eslint v9 (c11d953)
- Update deps and lockfile (95aa249)
- Run ci against 18 and 22 (65b4067)
- Lint (6f3bd76)
🤖 CI
- Skip extra checks (8fe6417)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.21.0
🚀 Enhancements
- Add
jiti.importfunction for async import (#170) - Add forward compatible (stub) types for
jiti.import(#175)
🏡 Chore
- Enable ci for
v1branch (0200f63) - Add banner about v1 (cc742cb)
- Add
v1to renovate branches (2358645) - Update dependencies (fe8b267)
- Fix eslint warning (c5c7220)
❤️ Contributors
- Pooya Parsa (@pi0)
- Anthony Fu <anthonyfu117@>hotmail.com>
v1.20.0
🚀 Enhancements
- Experimental native bun support (#156)
💅 Refactors
- Replace proposal babel plugins with ecmascript transforms (1fb4d8c)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.19.3
🩹 Fixes
- Only replace
import.meta.env(c6895d6)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.19.2
🩹 Fixes
- Pass custom extensions to esm resolver (#152)
- Support
import.meta.envandimport.meta.env?.prop(#159)
🏡 Chore
- Update dependencies (09c1e7d)
- Add autofix ci (670c1f2)
- Update dependencies (2325b70)
- Upgrade dependencies (f18508c)
✅ Tests
- typescript: Remove type-only namespace access (de73bd9)
🎨 Styles
❤️ Contributors
- Pooya Parsa (@pi0)
- Anhao
v1.19.1
🩹 Fixes
- Read cache from
evalOptions(2c1765e)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.19.0
🚀 Enhancements
- Expose
jiti.evalModule(#146)
🩹 Fixes
📖 Documentation
- Update badges (6124894)
🏡 Chore
- Lint code (fbd46e4)
- Update snapshots for node 18 (c51f049)
- Update dependencies (9aedf07)
- Update destr import (5b1c1ca)
- Fix vitest (c6798c6)
- Speficy env types (37e0692)
- Lint (37b6b7a)
- Fix development in windows (#135)
✅ Tests
- Mask node version in snapshots (64cf136)
❤️ Contributors
- Pooya Parsa (@pi0)
- Joaquín Sánchez (@userquin)
- Sébastien Chopin seb@nuxtjs.com
v1.18.2
🚀 Enhancements
🔥 Performance
- Use extension resolutions only for parent typescript files (27a9888)
🩹 Fixes
- Handle parretns with
c ([mtsextension too](https://github.com/unjs/jiti/commit/mts` extension too))
🏡 Chore
- Update lockfile (e91d3a1)
❤️ Contributors
v1.18.1
v1.18.0
v1.17.2
🩹 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
- Format with prettier (42669e5)
❤️ Contributors
- Pooya Parsa (@pi0)
- Jonas Thelemann (@dargmuesli)
- Sabin Marcu (@sabinmarcu)
- Peter <peter.placzek1996@>gmail.com>
v1.17.1
🩹 Fixes
- Prefer
requirecondition first in esm resolve mode (#117)
💅 Refactors
- Use
mkdirSyncfromnode:fsinstead ofmkdirp(413d3c3)
🏡 Chore
❤️ Contributors
- Pooya Parsa pooya@pi0.io
v1.17.0
Features
- add support for
.mts(#112) (94ab3f2) - support import assertions and
.jsonimports with.defaultproperty (#114) (08a9a47)
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)
v1.16.2
Features
- add support for
.mts(#112) (94ab3f2) - support import assertions and
.jsonimports with.defaultproperty (#114) (08a9a47)
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)
v1.16.1
Features
- add support for
.mts(#112) (94ab3f2) - support import assertions and
.jsonimports with.defaultproperty (#114) (08a9a47)
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.