read-package-json-fast
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -1,8 +0,4 @@ | ||
const { promisify } = require('util') | ||
const fs = require('fs') | ||
const readFile = promisify(fs.readFile) | ||
const lstat = promisify(fs.lstat) | ||
const readdir = promisify(fs.readdir) | ||
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') | ||
@@ -17,4 +13,2 @@ | ||
const normalizePackageBin = require('npm-normalize-package-bin') | ||
// load the directories.bin folder as a 'bin' object | ||
@@ -21,0 +15,0 @@ const readBinDir = async (path, data) => { |
{ | ||
"name": "read-package-json-fast", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Like read-package-json, but faster", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.5.1", | ||
"@npmcli/template-oss": "4.11.0", | ||
"tap": "^16.3.0" | ||
@@ -40,3 +40,3 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.5.1" | ||
"version": "4.11.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "tap": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8617
124