pstree.remy
Advanced tools
Comparing version 1.1.0 to 1.1.1
const exec = require('child_process').exec; | ||
const psTree = require('ps-tree'); | ||
const tree = require('./tree'); | ||
const utils = require('./utils'); | ||
@@ -17,3 +17,3 @@ var hasPS = true; | ||
if (hasPS && !process.env.NO_PS) { | ||
return psTree(pid, callback); | ||
return tree(pid, callback); | ||
} | ||
@@ -29,2 +29,6 @@ | ||
if (!module.parent) { | ||
module.exports(process.argv[2], pids => console.log(pids)); | ||
} | ||
module.exports.hasPS = hasPS; |
{ | ||
"name": "pstree.remy", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/index.js", | ||
@@ -8,3 +8,7 @@ "scripts": { | ||
}, | ||
"keywords": ["ps", "pstree", "ps tree"], | ||
"keywords": [ | ||
"ps", | ||
"pstree", | ||
"ps tree" | ||
], | ||
"author": "Remy Sharp", | ||
@@ -18,6 +22,4 @@ "license": "MIT", | ||
}, | ||
"dependencies": { | ||
"ps-tree": "^1.1.0" | ||
}, | ||
"dependencies": {}, | ||
"description": "Collects the full tree of processes from /proc" | ||
} |
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
13820
0
8
199
4
- Removedps-tree@^1.1.0
- Removedps-tree@1.2.0(transitive)