Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

kucoin-api

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kucoin-api - npm Package Compare versions

Comparing version
2.4.0
to
2.4.1
+5
-2
dist/cjs/lib/websocket/WsStore.js

@@ -30,3 +30,6 @@ "use strict";

const value2 = object2[key];
if (typeof value1 === 'object' && typeof value2 === 'object') {
if (typeof value1 === 'object' &&
typeof value2 === 'object' &&
value1 !== null &&
value2 !== null) {
if (!isDeepObjectMatch(value1, value2)) {

@@ -36,3 +39,3 @@ return false;

}
if (value1 !== value2) {
else if (value1 !== value2) {
return false;

@@ -39,0 +42,0 @@ }

@@ -26,3 +26,6 @@ import { DefaultLogger } from './logger.js';

const value2 = object2[key];
if (typeof value1 === 'object' && typeof value2 === 'object') {
if (typeof value1 === 'object' &&
typeof value2 === 'object' &&
value1 !== null &&
value2 !== null) {
if (!isDeepObjectMatch(value1, value2)) {

@@ -32,3 +35,3 @@ return false;

}
if (value1 !== value2) {
else if (value1 !== value2) {
return false;

@@ -35,0 +38,0 @@ }

{
"name": "kucoin-api",
"version": "2.4.0",
"version": "2.4.1",
"description": "Complete & robust Node.js SDK for Kucoin's REST APIs and WebSockets, with TypeScript & strong end to end tests.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display