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

@acuris/eventstore-api

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acuris/eventstore-api - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

10

dist/DefaultEventBatchWriter.js

@@ -5,10 +5,14 @@ "use strict";

constructor(streamWriter) {
this.queue = [];
this.streamWriter = streamWriter;
}
write(stream, events, expectedEventNumber) {
return this.streamWriter.write(stream, events, expectedEventNumber);
}
flush() {
this.queue.push([stream, events, expectedEventNumber]);
return Promise.resolve(undefined);
}
async flush() {
for (const [stream, events, expectedEventNumber] of this.queue) {
await this.streamWriter.write(stream, events, expectedEventNumber);
}
}
close() {

@@ -15,0 +19,0 @@ }

{
"name": "@acuris/eventstore-api",
"private": false,
"version": "1.3.1",
"version": "1.3.2",
"description": "API for accessing event stores",

@@ -30,3 +30,3 @@ "keywords": [

"jest": "^26.4.2",
"ts-jest": "^26.4.0",
"ts-jest": "^26.5.0",
"typescript": "^4.0.3"

@@ -33,0 +33,0 @@ },

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