Skip to content

Commit

Permalink
Merge pull request #163 from pubnub/hotfix_4.24.6
Browse files Browse the repository at this point in the history
hotfix for issue 'PubNub is not a constructor' in Node.js
  • Loading branch information
raipubnub authored Aug 9, 2019
2 parents 07c6980 + e3034df commit 23d36b4
Show file tree
Hide file tree
Showing 31 changed files with 57 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-modules-commonjs"
"@babel/plugin-transform-modules-commonjs",
"add-module-exports"
],
"sourceMaps": true
}
9 changes: 8 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
---
changelog:
-
changes:
-
text: "Fix regression: 'PubNub is not a constructor' in Node.js"
type: bug
date: 2019-08-07
version: v4.24.6
-
changes:
-
Expand Down Expand Up @@ -680,4 +687,4 @@ supported-platforms:
- "Ubuntu 14.04 and above"
- "Windows 7, 8, 10"
version: "Pubnub Javascript for Node"
version: "4.24.5"
version: "4.24.6"
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
## [v4.24.5](https://github.com/pubnub/javascript/tree/v4.24.5)
## [v4.24.6](https://github.com/pubnub/javascript/tree/v4.24.6)
August-09-2019


[Full Changelog](https://github.com/pubnub/javascript/compare/v4.24.5...v4.24.6)



- ⭐ Fix regression: 'PubNub is not a constructor' in Node.js"



## [v4.24.5](https://github.com/pubnub/javascript/tree/v4.24.5)
August-07-2019


Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)



* https://cdn.pubnub.com/sdk/javascript/pubnub.4.24.5.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.24.5.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.24.6.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.24.6.js
4 changes: 2 additions & 2 deletions dist/titanium/pubnub.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/titanium/pubnub.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pubnub.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web/pubnub.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/core/components/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/core/components/config.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/core/components/cryptography/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/components/deduping_manager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/core/components/endpoint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/components/listener_manager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/components/reconnection_manager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/components/subscription_manager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/components/uuid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/constants/categories.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/core/constants/operations.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/core/pubnub-common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/db/common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/db/web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/nativescript/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/networking/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/node/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/react_native/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/titanium/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/web/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pubnub",
"version": "4.24.5",
"version": "4.24.6",
"author": "PubNub <[email protected]>",
"description": "Publish & Subscribe Real-time Messaging with PubNub",
"bin": {},
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export default class {
}

getVersion(): string {
return '4.24.5';
return '4.24.6';
}

_decideUUID(providedUUID: string): string {
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ let config = {
output: {
filename: 'pubnub.js',
library: 'PubNub',
libraryTarget: 'umd',
libraryExport: 'default'
libraryTarget: 'umd'
},
plugins: [
new webpack.BannerPlugin({ banner: `${packageJSON.version} / Consumer `, raw: false }),
Expand Down

0 comments on commit 23d36b4

Please sign in to comment.