Loading browser/extensions/pdfjs/README.mozilla +2 −2 Original line number Diff line number Diff line This is the PDF.js project output, https://github.com/mozilla/pdf.js Current extension version is: 2.2.91 Current extension version is: 2.2.100 Taken from upstream commit: bce9ff73 Taken from upstream commit: f9c58115 browser/extensions/pdfjs/content/build/pdf.js +6 −6 Original line number Diff line number Diff line Loading @@ -123,8 +123,8 @@ return /******/ (function(modules) { // webpackBootstrap "use strict"; var pdfjsVersion = '2.2.91'; var pdfjsBuild = 'bce9ff73'; var pdfjsVersion = '2.2.100'; var pdfjsBuild = 'f9c58115'; var pdfjsSharedUtil = __w_pdfjs_require__(1); Loading Loading @@ -1301,7 +1301,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { return worker.messageHandler.sendWithPromise('GetDocRequest', { docId, apiVersion: '2.2.91', apiVersion: '2.2.100', source: { data: source.data, url: source.url, Loading Loading @@ -3059,9 +3059,9 @@ const InternalRenderTask = function InternalRenderTaskClosure() { return InternalRenderTask; }(); const version = '2.2.91'; const version = '2.2.100'; exports.version = version; const build = 'bce9ff73'; const build = 'f9c58115'; exports.build = build; /***/ }), Loading Loading @@ -9707,7 +9707,7 @@ exports.SVGGraphics = SVGGraphics; module.exports = function isNodeJS() { return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw']; return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw'] && !process.versions['electron']; }; /***/ }) Loading browser/extensions/pdfjs/content/build/pdf.worker.js +16 −10 Original line number Diff line number Diff line Loading @@ -123,8 +123,8 @@ return /******/ (function(modules) { // webpackBootstrap "use strict"; const pdfjsVersion = '2.2.91'; const pdfjsBuild = 'bce9ff73'; const pdfjsVersion = '2.2.100'; const pdfjsBuild = 'f9c58115'; const pdfjsCoreWorker = __w_pdfjs_require__(1); Loading Loading @@ -378,7 +378,7 @@ var WorkerMessageHandler = { var WorkerTasks = []; const verbosity = (0, _util.getVerbosityLevel)(); let apiVersion = docParams.apiVersion; let workerVersion = '2.2.91'; let workerVersion = '2.2.100'; if (apiVersion !== workerVersion) { throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`); Loading Loading @@ -20264,7 +20264,10 @@ var PartialEvaluator = function PartialEvaluatorClosure() { var fontCapability = (0, _util.createPromiseCapability)(); var preEvaluatedFont = this.preEvaluateFont(font); var descriptor = preEvaluatedFont.descriptor; const { descriptor, hash } = preEvaluatedFont; var fontRefIsRef = (0, _primitives.isRef)(fontRef), fontID; Loading @@ -20272,13 +20275,12 @@ var PartialEvaluator = function PartialEvaluatorClosure() { fontID = fontRef.toString(); } if ((0, _primitives.isDict)(descriptor)) { if (hash && (0, _primitives.isDict)(descriptor)) { if (!descriptor.fontAliases) { descriptor.fontAliases = Object.create(null); } var fontAliases = descriptor.fontAliases; var hash = preEvaluatedFont.hash; if (fontAliases[hash]) { var aliasFontRef = fontAliases[hash].aliasRef; Loading Loading @@ -20334,7 +20336,6 @@ var PartialEvaluator = function PartialEvaluatorClosure() { }); try { var descriptor = preEvaluatedFont.descriptor; var fontFile3 = descriptor && descriptor.get('FontFile3'); var subtype = fontFile3 && fontFile3.get('Subtype'); var fontType = (0, _fonts.getFontType)(preEvaluatedFont.type, subtype && subtype.name); Loading Loading @@ -21877,6 +21878,9 @@ var PartialEvaluator = function PartialEvaluatorClosure() { } } const firstChar = dict.get('FirstChar') || 0; const lastChar = dict.get('LastChar') || (composite ? 0xFFFF : 0xFF); hash.update(`${firstChar}-${lastChar}`); var toUnicode = dict.get('ToUnicode') || baseDict.get('ToUnicode'); if ((0, _primitives.isStream)(toUnicode)) { Loading Loading @@ -26826,16 +26830,18 @@ var CFFFont = function CFFFontClosure() { if (properties.composite) { charCodeToGlyphId = Object.create(null); let charCode; if (cff.isCIDFont) { for (glyphId = 0; glyphId < charsets.length; glyphId++) { var cid = charsets[glyphId]; var charCode = properties.cMap.charCodeOf(cid); charCode = properties.cMap.charCodeOf(cid); charCodeToGlyphId[charCode] = glyphId; } } else { for (glyphId = 0; glyphId < cff.charStrings.count; glyphId++) { charCodeToGlyphId[glyphId] = glyphId; charCode = properties.cMap.charCodeOf(glyphId); charCodeToGlyphId[charCode] = glyphId; } } Loading Loading @@ -44298,7 +44304,7 @@ exports.PDFImage = PDFImage; module.exports = function isNodeJS() { return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw']; return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw'] && !process.versions['electron']; }; /***/ }), browser/extensions/pdfjs/moz.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ origin: # Human-readable identifier for this version/release # Generally "version NNN", "tag SSS", "bookmark SSS" release: version 2.2.91 release: version 2.2.100 # The package's license, where possible using the mnemonic from # https://spdx.org/licenses/ Loading Loading
browser/extensions/pdfjs/README.mozilla +2 −2 Original line number Diff line number Diff line This is the PDF.js project output, https://github.com/mozilla/pdf.js Current extension version is: 2.2.91 Current extension version is: 2.2.100 Taken from upstream commit: bce9ff73 Taken from upstream commit: f9c58115
browser/extensions/pdfjs/content/build/pdf.js +6 −6 Original line number Diff line number Diff line Loading @@ -123,8 +123,8 @@ return /******/ (function(modules) { // webpackBootstrap "use strict"; var pdfjsVersion = '2.2.91'; var pdfjsBuild = 'bce9ff73'; var pdfjsVersion = '2.2.100'; var pdfjsBuild = 'f9c58115'; var pdfjsSharedUtil = __w_pdfjs_require__(1); Loading Loading @@ -1301,7 +1301,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { return worker.messageHandler.sendWithPromise('GetDocRequest', { docId, apiVersion: '2.2.91', apiVersion: '2.2.100', source: { data: source.data, url: source.url, Loading Loading @@ -3059,9 +3059,9 @@ const InternalRenderTask = function InternalRenderTaskClosure() { return InternalRenderTask; }(); const version = '2.2.91'; const version = '2.2.100'; exports.version = version; const build = 'bce9ff73'; const build = 'f9c58115'; exports.build = build; /***/ }), Loading Loading @@ -9707,7 +9707,7 @@ exports.SVGGraphics = SVGGraphics; module.exports = function isNodeJS() { return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw']; return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw'] && !process.versions['electron']; }; /***/ }) Loading
browser/extensions/pdfjs/content/build/pdf.worker.js +16 −10 Original line number Diff line number Diff line Loading @@ -123,8 +123,8 @@ return /******/ (function(modules) { // webpackBootstrap "use strict"; const pdfjsVersion = '2.2.91'; const pdfjsBuild = 'bce9ff73'; const pdfjsVersion = '2.2.100'; const pdfjsBuild = 'f9c58115'; const pdfjsCoreWorker = __w_pdfjs_require__(1); Loading Loading @@ -378,7 +378,7 @@ var WorkerMessageHandler = { var WorkerTasks = []; const verbosity = (0, _util.getVerbosityLevel)(); let apiVersion = docParams.apiVersion; let workerVersion = '2.2.91'; let workerVersion = '2.2.100'; if (apiVersion !== workerVersion) { throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`); Loading Loading @@ -20264,7 +20264,10 @@ var PartialEvaluator = function PartialEvaluatorClosure() { var fontCapability = (0, _util.createPromiseCapability)(); var preEvaluatedFont = this.preEvaluateFont(font); var descriptor = preEvaluatedFont.descriptor; const { descriptor, hash } = preEvaluatedFont; var fontRefIsRef = (0, _primitives.isRef)(fontRef), fontID; Loading @@ -20272,13 +20275,12 @@ var PartialEvaluator = function PartialEvaluatorClosure() { fontID = fontRef.toString(); } if ((0, _primitives.isDict)(descriptor)) { if (hash && (0, _primitives.isDict)(descriptor)) { if (!descriptor.fontAliases) { descriptor.fontAliases = Object.create(null); } var fontAliases = descriptor.fontAliases; var hash = preEvaluatedFont.hash; if (fontAliases[hash]) { var aliasFontRef = fontAliases[hash].aliasRef; Loading Loading @@ -20334,7 +20336,6 @@ var PartialEvaluator = function PartialEvaluatorClosure() { }); try { var descriptor = preEvaluatedFont.descriptor; var fontFile3 = descriptor && descriptor.get('FontFile3'); var subtype = fontFile3 && fontFile3.get('Subtype'); var fontType = (0, _fonts.getFontType)(preEvaluatedFont.type, subtype && subtype.name); Loading Loading @@ -21877,6 +21878,9 @@ var PartialEvaluator = function PartialEvaluatorClosure() { } } const firstChar = dict.get('FirstChar') || 0; const lastChar = dict.get('LastChar') || (composite ? 0xFFFF : 0xFF); hash.update(`${firstChar}-${lastChar}`); var toUnicode = dict.get('ToUnicode') || baseDict.get('ToUnicode'); if ((0, _primitives.isStream)(toUnicode)) { Loading Loading @@ -26826,16 +26830,18 @@ var CFFFont = function CFFFontClosure() { if (properties.composite) { charCodeToGlyphId = Object.create(null); let charCode; if (cff.isCIDFont) { for (glyphId = 0; glyphId < charsets.length; glyphId++) { var cid = charsets[glyphId]; var charCode = properties.cMap.charCodeOf(cid); charCode = properties.cMap.charCodeOf(cid); charCodeToGlyphId[charCode] = glyphId; } } else { for (glyphId = 0; glyphId < cff.charStrings.count; glyphId++) { charCodeToGlyphId[glyphId] = glyphId; charCode = properties.cMap.charCodeOf(glyphId); charCodeToGlyphId[charCode] = glyphId; } } Loading Loading @@ -44298,7 +44304,7 @@ exports.PDFImage = PDFImage; module.exports = function isNodeJS() { return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw']; return typeof process === 'object' && process + '' === '[object process]' && !process.versions['nw'] && !process.versions['electron']; }; /***/ }),
browser/extensions/pdfjs/moz.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ origin: # Human-readable identifier for this version/release # Generally "version NNN", "tag SSS", "bookmark SSS" release: version 2.2.91 release: version 2.2.100 # The package's license, where possible using the mnemonic from # https://spdx.org/licenses/ Loading