Skip to content

Commit

Permalink
Upgraded browser-filesaver to file-saver (the official version) (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto authored Jan 17, 2017
1 parent 61f4876 commit a56dc1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"babel-polyfill": "6.8.0",
"babel-standalone": "6.7.7",
"bootstrap": "3.3.6",
"browser-filesaver": "1.1.1",
"file-saver": "1.3.3",
"canvas-to-blob": "0.0.0",
"classnames": "2.2.5",
"colorbrewer": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion web/client/actions/__tests__/snapshot-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var {
onSnapshotReady,
saveImage
} = require('../snapshot');
var FileSaver = require('browser-filesaver');
var FileSaver = require('file-saver');
var originalSaveAs = FileSaver.saveAs;
var testImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMLEC8BMwzneAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAMSURBVAjXY/j//z8ABf4C/tzMWecAAAAASUVORK5CYII=";
describe('Test correctness of the snapshot actions', () => {
Expand Down
2 changes: 1 addition & 1 deletion web/client/utils/FileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* LICENSE file in the root directory of this source tree.
*/

const FileSaver = require('browser-filesaver');
const FileSaver = require('file-saver');
const toBlob = require('canvas-to-blob');
const shp = require('shpjs');

Expand Down

0 comments on commit a56dc1a

Please sign in to comment.