read-installed
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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) |
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
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
17783
12
442