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

@cap-js-community/event-queue

Package Overview
Dependencies
Maintainers
7
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-js-community/event-queue - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@cap-js-community/event-queue",
"version": "1.0.1",
"version": "1.0.2",
"description": "An event queue that enables secure transactional processing of asynchronous events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",

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

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

this.__performanceLoggerPreprocessing?.endPerformanceTrace(
{ threshold: 50 },
{ threshold: this.#config.thresholdLoggingEventProcessing },
{

@@ -157,0 +157,0 @@ eventType: this.#eventType,

@@ -119,5 +119,9 @@ "use strict";

const response = await ssp.get("/tenant");
return response.map((tenant) => tenant.subscribedTenantId ?? tenant.tenant);
return response
.map((tenant) => tenant.subscribedTenantId ?? tenant.tenant)
.filter((tenantId) => !isFakeTenant(tenantId));
};
const isFakeTenant = (tenantId) => /00000000-0000-4000-8000-\d{12}/.test(tenantId);
module.exports = {

@@ -124,0 +128,0 @@ executeInNewTransaction,

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