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

crypto-pouch

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-pouch - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

1

index.js

@@ -73,2 +73,3 @@ const Crypt = require('garbados-crypt')

if (!this._crypt) { return doc }
if (!doc.payload) { return doc }
const decryptedString = await this._crypt.decrypt(doc.payload)

@@ -75,0 +76,0 @@ const decrypted = JSON.parse(decryptedString)

11

package.json
{
"name": "crypto-pouch",
"version": "4.0.1",
"version": "4.0.2",
"description": "encrypted pouchdb/couchdb database",

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

"type": "git",
"url": "https://github.com/calvinmetcalf/crypto-pouch.git"
"url": "git+https://github.com/calvinmetcalf/crypto-pouch.git"
},

@@ -23,2 +23,5 @@ "keywords": [

"author": "Calvin Metcalf",
"contributors": [
"Diana Belle <garbados@gmail.com>"
],
"license": "MIT",

@@ -37,5 +40,5 @@ "bugs": {

"memdown": "^6.0.0",
"mocha": "^8.3.2",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"pouchdb": "^7.2.2",
"pouchdb": "^9.0.0",
"standard": "^16.0.3",

@@ -42,0 +45,0 @@ "uglify-js": "^3.13.5"

@@ -38,3 +38,8 @@ # Crypto-Pouch

```
Using Typescript? Install the type definitions:
```bash
$ npm install --save-dev @types/crypto-pouch
```
## Usage

@@ -41,0 +46,0 @@

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