Comparing version 0.1.1 to 1.0.0
@@ -5,3 +5,3 @@ { | ||
"description": "Destroy EPIPE errors when stdout runs through a truncated pipe", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/mhart/epipebomb", | ||
@@ -11,3 +11,14 @@ "repository": { | ||
}, | ||
"main": "epipebomb.js" | ||
"main": "epipebomb.js", | ||
"bin": { | ||
"epipebomb": "bin/cmd.js" | ||
}, | ||
"scripts": { | ||
"test": "tape 'test/**/*.test.js' | tap-spec" | ||
}, | ||
"devDependencies": { | ||
"pty.js": "^0.3.1", | ||
"tap-spec": "^4.1.1", | ||
"tape": "^4.6.2" | ||
} | ||
} |
@@ -69,4 +69,18 @@ # EPIPE Bomb | ||
## CLI usage (Node 4.x and up) | ||
Require `epipebomb/register` from the command line | ||
```shell | ||
node -r epipebomb/register some-script.js | head | ||
``` | ||
or use `epipebomb` as a drop-in replacement for `node` | ||
```shell | ||
epipebomb some-script.js | head | ||
``` | ||
## Notes | ||
Only the `EPIPE` error is captured on `process.stdout` - all other errors are thrown as per usual. |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5206
10
91
0
86
0
3
1
80
1