Skip to content

Commit 15793fb

Browse files
committed
Build with PDF fix, change log and date
1 parent e5f6e45 commit 15793fb

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

build/jsroot.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://root.cern/js/ v7.9.2
1+
// https://root.cern/js/ v7.9.3
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
44
typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -8,11 +8,11 @@ typeof define === 'function' && define.amd ? define(['exports'], factory) :
88
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
99
/** @summary version id
1010
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
11-
const version_id = '7.9.2',
11+
const version_id = '7.9.x',
1212

1313
/** @summary version date
1414
* @desc Release date in format day/month/year like '14/04/2022' */
15-
version_date = '13/10/2025',
15+
version_date = '14/10/2025',
1616

1717
/** @summary version id and date
1818
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -69580,7 +69580,12 @@ async function saveFile(filename, content) {
6958069580
if ((content.length > 1e6) && (contentType === 'application/pdf')) {
6958169581
// large PDF files do not work in the browser with plain base64 coding
6958269582
const bindata = getBinFileContent(content),
69583-
blob = new Blob([bindata], { type: contentType });
69583+
len = bindata.length,
69584+
buffer = new ArrayBuffer(len),
69585+
view = new DataView(buffer, 0, len);
69586+
for (let i = 0; i < len; ++i)
69587+
view.setUint8(i, bindata.charCodeAt(i));
69588+
const blob = new Blob([buffer], { type: contentType });
6958469589
fileURL = URL.createObjectURL(blob);
6958569590
a.href = fileURL;
6958669591
} else

changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# JSROOT changelog
22

3+
## Changes in 7.9.x
4+
1. Fix - store large PDF with 3D drawing inside
5+
6+
37
## Changes in 7.9.2
48
1. Fix - reading `TLeafC` leafs
59
2. Fix - support BigInt in object inspector

demo/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsroot-demos",
3-
"version": "7.9.2",
3+
"version": "7.9.3",
44
"engines": {
55
"node": ">=0.18"
66
},

modules/core.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/** @summary version id
22
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
3-
const version_id = '7.9.2',
3+
const version_id = '7.9.x',
44

55
/** @summary version date
66
* @desc Release date in format day/month/year like '14/04/2022' */
7-
version_date = '13/10/2025',
7+
version_date = '14/10/2025',
88

99
/** @summary version id and date
1010
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsroot",
3-
"version": "7.9.2",
3+
"version": "7.9.3",
44
"engines": {
55
"node": ">= 0.18.0"
66
},

0 commit comments

Comments
 (0)