unjs / mkdist

Lightweight file-to-file transpiler.
MIT License
367 stars 25 forks source link

chore(deps): update dependency jiti to v2 #246

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jiti ^1.21.6 -> ^2.3.1 age adoption passing confidence

Release Notes

unjs/jiti (jiti) ### [`v2.3.1`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v231) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.3.0...v2.3.1) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.3.0...v2.3.1) ##### ๐Ÿฉน Fixes - Conditional access to `mod.default` ([8c30a94](https://redirect.github.com/unjs/jiti/commit/8c30a94)) ##### ๐Ÿก Chore - Update note ([f67ed60](https://redirect.github.com/unjs/jiti/commit/f67ed60)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v2.3.0`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v230) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.2.1...v2.3.0) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.2.1...v2.3.0) ##### ๐Ÿš€ Enhancements - Support `jiti.import(id, {default: true})` ([#​323](https://redirect.github.com/unjs/jiti/pull/323)) ##### ๐Ÿฉน Fixes - **interopDefault:** Avoid `in` operator for primitive inputs ([#​321](https://redirect.github.com/unjs/jiti/pull/321)) ##### ๐Ÿ’… Refactors - **interopDefault:** Simplify logic for default export checks ([#​322](https://redirect.github.com/unjs/jiti/pull/322)) ##### ๐Ÿ“– Documentation - Fix format ([#​320](https://redirect.github.com/unjs/jiti/pull/320)) - Update interopDefault description and reference ([61891a0](https://redirect.github.com/unjs/jiti/commit/61891a0)) - Add note about interop default ([537fa39](https://redirect.github.com/unjs/jiti/commit/537fa39)) ##### ๐Ÿก Chore - Update lockfile ([c1325e9](https://redirect.github.com/unjs/jiti/commit/c1325e9)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) - [@​beer](https://redirect.github.com/beer) ([@​iiio2](http://github.com/iiio2)) ### [`v2.2.1`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v221) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.2.0...v2.2.1) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.2.0...v2.2.1) ##### ๐Ÿฉน Fixes - Bump cache version ([3acd097](https://redirect.github.com/unjs/jiti/commit/3acd097)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v2.2.0`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v220) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.1.2...v2.2.0) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.1.2...v2.2.0) ##### ๐Ÿš€ Enhancements - Use smarter proxy for `interopDefault` ([#​318](https://redirect.github.com/unjs/jiti/pull/318)) ##### ๐Ÿ’… Refactors - Inline interopDefault from mlly ([8826047](https://redirect.github.com/unjs/jiti/commit/8826047)) ##### ๐Ÿค– CI - Run nightly release once ([4f9d67d](https://redirect.github.com/unjs/jiti/commit/4f9d67d)) - Correct condition ([1384010](https://redirect.github.com/unjs/jiti/commit/1384010)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v2.1.2`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v212) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.1.1...v2.1.2) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.1.1...v2.1.2) ##### ๐ŸŒŠ Types - Use local `NodeModule` type ([718bea2](https://redirect.github.com/unjs/jiti/commit/718bea2)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v2.1.1`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v211) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.1.0...v2.1.1) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.1.0...v2.1.1) ##### ๐Ÿฉน Fixes - **types:** Add standalone types for node require ([#​316](https://redirect.github.com/unjs/jiti/pull/316)) ##### ๐Ÿก Chore - Updarte deps ([5998e3c](https://redirect.github.com/unjs/jiti/commit/5998e3c)) ##### โœ… Tests - Add dependency tests ([1d86ca3](https://redirect.github.com/unjs/jiti/commit/1d86ca3)) - Ignore deps for node native register ([e7ffe04](https://redirect.github.com/unjs/jiti/commit/e7ffe04)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v2.1.0`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v210) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.0.0...v2.1.0) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.0.0...v2.1.0) ##### ๐Ÿš€ Enhancements - Enable `interopDefault` by default ([#​310](https://redirect.github.com/unjs/jiti/pull/310)) - Support `import.meta.dirname` and `import.meta.filename` ([#​308](https://redirect.github.com/unjs/jiti/pull/308)) ##### ๐Ÿ”ฅ Performance - **cli:** Enable node 22 compile cache ([#​312](https://redirect.github.com/unjs/jiti/pull/312)) ##### ๐Ÿฉน Fixes - Make `TransformOptions` type strict to allow auto-complete ([#​305](https://redirect.github.com/unjs/jiti/pull/305)) - Properly handle tsx ([#​311](https://redirect.github.com/unjs/jiti/pull/311)) ##### ๐Ÿ’… Refactors - Deprecate commonjs api ([#​313](https://redirect.github.com/unjs/jiti/pull/313)) ##### ๐Ÿ“ฆ Build - Fix `/register` and `/native` subpath types for `Node10` module resolution ([#​304](https://redirect.github.com/unjs/jiti/pull/304)) ##### ๐Ÿก Chore - Remove ext for consistency ([e4a9bae](https://redirect.github.com/unjs/jiti/commit/e4a9bae)) - Add jsx field ([6a4e13a](https://redirect.github.com/unjs/jiti/commit/6a4e13a)) - Update dependencies ([ee90eca](https://redirect.github.com/unjs/jiti/commit/ee90eca)) - Lint ([85d7c41](https://redirect.github.com/unjs/jiti/commit/85d7c41)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) - Arya Emami ([@​aryaemami59](http://github.com/aryaemami59)) ### [`v2.0.0`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v200) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v1.21.6...v2.0.0) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.0.0-rc.1...v2.0.0) ##### ๐Ÿš€ Enhancements - Handle `data:` imports (non-native only) ([#​299](https://redirect.github.com/unjs/jiti/pull/299)) - Support jsx ([#​200](https://redirect.github.com/unjs/jiti/pull/200)) - Eval esm modules with fallback loader ([#​300](https://redirect.github.com/unjs/jiti/pull/300)) - Support `import.meta.resolve` ([#​301](https://redirect.github.com/unjs/jiti/pull/301)) ##### ๐Ÿฉน Fixes - Handle global url instance mismatch ([#​298](https://redirect.github.com/unjs/jiti/pull/298)) - Optional access to `Reflect.metadata` ([#​165](https://redirect.github.com/unjs/jiti/pull/165)) - Add only `paths` option to native `require.resolve` ([50e4280](https://redirect.github.com/unjs/jiti/commit/50e4280)) ##### ๐Ÿ’… Refactors - Make `jiti.esmResolve` consistent with `import.meta.resolve` ([#​303](https://redirect.github.com/unjs/jiti/pull/303)) ##### ๐Ÿ“– Documentation - Add example for inline `JITI_ALIAS` ([a53715a](https://redirect.github.com/unjs/jiti/commit/a53715a)) ##### ๐Ÿก Chore - Update readme ([4e60353](https://redirect.github.com/unjs/jiti/commit/4e60353)) - Update lockfile ([10d8aab](https://redirect.github.com/unjs/jiti/commit/10d8aab)) - Update release script ([f0ed3cf](https://redirect.github.com/unjs/jiti/commit/f0ed3cf)) ##### โค๏ธ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) - Vlad Sirenko ([@​sirenkovladd](http://github.com/sirenkovladd)) - Ethan ([@​yuusheng](http://github.com/yuusheng)) - Jakub Bohรกฤek - Daniel Roe ([@​danielroe](http://github.com/danielroe))

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.

renovate[bot] commented 1 month ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.