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

@live-change/framework

Package Overview
Dependencies
Maintainers
1
Versions
362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/framework - npm Package Compare versions

Comparing version 0.3.21 to 0.3.22

8

lib/runtime/ReaderModel.js

@@ -51,6 +51,6 @@ const ReactiveDao = require("@live-change/dao")

const data = obj && objectMapper(obj, ind)
const oldData = objectState.data
const oldData = objectState.data && objectMapper(objectState.data, ind)
output.change(data, oldData)
if(data) {
objectState.data = data
objectState.data = obj
} else if(oldObj) {

@@ -65,2 +65,3 @@ objectState.data = null

} else if(oldObj && oldObj.to) {
if(options.idFromIndex) console.log("INDEX ELEMENT DELETED", oldObj)
let objectState = objectStates.get(oldObj.to)

@@ -72,4 +73,5 @@ if(objectState) {

objectStates.delete(oldObj.to)
output.change(null, objectState.data)
if(!options.idFromIndex) output.change(null, objectMapper(objectState.data, oldObj))
}
if(options.idFromIndex) output.change(null, objectMapper(objectState.data, oldObj))
}

@@ -76,0 +78,0 @@ }

{
"name": "@live-change/framework",
"version": "0.3.21",
"version": "0.3.22",
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",

@@ -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