Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@dex4er/stream.pipeline
Advanced tools
Polyfill for stream.pipeline in node versions < v10
node v10.0.0 added support for a built-in stream.pipeline
:
https://github.com/nodejs/node/pull/19828
This package provides the built-in stream.pipeline
in node v10.0.0 and later,
and a replacement in other environments.
This module requires Node >= 5.
This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.
const pipeline = require('@dex4er/stream.pipeline');
// Use `pipeline` just like the built-in method on `stream`
require('@dex4er/stream.pipeline/shim')();
// `stream.pipeline` is now defined
const stream = require('stream');
// Use `stream.pipeline`
or:
require('@dex4er/stream.pipeline/auto');
// `stream.pipeline` is now defined
const stream = require('stream');
// Use `stream.pipeline`
This package had to be named just stream.pipeline
, but there is already some
package with similar name and then I've got:
npm ERR! Package name too similar to existing packages; try renaming your package to '@dex4er/stream.pipeline' and publishing with 'npm publish --access=public' instead : stream.pipeline
v1.0.0 2018-05-18
FAQs
Polyfill/shim for stream.pipeline in node versions < v10
We found that @dex4er/stream.pipeline demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.