Socket
Socket
Sign inDemoInstall

aerospike

Package Overview
Dependencies
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aerospike - npm Package Compare versions

Comparing version 1.0.36 to 1.0.37

aerospike-1.0.37.tgz

10

benchmarks/main.js

@@ -288,2 +288,12 @@ /*******************************************************************************

}
case "BYTES" :
{
data = new Buffer(argv.datasize);
var i = 0;
while( i < argv.datasize)
{
data.writeUInt8(i,i++);
}
return data;
}
default :

@@ -290,0 +300,0 @@ return key;

2

docs/client.md

@@ -504,3 +504,3 @@ # Client Class

- `key` – A [Key object](datamodel.md#key), used to locate the record in the cluster.
- `operations` – An array of operations.
- `operations` – An array of operations.For the list of supported operations please refer [operators](operators.md)
- `policy` – (optional) A [Operate Policy object](policies.md#OperatePolicy) to use for this operation.

@@ -507,0 +507,0 @@ - `callback` – The function to call when the operation completes with the results of the operation.

{
"name" : "aerospike",
"version" : "1.0.36",
"version" : "1.0.37",
"description" : "Aerospike Client Library",

@@ -9,3 +9,3 @@ "tags" : [ "aerospike", "database", "nosql" ],

"engines" : {
"node" : ">=0.10 <0.12"
"node" : ">=0.10"
},

@@ -12,0 +12,0 @@ "os" : [ "linux", "darwin" ],

@@ -491,2 +491,19 @@ /*******************************************************************************

});
it('should write a key with undefined value and it should fail gracefully', function(done) {
// generators
var kgen = keygen.string(options.namespace, options.set, undefined);
var mgen = metagen.constant({ttl: 1000});
// values
var key = aerospike.key(options.namespace, options.set, undefined);
var meta = mgen(key);
var record = { }
// write the record then check
client.put(key, record, meta, function(err, key1) {
expect(err).to.be.ok();
expect(err.code).to.equal(status.AEROSPIKE_ERR_PARAM);
done();
});
});
it('should check generation and then update record only if generation is equal (CAS)', function(done) {

@@ -493,0 +510,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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