uawdijnntqw1x1x1
IP : 216.73.216.86
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
www
/
node_modules
/
grunt-cli
/
..
/
.bin
/
..
/
which
/
..
/
..
/
4d695
/
npm-install-checks.zip
/
/
PK�[�\��.,package.jsonnu�[���{ "_id": "npm-install-checks@6.3.0", "_inBundle": true, "_location": "/npm/npm-install-checks", "_phantomChildren": {}, "_requiredBy": [ "/npm", "/npm/@npmcli/arborist", "/npm/npm-pick-manifest" ], "author": { "name": "GitHub Inc." }, "bugs": { "url": "https://github.com/npm/npm-install-checks/issues" }, "dependencies": { "semver": "^7.1.1" }, "description": "Check the engines and platform fields in package.json", "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.19.0", "tap": "^16.0.1" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "files": [ "bin/", "lib/" ], "homepage": "https://github.com/npm/npm-install-checks#readme", "keywords": [ "npm,", "install" ], "license": "BSD-2-Clause", "main": "lib/index.js", "name": "npm-install-checks", "repository": { "type": "git", "url": "git+https://github.com/npm/npm-install-checks.git" }, "scripts": { "lint": "eslint \"**/*.js\"", "lintfix": "npm run lint -- --fix", "postlint": "template-oss-check", "posttest": "npm run lint", "snap": "tap", "template-oss-apply": "template-oss-apply --force", "test": "tap" }, "tap": { "nyc-arg": [ "--exclude", "tap-snapshots/**" ] }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "version": "4.19.0", "publish": "true" }, "version": "6.3.0" } PK�[�\Eʥ3� � lib/index.jsnu�[���const semver = require('semver') const checkEngine = (target, npmVer, nodeVer, force = false) => { const nodev = force ? null : nodeVer const eng = target.engines const opt = { includePrerelease: true } if (!eng) { return } const nodeFail = nodev && eng.node && !semver.satisfies(nodev, eng.node, opt) const npmFail = npmVer && eng.npm && !semver.satisfies(npmVer, eng.npm, opt) if (nodeFail || npmFail) { throw Object.assign(new Error('Unsupported engine'), { pkgid: target._id, current: { node: nodeVer, npm: npmVer }, required: eng, code: 'EBADENGINE', }) } } const isMusl = (file) => file.includes('libc.musl-') || file.includes('ld-musl-') const checkPlatform = (target, force = false, environment = {}) => { if (force) { return } const platform = environment.os || process.platform const arch = environment.cpu || process.arch const osOk = target.os ? checkList(platform, target.os) : true const cpuOk = target.cpu ? checkList(arch, target.cpu) : true let libcOk = true let libcFamily = null if (target.libc) { // libc checks only work in linux, any value is a failure if we aren't if (environment.libc) { libcOk = checkList(environment.libc, target.libc) } else if (platform !== 'linux') { libcOk = false } else { const report = process.report.getReport() if (report.header?.glibcVersionRuntime) { libcFamily = 'glibc' } else if (Array.isArray(report.sharedObjects) && report.sharedObjects.some(isMusl)) { libcFamily = 'musl' } libcOk = libcFamily ? checkList(libcFamily, target.libc) : false } } if (!osOk || !cpuOk || !libcOk) { throw Object.assign(new Error('Unsupported platform'), { pkgid: target._id, current: { os: platform, cpu: arch, libc: libcFamily, }, required: { os: target.os, cpu: target.cpu, libc: target.libc, }, code: 'EBADPLATFORM', }) } } const checkList = (value, list) => { if (typeof list === 'string') { list = [list] } if (list.length === 1 && list[0] === 'any') { return true } // match none of the negated values, and at least one of the // non-negated values, if any are present. let negated = 0 let match = false for (const entry of list) { const negate = entry.charAt(0) === '!' const test = negate ? entry.slice(1) : entry if (negate) { negated++ if (value === test) { return false } } else { match = match || value === test } } return match || negated === list.length } module.exports = { checkEngine, checkPlatform, } PK�[�\=�e55LICENSEnu�[���Copyright (c) Robert Kowalski and Isaac Z. Schlueter ("Authors") All rights reserved. The BSD License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PK�[�\��.,package.jsonnu�[���PK�[�\Eʥ3� � Plib/index.jsnu�[���PK�[�\=�e55LICENSEnu�[���PK��
/home/emeraadmin/www/node_modules/grunt-cli/../.bin/../which/../../4d695/npm-install-checks.zip