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

redis-sessions

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-sessions - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

5

CHANGELOG.md
# CHANGELOG
## 1.1.0
* Travis tests for Node 4 and 6. Should fix Travis build errors.
* Added `ping` method.
## 1.0.6

@@ -4,0 +9,0 @@

7

index.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1

@@ -43,2 +43,3 @@ /*

this.quit = bind(this.quit, this);
this.ping = bind(this.ping, this);
this.killsoid = bind(this.killsoid, this);

@@ -344,2 +345,6 @@ this.killall = bind(this.killall, this);

RedisSessions.prototype.ping = function(cb) {
this.redis.ping(cb);
};
RedisSessions.prototype.quit = function() {

@@ -346,0 +351,0 @@ this.redis.quit();

68

package.json
{
"name": "redis-sessions",
"description": "An advanced session store for Redis",
"version": "1.0.6",
"license": "MIT",
"author": "P. Liess <smrchy+npm@gmail.com>",
"engines": {
"node": "> 0.10.20"
},
"scripts": {
"test": "mocha ./test/test.js"
},
"dependencies": {
"redis": "^2.6.2",
"lodash": "^4.x"
},
"optionalDependencies": {
"hiredis": "0.4.1"
},
"devDependencies": {
"mocha": "3.0.2 ",
"should": "11.1.0",
"async": "*"
},
"keywords": [
"sessions",
"redis",
"session",
"users",
"activity"
],
"repository" : {
"type": "git",
"url": "http://github.com/smrchy/redis-sessions.git"
}
"name": "redis-sessions",
"description": "An advanced session store for Redis",
"version": "1.1.0",
"license": "MIT",
"author": "P. Liess <smrchy+npm@gmail.com>",
"engines": {
"node": "> 0.10.20"
},
"scripts": {
"test": "mocha ./test/test.js"
},
"dependencies": {
"redis": "^2.x",
"lodash": "^4.x"
},
"optionalDependencies": {
"hiredis": "^0.5.x"
},
"devDependencies": {
"mocha": "3.0.2 ",
"should": "11.1.0",
"async": "*"
},
"keywords": [
"sessions",
"redis",
"session",
"users",
"activity"
],
"repository": {
"type": "git",
"url": "http://github.com/smrchy/redis-sessions.git"
}
}

@@ -346,2 +346,20 @@ # Redis Sessions

### Ping
Ping the redis server
```javascript
rs.ping(function(err, resp) {
/*
resp contains the result:
"PONG"
*/
});
```
## CHANGELOG

@@ -348,0 +366,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.10.0
// Generated by CoffeeScript 1.11.1
var RedisSessions, _, async, should;

@@ -34,2 +34,8 @@

describe('GET: Part 1', function() {
it('Ping the redis server', function(done) {
rs.ping(function(err, resp) {
resp.should.equal("PONG");
done();
});
});
it('Get a Session with invalid app format: no app supplied', function(done) {

@@ -36,0 +42,0 @@ rs.get({}, function(err, resp) {

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