connect-cloudant-store
Advanced tools
Comparing version 0.1.2 to 1.0.0
@@ -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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
918
0
46057
9
+ Added@cloudant/cloudant@^4.1.0
+ Added@cloudant/cloudant@4.5.1(transitive)
+ Added@types/caseless@0.12.5(transitive)
+ Added@types/node@22.9.1(transitive)
+ Added@types/request@2.48.12(transitive)
+ Added@types/tough-cookie@4.0.5(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcookie@0.4.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlockfile@1.0.3(transitive)
+ Addednano@8.2.3(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removedcloudant@^1.10.0
- Removedcloudant@1.10.0(transitive)
- Removedcloudant-nano@6.7.0(transitive)
- Removedunderscore@1.13.7(transitive)