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

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.5.1 to 0.5.2

5

History.md

@@ -136,1 +136,6 @@

* Set column timestamps in microseconds
0.5.2 / 2012-05-11
==================
* Removed unneeded escaping

14

lib/connection.js

@@ -117,14 +117,4 @@

val = val.replace(/[\0\n\r\b\t\\\'\"\x1a]/g, function(s) {
switch(s) {
case "\0": return "\\0";
case "\n": return "\\n";
case "\r": return "\\r";
case "\b": return "\\b";
case "\t": return "\\t";
case "\x1a": return "\\Z";
case "'": return "''";
default: return "\\"+s;
}
});
val = val.replace(/\'/img, '\'\'');
return "'"+val+"'";

@@ -131,0 +121,0 @@ }

{
"name": "helenus"
, "version": "0.5.1"
, "version": "0.5.2"
, "description": "NodeJS Bindings for Cassandra"

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

@@ -39,3 +39,3 @@

timeout : 3000
//cqlVersion : '3.0.0' // specify this if you're using Cassandra 1.1
//cqlVersion : '3.0.0' // specify this if you're using Cassandra 1.1 and want to use CQL 3
});

@@ -62,3 +62,3 @@

pool.cql("SELECT '%s' FROM cf_one WHERE key='%s'", ['col','key123'], function(err, results){
pool.cql("SELECT col FROM cf_one WHERE key = ?", ['key123'], function(err, results){
console.log(err, results);

@@ -68,5 +68,4 @@ });

//NOTE:
//- You can also use ? as a placeholder. eg: "SELECT ? FROM cf_one WHERE key = ?"
//- You can always skip quotes around placeholders, they are added automatically.
//- You cannot use placeholders for ColumnFamily names.
//- In CQL 3 you cannot use placeholders for ColumnFamily names or Column names.
}

@@ -73,0 +72,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