Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
bogart-redis
Advanced tools
Redis provider(s) for the Bogart "Session" JSGI middleware.
var bogart = require('bogart'),
DataProvider = require("bogart-session-redis").DataProvider;
var config = function(show, create, update, destroy) {
show('/', function(req) {
req.session("foo", "bar");
var session = "Session: <br /><ul>";
req.session.keys().forEach(function(key) {
session += "<li>"+key+": "+req.session(key)+"</li>";
});
session += "</ul>";
return bogart.html(session);
});
};
var dataProviderConfig = {
lifetime: 600,
redis: {
port: 6379,
host: "localhost"
}
};
var sessionConfig = {
options: {
idProvider: {
encryptionKey: "330e2e6e-0a94-11e1-9db7-935b9f6cc277"
}
},
dataProvider: new DataProvider(dataProviderConfig)
};
var app = bogart.middleware.Session(sessionConfig, bogart.router(config));
bogart.start(app, {port:1337});
FAQs
redis providers for the bogart session middleware
The npm package bogart-redis receives a total of 3 weekly downloads. As such, bogart-redis popularity was classified as not popular.
We found that bogart-redis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.