🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-file-download

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-file-download - npm Package Compare versions

Comparing version

to
0.3.1

12

file-download.js

@@ -9,8 +9,8 @@ var React = require('react');

} else {
var csvURL = window.URL.createObjectURL(blob);
var tempLink = document.createElement('a');
tempLink.href = csvURL;
tempLink.setAttribute('download', filename);
tempLink.click();
var csvURL = window.URL.createObjectURL(blob);
var tempLink = document.createElement('a');
tempLink.href = csvURL;
tempLink.setAttribute('download', filename);
tempLink.click();
}
}
}
{
"name": "react-file-download",
"version": "0.3.0",
"version": "0.3.1",
"description": "React component that trigger browser to save javascript-generated content to a file",

@@ -5,0 +5,0 @@ "main": "file-download.js",