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

ember-cli-data-export

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-data-export - npm Package Compare versions

Comparing version

to
0.0.12

@@ -5,3 +5,3 @@ import Ember from "ember";

exportAsCsv: function (data, fileName) {
export: function (data, fileName) {

@@ -22,3 +22,3 @@ if (!fileName) {

var line = '';
var value = head[index] + "";
var value = head[i] + "";
line += '"' + value.replace(/"/g, '""') + '",';

@@ -33,3 +33,3 @@ }

for (var index in array[i]) {
for (var index = 0; index < array[i].length; index++) {
var value = array[i][index] + "";

@@ -36,0 +36,0 @@ line += '"' + value.replace(/"/g, '""') + '",';

@@ -5,3 +5,3 @@ import Ember from "ember";

exportAsExcel : function(data, sheetName, fileName) {
export : function(data, sheetName, fileName) {

@@ -8,0 +8,0 @@ if (!sheetName) {

{
"name": "ember-cli-data-export",
"version": "0.0.11",
"version": "0.0.12",
"author" : "Matt Armstrong",

@@ -5,0 +5,0 @@ "description": "Provides ability to export a set of json data as excel or csv file.",

Sorry, the diff of this file is not supported yet