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

sessionstore

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sessionstore - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

lib/databases/mongoDb.js

@@ -76,3 +76,3 @@ var util = require(process.binding('natives').util ? 'util' : 'sys')

var thresh = Number(new Date(Number(new Date()) - ms));
this.sessions.remove({ "lastAccess" : { "$lt" : thresh }}, callback || function() {});
this.sessions.remove({ '$or': [{ "lastAccess" : { "$lt" : thresh }}, { "lastAccess" : { "$exists" : false }}] }, callback || function() {});
};

@@ -79,0 +79,0 @@

{
"author": "adrai",
"name": "sessionstore",
"version": "0.2.2",
"version": "0.2.3",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -66,3 +66,3 @@ # Introduction

Copyright (c) 2012 Adriano Raiano
Copyright (c) 2013 Adriano Raiano

@@ -69,0 +69,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

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