Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cocreate/crud-client

Package Overview
Dependencies
Maintainers
0
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/crud-client - npm Package Compare versions

Comparing version 1.33.13 to 1.33.14

2

package.json
{
"name": "@cocreate/crud-client",
"version": "1.33.13",
"version": "1.33.14",
"description": "An useful CRUD api operate Create, read, update, delete with built in database. Can be used as a firebase alternative. Easily configured using HTML5 attributes and/or JavaScript API.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -87,4 +87,5 @@ /********************************************************************************

let response
if (isBrowser && indexeddb && data['storage'].includes('indexeddb')) {
let response = await indexeddb.send(data)
response = await indexeddb.send(data)

@@ -98,11 +99,10 @@ let type = data.method.split('.')[0];

this.socket.send(response)
} else {
this.socket.send(response || data).then((response) => {
resolve(response);
})
}
} else {
this.socket.send(data).then((response) => {
}
if (!response || response.status !== 'resolve') {
this.socket.send(response || data).then((response) => {
resolve(response);
})
}

@@ -178,4 +178,3 @@ })

response = await indexeddb.send(response)
if (!response[type].length || !response[type][0].organization_id) {
if (!response[type].length || type === 'object' && response[type][0] && response[type][0]._id && Object.keys(response[type][0]).length === 1) {
response.method = type + '.create'

@@ -182,0 +181,0 @@ response[type] = data[type][i]

Sorry, the diff of this file is too big to display

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