-
-
Notifications
You must be signed in to change notification settings - Fork 159
fix(deps): update dependency path-exists to v5 #2682
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0f4a42d177
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "private": true, | ||
| "dependencies": { | ||
| "path-exists": "^4.0.0", | ||
| "path-exists": "^5.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid ESM-only path-exists without CommonJS update
Updating to path-exists@^5.0.0 introduces an ESM‑only, named‑export API, but npm/private/lifecycle/src/lifecycle-hooks.js still does const exists = require('path-exists'). In Node’s CommonJS execution this now throws ERR_REQUIRE_ESM (or returns an object without the expected default), so lifecycle hooks that call useNodeGyp() will fail at runtime. Either stay on v4 or convert that module to ESM / use dynamic import and the named export.
Useful? React with 👍 / 👎.
|
|
|
0f4a42d to
a80cdc6
Compare




This PR contains the following updates:
^4.0.0→^5.0.0Release Notes
sindresorhus/path-exists (path-exists)
v5.0.0Compare Source
Breaking
3e66105Configuration
📅 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.