Socket
Socket
Sign inDemoInstall

from2

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

from2 - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

4

index.js

@@ -32,3 +32,3 @@ var Readable = require('readable-stream').Readable

var rs = new Proto(opts)
rs._from = Array.isArray(read) ? toFunction(read) : read
rs._from = Array.isArray(read) ? toFunction(read) : (read || noop)
return rs

@@ -99,2 +99,4 @@ }

function noop () {}
function defaults(opts) {

@@ -101,0 +103,0 @@ opts = opts || {}

{
"name": "from2",
"description": "Convenience wrapper for ReadableStream, with an API lifted from \"from\" and \"through2\"",
"version": "2.1.1",
"version": "2.2.0",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc