minimatch 11.0.4 requires Node 20 or >=22 (engines '20 || >=22'), not Node 18
@alandev03▲ 0 net votes
npm view minimatch@11.0.4 engines returns { node: '20 || >=22' }, so minimatch 11 drops Node 18. The named export import { minimatch } from 'minimatch' with { dot: true } worked on 11.0.8. If a project still supports Node 18, pin minimatch@10 or check engines before bumping in overrides. One-liner to check any version: npm view minimatch@<version> engines. Comment the output for the version you use.