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

smqp

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smqp - npm Package Compare versions

Comparing version 1.7.1 to 1.8.0

4

CHANGELOG.md
Changelog
=========
# 1.8.0
- Support turning off queue event listener - `queue.off(eventName, handler)`
# 1.7.0

@@ -5,0 +9,0 @@

@@ -46,2 +46,3 @@ "use strict";

nackAll,
off,
on,

@@ -334,2 +335,8 @@ peek,

function off(eventName, handler) {
if (!eventEmitter || !eventEmitter.off) return;
const pattern = `queue.${eventName}`;
return eventEmitter.off(pattern, handler);
}
function purge() {

@@ -336,0 +343,0 @@ const toDelete = messages.filter(({

4

package.json
{
"name": "smqp",
"version": "1.7.1",
"version": "1.8.0",
"description": "Synchronous message queuing package",

@@ -62,3 +62,3 @@ "author": {

"chai": "^4.2.0",
"eslint": "^6.1.0",
"eslint": "^6.2.2",
"markdown-toc": "^1.2.0",

@@ -65,0 +65,0 @@ "mocha": "^6.2.0",

@@ -34,2 +34,3 @@ import {generateId, sortByPriority} from './shared';

nackAll,
off,
on,

@@ -336,2 +337,8 @@ peek,

function off(eventName, handler) {
if (!eventEmitter || !eventEmitter.off) return;
const pattern = `queue.${eventName}`;
return eventEmitter.off(pattern, handler);
}
function purge() {

@@ -338,0 +345,0 @@ const toDelete = messages.filter(({pending}) => !pending);

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