Socket
Socket
Sign inDemoInstall

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 1.0.0 to 1.0.1

.npmignore

4

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

@@ -11,3 +11,3 @@ "type": "git",

"scripts": {
"test": "tap ./test/"
"test": "tap ./test/*.js"
},

@@ -14,0 +14,0 @@ "dependencies": {

@@ -109,3 +109,5 @@

}
var depth = Infinity || opts.depth, log = function () {} || opts.log, dev = false || opts.dev
var depth = (typeof opts.depth === 'number') ? opts.depth : Infinity
, log = (typeof opts.log === 'function') ? opts.log : function () {}
, dev = !!opts.dev;

@@ -112,0 +114,0 @@ readInstalled_(folder, null, null, null, 0, depth, dev, function (er, obj) {

var readInstalled = require("../read-installed.js")
var json = require("../package.json")
var json = require("./fixtures/package.json")
var known = [].concat(Object.keys(json.dependencies)

@@ -4,0 +4,0 @@ , Object.keys(json.optionalDependencies)

var readInstalled = require("../read-installed.js")
var test = require("tap").test
var json = require("../package.json")
var json = require("./fixtures/package.json")
var path = require("path")

@@ -5,0 +5,0 @@ var known = [].concat(Object.keys(json.dependencies)

var readInstalled = require("../read-installed.js")
var test = require("tap").test
var json = require("../package.json")
var json = require("./fixtures/package.json")
var path = require("path")

@@ -5,0 +5,0 @@ var known = [].concat(Object.keys(json.dependencies)

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