Socket
Socket
Sign inDemoInstall

event-sourcing-nestjs

Package Overview
Dependencies
29
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

9

dist/eventstore.js

@@ -13,8 +13,17 @@ "use strict";

const eventstore = require("eventstore");
const url = require("url");
class EventStore {
constructor(mongoURL) {
this.eventStoreLaunched = false;
let ssl = false;
const parsed = url.parse(mongoURL, true);
if (parsed.query && parsed.query.ssl !== undefined && parsed.query.ssl === 'true') {
ssl = true;
}
this.eventstore = eventstore({
type: 'mongodb',
url: mongoURL,
options: {
ssl: ssl,
},
});

@@ -21,0 +30,0 @@ this.eventstore.init(err => {

2

package.json
{
"name": "event-sourcing-nestjs",
"version": "1.1.3",
"version": "1.1.4",
"description": "NestJS module for implementing Event Sourcing.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc