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

@live-change/db

Package Overview
Dependencies
Maintainers
1
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/db - npm Package Compare versions

Comparing version 0.3.46 to 0.3.47

22

lib/Database.js

@@ -265,13 +265,17 @@ const Table = require('./Table.js')

handleUnhandledRejectionInIndex(name, reason, promise) {
const config = this.config.indexes[name]
if(!config) {
console.error("INDEX IS ALREADY DELETED")
return;
}
console.error("INDEX", name, "unhandledRejection", reason, "CODE:\n", config.code)
console.error("DELETING INDEX", name)
delete this.config.indexes[name]
this.indexesListObservable.remove(name)
if(this.onAutoRemoveIndex) this.onAutoRemoveIndex(name, config.uid)
this.saveConfig(this.config)
process.nextTick(() => {
const config = this.config.indexes[name]
if(!config) {
console.error("INDEX", name, "IS ALREADY DELETED")
console.trace("ALREADY DELETED")
return;
}
delete this.config.indexes[name]
this.indexesListObservable.remove(name)
if(this.onAutoRemoveIndex) this.onAutoRemoveIndex(name, config.uid)
this.saveConfig(this.config)
})
}

@@ -278,0 +282,0 @@ handleConfigUpdated() {

{
"name": "@live-change/db",
"version": "0.3.46",
"version": "0.3.47",
"description": "Database with observable data for live queries",

@@ -5,0 +5,0 @@ "main": "index.js",

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