Skip to content

Commit

Permalink
feat: more granular strict checks
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Mar 10, 2024
1 parent 4b8b22d commit 149eabd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { checkEngineVersions } from './lib/check-engine-versions.js';
* @property {boolean|undefined} engineCheck
* @property {string[]|undefined} [engineIgnores]
* @property {boolean|undefined} [engineNoDev]
* @property {boolean} [strict]
* @property {boolean|undefined} versionCheck
*/

Expand All @@ -34,6 +35,7 @@ export async function installedCheck (options) {
engineIgnores = [],
engineNoDev = false,
path = '.',
strict = false,
versionCheck = false,
} = options;

Expand Down Expand Up @@ -75,6 +77,7 @@ export async function installedCheck (options) {
{
noDev: engineNoDev,
ignore: engineIgnores,
strict,
}
);

Expand Down

0 comments on commit 149eabd

Please sign in to comment.