Browse Source

PDF.js version 1.9.585 - See mozilla/pdf.js@2aac9941714832ac8f86dfe42f28eba110e1a0c8

master v1.9.585
pdfjsbot 7 years ago
parent
commit
1ddfb07217
  1. 2
      bower.json
  2. 19
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 19
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 4
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 4
      lib/display/api.js
  10. 4
      lib/display/global.js
  11. 7
      lib/display/node_stream.js
  12. 4
      lib/pdf.js
  13. 4
      lib/pdf.worker.js
  14. 2
      package.json

2
bower.json

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

19
build/pdf.combined.js

@ -13635,8 +13635,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13635,8 +13635,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.583';
exports.build = build = 'd7b37ae7';
exports.version = version = '1.9.585';
exports.build = build = '2aac9941';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29527,8 +29527,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29527,8 +29527,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.583';
var pdfjsBuild = 'd7b37ae7';
var pdfjsVersion = '1.9.585';
var pdfjsBuild = '2aac9941';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(98);
var pdfjsDisplayAPI = __w_pdfjs_require__(55);
@ -35390,8 +35390,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35390,8 +35390,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.583';
PDFJS.build = 'd7b37ae7';
PDFJS.version = '1.9.585';
PDFJS.build = '2aac9941';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -52154,7 +52154,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -52154,7 +52154,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
var _this7 = _possibleConstructorReturn(this, (PDFNodeStreamFsFullReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsFullReader)).call(this, stream));
fs.lstat(_this7._url.path, function (error, stat) {
var path = decodeURI(_this7._url.path);
fs.lstat(path, function (error, stat) {
if (error) {
_this7._errored = true;
_this7._reason = error;
@ -52162,7 +52163,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -52162,7 +52163,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
return;
}
_this7._contentLength = stat.size;
_this7._setReadableStream(fs.createReadStream(_this7._url.path));
_this7._setReadableStream(fs.createReadStream(path));
_this7._headersCapability.resolve();
});
return _this7;
@ -52179,7 +52180,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) { @@ -52179,7 +52180,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) {
var _this8 = _possibleConstructorReturn(this, (PDFNodeStreamFsRangeReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsRangeReader)).call(this, stream));
_this8._setReadableStream(fs.createReadStream(_this8._url.path, {
_this8._setReadableStream(fs.createReadStream(decodeURI(_this8._url.path), {
start: start,
end: end - 1
}));

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

19
build/pdf.js

@ -4335,8 +4335,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -4335,8 +4335,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.583';
exports.build = build = 'd7b37ae7';
exports.version = version = '1.9.585';
exports.build = build = '2aac9941';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7341,8 +7341,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7341,8 +7341,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.583';
var pdfjsBuild = 'd7b37ae7';
var pdfjsVersion = '1.9.585';
var pdfjsBuild = '2aac9941';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(82);
var pdfjsDisplayAPI = __w_pdfjs_require__(48);
@ -13204,8 +13204,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13204,8 +13204,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.583';
PDFJS.build = 'd7b37ae7';
PDFJS.version = '1.9.585';
PDFJS.build = '2aac9941';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -16354,7 +16354,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -16354,7 +16354,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
var _this7 = _possibleConstructorReturn(this, (PDFNodeStreamFsFullReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsFullReader)).call(this, stream));
fs.lstat(_this7._url.path, function (error, stat) {
var path = decodeURI(_this7._url.path);
fs.lstat(path, function (error, stat) {
if (error) {
_this7._errored = true;
_this7._reason = error;
@ -16362,7 +16363,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -16362,7 +16363,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
return;
}
_this7._contentLength = stat.size;
_this7._setReadableStream(fs.createReadStream(_this7._url.path));
_this7._setReadableStream(fs.createReadStream(path));
_this7._headersCapability.resolve();
});
return _this7;
@ -16379,7 +16380,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) { @@ -16379,7 +16380,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) {
var _this8 = _possibleConstructorReturn(this, (PDFNodeStreamFsRangeReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsRangeReader)).call(this, stream));
_this8._setReadableStream(fs.createReadStream(_this8._url.path, {
_this8._setReadableStream(fs.createReadStream(decodeURI(_this8._url.path), {
start: start,
end: end - 1
}));

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -24543,8 +24543,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; @@ -24543,8 +24543,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph;
"use strict";
var pdfjsVersion = '1.9.583';
var pdfjsBuild = 'd7b37ae7';
var pdfjsVersion = '1.9.585';
var pdfjsBuild = '2aac9941';
var pdfjsCoreWorker = __w_pdfjs_require__(62);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.583';
exports.build = build = 'd7b37ae7';
exports.version = version = '1.9.585';
exports.build = build = '2aac9941';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) { @@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.583';
PDFJS.build = 'd7b37ae7';
PDFJS.version = '1.9.585';
PDFJS.build = '2aac9941';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

7
lib/display/node_stream.js

@ -399,7 +399,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -399,7 +399,8 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
var _this7 = _possibleConstructorReturn(this, (PDFNodeStreamFsFullReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsFullReader)).call(this, stream));
fs.lstat(_this7._url.path, function (error, stat) {
var path = decodeURI(_this7._url.path);
fs.lstat(path, function (error, stat) {
if (error) {
_this7._errored = true;
_this7._reason = error;
@ -407,7 +408,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) { @@ -407,7 +408,7 @@ var PDFNodeStreamFsFullReader = function (_BaseFullReader2) {
return;
}
_this7._contentLength = stat.size;
_this7._setReadableStream(fs.createReadStream(_this7._url.path));
_this7._setReadableStream(fs.createReadStream(path));
_this7._headersCapability.resolve();
});
return _this7;
@ -424,7 +425,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) { @@ -424,7 +425,7 @@ var PDFNodeStreamFsRangeReader = function (_BaseRangeReader2) {
var _this8 = _possibleConstructorReturn(this, (PDFNodeStreamFsRangeReader.__proto__ || Object.getPrototypeOf(PDFNodeStreamFsRangeReader)).call(this, stream));
_this8._setReadableStream(fs.createReadStream(_this8._url.path, {
_this8._setReadableStream(fs.createReadStream(decodeURI(_this8._url.path), {
start: start,
end: end - 1
}));

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.9.583';
var pdfjsBuild = 'd7b37ae7';
var pdfjsVersion = '1.9.585';
var pdfjsBuild = '2aac9941';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
*/
'use strict';
var pdfjsVersion = '1.9.583';
var pdfjsBuild = 'd7b37ae7';
var pdfjsVersion = '1.9.585';
var pdfjsBuild = '2aac9941';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
package.json

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

Loading…
Cancel
Save