Browse Source

PDF.js version 1.5.238 - See mozilla/pdf.js@dd828ea6f1e2935505bd513b6fdbcd6a7336cfc6

master v1.5.238
Pdf Bot 9 years ago
parent
commit
740beb3f41
  1. 2
      bower.json
  2. 9
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 9
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.236",
"version": "1.5.238",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

9
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.236';
var pdfjsBuild = '5f59d07';
var pdfjsVersion = '1.5.238';
var pdfjsBuild = 'dd828ea';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -43852,6 +43852,11 @@ var XRef = (function XRefClosure() { @@ -43852,6 +43852,11 @@ var XRef = (function XRefClosure() {
// read stream objects for cache
for (i = 0; i < n; ++i) {
entries.push(parser.getObj());
// The ObjStm should not contain 'endobj'. If it's present, skip over it
// to support corrupt PDFs (fixes issue 5241, bug 898610, bug 1037816).
if (isCmd(parser.buf1, 'endobj')) {
parser.shift();
}
num = nums[i];
var entry = this.entries[num];
if (entry && entry.offset === tableOffset && entry.gen === i) {

4
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.236';
var pdfjsBuild = '5f59d07';
var pdfjsVersion = '1.5.238';
var pdfjsBuild = 'dd828ea';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?

9
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.236';
var pdfjsBuild = '5f59d07';
var pdfjsVersion = '1.5.238';
var pdfjsBuild = 'dd828ea';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -35510,6 +35510,11 @@ var XRef = (function XRefClosure() { @@ -35510,6 +35510,11 @@ var XRef = (function XRefClosure() {
// read stream objects for cache
for (i = 0; i < n; ++i) {
entries.push(parser.getObj());
// The ObjStm should not contain 'endobj'. If it's present, skip over it
// to support corrupt PDFs (fixes issue 5241, bug 898610, bug 1037816).
if (isCmd(parser.buf1, 'endobj')) {
parser.shift();
}
num = nums[i];
var entry = this.entries[num];
if (entry && entry.offset === tableOffset && entry.gen === i) {

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.236",
"version": "1.5.238",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save