Socket
Socket
Sign inDemoInstall

peek-stream

Package Overview
Dependencies
16
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

5

index.js
var duplexify = require('duplexify')
var through = require('through2')
var bufferFrom = require('buffer-from')

@@ -25,3 +26,3 @@ var noop = function() {}

if (isObject(data)) return ready(data, null, cb)
if (!Buffer.isBuffer(data)) data = new Buffer(data)
if (!Buffer.isBuffer(data)) data = bufferFrom(data)

@@ -77,2 +78,2 @@ if (newline) {

module.exports = peek
module.exports = peek

3

package.json
{
"name": "peek-stream",
"version": "1.1.2",
"version": "1.1.3",
"description": "Transform stream that lets you peek the first line before deciding how to parse it",
"main": "index.js",
"dependencies": {
"buffer-from": "^1.0.0",
"duplexify": "^3.5.0",

@@ -8,0 +9,0 @@ "through2": "^2.0.3"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc