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
0
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.8.40 to 0.8.41

9

lib/updaters/database.js

@@ -5,2 +5,5 @@ import * as utils from "../utils.js"

const cartesian =
(...a) => a.reduce((a, b) => a.flatMap(d => b.map(e => [d, e].flat())));
async function update(changes, service, app, force) {

@@ -65,3 +68,3 @@

if(index.multi) {
if(Array.isArray(index.property)) throw new Error("multi indexes on multiple properties are not supported!")
// if(Array.isArray(index.property)) throw new Error("multi indexes on multiple properties are not supported!")
const properties = (Array.isArray(index.property) ? index.property : [index.property]).map(p => p.split('.'))

@@ -74,5 +77,5 @@ const func = async function(input, output, { table, properties }) {

if(Array.isArray(at)) return at.map(v => JSON.stringify(v))
return [at]
return [JSON.stringify(at)]
}
const keys = (obj, id) => {
const keys = (obj, id = 0) => {
const values = value(obj, properties[id])

@@ -79,0 +82,0 @@ if(id === properties.length - 1) return values

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

@@ -25,6 +25,6 @@ "main": "index.js",

"devDependencies": {
"@live-change/dao": "^0.8.40",
"@live-change/uid": "^0.8.40"
"@live-change/dao": "^0.8.41",
"@live-change/uid": "^0.8.41"
},
"gitHead": "5a12ec795f6fa16f30203aef3ad1534660fa5146"
"gitHead": "e4f888357087065749a7cdb331a4eefa089b9aef"
}
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