mute-stream
Advanced tools
Comparing version 0.0.8 to 1.0.0
{ | ||
"name": "mute-stream", | ||
"version": "0.0.8", | ||
"main": "mute.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"version": "1.0.0", | ||
"main": "lib/index.js", | ||
"devDependencies": { | ||
"tap": "^12.1.1" | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.11.0", | ||
"tap": "^16.3.0" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js --cov" | ||
"test": "tap", | ||
"lint": "eslint \"**/*.js\"", | ||
"postlint": "template-oss-check", | ||
"template-oss-apply": "template-oss-apply --force", | ||
"lintfix": "npm run lint -- --fix", | ||
"snap": "tap", | ||
"posttest": "npm run lint" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/isaacs/mute-stream" | ||
"url": "https://github.com/npm/mute-stream.git" | ||
}, | ||
@@ -23,8 +28,26 @@ "keywords": [ | ||
], | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
"author": "GitHub Inc.", | ||
"license": "ISC", | ||
"description": "Bytes go in, but they don't come out (when muted).", | ||
"files": [ | ||
"mute.js" | ||
] | ||
"bin/", | ||
"lib/" | ||
], | ||
"tap": { | ||
"statements": 70, | ||
"branches": 60, | ||
"functions": 81, | ||
"lines": 70, | ||
"nyc-arg": [ | ||
"--exclude", | ||
"tap-snapshots/**" | ||
] | ||
}, | ||
"engines": { | ||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" | ||
}, | ||
"templateOSS": { | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.11.0" | ||
} | ||
} |
@@ -11,5 +11,5 @@ # mute-stream | ||
```javascript | ||
var MuteStream = require('mute-stream') | ||
const MuteStream = require('mute-stream') | ||
var ms = new MuteStream(options) | ||
const ms = new MuteStream(options) | ||
@@ -24,3 +24,3 @@ ms.pipe(process.stdout) | ||
// can also be used to mute incoming data | ||
var ms = new MuteStream | ||
const ms = new MuteStream | ||
input.pipe(ms) | ||
@@ -27,0 +27,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
0
6428
3
121
2