cassandra-store
Advanced tools
+1
-1
| { | ||
| "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", |
+5
-1
@@ -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 |
+10
-0
@@ -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 @@ { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
18367
2.11%458
2.23%93
4.49%