Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-json-to-csv-async

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-json-to-csv-async - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "vue-json-to-csv-async",
"version": "1.0.4",
"version": "1.0.5",
"description": "A Vue.js 2 component to transform and download a json in csv format. It also accepts promises as value.",

@@ -5,0 +5,0 @@ "main": "dist/vue-json-to-csv.js",

@@ -60,8 +60,8 @@ module.exports = {

try {
let uri = 'data:text/csv;charset=utf-8,' + '\uFEFF' + encodeURIComponent(csv)
let csvData = new Blob([csv], { type: 'text/csv;charset=utf-8' });
let csvUrl = URL.createObjectURL(csvData);
let link = document.createElement('a')
link.id = 'csv-' + uid
link.href = uri
link.href = csvUrl

@@ -68,0 +68,0 @@ document.body.appendChild(link)

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