The NPM CLI option "engine-strict" (not to be confused with the engineStrict package.json, which is deprecated) does not work. It does not error out when set to true.
I'm 99% sure it's due to this
npm/npm-install-checks#10
which, as part of deprecating engineStrict completely removed the option to check strictly at all,
NPM CLI still passes the flag to this routine expecting it to respect the flag:
|
checkEngine(pkg, npm.version, nodeVersion, force, strict, iferr(next, thenWarnEngineIssues)) |
So, I'd say
- either have the dependency fix their bug
or
- move strict enforcement check into the NPM CLI
or
- deprecate this option in the NPM CLI (boo, i think there's a use case here)
The NPM CLI option "engine-strict" (not to be confused with the engineStrict package.json, which is deprecated) does not work. It does not error out when set to true.
I'm 99% sure it's due to this
npm/npm-install-checks#10
which, as part of deprecating engineStrict completely removed the option to check strictly at all,
NPM CLI still passes the flag to this routine expecting it to respect the flag:
cli/lib/install/validate-args.js
Line 60 in 44ddd0b
So, I'd say
or
or