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

rhea

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rhea - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

13

lib/message.js

@@ -216,14 +216,13 @@ /*

var o = {};
for (var i in section_names) {
var key = section_names[i];
for (var key in this) {
if (typeof this[key] === 'function') continue;
var fields = special_sections[key];
if (fields) {
for (var j in fields) {
if (this[fields[j]] !== undefined) {
if (o[key] === undefined) o[key] = {};
o[key][fields[j]] = this[fields[j]];
for (var i in fields) {
var field = fields[i];
if (this[key][field] !== undefined && this[key][field] !== null) {
o[field] = this[key][field];
}
}
} else if (this[key]) {
} else {
o[key] = this[key];

@@ -230,0 +229,0 @@ }

{
"name" : "rhea",
"version": "0.1.11",
"version": "0.1.12",
"description": "reactive AMQP 1.0 library",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/grs/rhea",

@@ -277,3 +277,5 @@ /*

}));
it('message has a toString', transfer_test({message_id:'my-id', body:'hello world!'}, function(message) {
assert.equal(message.toString(), '{"message_id":"my-id","body":"hello world!"}');
}));
});

@@ -280,0 +282,0 @@

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