version bump 0.5.2: chores

- node jszip updated to 2.1.0 as per https://github.com/Stuk/jszip/issues/84
- travis 0.8 tests restored
- get_formulae ignores undefined values
- updated test_files to 20140206
This commit is contained in:
SheetJS 2014-02-06 17:02:11 -05:00
parent 972897c9ae
commit 99d879ee30
6 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
language: node_js
node_js:
- "0.10"
# - "0.8"
- "0.8"
before_install:
- "npm install -g mocha"
- "npm install blanket"

View File

@ -1 +1 @@
XLSX.version = '0.5.1';
XLSX.version = '0.5.2';

View File

@ -89,6 +89,7 @@ function get_formulae(ws) {
var x = ws[y];
var val = "";
if(x.f) val = x.f;
else if(typeof x.v === 'undefined') continue;
else if(typeof x.v === 'number') val = x.v;
else val = x.v;
cmds.push(y + "=" + val);

View File

@ -1,6 +1,6 @@
{
"name": "xlsx",
"version": "0.5.1",
"version": "0.5.2",
"author": "sheetjs",
"description": "XLSB / XLSX / XLSM parser",
"keywords": [ "xlsx", "xlsb", "xlsm", "office", "excel", "spreadsheet" ],
@ -11,7 +11,7 @@
"dependencies": {
"ssf":">=0.5.5",
"codepage":"",
"jszip":"~0.2.1",
"jszip":"~2.1.0",
"commander":""
},
"devDependencies": {

@ -1 +1 @@
Subproject commit dc341311b12ebd490dd876086e822eb992f45e49
Subproject commit a2d49d344622e1bd657f03e829c24d9b24a942af

View File

@ -420,7 +420,7 @@ SSF.load_table = function(tbl) { for(var i=0; i!=0x0188; ++i) if(tbl[i]) SSF.loa
make_ssf(SSF);
var XLSX = {};
(function(XLSX){
XLSX.version = '0.5.1';
XLSX.version = '0.5.2';
var current_codepage, current_cptable, cptable;
if(typeof module !== "undefined" && typeof require !== 'undefined') {
if(typeof cptable === 'undefined') cptable = require('codepage');
@ -2814,6 +2814,7 @@ function get_formulae(ws) {
var x = ws[y];
var val = "";
if(x.f) val = x.f;
else if(typeof x.v === 'undefined') continue;
else if(typeof x.v === 'number') val = x.v;
else val = x.v;
cmds.push(y + "=" + val);