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

remit

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remit - npm Package Compare versions

Comparing version 2.0.0-beta.15 to 2.0.0-beta.16

2

lib/Request.js

@@ -136,3 +136,3 @@ const CallableInstance = require('callable-instance')

this._emitter.emit(`data-${message.properties.messageId}`, ...content)
this._emitter.emit(`data-${message.properties.correlationId}`, ...content)
}

@@ -139,0 +139,0 @@

{
"name": "remit",
"version": "2.0.0-beta.15",
"version": "2.0.0-beta.16",
"description": "A small set of functionality used to create microservices that don't need to be aware of one-another's existence.",

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

@@ -196,3 +196,14 @@ /* global describe, it, before */

it('should return data early from synchronous middleware')
it('should return data early from synchronous middleware', async function () {
const endpoint = await remit
.endpoint('return-4')
.handler((event, callback) => {
callback(null, 'foobar4')
})
.start()
const result = await remit.request('return-4')()
expect(result).to.equal('foobar4')
})
it('should return data early from promises middleware')

@@ -199,0 +210,0 @@ it('should return data early from callback middleware')

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