Install npm inpm-install-checks Repository github.com/npm/npm-install-checks Homepage github.com/npm/npm-install-checks#readme Weekly Downloads 6,809,979 Version License BSD-2-Clause Unpacked Size 12.1 kB Last publish 4 months ago Tryon RunKit ...
npm-install-checks Check the engines and platform fields in package.json API Both functions will throw an error if the check fails, or returnundefinedif everything is ok. Errors have arequiredandcurrentfields. .checkEngine(pkg, npmVer, nodeVer, force = false) ...
npm-install-checks Check the engines and platform fields in package.json API Both functions will throw an error if the check fails, or return undefined if everything is ok. Errors have a required and current fields. .checkEngine(pkg, npmVer, nodeVer, force = false) Check if a package's...
npm-install-checks 检查package.json中的engines和platform字段, API 如果检查失败,两个函数都会抛出错误,或者返回未定义如果一切正常。 错误有一个required和current字段。 .checkEngine(pkg, npmVer, nodeVer, force = false) 检查包是否支持node/npm版本。 如果不是的话 支持,会抛出错误。 force参数将覆盖节点版...
npm-install-checks Check the engines and platform fields in package.json API Both functions will throw an error if the check fails, or return undefined if everything is ok. Errors have a required and current fields. .checkEngine(pkg, npmVer, nodeVer, force = false) Check if a package's...
contains checks that npm runs during the installation - chore: bump @npmcli/eslint-config from 4.0.5 to 5.0.0 · npm/npm-install-checks@d7cf1dc
npm-install-checksnow supports node^18.17.0 || >=20.5.0 Bug Fixes 0ac00b5#114align to npm 10 node engine range (@hashtagchris) Chores 771bc19#114run template-oss-apply (@hashtagchris) d7cf1dc#112bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot]) ...
0 ...les/npm-install-checks/lib/current-env.js → ...les/npm-install-checks/lib/current-env.js File renamed without changes. 0 ...les/npm-install-checks/lib/dev-engines.js → ...les/npm-install-checks/lib/dev-engines.js File renamed without changes. 41 changes: 15 additions & ...
contains checks that npm runs during the installation - chore: bump @npmcli/template-oss from 4.18.1 to 4.19.0 · npm/npm-install-checks@c9e96d1
contains checks that npm runs during the installation - chore: bump @npmcli/template-oss from 4.15.1 to 4.17.0 · npm/npm-install-checks@18a0d10