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

xapi-node

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xapi-node - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

14

build/v2/core/XAPI.js

@@ -204,9 +204,9 @@ "use strict";

if (socketId) {
for (const i of Object.entries(this.Socket.connections)) {
if (i[1].socketId === socketId) {
promiseList.push(i[1].close());
if (i[1].streamId) {
for (const k of Object.entries(this.Stream.connections)) {
if (k[1].streamId === i[1].streamId) {
promiseList.push(k[1].close());
for (const i of Object.values(this.Socket.connections)) {
if (i.socketId === socketId) {
promiseList.push(i.close());
if (i.streamId) {
for (const k of Object.values(this.Stream.connections)) {
if (k.streamId === i.streamId) {
promiseList.push(k.close());
break;

@@ -213,0 +213,0 @@ }

{
"name": "xapi-node",
"version": "3.0.0",
"version": "3.0.1",
"description": "This project makes it possible to get data from Forex market, execute market or limit order with NodeJS/JS through WebSocket connection",

@@ -5,0 +5,0 @@ "exports": {

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