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

pull-stream

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-stream - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"name": "pull-stream",
"description": "minimal pull stream",
"version": "3.0.0",
"version": "3.0.1",
"homepage": "https://github.com/dominictarr/pull-stream",

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

@@ -9,3 +9,3 @@ 'use strict'

? function (data) { return data[key] }
: 'object' === typeof key && 'function' === typeof key.exec //regexp
: key && 'object' === typeof key && 'function' === typeof key.exec //regexp
? function (data) { var v = map.exec(data); return v && v[0] }

@@ -12,0 +12,0 @@ : key || id

@@ -70,1 +70,12 @@

})
test('find null', function (t) {
pull(
pull.values([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]),
pull.find(null, function (err, first) {
t.equal(first, 1)
t.notOk(err)
t.end()
})
)
})
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