unjs / pkg-types

Node.js utilities and TypeScript definitions for package.json and tsconfig.json
Other
248 stars 17 forks source link

chore(deps): update devdependency jiti to v2 #195

Closed renovate[bot] closed 3 weeks 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.3 age adoption passing confidence

Release Notes

unjs/jiti (jiti) ### [`v2.3.3`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v233) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.3.2...v2.3.3) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.3.2...v2.3.3) ##### 🩹 Fixes - **eval:** Return fallback value ([#​326](https://redirect.github.com/unjs/jiti/pull/326)) ##### πŸ’… Refactors - Remove some unused exports ([#​327](https://redirect.github.com/unjs/jiti/pull/327)) ##### ❀️ Contributors - Lars Kappert ([@​webpro](http://github.com/webpro)) ### [`v2.3.2`](https://redirect.github.com/unjs/jiti/blob/HEAD/CHANGELOG.md#v232) [Compare Source](https://redirect.github.com/unjs/jiti/compare/v2.3.1...v2.3.2) [compare changes](https://redirect.github.com/unjs/jiti/compare/v2.3.1...v2.3.2) ##### 🩹 Fixes - **eval:** Fallback in async mode ([#​325](https://redirect.github.com/unjs/jiti/pull/325)) ##### 🏑 Chore - Update lockfile ([3627a56](https://redirect.github.com/unjs/jiti/commit/3627a56)) ##### ❀️ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`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

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

β™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: pnpm-lock.yaml
 ERR_PNPM_JSON_PARSE  Expected property name or '}' in JSON at position 4 while parsing '{  // This is a comment!  "name": "foo' in /tmp/renovate/repos/github/unjs/pkg-types/test/fixture/jsonc/package.json 

  1 | {
> 2 |   // This is a comment!
    |   ^
  3 |   "name": "foo",
  4 |   "version": "1.0.0",
  5 | }