eslint-plugin-import version: 2.25.0 and 2.25.2 eslint version: 7.32 and 8.1 Reproduction repo: https://github.com/ludofischer/eslint-plugin-import-error-demo When using the `optimize` named import from the [svgo](https://github.com/svg/svgo) 2.8 library, since 2.25 eslint-plugin-import reports ``` error optimize not found in 'svgo' import/named ``` while the import was correctly handled as valid in eslint-plugin-import 2.24. svgo uses CommonJS with just a `main` `package.json` field that points to this file: https://github.com/svg/svgo/blob/master/lib/svgo-node.js