diff --git a/bower.json b/bower.json index 00b4dea9b..55b9e6418 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.114", + "version": "1.1.116", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 1e9333522..6b6c2a136 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.114'; -PDFJS.build = '3fd44fd'; +PDFJS.version = '1.1.116'; +PDFJS.build = '6d2d854'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -18156,8 +18156,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { var data = diffEncoding[j]; if (isNum(data)) { index = data; - } else { + } else if (isName(data)) { differences[index++] = data.name; + } else if (isRef(data)) { + diffEncoding[j--] = xref.fetch(data); + continue; + } else { + error('Invalid entry in \'Differences\' array: ' + data); } } } diff --git a/build/pdf.js b/build/pdf.js index fb5728687..08d43e6c2 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.114'; -PDFJS.build = '3fd44fd'; +PDFJS.version = '1.1.116'; +PDFJS.build = '6d2d854'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index c1e812e03..c24c0efd5 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.114'; -PDFJS.build = '3fd44fd'; +PDFJS.version = '1.1.116'; +PDFJS.build = '6d2d854'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -11809,8 +11809,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { var data = diffEncoding[j]; if (isNum(data)) { index = data; - } else { + } else if (isName(data)) { differences[index++] = data.name; + } else if (isRef(data)) { + diffEncoding[j--] = xref.fetch(data); + continue; + } else { + error('Invalid entry in \'Differences\' array: ' + data); } } } diff --git a/package.json b/package.json index 290564237..be3581732 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.114", + "version": "1.1.116", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",