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

connect-cloudant-store

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-cloudant-store - npm Package Compare versions

Comparing version 0.1.2 to 1.0.0

2

lib/connect-cloudant-store.js

@@ -14,3 +14,3 @@ /**

var _ = require('lodash');
var Cloudant = require('cloudant');
var Cloudant = require('@cloudant/cloudant');
var noop = function() {};

@@ -17,0 +17,0 @@

{
"name": "connect-cloudant-store",
"version": "0.1.2",
"version": "1.0.0",
"description": "Node JS express-session storage connector for IBM Cloudant",

@@ -10,3 +10,3 @@ "main": "index.js",

"istanbul": "^0.4.5",
"mocha": "^2.5.2",
"mocha": "^6.1.0",
"pre-commit": "^1.1.3",

@@ -16,3 +16,3 @@ "sinon": "^1.17.6"

"dependencies": {
"cloudant": "^1.10.0",
"@cloudant/cloudant": "^4.1.0",
"debug": "^2.6.9",

@@ -19,0 +19,0 @@ "express-session": "^1.13.0",

@@ -5,3 +5,3 @@ 'use strict';

sinon = require('sinon'),
Cloudant = require('cloudant'),
Cloudant = require('@cloudant/cloudant'),
session = require('express-session'),

@@ -64,3 +64,3 @@ CloudantStore = require('../lib/connect-cloudant-store')(session);

expect(error).not.to.be.null;
expect(error.message).to.deep.equal('invalid url');
expect(error.message).to.deep.equal('Invalid URL');
expect(store).not.to.be.ok;

@@ -126,2 +126,3 @@ });

dbInfoStub.returns(Promise.resolve({}));
dbDestroyStub.returns(Promise.resolve({}));
var store = new CloudantStore(Object.assign({client: client}, goodClientParams));

@@ -128,0 +129,0 @@ store.get('key', stubCallback);

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