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

@helenejs/data

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helenejs/data - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

6

lib/collection.js

@@ -239,3 +239,3 @@ "use strict";

const docs = (0, isArray_1.default)(preparedDoc) ? preparedDoc : [preparedDoc];
await this.persistence.persistNewState(docs);
(0, op_queue_1.queueOperation)(async () => this.persistence.persistNewState(docs)).catch(console.error);
await Promise.all(docs.map(doc => this.afterInsert(doc)));

@@ -394,3 +394,3 @@ return (0, model_1.deepCopy)(preparedDoc);

const updatedDocs = (0, utils_1.pluck)(modifications, 'newDoc');
await this.persistence.persistNewState(updatedDocs);
(0, op_queue_1.queueOperation)(async () => this.persistence.persistNewState(updatedDocs)).catch(console.error);
if (options?.returnUpdatedDocs) {

@@ -440,3 +440,3 @@ const updatedDocsDC = [];

}
await self.persistence.persistNewState(removedDocs);
(0, op_queue_1.queueOperation)(async () => self.persistence.persistNewState(removedDocs)).catch(console.error);
await Promise.all(candidates.map(doc => self.afterRemove(doc)));

@@ -443,0 +443,0 @@ return numRemoved;

{
"name": "@helenejs/data",
"version": "1.3.4",
"version": "1.3.5",
"description": "Real-time Web Apps for Node.js",

@@ -50,3 +50,3 @@ "main": "lib/index.js",

},
"gitHead": "9eeacc93fbb3379f25bcd3b3da37cd96552b5cb2"
"gitHead": "9e824a461bffd5be639a91440e442254f5ae340e"
}

Sorry, the diff of this file is not supported yet

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