Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/libnpmversion/lib/
Upload File :
Current File : //opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/libnpmversion/lib/read-json.js

// can't use read-package-json-fast, because we want to ensure
// that we make as few changes as possible, even for safety issues.
const { promisify } = require('util')
const readFile = promisify(require('fs').readFile)
const parse = require('json-parse-even-better-errors')

module.exports = async path => parse(await readFile(path))

Hacked By AnonymousFox1.0, Coded By AnonymousFox