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

mqemitter

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mqemitter - npm Package Compare versions

Comparing version 4.1.3 to 4.2.0

.dependabot/config.yml

21

abstractTest.js

@@ -306,2 +306,23 @@

test('support deep wildcard without separator', function (t) {
t.plan(2)
const e = builder()
const expected = {
topic: 'hello',
payload: { my: 'message' }
}
e.on('#', function (message, cb) {
t.equal(message.topic, expected.topic)
cb()
}, function () {
e.emit(expected, function () {
e.close(function () {
t.pass('closed')
})
})
})
})
test('support deep wildcard - match empty words', function (t) {

@@ -308,0 +329,0 @@ t.plan(2)

2

package.json
{
"name": "mqemitter",
"version": "4.1.3",
"version": "4.2.0",
"description": "An Opinionated Message Queue with an emitter-style API",

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

@@ -118,3 +118,3 @@ <!-- markdownlint-disable MD013 MD024 -->

cb()
}
})
emitter.on('hello/+', function(message, cb) {

@@ -121,0 +121,0 @@ // will not be called

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