Socket
Socket
Sign inDemoInstall

pubnub

Package Overview
Dependencies
Maintainers
4
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.3.1 to 4.3.2

6

lib/core/components/config.js

@@ -15,6 +15,2 @@ 'use strict';

var _package = require('../../../package.json');
var _package2 = _interopRequireDefault(_package);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -170,3 +166,3 @@

value: function getVersion() {
return _package2.default.version;
return '4.3.2';
}

@@ -173,0 +169,0 @@ }, {

@@ -125,6 +125,2 @@ 'use strict';

var _package = require('../../package.json');
var _package2 = _interopRequireDefault(_package);
var _operations = require('./constants/operations');

@@ -253,3 +249,3 @@

value: function getVersion() {
return _package2.default.version;
return this._config.getVersion();
}

@@ -256,0 +252,0 @@ }, {

2

package.json
{
"name": "pubnub",
"version": "4.3.1",
"version": "4.3.2",
"author": "PubNub <support@pubnub.com>",

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

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

## CDN Links
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.3.1.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.3.1.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.3.2.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.3.2.js

@@ -6,3 +6,2 @@ /* @flow */

import { InternalSetupStruct, DatabaseInterface } from '../flow_interfaces';
import packageJSON from '../../../package.json';

@@ -191,3 +190,3 @@ type ConfigConstructArgs = {

getVersion(): string {
return packageJSON.version;
return '4.3.2';
}

@@ -194,0 +193,0 @@

@@ -40,3 +40,2 @@ /* @flow */

import packageJSON from '../../package.json';
import OPERATIONS from './constants/operations';

@@ -211,4 +210,4 @@ import CATEGORIES from './constants/categories';

getVersion(): String {
return packageJSON.version;
getVersion(): string {
return this._config.getVersion();
}

@@ -215,0 +214,0 @@

/* global describe, it, __dirname */
import PubNub from '../../lib/node/index';
let assert = require('assert');

@@ -28,2 +30,6 @@ let fs = require('fs');

it('with correct version in code', () => {
assert.equal(packageJSON.version, new PubNub({}).getVersion());
});
it('with updated readme', () => {

@@ -30,0 +36,0 @@ assert(readMe.indexOf('https://cdn.pubnub.com/sdk/javascript/pubnub.' + packageJSON.version + '.js') > 1);

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 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