Comparing version 1.0.3-alpha to 1.0.4-alpha
@@ -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 |
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
22058