I have a project with Next.js and Preact and I have to map react to preact in package.json like:
"react": "npm:@preact/[email protected]"
When I add it to .npm-upgrade.json to be ignored, even when I use "*" in "versions" npm-upgrade doesn't see it and proposes to install a newer version.

.npm-upgrade.json
{
"ignore": {
"react": {
"versions": "*",
"reason": "version 17.0.3 breaks Next.js"
}
}
I tried multiple combinations with provided "versions" and none of them work.