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 Versions

13
8

8.2.1

Diff

Changelog

Source

[8.2.1] - 2023-10-21

  • export Message, Queue, Consumer, and Exchange
  • allow queue event options queue.on(event, handler[, options])
  • cancelling a consumer returns true if consumer was found and false if not
  • broker.get(queueName, { noAck: true }) not only dequeues message it also marks the actual message as consumed on the, until now, undocumented message.pending flag
  • fix other inconsistent message pending stuff
paed01
published 8.2.0 •

Changelog

Source

[8.2.0] - 2023-09-03

  • introduce SmqpError(message, code) inherited from Error, it is thrown when package specific errors occur. It is also exported so that instance can be checked
  • no more general errors, either it is a TypeError or SmqpError
  • fix inconsistent cancel consumer implementations in queue, add requeue argument when applicable
paed01
published 8.1.0 •

Changelog

Source

[8.1.0] - 2023-08-26

  • noAck consumer continues consuming if error is thrown in message callback, the error is, hopefully, caught somewhere else
  • ack consumer continues consuming if error is thrown in message callback after message was acked
  • add some Broker, Queue, Exchange, Shovel, and Consumer argument constraints
  • fix exchange to exchange binding type
paed01
published 8.0.0 •

Changelog

Source

[8.0.0] - 2023-06-22

  • shovel ignores shoveling if destination exchange lacks bindings, could be breaking if cloneMessage function option was used to make things happen
  • abide to new lint rules
  • bump all dev dependencies
paed01
published 7.1.4 •

Changelog

Source

[7.1.4] - 2023-04-05

  • type declare broker state from getState()
paed01
published 7.1.3 •

Changelog

Source

7.1.3

  • no need to type declare that a function can return undefined, prevents assigning a typed variable
  • return undefined instead of false if deleting non-existing queue
  • return undefined instead of false if no message on queue.get
paed01
published 7.1.2 •

Changelog

Source

7.1.2

  • Fix queue recover not returning instance of Queue when recovering without state
  • and some typing blunders
paed01
published 7.1.1 •

Changelog

Source

7.1.1

  • Fix type declaration forbidden override and boolean typo. Introduce circular type import in Shovel, which apparently is ok!?
paed01
published 7.1.0 •

Changelog

Source

7.1.0

  • Add type declarations
paed01
published 7.0.3 •

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