One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
npm
/
node_modules
/
libnpmexec
/
lib
/
Edit File:
cache-install-dir.js
const crypto = require('crypto') const { resolve } = require('path') const cacheInstallDir = ({ npxCache, packages }) => { if (!npxCache) { throw new Error('Must provide a valid npxCache path') } // only packages not found in ${prefix}/node_modules return resolve(npxCache, getHash(packages)) } const getHash = (packages) => crypto.createHash('sha512') .update(packages.sort((a, b) => a.localeCompare(b, 'en')).join('\n')) .digest('hex') .slice(0, 16) module.exports = cacheInstallDir
Simpan