Skip to content

fix(deps): update dependency jiti to v2 #10264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jiti ^1.17.1 -> ^2.0.0 age adoption passing confidence

Release Notes

unjs/jiti (jiti)

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
  • Simplify snapshot tests (#​351)
❤️ 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

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.


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

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

Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: 024c84d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-codegen/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jan 21, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/cli 5.0.6-alpha-20250314004331-024c84dcd27a834ac46c91518bad257a3edb7aaf npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jan 21, 2025

💻 Website Preview

The latest changes are available as preview in: https://ab2b88bf.graphql-code-generator.pages.dev

@renovate renovate bot force-pushed the renovate/jiti-2.x branch from b5649fb to a1c2ff5 Compare March 14, 2025 00:29
Copy link
Contributor Author

renovate bot commented Mar 14, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants