|
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
}
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.1.452';
|
|
|
|
-PDFJS.build = 'b360fd1';
|
|
|
|
|
|
+PDFJS.version = '1.1.454';
|
|
|
|
+PDFJS.build = '12b0b97';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
(function pdfjsWrapper() {
|
|
// Use strict in our context only - users might not want it
|
|
// Use strict in our context only - users might not want it
|
|
@@ -9523,12 +9523,11 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|
return shadow(this, 'documentInfo', docInfo);
|
|
return shadow(this, 'documentInfo', docInfo);
|
|
},
|
|
},
|
|
get fingerprint() {
|
|
get fingerprint() {
|
|
- var xref = this.xref, idArray, hash, fileID = '';
|
|
|
|
|
|
+ var xref = this.xref, hash, fileID = '';
|
|
|
|
+ var idArray = xref.trailer.get('ID');
|
|
|
|
|
|
- if (xref.trailer.has('ID')) {
|
|
|
|
- idArray = xref.trailer.get('ID');
|
|
|
|
- }
|
|
|
|
- if (idArray && isArray(idArray) && idArray[0] !== EMPTY_FINGERPRINT) {
|
|
|
|
|
|
+ if (idArray && isArray(idArray) && idArray[0] && isString(idArray[0]) &&
|
|
|
|
+ idArray[0] !== EMPTY_FINGERPRINT) {
|
|
hash = stringToBytes(idArray[0]);
|
|
hash = stringToBytes(idArray[0]);
|
|
} else {
|
|
} else {
|
|
if (this.stream.ensureRange) {
|
|
if (this.stream.ensureRange) {
|