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 6.0.1 to 6.0.2

11

abstractTest.js

@@ -6,3 +6,2 @@ 'use strict'

const test = opts.test
const packetsInOrder = opts.packetsInOrder === undefined ? true : opts.packetsInOrder

@@ -508,3 +507,3 @@ test('support on and emit', function (t) {

let fail = false
if (packetsInOrder && received !== msg.payload) {
if (received !== msg.payload) {
t.fail(`leak detected. Count: ${received} - Payload: ${msg.payload}`)

@@ -522,7 +521,7 @@ fail = true

cb()
}, function () {
for (let payload = 0; payload < total; payload++) {
e.emit({ topic, payload })
}
})
for (let payload = 0; payload < total; payload++) {
e.emit({ topic, payload })
}
})

@@ -529,0 +528,0 @@

{
"name": "mqemitter",
"version": "6.0.1",
"version": "6.0.2",
"description": "An Opinionated Message Queue with an emitter-style API",

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

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