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

read-installed

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-installed - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

2

package.json
{
"name": "read-installed",
"description": "Read all the installed packages in a folder, and return a tree structure with all the data.",
"version": "0.2.4",
"version": "0.2.5",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -209,3 +209,10 @@

if (er || !depData || !depData.version) return cb(null, obj)
obj.dependencies[pkg] = depData.version
if (depth === maxDepth) {
// edge case, ignore dependencies
depData.dependencies = {}
depData.peerDependencies = {}
obj.dependencies[pkg] = depData
} else {
obj.dependencies[pkg] = depData.version
}
cb(null, obj)

@@ -212,0 +219,0 @@ })

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