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

@tabcat/encrypted-docstore

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabcat/encrypted-docstore - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "@tabcat/encrypted-docstore",
"version": "3.0.1",
"version": "3.0.2",
"description": "mount encrypted docstores with a key",

@@ -5,0 +5,0 @@ "repository": {

@@ -194,4 +194,8 @@

// only return first deletion to keep same api as docstore
return Promise.all(
matches.map(res => this._docstore.del(res.external[this._indexBy]))
return matches.reduce(
async (a, c) => [
...await a,
this._docstore.del(c.external[this._indexBy])
],
[]
).then(arr => arr[0])

@@ -198,0 +202,0 @@ }

@@ -8,5 +8,5 @@

const crypto = require('@tabcat/peer-account-crypto')
const wtf = require('wtfnode')
// const wtf = require('wtfnode')
wtf.setLogger('info', console.log)
// wtf.setLogger('info', console.log)

@@ -43,5 +43,5 @@ describe('EncryptedDocstore', function () {

await ipfs.stop()
wtf.dump()
setTimeout(wtf.dump, 3000)
// console.log(process._getActiveHandles())
console.log('UNFORTUNATELY TESTS DO NOT EXIT ON THEIR OWN')
// wtf.dump()
// setTimeout(wtf.dump, 3000)
})

@@ -48,0 +48,0 @@

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