Browse Source

PDF.js version 2.0.468 - See mozilla/pdf.js@8512596508e31a72eb3d22e3a1c669e5d9ee4a7d

master v2.0.468
pdfjsbot 7 years ago
parent
commit
ce5b897616
  1. 2
      bower.json
  2. 77
      build/pdf.js
  3. 2
      build/pdf.js.map
  4. 2
      build/pdf.min.js
  5. 73
      build/pdf.worker.js
  6. 2
      build/pdf.worker.js.map
  7. 2
      build/pdf.worker.min.js
  8. 2
      lib/core/worker.js
  9. 6
      lib/display/api.js
  10. 4
      lib/pdf.js
  11. 4
      lib/pdf.worker.js
  12. 4
      lib/web/pdf_viewer.component.js
  13. 2
      package.json
  14. 4
      web/pdf_viewer.js
  15. 2
      web/pdf_viewer.js.map

2
bower.json

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

77
build/pdf.js

@ -1467,7 +1467,7 @@ module.exports = function (it) { @@ -1467,7 +1467,7 @@ module.exports = function (it) {
var global = __w_pdfjs_require__(4);
var core = __w_pdfjs_require__(5);
var hide = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
var ctx = __w_pdfjs_require__(9);
var PROTOTYPE = 'prototype';
var $export = function $export(type, name, source) {
@ -1518,7 +1518,7 @@ if (typeof __g == 'number') __g = global; @@ -1518,7 +1518,7 @@ if (typeof __g == 'number') __g = global;
"use strict";
var core = module.exports = { version: '2.5.3' };
var core = module.exports = { version: '2.5.4' };
if (typeof __e == 'number') __e = core;
/***/ }),
@ -1541,21 +1541,9 @@ module.exports = function (it) { @@ -1541,21 +1541,9 @@ module.exports = function (it) {
"use strict";
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/* 8 */
/***/ (function(module, exports, __w_pdfjs_require__) {
"use strict";
var global = __w_pdfjs_require__(4);
var hide = __w_pdfjs_require__(10);
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var SRC = __w_pdfjs_require__(19)('src');
var TO_STRING = 'toString';
var $toString = Function[TO_STRING];
@ -1582,6 +1570,18 @@ __w_pdfjs_require__(5).inspectSource = function (it) { @@ -1582,6 +1570,18 @@ __w_pdfjs_require__(5).inspectSource = function (it) {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/* 8 */
/***/ (function(module, exports, __w_pdfjs_require__) {
"use strict";
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/* 9 */
/***/ (function(module, exports, __w_pdfjs_require__) {
@ -1782,7 +1782,7 @@ module.exports = Object.keys || function keys(O) { @@ -1782,7 +1782,7 @@ module.exports = Object.keys || function keys(O) {
var def = __w_pdfjs_require__(14).f;
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var TAG = __w_pdfjs_require__(1)('toStringTag');
module.exports = function (it, tag, stat) {
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, {
@ -2290,7 +2290,7 @@ module.exports.f = function (C) { @@ -2290,7 +2290,7 @@ module.exports.f = function (C) {
"use strict";
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
module.exports = function (target, src, safe) {
for (var key in src) {
redefine(target, key, src[key], safe);
@ -2308,7 +2308,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol @@ -2308,7 +2308,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var META = __w_pdfjs_require__(19)('meta');
var isObject = __w_pdfjs_require__(2);
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var setDesc = __w_pdfjs_require__(14).f;
var id = 0;
var isExtensible = Object.isExtensible || function () {
@ -2533,7 +2533,7 @@ var classof = __w_pdfjs_require__(31); @@ -2533,7 +2533,7 @@ var classof = __w_pdfjs_require__(31);
var test = {};
test[__w_pdfjs_require__(1)('toStringTag')] = 'z';
if (test + '' != '[object z]') {
__w_pdfjs_require__(8)(Object.prototype, 'toString', function toString() {
__w_pdfjs_require__(7)(Object.prototype, 'toString', function toString() {
return '[object ' + classof(this) + ']';
}, true);
}
@ -2547,9 +2547,8 @@ if (test + '' != '[object z]') { @@ -2547,9 +2547,8 @@ if (test + '' != '[object z]') {
var LIBRARY = __w_pdfjs_require__(47);
var $export = __w_pdfjs_require__(3);
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
var hide = __w_pdfjs_require__(10);
var has = __w_pdfjs_require__(7);
var Iterators = __w_pdfjs_require__(17);
var $iterCreate = __w_pdfjs_require__(80);
var setToStringTag = __w_pdfjs_require__(22);
@ -2585,7 +2584,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE @@ -2585,7 +2584,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
var VALUES_BUG = false;
var proto = Base.prototype;
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
var $default = !BUGGY && $native || getMethod(DEFAULT);
var $default = $native || getMethod(DEFAULT);
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
var methods, key, IteratorPrototype;
@ -2593,7 +2592,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE @@ -2593,7 +2592,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
setToStringTag(IteratorPrototype, TAG, true);
if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
}
}
if (DEF_VALUES && $native && $native.name !== VALUES) {
@ -2657,7 +2656,7 @@ module.exports = document && document.documentElement; @@ -2657,7 +2656,7 @@ module.exports = document && document.documentElement;
var $iterators = __w_pdfjs_require__(85);
var getKeys = __w_pdfjs_require__(21);
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
var global = __w_pdfjs_require__(4);
var hide = __w_pdfjs_require__(10);
var Iterators = __w_pdfjs_require__(17);
@ -3004,8 +3003,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions; @@ -3004,8 +3003,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions;
"use strict";
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayAPI = __w_pdfjs_require__(117);
var pdfjsDisplayTextLayer = __w_pdfjs_require__(125);
@ -4074,7 +4073,7 @@ module.exports = __w_pdfjs_require__(11) ? Object.defineProperties : function de @@ -4074,7 +4073,7 @@ module.exports = __w_pdfjs_require__(11) ? Object.defineProperties : function de
"use strict";
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var toIObject = __w_pdfjs_require__(16);
var arrayIndexOf = __w_pdfjs_require__(43)(false);
var IE_PROTO = __w_pdfjs_require__(32)('IE_PROTO');
@ -4099,7 +4098,7 @@ module.exports = function (object, names) { @@ -4099,7 +4098,7 @@ module.exports = function (object, names) {
"use strict";
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var toObject = __w_pdfjs_require__(33);
var IE_PROTO = __w_pdfjs_require__(32)('IE_PROTO');
var ObjectProto = Object.prototype;
@ -4214,7 +4213,7 @@ var notify = function notify(promise, isReject) { @@ -4214,7 +4213,7 @@ var notify = function notify(promise, isReject) {
var resolve = reaction.resolve;
var reject = reaction.reject;
var domain = reaction.domain;
var result, then;
var result, then, exited;
try {
if (handler) {
if (!ok) {
@ -4224,7 +4223,10 @@ var notify = function notify(promise, isReject) { @@ -4224,7 +4223,10 @@ var notify = function notify(promise, isReject) {
if (handler === true) result = value;else {
if (domain) domain.enter();
result = handler(value);
if (domain) domain.exit();
if (domain) {
domain.exit();
exited = true;
}
}
if (result === reaction.promise) {
reject(TypeError('Promise-chain cycle'));
@ -4233,6 +4235,7 @@ var notify = function notify(promise, isReject) { @@ -4233,6 +4235,7 @@ var notify = function notify(promise, isReject) {
} else resolve(result);
} else reject(value);
} catch (e) {
if (domain && !exited) domain.exit();
reject(e);
}
};
@ -4656,7 +4659,7 @@ module.exports = __w_pdfjs_require__(5).WeakMap; @@ -4656,7 +4659,7 @@ module.exports = __w_pdfjs_require__(5).WeakMap;
var each = __w_pdfjs_require__(56)(0);
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
var meta = __w_pdfjs_require__(37);
var assign = __w_pdfjs_require__(101);
var weak = __w_pdfjs_require__(103);
@ -4819,7 +4822,7 @@ var isObject = __w_pdfjs_require__(2); @@ -4819,7 +4822,7 @@ var isObject = __w_pdfjs_require__(2);
var anInstance = __w_pdfjs_require__(34);
var forOf = __w_pdfjs_require__(23);
var createArrayMethod = __w_pdfjs_require__(56);
var $has = __w_pdfjs_require__(7);
var $has = __w_pdfjs_require__(8);
var validate = __w_pdfjs_require__(57);
var arrayFind = createArrayMethod(5);
var arrayFindIndex = createArrayMethod(6);
@ -4897,7 +4900,7 @@ module.exports = { @@ -4897,7 +4900,7 @@ module.exports = {
var global = __w_pdfjs_require__(4);
var $export = __w_pdfjs_require__(3);
var redefine = __w_pdfjs_require__(8);
var redefine = __w_pdfjs_require__(7);
var redefineAll = __w_pdfjs_require__(36);
var meta = __w_pdfjs_require__(37);
var forOf = __w_pdfjs_require__(23);
@ -5036,7 +5039,7 @@ var pIE = __w_pdfjs_require__(38); @@ -5036,7 +5039,7 @@ var pIE = __w_pdfjs_require__(38);
var createDesc = __w_pdfjs_require__(27);
var toIObject = __w_pdfjs_require__(16);
var toPrimitive = __w_pdfjs_require__(41);
var has = __w_pdfjs_require__(7);
var has = __w_pdfjs_require__(8);
var IE8_DOM_DEFINE = __w_pdfjs_require__(40);
var gOPD = Object.getOwnPropertyDescriptor;
exports.f = __w_pdfjs_require__(11) ? gOPD : function getOwnPropertyDescriptor(O, P) {
@ -8434,7 +8437,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -8434,7 +8437,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.466',
apiVersion: '2.0.468',
source: {
data: source.data,
url: source.url,
@ -9852,8 +9855,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -9852,8 +9855,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.466';
exports.build = build = 'a8e9f6cc';
exports.version = version = '2.0.468';
exports.build = build = '85125965';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

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

73
build/pdf.worker.js vendored

@ -2708,7 +2708,7 @@ exports.LZWStream = LZWStream; @@ -2708,7 +2708,7 @@ exports.LZWStream = LZWStream;
var global = __w_pdfjs_require__(6);
var core = __w_pdfjs_require__(7);
var hide = __w_pdfjs_require__(12);
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
var ctx = __w_pdfjs_require__(11);
var PROTOTYPE = 'prototype';
var $export = function $export(type, name, source) {
@ -2759,7 +2759,7 @@ if (typeof __g == 'number') __g = global; @@ -2759,7 +2759,7 @@ if (typeof __g == 'number') __g = global;
"use strict";
var core = module.exports = { version: '2.5.3' };
var core = module.exports = { version: '2.5.4' };
if (typeof __e == 'number') __e = core;
/***/ }),
@ -2782,21 +2782,9 @@ module.exports = function (it) { @@ -2782,21 +2782,9 @@ module.exports = function (it) {
"use strict";
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/* 10 */
/***/ (function(module, exports, __w_pdfjs_require__) {
"use strict";
var global = __w_pdfjs_require__(6);
var hide = __w_pdfjs_require__(12);
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var SRC = __w_pdfjs_require__(22)('src');
var TO_STRING = 'toString';
var $toString = Function[TO_STRING];
@ -2823,6 +2811,18 @@ __w_pdfjs_require__(7).inspectSource = function (it) { @@ -2823,6 +2811,18 @@ __w_pdfjs_require__(7).inspectSource = function (it) {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/* 10 */
/***/ (function(module, exports, __w_pdfjs_require__) {
"use strict";
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/* 11 */
/***/ (function(module, exports, __w_pdfjs_require__) {
@ -3989,7 +3989,7 @@ module.exports = Object.keys || function keys(O) { @@ -3989,7 +3989,7 @@ module.exports = Object.keys || function keys(O) {
var def = __w_pdfjs_require__(16).f;
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var TAG = __w_pdfjs_require__(2)('toStringTag');
module.exports = function (it, tag, stat) {
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, {
@ -5183,7 +5183,7 @@ module.exports.f = function (C) { @@ -5183,7 +5183,7 @@ module.exports.f = function (C) {
"use strict";
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
module.exports = function (target, src, safe) {
for (var key in src) {
redefine(target, key, src[key], safe);
@ -5201,7 +5201,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol @@ -5201,7 +5201,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var META = __w_pdfjs_require__(22)('meta');
var isObject = __w_pdfjs_require__(3);
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var setDesc = __w_pdfjs_require__(16).f;
var id = 0;
var isExtensible = Object.isExtensible || function () {
@ -10521,7 +10521,7 @@ var classof = __w_pdfjs_require__(33); @@ -10521,7 +10521,7 @@ var classof = __w_pdfjs_require__(33);
var test = {};
test[__w_pdfjs_require__(2)('toStringTag')] = 'z';
if (test + '' != '[object z]') {
__w_pdfjs_require__(10)(Object.prototype, 'toString', function toString() {
__w_pdfjs_require__(9)(Object.prototype, 'toString', function toString() {
return '[object ' + classof(this) + ']';
}, true);
}
@ -10535,9 +10535,8 @@ if (test + '' != '[object z]') { @@ -10535,9 +10535,8 @@ if (test + '' != '[object z]') {
var LIBRARY = __w_pdfjs_require__(52);
var $export = __w_pdfjs_require__(5);
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
var hide = __w_pdfjs_require__(12);
var has = __w_pdfjs_require__(9);
var Iterators = __w_pdfjs_require__(19);
var $iterCreate = __w_pdfjs_require__(95);
var setToStringTag = __w_pdfjs_require__(25);
@ -10573,7 +10572,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE @@ -10573,7 +10572,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
var VALUES_BUG = false;
var proto = Base.prototype;
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
var $default = !BUGGY && $native || getMethod(DEFAULT);
var $default = $native || getMethod(DEFAULT);
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
var methods, key, IteratorPrototype;
@ -10581,7 +10580,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE @@ -10581,7 +10580,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
setToStringTag(IteratorPrototype, TAG, true);
if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
}
}
if (DEF_VALUES && $native && $native.name !== VALUES) {
@ -10645,7 +10644,7 @@ module.exports = document && document.documentElement; @@ -10645,7 +10644,7 @@ module.exports = document && document.documentElement;
var $iterators = __w_pdfjs_require__(100);
var getKeys = __w_pdfjs_require__(24);
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
var global = __w_pdfjs_require__(6);
var hide = __w_pdfjs_require__(12);
var Iterators = __w_pdfjs_require__(19);
@ -22361,8 +22360,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -22361,8 +22360,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22575,7 +22574,7 @@ var WorkerMessageHandler = { @@ -22575,7 +22574,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.466';
var workerVersion = '2.0.468';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
@ -23981,7 +23980,7 @@ module.exports = __w_pdfjs_require__(13) ? Object.defineProperties : function de @@ -23981,7 +23980,7 @@ module.exports = __w_pdfjs_require__(13) ? Object.defineProperties : function de
"use strict";
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var toIObject = __w_pdfjs_require__(18);
var arrayIndexOf = __w_pdfjs_require__(48)(false);
var IE_PROTO = __w_pdfjs_require__(34)('IE_PROTO');
@ -24006,7 +24005,7 @@ module.exports = function (object, names) { @@ -24006,7 +24005,7 @@ module.exports = function (object, names) {
"use strict";
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var toObject = __w_pdfjs_require__(35);
var IE_PROTO = __w_pdfjs_require__(34)('IE_PROTO');
var ObjectProto = Object.prototype;
@ -24121,7 +24120,7 @@ var notify = function notify(promise, isReject) { @@ -24121,7 +24120,7 @@ var notify = function notify(promise, isReject) {
var resolve = reaction.resolve;
var reject = reaction.reject;
var domain = reaction.domain;
var result, then;
var result, then, exited;
try {
if (handler) {
if (!ok) {
@ -24131,7 +24130,10 @@ var notify = function notify(promise, isReject) { @@ -24131,7 +24130,10 @@ var notify = function notify(promise, isReject) {
if (handler === true) result = value;else {
if (domain) domain.enter();
result = handler(value);
if (domain) domain.exit();
if (domain) {
domain.exit();
exited = true;
}
}
if (result === reaction.promise) {
reject(TypeError('Promise-chain cycle'));
@ -24140,6 +24142,7 @@ var notify = function notify(promise, isReject) { @@ -24140,6 +24142,7 @@ var notify = function notify(promise, isReject) {
} else resolve(result);
} else reject(value);
} catch (e) {
if (domain && !exited) domain.exit();
reject(e);
}
};
@ -24563,7 +24566,7 @@ module.exports = __w_pdfjs_require__(7).WeakMap; @@ -24563,7 +24566,7 @@ module.exports = __w_pdfjs_require__(7).WeakMap;
var each = __w_pdfjs_require__(61)(0);
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
var meta = __w_pdfjs_require__(39);
var assign = __w_pdfjs_require__(116);
var weak = __w_pdfjs_require__(118);
@ -24726,7 +24729,7 @@ var isObject = __w_pdfjs_require__(3); @@ -24726,7 +24729,7 @@ var isObject = __w_pdfjs_require__(3);
var anInstance = __w_pdfjs_require__(36);
var forOf = __w_pdfjs_require__(26);
var createArrayMethod = __w_pdfjs_require__(61);
var $has = __w_pdfjs_require__(9);
var $has = __w_pdfjs_require__(10);
var validate = __w_pdfjs_require__(62);
var arrayFind = createArrayMethod(5);
var arrayFindIndex = createArrayMethod(6);
@ -24804,7 +24807,7 @@ module.exports = { @@ -24804,7 +24807,7 @@ module.exports = {
var global = __w_pdfjs_require__(6);
var $export = __w_pdfjs_require__(5);
var redefine = __w_pdfjs_require__(10);
var redefine = __w_pdfjs_require__(9);
var redefineAll = __w_pdfjs_require__(38);
var meta = __w_pdfjs_require__(39);
var forOf = __w_pdfjs_require__(26);
@ -24943,7 +24946,7 @@ var pIE = __w_pdfjs_require__(40); @@ -24943,7 +24946,7 @@ var pIE = __w_pdfjs_require__(40);
var createDesc = __w_pdfjs_require__(29);
var toIObject = __w_pdfjs_require__(18);
var toPrimitive = __w_pdfjs_require__(46);
var has = __w_pdfjs_require__(9);
var has = __w_pdfjs_require__(10);
var IE8_DOM_DEFINE = __w_pdfjs_require__(45);
var gOPD = Object.getOwnPropertyDescriptor;
exports.f = __w_pdfjs_require__(13) ? gOPD : function getOwnPropertyDescriptor(O, P) {

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

2
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

2
lib/core/worker.js

@ -223,7 +223,7 @@ var WorkerMessageHandler = { @@ -223,7 +223,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.466';
var workerVersion = '2.0.468';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

6
lib/display/api.js

@ -232,7 +232,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -232,7 +232,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.466',
apiVersion: '2.0.468',
source: {
data: source.data,
url: source.url,
@ -1650,8 +1650,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1650,8 +1650,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.466';
exports.build = build = 'a8e9f6cc';
exports.version = version = '2.0.468';
exports.build = build = '85125965';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/pdf.js

@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayAPI = require('./display/api.js');
var pdfjsDisplayTextLayer = require('./display/text_layer.js');

4
lib/pdf.worker.js vendored

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
*/
'use strict';
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

4
lib/web/pdf_viewer.component.js

@ -48,8 +48,8 @@ var _pdf_single_page_viewer = require('./pdf_single_page_viewer'); @@ -48,8 +48,8 @@ var _pdf_single_page_viewer = require('./pdf_single_page_viewer');
var _pdf_viewer = require('./pdf_viewer.js');
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
exports.PDFViewer = _pdf_viewer.PDFViewer;
exports.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
exports.PDFPageView = _pdf_page_view.PDFPageView;

2
package.json

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

4
web/pdf_viewer.js

@ -3204,8 +3204,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16); @@ -3204,8 +3204,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16);
var _pdf_viewer = __w_pdfjs_require__(17);
var pdfjsVersion = '2.0.466';
var pdfjsBuild = 'a8e9f6cc';
var pdfjsVersion = '2.0.468';
var pdfjsBuild = '85125965';
exports.PDFViewer = _pdf_viewer.PDFViewer;
exports.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
exports.PDFPageView = _pdf_page_view.PDFPageView;

2
web/pdf_viewer.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save