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

@live-change/dao

Package Overview
Dependencies
Maintainers
1
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/dao - npm Package Compare versions

Comparing version 0.3.9 to 0.3.10

2

lib/LoopbackConnection.js

@@ -59,3 +59,3 @@ const Connection = require("./ReactiveConnection.js")

dispose() {
this.finished = true
super.dispose()
this.handleDisconnect()

@@ -62,0 +62,0 @@ this.emit('close')

@@ -126,2 +126,4 @@ const EventEmitter = require("./EventEmitter.js")

this.activeTimeouts = new Set()
this.autoReconnect = true

@@ -177,3 +179,4 @@

if (settings.requestTimeout && settings.requestTimeout < Infinity) {
setTimeout(() => {
const timeout = setTimeout(() => {
this.activeTimeouts.delete(timeout)
let waiting = this.waitingRequests.get(msg.requestId)

@@ -194,2 +197,3 @@ if (waiting) {

}, settings.requestTimeout)
this.activeTimeouts.add(timeout)
}

@@ -449,4 +453,10 @@

dispose() {
console.log("DISPOSE REACTIVE CONNECTION")
this.finished = true
for(const timeout of this.activeTimeouts) clearTimeout(timeout)
}
}
module.exports = Connection

@@ -39,3 +39,3 @@ {

},
"version": "0.3.9"
"version": "0.3.10"
}
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