New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dexie-relay

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dexie-relay - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

22

index.js

@@ -170,9 +170,8 @@ import {Client} from 'relay-to-relay'

const stamps = hasStamp?.stamp ? datas.stamp.filter((e) => {return e.stamp > hasStamp.stamp && e.user !== this.user}) : datas.stamp
for(const stamp of stamps){
try {
await dataTab.put(stamp)
} catch {
continue
}
try {
await dataTab.bulkAdd(stamps)
} catch (error) {
console.error(error)
}
this.emit('sync', stamps.map((data) => {return data.iden}))
}

@@ -187,9 +186,8 @@ if(datas.edit){

const edits = hasEdit?.edit ? datas.edit.filter((e) => {return e.edit > hasEdit.edit && e.user !== this.user}) : datas.edit
for(const edit of edits){
try {
await dataTab.put(edit)
} catch {
continue
}
try {
await dataTab.bulkAdd(edits)
} catch (error) {
console.error(error)
}
this.emit('sync', edits.map((data) => {return data.iden}))
}

@@ -196,0 +194,0 @@ } else {

{
"name": "dexie-relay",
"version": "2.0.8",
"version": "2.0.9",
"main": "index.js",

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

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