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
366
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.4.4 to 0.4.5

8

lib/updaters/database.js

@@ -31,2 +31,6 @@ const utils = require("../utils.js")

const indexRequestSettings = {
requestTimeout: 10 * 60 * 1000 // 10 minutes?
}
async function createIndex(table, indexName, index) {

@@ -52,3 +56,3 @@ console.log("CREATE INDEX", index)

if(Array.isArray(index.property)) throw new Error("multi indexes on multiple properties are not supported!")
await dao.request(['database', 'createIndex'], database, indexName, `(${
await dao.requestWithSettings(indexRequestSettings, ['database', 'createIndex'], database, indexName, `(${
async function(input, output, { table, property }) {

@@ -83,3 +87,3 @@ const values = (obj) => {

const properties = (Array.isArray(index.property) ? index.property : [index.property]).map(p => p.split('.'))
await dao.request(['database', 'createIndex'], database, indexName, `(${
await dao.requestWithSettings(indexRequestSettings, ['database', 'createIndex'], database, indexName, `(${
async function(input, output, { table, properties }) {

@@ -86,0 +90,0 @@ const mapper = (obj) => ({

{
"name": "@live-change/framework",
"version": "0.4.4",
"version": "0.4.5",
"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