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

amqp-as-promised

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-as-promised - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

1

lib/amqp-client.js

@@ -226,3 +226,2 @@ // Generated by CoffeeScript 1.6.3

exchange: exchange,
queue: queue,
bind: bind,

@@ -229,0 +228,0 @@ shutdown: shutdown,

2

package.json
{
"name": "amqp-as-promised",
"description": "Promise wrappers for node-amqp",
"version": "0.0.4",
"version": "0.0.5",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -48,5 +48,10 @@ AMQP as Promised

amqpc.queue('').then (q) ->
amqpc.bind('myexchange', '', 'mytopic.#').then (q) ->
console.log 'queue created: ' + q.name
Or even shorter
amqpc.bind('myexchange', 'mytopic.#').then (q) ->
console.log 'queue created: ' + q.name
## Shutting down

@@ -53,0 +58,0 @@

Sorry, the diff of this file is not supported yet

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