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.21 to 0.3.22

3

lib/queryGet.js

@@ -132,2 +132,5 @@ const { TableWriter, LogWriter } = require('./queryUpdate.js')

}
debug(...args) {
console.log('QUERY DEBUG', ...args)
}
}

@@ -134,0 +137,0 @@

8

lib/queryObservable.js

@@ -9,2 +9,3 @@ const ReactiveDao = require("@live-change/dao")

#valuePromise = null
#oldValue = null

@@ -22,3 +23,4 @@ constructor(queryReader, callback) {

if(this._queryReader.state == READER_DISPOSED) return
this.#callback(value, null)
this.#callback(value, this.#oldValue)
this.#oldValue = value
if(!this.#resolved) this.#valuePromiseResolve(value)

@@ -307,2 +309,5 @@ }

}
debug(...args) {
console.log('QUERY DEBUG', ...args)
}
}

@@ -335,3 +340,2 @@

await this.readPromise
console.log("PUT PUT", object)
const id = object.id

@@ -338,0 +342,0 @@ this.putByField('id', id, object, reverse, oldObject)

{
"name": "@live-change/db",
"version": "0.3.21",
"version": "0.3.22",
"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