Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amqplib

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqplib - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

12

CHANGELOG.md
# Change log for amqplib
## Chagnes in v0.10.0
## Changes in v0.10.1
git log v0.10.0..v0.10.1
* Allow servername to be specified via socket options as discussed in as discussed in
[issue 697](https://github.com/squaremo/amqp.node/issues/697)
## Changes in v0.10.0
git log v0.9.1..v0.10.0
* Use Native promises ([PR

@@ -5,0 +15,0 @@ 689](https://github.com/amqp-node/amqplib/pull/689), thank you

4

lib/connect.js

@@ -109,3 +109,3 @@ //

sockopts.host = url.hostname;
sockopts.servername = url.hostname;
sockopts.servername = sockopts.servername || url.hostname;
sockopts.port = url.port || ((protocol === 'amqp:') ? 5672 : 5671);

@@ -135,3 +135,3 @@

sockopts.host = parts.hostname;
sockopts.servername = parts.hostname;
sockopts.servername = sockopts.servername || parts.hostname;
sockopts.port = parseInt(parts.port) || ((protocol === 'amqp:') ? 5672 : 5671);

@@ -138,0 +138,0 @@ var vhost = parts.pathname ? parts.pathname.substr(1) : null;

@@ -5,3 +5,3 @@ {

"main": "./channel_api.js",
"version": "0.10.0",
"version": "0.10.1",
"description": "An AMQP 0-9-1 (e.g., RabbitMQ) library and client.",

@@ -8,0 +8,0 @@ "repository": {

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