Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pull-handshake

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-handshake - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

10

index.js

@@ -17,5 +17,11 @@

module.exports = function (_cb) {
function isFunction (f) {
return 'function' === typeof f
}
module.exports = function (opts, _cb) {
if(isFunction(opts))
_cb = opts, opts = {}
_cb = once(_cb)
var reader = Reader()
var reader = Reader(opts && opts.timeout || 5e3)
var writer = Writer(function (err) {

@@ -22,0 +28,0 @@ if(err) _cb(err)

2

package.json
{
"name": "pull-handshake",
"description": "easily create a duplex protocol that starts with a handshake",
"version": "1.0.4",
"version": "1.1.0",
"homepage": "https://github.com/dominictarr/pull-handshake",

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

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