Socket
Socket
Sign inDemoInstall

js-file-download

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-file-download - npm Package Compare versions

Comparing version 0.4.8 to 0.4.9

8

file-download.js

@@ -28,5 +28,9 @@ module.exports = function(data, filename, mime, bom) {

tempLink.click();
document.body.removeChild(tempLink);
window.URL.revokeObjectURL(blobURL);
// Fixes "webkit blob resource error 1"
setTimeout(function() {
document.body.removeChild(tempLink);
window.URL.revokeObjectURL(blobURL);
}, 0)
}
}
{
"name": "js-file-download",
"version": "0.4.8",
"version": "0.4.9",
"description": "Javascript function that triggers browser to save javascript-generated content to a file",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc