Socket
Socket
Sign inDemoInstall

@arque/core

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arque/core - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

5

dist/libs/projection.js

@@ -7,3 +7,2 @@ "use strict";

const debug_1 = tslib_1.__importDefault(require("debug"));
const ramda_1 = tslib_1.__importDefault(require("ramda"));
class Projection {

@@ -24,3 +23,3 @@ constructor(store, stream, config, eventHandlers, _id, _state) {

this.timestampLastEventReceived = Date.now();
this.eventHandlers = new Map(ramda_1.default.map((item) => [item.type, item], eventHandlers));
this.eventHandlers = new Map(eventHandlers.map(item => [item.type, item]));
}

@@ -57,3 +56,3 @@ get id() {

id: this.id,
events: [...new Set(ramda_1.default.pluck('type', [...this.eventHandlers.values()])).values()],
events: [...new Set([...this.eventHandlers.values()].map(item => item.type)).values()],
});

@@ -60,0 +59,0 @@ this.subscriber = await this.stream.subscribe(this.id, async (event) => {

4

package.json
{
"name": "@arque/core",
"version": "0.2.2",
"version": "0.2.3",
"description": "`arque` core library",

@@ -34,3 +34,3 @@ "author": "ScaleForge",

},
"gitHead": "47cbd0b684e2fa261e7ce7ac1c1bdc262c926406"
"gitHead": "2334a096306998a2829d0affa23e73f3916fbc76"
}

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