Skip to content

Commit de79db0

Browse files
author
raipubnub
authored
npm size issue (#229)
Fix for NPM deployment including GitHub resources
1 parent 92e3054 commit de79db0

File tree

13 files changed

+33
-17
lines changed

13 files changed

+33
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ dist/titanium/stats.json
1616
# GitHub Actions #
1717
##################
1818
.github/.release
19+
release-artifacts-*
1920

2021
.vscode

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ coverage/
1010
.travis
1111

1212
.babelrc
13+
14+
.github
15+
release-artifacts-*
16+
resources/*

.pubnub.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22
changelog:
3+
- date: 2021-11-19
4+
version: v4.34.1
5+
changes:
6+
- type: bug
7+
text: "Update `.npmignore` and excluded resources from from NPM package."
38
- date: 2021-11-19
49
version: v4.34.0
510
changes:
@@ -1066,7 +1071,7 @@ supported-platforms:
10661071
- "Ubuntu 14.04 and up"
10671072
- "Windows 7 and up"
10681073
version: "Pubnub Javascript for Node"
1069-
version: "4.34.0"
1074+
version: "4.34.1"
10701075
sdks:
10711076
-
10721077
full-name: PubNub Javascript SDK
@@ -1085,7 +1090,7 @@ sdks:
10851090
distribution-type: source
10861091
distribution-repository: GitHub release
10871092
package-name: pubnub.js
1088-
location: https://github.com/pubnub/javascript/archive/refs/tags/v4.34.0.zip
1093+
location: https://github.com/pubnub/javascript/archive/refs/tags/v4.34.1.zip
10891094
requires:
10901095
-
10911096
name: "agentkeepalive"
@@ -1849,7 +1854,7 @@ sdks:
18491854
distribution-type: library
18501855
distribution-repository: GitHub release
18511856
package-name: pubnub.js
1852-
location: https://github.com/pubnub/javascript/releases/download/v4.34.0/pubnub.4.34.0.js
1857+
location: https://github.com/pubnub/javascript/releases/download/v4.34.1/pubnub.4.34.1.js
18531858
requires:
18541859
-
18551860
name: "agentkeepalive"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v4.34.1
2+
November 19 2021
3+
4+
#### Fixed
5+
- Update `.npmignore` and excluded resources from from NPM package. Fixed the following issues reported by [@ElridgeDMello](https://github.com/ElridgeDMello): [#228](https://github.com/pubnub/javascript/issues/228).
6+
17
## v4.34.0
28
November 19 2021
39

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2323
npm install pubnub
2424
```
2525
* or download one of our builds from our CDN:
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.34.0.js
27-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.34.0.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.34.1.js
27+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.34.1.min.js
2828
2929
2. Configure your keys:
3030

dist/titanium/pubnub.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.34.0 / Consumer */
1+
/*! 4.34.1 / Consumer */
22
exports["PubNub"] =
33
/******/ (function(modules) { // webpackBootstrap
44
/******/ // The module cache
@@ -575,7 +575,7 @@ var _default = function () {
575575
}, {
576576
key: "getVersion",
577577
value: function getVersion() {
578-
return '4.34.0';
578+
return '4.34.1';
579579
}
580580
}, {
581581
key: "_addPnsdkSuffix",

dist/titanium/pubnub.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.34.0 / Consumer */
1+
/*! 4.34.1 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -585,7 +585,7 @@ var _default = function () {
585585
}, {
586586
key: "getVersion",
587587
value: function getVersion() {
588-
return '4.34.0';
588+
return '4.34.1';
589589
}
590590
}, {
591591
key: "_addPnsdkSuffix",

dist/web/pubnub.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)