Socket
Socket
Sign inDemoInstall

helenus

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helenus - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

9

History.md

@@ -63,2 +63,9 @@

* Fix issue in binary serialization, issue #1
* Fix issue in binary serialization, issue #1
0.2.4 / 2012-02-04
==================
* Added binary support for strings in the serializer
* Some serializer optimizations

@@ -87,2 +87,10 @@ var UUID = require('../uuid');

Serializers.encodeUTF8 = function(val){
if(Buffer.isBuffer(val)){
return val;
}
if(val === undefined || val === null){
val = '';
}
return new Buffer(val.toString(), 'utf8');

@@ -98,2 +106,10 @@ };

Serializers.encodeAscii = function(val){
if(Buffer.isBuffer(val)){
return val;
}
if(val === undefined || val === null){
val = '';
}
return new Buffer(val.toString(), 'ascii');

@@ -133,9 +149,7 @@ };

Serializers.encodeBoolean = function(val){
var buf = new Buffer(1);
if(val){
buf.write('\x01', 0);
return new Buffer([0x01]);
} else {
buf.write('\x00', 0);
return new Buffer([0x00]);
}
return buf;
};

@@ -142,0 +156,0 @@

2

package.json
{
"name": "helenus"
, "version": "0.2.3"
, "version": "0.2.4"
, "description": "NodeJS Bindings for Cassandra"

@@ -5,0 +5,0 @@ , "keywords": ["cassandra"]

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