Browse Source

PDF.js version 1.6.214 - See mozilla/pdf.js@7b2a9ee4e065e45f2bfaa3cd68ca69e1e4f610f5

master v1.6.214
Pdf Bot 8 years ago
parent
commit
3db2faf256
  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.6.212",
"version": "1.6.214",
"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.6.212';
var pdfjsBuild = 'b4a9012';
var pdfjsVersion = '1.6.214';
var pdfjsBuild = '7b2a9ee';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -29529,7 +29529,10 @@ var Parser = (function ParserClosure() { @@ -29529,7 +29529,10 @@ var Parser = (function ParserClosure() {
return stream;
},
makeFilter: function Parser_makeFilter(stream, name, maybeLength, params) {
if (stream.dict.get('Length') === 0 && !maybeLength) {
// Since the 'Length' entry in the stream dictionary can be completely
// wrong, e.g. zero for non-empty streams, only skip parsing the stream
// when we can be absolutely certain that it actually is empty.
if (maybeLength === 0) {
warn('Empty "' + name + '" stream.');
return new NullStream(stream);
}

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.6.212';
var pdfjsBuild = 'b4a9012';
var pdfjsVersion = '1.6.214';
var pdfjsBuild = '7b2a9ee';
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.6.212';
var pdfjsBuild = 'b4a9012';
var pdfjsVersion = '1.6.214';
var pdfjsBuild = '7b2a9ee';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -25636,7 +25636,10 @@ var Parser = (function ParserClosure() { @@ -25636,7 +25636,10 @@ var Parser = (function ParserClosure() {
return stream;
},
makeFilter: function Parser_makeFilter(stream, name, maybeLength, params) {
if (stream.dict.get('Length') === 0 && !maybeLength) {
// Since the 'Length' entry in the stream dictionary can be completely
// wrong, e.g. zero for non-empty streams, only skip parsing the stream
// when we can be absolutely certain that it actually is empty.
if (maybeLength === 0) {
warn('Empty "' + name + '" stream.');
return new NullStream(stream);
}

2
package.json

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

Loading…
Cancel
Save