"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/modules/types/visual_attachment.js" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

visual_attachment.js  (Signal-Desktop-1.35.2):visual_attachment.js  (Signal-Desktop-1.36.1)
/* global document, URL, Blob */ /* global document, URL, Blob */
const loadImage = require('blueimp-load-image'); const loadImage = require('blueimp-load-image');
const { toLogFormat } = require('./errors');
const dataURLToBlobSync = require('blueimp-canvas-to-blob'); const dataURLToBlobSync = require('blueimp-canvas-to-blob');
const { blobToArrayBuffer } = require('blob-util'); const { blobToArrayBuffer } = require('blob-util');
const { toLogFormat } = require('./errors');
const { const {
arrayBufferToObjectURL, arrayBufferToObjectURL,
} = require('../../../ts/util/arrayBufferToObjectURL'); } = require('../../../ts/util/arrayBufferToObjectURL');
exports.blobToArrayBuffer = blobToArrayBuffer; exports.blobToArrayBuffer = blobToArrayBuffer;
exports.getImageDimensions = ({ objectUrl, logger }) => exports.getImageDimensions = ({ objectUrl, logger }) =>
new Promise((resolve, reject) => { new Promise((resolve, reject) => {
const image = document.createElement('img'); const image = document.createElement('img');
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)