From 5f281d1c1f09aab8db7681118797702ddfd138f1 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Tue, 1 Nov 2016 20:17:19 +0000 Subject: [PATCH] PDF.js version 1.6.295 - See mozilla/pdf.js@6e22b323727091734d36658b276d05140e7ea8bc --- bower.json | 2 +- build/pdf.combined.js | 9 +++++++-- build/pdf.js | 4 ++-- build/pdf.worker.js | 9 +++++++-- package.json | 2 +- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 6a1b35cef..fa8c129cf 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.6.293", + "version": "1.6.295", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 51b029b3b..c38690dc9 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -24,8 +24,8 @@ }(this, function (exports) { // Use strict in our context only - users might not want it 'use strict'; - var pdfjsVersion = '1.6.293'; - var pdfjsBuild = '9295114'; + var pdfjsVersion = '1.6.295'; + var pdfjsBuild = '6e22b32'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsLibs = {}; (function pdfjsWrapper() { @@ -53403,6 +53403,7 @@ var outlineItem = { dest: data.dest, url: data.url, + unsafeUrl: data.unsafeUrl, newWindow: data.newWindow, title: stringToPDFString(title), color: rgbColor, @@ -53844,6 +53845,10 @@ case 'GoTo': dest = action.get('D'); break; + case 'Launch': + // We neither want, nor can, support arbitrary 'Launch' actions. + // However, in practice they are mostly used for linking to other PDF + // files, which we thus attempt to support (utilizing `docBaseUrl`). case 'GoToR': var urlDict = action.get('F'); if (isDict(urlDict)) { diff --git a/build/pdf.js b/build/pdf.js index 419424394..e82201813 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -24,8 +24,8 @@ }(this, function (exports) { // Use strict in our context only - users might not want it 'use strict'; - var pdfjsVersion = '1.6.293'; - var pdfjsBuild = '9295114'; + var pdfjsVersion = '1.6.295'; + var pdfjsBuild = '6e22b32'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsLibs = {}; (function pdfjsWrapper() { diff --git a/build/pdf.worker.js b/build/pdf.worker.js index e34249296..5186d6341 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -24,8 +24,8 @@ }(this, function (exports) { // Use strict in our context only - users might not want it 'use strict'; - var pdfjsVersion = '1.6.293'; - var pdfjsBuild = '9295114'; + var pdfjsVersion = '1.6.295'; + var pdfjsBuild = '6e22b32'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsLibs = {}; (function pdfjsWrapper() { @@ -45466,6 +45466,7 @@ var outlineItem = { dest: data.dest, url: data.url, + unsafeUrl: data.unsafeUrl, newWindow: data.newWindow, title: stringToPDFString(title), color: rgbColor, @@ -45907,6 +45908,10 @@ case 'GoTo': dest = action.get('D'); break; + case 'Launch': + // We neither want, nor can, support arbitrary 'Launch' actions. + // However, in practice they are mostly used for linking to other PDF + // files, which we thus attempt to support (utilizing `docBaseUrl`). case 'GoToR': var urlDict = action.get('F'); if (isDict(urlDict)) { diff --git a/package.json b/package.json index 2e14700ba..a7828f5b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.6.293", + "version": "1.6.295", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [