uawdijnntqw1x1x1
IP : 216.73.216.110
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
/
.bin
/
..
/
map-cache
/
..
/
..
/
src
/
..
/
4d695
/
read-package-json-fast.zip
/
/
PK ]�\��A�77package.jsonnu�[���{ "_id": "read-package-json-fast@3.0.2", "_inBundle": true, "_location": "/npm/read-package-json-fast", "_phantomChildren": {}, "_requiredBy": [ "/npm/@npmcli/arborist", "/npm/@npmcli/config", "/npm/@npmcli/map-workspaces", "/npm/libnpmexec" ], "author": { "name": "GitHub Inc." }, "bugs": { "url": "https://github.com/npm/read-package-json-fast/issues" }, "dependencies": { "json-parse-even-better-errors": "^3.0.0", "npm-normalize-package-bin": "^3.0.0" }, "description": "Like read-package-json, but faster", "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.11.0", "tap": "^16.3.0" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "files": [ "bin/", "lib/" ], "homepage": "https://github.com/npm/read-package-json-fast#readme", "license": "ISC", "main": "lib/index.js", "name": "read-package-json-fast", "repository": { "type": "git", "url": "git+https://github.com/npm/read-package-json-fast.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.11.0" }, "version": "3.0.2" } PK ]�\n�bDDlib/index.jsnu�[���const { readFile, lstat, readdir } = require('fs/promises') const parse = require('json-parse-even-better-errors') const normalizePackageBin = require('npm-normalize-package-bin') const { resolve, dirname, join, relative } = require('path') const rpj = path => readFile(path, 'utf8') .then(data => readBinDir(path, normalize(stripUnderscores(parse(data))))) .catch(er => { er.path = path throw er }) // load the directories.bin folder as a 'bin' object const readBinDir = async (path, data) => { if (data.bin) { return data } const m = data.directories && data.directories.bin if (!m || typeof m !== 'string') { return data } // cut off any monkey business, like setting directories.bin // to ../../../etc/passwd or /etc/passwd or something like that. const root = dirname(path) const dir = join('.', join('/', m)) data.bin = await walkBinDir(root, dir, {}) return data } const walkBinDir = async (root, dir, obj) => { const entries = await readdir(resolve(root, dir)).catch(() => []) for (const entry of entries) { if (entry.charAt(0) === '.') { continue } const f = resolve(root, dir, entry) // ignore stat errors, weird file types, symlinks, etc. const st = await lstat(f).catch(() => null) if (!st) { continue } else if (st.isFile()) { obj[entry] = relative(root, f) } else if (st.isDirectory()) { await walkBinDir(root, join(dir, entry), obj) } } return obj } // do not preserve _fields set in files, they are sus const stripUnderscores = data => { for (const key of Object.keys(data).filter(k => /^_/.test(k))) { delete data[key] } return data } const normalize = data => { addId(data) fixBundled(data) pruneRepeatedOptionals(data) fixScripts(data) fixFunding(data) normalizePackageBin(data) return data } rpj.normalize = normalize const addId = data => { if (data.name && data.version) { data._id = `${data.name}@${data.version}` } return data } // it was once common practice to list deps both in optionalDependencies // and in dependencies, to support npm versions that did not know abbout // optionalDependencies. This is no longer a relevant need, so duplicating // the deps in two places is unnecessary and excessive. const pruneRepeatedOptionals = data => { const od = data.optionalDependencies const dd = data.dependencies || {} if (od && typeof od === 'object') { for (const name of Object.keys(od)) { delete dd[name] } } if (Object.keys(dd).length === 0) { delete data.dependencies } return data } const fixBundled = data => { const bdd = data.bundledDependencies const bd = data.bundleDependencies === undefined ? bdd : data.bundleDependencies if (bd === false) { data.bundleDependencies = [] } else if (bd === true) { data.bundleDependencies = Object.keys(data.dependencies || {}) } else if (bd && typeof bd === 'object') { if (!Array.isArray(bd)) { data.bundleDependencies = Object.keys(bd) } else { data.bundleDependencies = bd } } else { delete data.bundleDependencies } delete data.bundledDependencies return data } const fixScripts = data => { if (!data.scripts || typeof data.scripts !== 'object') { delete data.scripts return data } for (const [name, script] of Object.entries(data.scripts)) { if (typeof script !== 'string') { delete data.scripts[name] } } return data } const fixFunding = data => { if (data.funding && typeof data.funding === 'string') { data.funding = { url: data.funding } } return data } module.exports = rpj PK ]�\�!����LICENSEnu�[���The ISC License Copyright (c) npm, Inc. and Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PK ]�\��A�77package.jsonnu�[���PK ]�\n�bDDslib/index.jsnu�[���PK ]�\�!�����LICENSEnu�[���PK�
/home/emeraadmin/www/node_modules/.bin/../map-cache/../../src/../4d695/read-package-json-fast.zip