Comparing version 6.0.0 to 6.0.1
@@ -6,2 +6,3 @@ 'use strict' | ||
const test = opts.test | ||
const packetsInOrder = opts.packetsInOrder === undefined ? true : opts.packetsInOrder | ||
@@ -507,3 +508,3 @@ test('support on and emit', function (t) { | ||
let fail = false | ||
if (received !== msg.payload) { | ||
if (packetsInOrder && received !== msg.payload) { | ||
t.fail(`leak detected. Count: ${received} - Payload: ${msg.payload}`) | ||
@@ -510,0 +511,0 @@ fail = true |
{ | ||
"name": "mqemitter", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "An Opinionated Message Queue with an emitter-style API", | ||
@@ -5,0 +5,0 @@ "main": "mqemitter.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37671
876