custody-probe
Advanced tools
Comparing version 0.1.0 to 0.2.0
## Release History | ||
* 0.2.0 Support `CUSTODY_PROC_DIR` variable | ||
* 0.1.0 Initial release |
{ | ||
"name": "custody-probe", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Report the state of child processes to custody.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -56,4 +56,8 @@ # custody-probe | ||
## Configuration | ||
By default, custody uses `/usr/local/var/custody` to store information and to enable probe->custody communication. You can override this directory by specifying the `CUSTODY_PROC_DIR` environment variable. | ||
## Contributing | ||
We welcome bug reports and feature suggestions! |
@@ -6,3 +6,3 @@ const mkdirp = require('mkdirp'); | ||
// Keep these values in sync with those inside `custody`. | ||
const PROC_DIR = '/usr/local/var/custody/services'; | ||
const PROC_DIR = process.env.CUSTODY_PROC_DIR || '/usr/local/var/custody/services'; | ||
const STATEFILE_EXT = '.statefile'; | ||
@@ -9,0 +9,0 @@ const STATES = { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
5847
63
2
1