diff --git a/bower.json b/bower.json index 1f157657b..9f792c8c3 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.220", + "version": "1.1.222", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 40ba8106a..a8b5bca4f 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.220'; -PDFJS.build = 'd504cde'; +PDFJS.version = '1.1.222'; +PDFJS.build = '18e1a14'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -17608,6 +17608,10 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { } // eagerly compile XForm objects var name = args[0].name; + if (!name) { + warn('XObject must be referred to by name.'); + continue; + } if (imageCache[name] !== undefined) { operatorList.addOp(imageCache[name].fn, imageCache[name].args); args = null; diff --git a/build/pdf.js b/build/pdf.js index f380a0217..73083fd68 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.220'; -PDFJS.build = 'd504cde'; +PDFJS.version = '1.1.222'; +PDFJS.build = '18e1a14'; (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 26abf0f8f..b6f4c2c69 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.220'; -PDFJS.build = 'd504cde'; +PDFJS.version = '1.1.222'; +PDFJS.build = '18e1a14'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -11254,6 +11254,10 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { } // eagerly compile XForm objects var name = args[0].name; + if (!name) { + warn('XObject must be referred to by name.'); + continue; + } if (imageCache[name] !== undefined) { operatorList.addOp(imageCache[name].fn, imageCache[name].args); args = null; diff --git a/package.json b/package.json index f0a12f79f..aa825c456 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.220", + "version": "1.1.222", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",