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

sneeze

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sneeze - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

14

package.json
{
"name": "sneeze",
"version": "0.9.0",
"version": "0.10.0",
"description": "Easily join SWIM networks",
"main": "sneeze.js",
"scripts": {
"test": "lab -P test -v -t 80 -r console -I URL,URLSearchParams",
"test-cov-html": "lab -P test -r html -o coverage.html"
"test": "lab -P test -v -t 80 -r console -I URL,URLSearchParams,BigUint64Array,BigInt64Array,BigInt",
"coveralls": "lab -s -P test -r lcov -I URL,URLSearchParamsBigUint64Array,BigInt64Array,BigInt | coveralls",
"prettier": "prettier --write --no-semi --single-quote mesh.js"
},

@@ -32,4 +33,5 @@ "repository": {

"lodash": "4.17",
"nid": "0.3",
"optioner": "1.1",
"pad": "1.2",
"pad": "2.1",
"swim": "0.6"

@@ -39,3 +41,5 @@ },

"code": "4",
"lab": "14"
"lab": "14",
"coveralls": "3",
"prettier": "1"
},

@@ -42,0 +46,0 @@ "files": [

/*
MIT License,
Copyright (c) 2016, Richard Rodger and other contributors.
Copyright (c) 2016-2018, Richard Rodger and other contributors.
*/

@@ -19,6 +19,7 @@

var Chalk = require('chalk')
var Nid = require('nid')
var Joi = Optioner.Joi
var Package = require('./package.json')

@@ -110,3 +111,7 @@ var DEFAULT_HOST = module.exports.DEFAULT_HOST = '127.0.0.1'

self.id = meta.identifier$ = null == options.identifier ?
host+'~'+incarnation+'~'+Math.random() : options.identifier
host+'~'+
(incarnation+'~').substring(7)+
Nid()+'~'+
Package.version
: options.identifier

@@ -119,7 +124,8 @@ meta.tag$ = options.tag

disseminationFactor: 22,
interval: 111,
joinTimeout: 777,
interval: 333,
joinTimeout: 999,
pingTimeout: 444,
pingReqTimeout: 333,
pingReqTimeout: 555,
pingReqGroupSize: 7,
suspectTimeout: 999,
udp: {maxDgramSize: 2048},

@@ -197,2 +203,3 @@ })

self.emit('ready')

@@ -240,2 +247,3 @@ })

swim && swim.leave()
members = {}
return self

@@ -427,3 +435,5 @@ }

process.stdin.setRawMode(true)
if (process.stdin.setRawMode){
process.stdin.setRawMode(true)
}
process.stdin.resume()

@@ -430,0 +440,0 @@ }

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