🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

cassandra-store

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cassandra-store - npm Package Compare versions

Comparing version
4.1.1
to
4.1.2
+1
-1
package.json
{
"name": "cassandra-store",
"description": "Implementation of the session storage in Apache Cassandra as express middleware.",
"version": "4.1.1",
"version": "4.1.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Web Compliance Center",

@@ -64,2 +64,6 @@ cassandra-store

## Testing
See [test/README.md](test/README.md)
## Usage

@@ -88,4 +92,4 @@

[node-version]: https://img.shields.io/badge/node-6.0.0-orange.svg?style=plastic
[npm-image]: https://img.shields.io/badge/npm-4.1.1-blue.svg?style=plastic
[npm-image]: https://img.shields.io/badge/npm-4.1.2-blue.svg?style=plastic
[npm-downloads]: https://img.shields.io/badge/downloads-12k-red.svg?style=plastic
[npm-url]: https://www.npmjs.com/package/cassandra-store

@@ -80,2 +80,12 @@ "use strict";

});
it("should get null for a non existing session", function (done)
{
const id2 = cassandra.types.TimeUuid.now().toString();
store.get(id2, function (error, session)
{
assert.strictEqual(error, null);
assert.strictEqual(session, null);
done();
});
});
it("should get all existing sessions", function (done)

@@ -82,0 +92,0 @@ {