Skip to content

Commit 47d7854

Browse files
committed
Updated for v3.9.0
1 parent e802dc5 commit 47d7854

13 files changed

+29
-28
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Notes]
99

10-
## [3.9.0] - 2021-12-??
10+
## [3.9.0] - 2021-12-11
1111

1212
### Added
1313

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ Visit the demos page to create a simple presentation to see how easy it is to us
8585
Bundle: Modern Browsers and IE11
8686

8787
```html
88-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.8.0/dist/pptxgen.bundle.js"></script>
88+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.9.0/dist/pptxgen.bundle.js"></script>
8989
```
9090

9191
Min files: Modern Browsers
9292

9393
```html
94-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.8.0/libs/jszip.min.js"></script>
95-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.8.0/dist/pptxgen.min.js"></script>
94+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.9.0/libs/jszip.min.js"></script>
95+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.9.0/dist/pptxgen.min.js"></script>
9696
```
9797

9898
## Download

demos/browser/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="author" content="https://github.com/gitbrent">
77
<meta name="website" content="https://github.com/gitbrent/PptxGenJS/">
88
<meta name="version" content="3.9.0">
9-
<meta name="updated" content="2021-09-28">
9+
<meta name="updated" content="2021-12-12">
1010
<link rel="icon" href="images/favicon-32x32.png" sizes="32x32" type="image/png">
1111
<link rel="icon" href="images/favicon-16x16.png" sizes="16x16" type="image/png">
1212
<link rel="icon" href="images/favicon.png">
@@ -27,9 +27,9 @@
2727
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
2828
crossorigin="anonymous"></script>
2929

30+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/dist/pptxgen.bundle.js"></script>
31+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/demos/modules/demos.mjs" type="module"></script>
3032
<!-- RELEASE (CDN)
31-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/dist/pptxgen.bundle.js"></script>
32-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/demos/common/demos.js" type="module"></script>
3333
-->
3434
<!--
3535
TODO: [only used during `-beta` dev cycles; update to below on release]
@@ -39,9 +39,12 @@
3939
<!-- LOCAL TESTING:
4040
<script src="../../libs/jszip.min.js"></script>
4141
<script src="../../dist/pptxgen.min.js"></script>
42+
<script src="../modules/demos.mjs" type="module"></script>
4243
-->
44+
<!-- LOCAL TESTING: bundle
4345
<script src="./js/pptxgen.bundle.js"></script>
4446
<script src="../modules/demos.mjs" type="module"></script>
47+
-->
4548

4649
<script type="module">
4750
import { buildDataTable, doAppStart, execGenSlidesFunc, runAllDemos, table2slides1, table2slides2, table2slidesDemoForTab } from './js/browser.js';

demos/browser/js/pptxgen.bundle.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.

demos/browser/js/pptxgen.bundle.js.map

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

dist/pptxgen.bundle.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/pptxgen.bundle.js.map

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

dist/pptxgen.cjs.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.9.0-beta @ 2021-12-04T19:46:04.288Z */
1+
/* PptxGenJS 3.9.0 @ 2021-12-11T18:00:42.636Z */
22
'use strict';
33

44
var JSZip = require('jszip');
@@ -6469,7 +6469,7 @@ function createSvgPngPreview(rel) {
64696469
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64706470
* SOFTWARE.
64716471
*/
6472-
var VERSION = '3.9.0-beta-20211204-1340';
6472+
var VERSION = '3.9.0';
64736473
var PptxGenJS = /** @class */ (function () {
64746474
function PptxGenJS() {
64756475
var _this = this;
@@ -6655,8 +6655,7 @@ var PptxGenJS = /** @class */ (function () {
66556655
return Promise.all(arrChartPromises).then(function () {
66566656
if (props.outputType === 'STREAM') {
66576657
// A: stream file
6658-
//return zip.generateAsync({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE' }) // TODO: below is okay?
6659-
return zip.generateNodeStream({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE', streamFiles: true });
6658+
return zip.generateAsync({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE' });
66606659
}
66616660
else if (props.outputType) {
66626661
// B: Node [fs]: Output type user option or default

dist/pptxgen.es.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.9.0-beta @ 2021-12-04T19:46:04.303Z */
1+
/* PptxGenJS 3.9.0 @ 2021-12-11T18:00:42.643Z */
22
import JSZip from 'jszip';
33

44
/*! *****************************************************************************
@@ -6463,7 +6463,7 @@ function createSvgPngPreview(rel) {
64636463
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64646464
* SOFTWARE.
64656465
*/
6466-
var VERSION = '3.9.0-beta-20211204-1340';
6466+
var VERSION = '3.9.0';
64676467
var PptxGenJS = /** @class */ (function () {
64686468
function PptxGenJS() {
64696469
var _this = this;
@@ -6649,8 +6649,7 @@ var PptxGenJS = /** @class */ (function () {
66496649
return Promise.all(arrChartPromises).then(function () {
66506650
if (props.outputType === 'STREAM') {
66516651
// A: stream file
6652-
//return zip.generateAsync({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE' }) // TODO: below is okay?
6653-
return zip.generateNodeStream({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE', streamFiles: true });
6652+
return zip.generateAsync({ type: 'nodebuffer', compression: props.compression ? 'DEFLATE' : 'STORE' });
66546653
}
66556654
else if (props.outputType) {
66566655
// B: Node [fs]: Output type user option or default

dist/pptxgen.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.

0 commit comments

Comments
 (0)