Comparing version 0.1.5 to 0.1.6
@@ -7,3 +7,4 @@ "use strict"; | ||
BaseBuilder.prototype.exportFile = function (dataType, fileName, data) { | ||
var content = "data:text/" + dataType + ";charset=utf-8,%EF%BB%BF" + data; | ||
var charBom = "\uFEFF"; | ||
var content = "data:text/" + dataType + ";charset=utf-8," + charBom + data; | ||
var encodedUri = encodeURI(content); | ||
@@ -10,0 +11,0 @@ var link = document.createElement("a"); |
{ | ||
"name": "filefy", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A javascript library to produce downloadable files sucs as in CSV, PDF, XLSX, DOCX formats", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6132
88