Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

read-package-json-fast

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-package-json-fast - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

10

lib/index.js

@@ -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) => {

6

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc