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

ssb-crut

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-crut - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

9

index.js

@@ -6,2 +6,3 @@ const Strategy = require('@tangle/strategy')

const pull = require('pull-stream')
const paraMap = require('pull-paramap')

@@ -220,5 +221,4 @@ const isValidSpec = require('./lib/is-valid-spec')

// map rootMsg => record (and filter out the ones which were junk)
pull.asyncMap(
opts.read ||
((msg, cb) => {
paraMap(
opts.read || ((msg, cb) => {
this.read(msg.key, (err, record) => {

@@ -228,3 +228,4 @@ if (err) cb(null, false)

})
})
}),
opts.width || 5
),

@@ -231,0 +232,0 @@ pull.filter(Boolean),

{
"name": "ssb-crut",
"version": "4.5.0",
"version": "4.5.1",
"description": "easy CRUT methods for secure scuttlebutt",

@@ -37,2 +37,3 @@ "main": "index.js",

"lodash.merge": "^4.6.2",
"pull-paramap": "^1.2.2",
"pull-stream": "^3.6.14",

@@ -39,0 +40,0 @@ "ssb-schema-definitions": "^3.2.1"

@@ -332,2 +332,5 @@ # ssb-crut

```
- `opts.width` *Integer*
- how many `read` functions to run in parallel
- default: `5`

@@ -334,0 +337,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