-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Dependency minimatch@10 does not support Node 18, so it is wrong for this package to claim to #414
Comments
Actually, caret versioning above for v9 should not use v10, so maybe this is a transitive dependency? The problem reveals itself in a Dependabot update of this package from 17.5.1 to 17.6.1: DavidAnson/markdownlint#1526 |
I can provide more info later if needed, but not from my phone. |
![]() It looks to be transitive from PR cause: #392 I wonder if CI run passed because we used the |
@scagood If you are worried about also seeing markdownlint-cli in your output above (I was! :) ), that engines problem was fixed in release 0.44.0 by downgrading the two relevant dependencies: igorshubovych/markdownlint-cli@fc06ac9 |
@RebeccaStevens Would it be possible to resolve the minimatch version in RebeccaStevens/ts-declaration-location? |
@scagood It looks like v10 of minimatch is the same as v9 minus the support for node 18. I should be able to just switch to using v9. As an alternative, in this package you could add an override. This will prevent this issue arising again if another package upgrade minimatch to v10 or newer: // package.json
{
// ...
"overrides": {
"minimatch": "^9.0.5"
},
} Note: I haven't confirmed whether or not consuming packages will respect this override or not. |
I don't think overrides cascade to which ever package imports |
it worked for me with yarn resolutions, though I really think "resolutions": {
"minimatch": "^9.0.5"
} |
|
Environment
Node version: 18
npm version: N/A
ESLint version: N/A
eslint-plugin-n version: Multiple
Operating System: N/A
Engines:
eslint-plugin-n/package.json
Line 6 in 90de242
Dependency:
eslint-plugin-n/package.json
Line 27 in 90de242
Dependency engines:
https://github.com/isaacs/minimatch/blob/346685ced5203464bb10fd3d4dfa6964f6102ede/package.json#L53
What rule do you want to report?
N/A
Link to Minimal Reproducible Example
N/A
What did you expect to happen?
npm install
for a package using this one should succeed whenengine-strict=true
instead of failing: https://github.com/DavidAnson/markdownlint/actions/runs/13622041054/job/38073048229#step:4:1Participation
Additional comments
N/A
The text was updated successfully, but these errors were encountered: