New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

argosy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argosy - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

index.js

@@ -71,2 +71,6 @@ var cq = require('concurrent-queue'),

return function partialInvoke (msgBody, cb) {
if (typeof msgBody === 'function') {
cb = msgBody
msgBody = {}
}
return stream.invoke(assign({}, partialBody, msgBody), cb)

@@ -73,0 +77,0 @@ }

2

package.json
{
"name": "argosy",
"version": "2.0.0",
"version": "2.1.0",
"description": "A modular, pipable, micro-service framework",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ var test = require('tape'),

test('invoke-partial', function (t) {
t.plan(3)
t.plan(5)

@@ -24,2 +24,8 @@ var client = argosy()

})
var random5 = client.invoke.partial({ get: 'random-number', min: 1, max: 5 })
random5(function (err, result) {
t.false(err, 'function when called should not produce error')
t.ok(result >= 1 && result <= 5, 'function should not require a match object')
})
})
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