Socket
Socket
Sign inDemoInstall

pubnub

Package Overview
Dependencies
Maintainers
5
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubnub - npm Package Compare versions

Comparing version 4.28.3 to 4.28.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [v4.28.4](https://github.com/pubnub/javascript/releases/tag/v4.28.4)
July-15-2020
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.28.3...v4.28.4)
- 🐛 Fixes issue of high cpu usage when heartbeat interval is not set.
## [v4.28.3](https://github.com/pubnub/javascript/releases/tag/v4.28.3)

@@ -2,0 +9,0 @@ July-15-2020

2

lib/core/components/config.js

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

value: function getVersion() {
return '4.28.3';
return '4.28.4';
}

@@ -269,0 +269,0 @@ }, {

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

if (this._config.getHeartbeatInterval() === 0) {
if (this._config.getHeartbeatInterval() === 0 || this._config.getHeartbeatInterval() === undefined) {
return;

@@ -374,0 +374,0 @@ }

{
"name": "pubnub",
"version": "4.28.3",
"version": "4.28.4",
"author": "PubNub <support@pubnub.com>",

@@ -5,0 +5,0 @@ "description": "Publish & Subscribe Real-time Messaging with PubNub",

@@ -25,3 +25,3 @@ # PubNub JavaScript SDK (V4)

* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.3.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.3.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.4.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.4.js

@@ -310,3 +310,3 @@ /* @flow */

getVersion(): string {
return '4.28.3';
return '4.28.4';
}

@@ -313,0 +313,0 @@

@@ -353,4 +353,4 @@ /* @flow */

// if the interval is 0, do not queue up heartbeating
if (this._config.getHeartbeatInterval() === 0) {
// if the interval is 0 or undefined, do not queue up heartbeating
if (this._config.getHeartbeatInterval() === 0 || this._config.getHeartbeatInterval() === undefined) {
return;

@@ -357,0 +357,0 @@ }

@@ -26,2 +26,3 @@ /* global describe, beforeEach, it, before, afterEach, after */

uuid: 'myUUID',
heartbeatInterval :1, // for quick test of heartbeat calls
announceSuccessfulHeartbeats: true,

@@ -28,0 +29,0 @@ });

Sorry, the diff of this file is not supported yet

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

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