Skip to content

node version mismatch: engine version of module does not match dependency #234

@shazron

Description

@shazron

Description

minimatch@>=10 requires node 20 or greater:
https://github.com/isaacs/minimatch/blob/0569cd3373408f9d701d3aab187b3f43a24a0db7/package.json#L53

This module only requires node 10 or greater:

"node": ">=10.10.0"

Users using this module version using (caret) node-folder-hash@^4 will pick up this change but it will potentially break their code if they are using a node less than 20.

[email protected] requires minmatch@~5.1.2 which only required "node": ">=10": https://github.com/isaacs/minimatch/blob/3e216b9cf09528b8cbb90c5ecc01d054326d8f85/package.json#L22C5-L22C19

Fix

This latest update should be a major version update (according to semver) since it is a breaking change (node version engine update), and it should update the engines node version in package.json

Workaround

Users should pin to v4.0.4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions