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

eventstore

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventstore - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

3

lib/databases/mongodb.js

@@ -87,2 +87,5 @@ 'use strict';

function (err) { if (err) { debug(err); } });
self.events.ensureIndex({ commitStamp: 1, streamRevision: 1, commitSequence: 1 },
function (err) { if (err) { debug(err); } });

@@ -89,0 +92,0 @@ self.snapshots = new mongo.Collection(client, options.snapshotsCollectionName);

@@ -43,2 +43,5 @@ 'use strict';

this.events.ensureIndex({ commitStamp: 1, streamRevision: 1, commitSequence: 1 },
function (err) { if (err) { debug(err); } });
this.snapshots = this.db.collection(options.snapshotsCollectionName + '.tingo');

@@ -45,0 +48,0 @@ this.snapshots.ensureIndex({ streamId: 1, aggregateId: 1, aggregate: 1, context: 1, commitStamp: 1, revision: 1, version: 1 },

2

package.json
{
"author": "adrai",
"name": "eventstore",
"version": "1.0.4",
"version": "1.0.5",
"contributors": [

@@ -6,0 +6,0 @@ {

@@ -0,1 +1,4 @@

#### v1.0.5
- mongodb get all events fix [#20](https://github.com/adrai/node-eventstore/pull/20) thanks to [nikolaylukyanchuk](https://github.com/nikolaylukyanchuk)
#### v1.0.4

@@ -2,0 +5,0 @@ - mongodb get all events fix [#20](https://github.com/adrai/node-eventstore/pull/20) thanks to [nikolaylukyanchuk](https://github.com/nikolaylukyanchuk)

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