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

comdb

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comdb - npm Package Compare versions

Comparing version 1.0.3-alpha to 1.0.4-alpha

2

examples/couchdb.js

@@ -32,3 +32,3 @@ #!/usr/bin/env node

`)
assert.equal(doc.greetings, 'hello world')
assert.strictEqual(doc.greetings, 'hello world')
console.log(doc)

@@ -35,0 +35,0 @@ // now let's check the encrypted db

{
"name": "comdb",
"version": "1.0.3-alpha",
"version": "1.0.4-alpha",
"description": "A PouchDB plugin that transparently encrypts and decrypts its data.",

@@ -32,4 +32,4 @@ "main": "index.js",

"mocha": "^5.2.0",
"standard": "^11.0.1"
"standard": "^12.0.1"
}
}

@@ -15,5 +15,5 @@ /* global describe, it */

}).then((newtext) => {
assert.equal(newtext, plaintext)
assert.strictEqual(newtext, plaintext)
})
})
})

@@ -49,3 +49,3 @@ /* global describe, it, before, after */

}).then((plainDoc) => {
assert.equal(plainDoc._deleted, true)
assert.strictEqual(plainDoc._deleted, true)
})

@@ -55,3 +55,3 @@ }).then(() => {

return this.db.get(doc._id).catch((error) => {
assert.equal(error.name, 'not_found')
assert.strictEqual(error.name, 'not_found')
caught = true

@@ -84,3 +84,3 @@ }).then((doc) => {

]).then(([ results1, results2 ]) => {
assert.equal(results1.total_rows, results2.total_rows)
assert.strictEqual(results1.total_rows, results2.total_rows)
const doc1 = results1.rows[0].doc

@@ -87,0 +87,0 @@ const doc2 = results2.rows[0].doc

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