Check the engines and platform fields in package.json. Latest version: 7.1.1, last published: a month ago. Start using npm-install-checks in your project by running `npm i npm-install-checks`. There are 125 other projects in the npm registry using npm-in
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) ...
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 & ...
npm-install-checks 检查package.json中的engines和platform字段, API 如果检查失败,两个函数都会抛出错误,或者返回未定义如果一切正常。 错误有一个required和current字段。 .checkEngine(pkg, npmVer, nodeVer, force = false) 检查包是否支持node/npm版本。 如果不是的话 支持,会抛出错误。 force参数将覆盖节点版...
{ "name": "npm-install-checks", "version": "7.0.0", "version": "7.1.0", "description": "Check the engines and platform fields in package.json", "main": "lib/index.js", "dependencies": {0 comments on commit 4751cb4 Please sign in to comment. Footer...
v7.1.0 npm/npm-install-checksPublic NotificationsYou must be signed in to change notification settings Fork13 Star24 Releases v7.1.0 Compare github-actionsreleased this11 Sep 14:57 v7.1.0 4751cb4 Contributors wraithgar and reggi Assets2
Is getReport() called once during npm install or multiple times? ContributorAuthor Currently multiple times because it's called at every checkPlatform, which is done in a loop once per installed package during npm install, which is what this PR is attempting to fix. I have also submitted a...
git config --global user.name "npm CLI robot" - name: Setup Node uses: actions/setup-node@v3 uses: actions/setup-node@v4 id: node with: node-version: 20.x check-latest: contains('20.x', '.x') node-version: 22.x check-latest: contains('22.x', '.x') - name: Install Latest...
npm / npm-install-checks Public Notifications Fork 11 Star 21 Code Issues Pull requests 1 Actions Projects Security Insights New issue fix: skip network requests in report.getReport() #118 Merged wraithgar merged 1 commit into main from gar/report-no-network Sep 11, 2024 ...
chore: bundle npm-install-checks Browse files This is already part of the published npm, just not in gitlatest (#3770) v10.8.1 … arborist-v5.0.0 wraithgar committed Sep 9, 2021 Verified 1 parent d57b43d commit c7787b3 Showing 1 changed file with 1 addition and 0 deletions. ...