Compare commits
1 Commits
master
...
maybeswapn
Author | SHA1 | Date | |
---|---|---|---|
|
85dbed8b2c |
@ -173,7 +173,11 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh
|
||||
}
|
||||
}
|
||||
}
|
||||
if(range.s.c < 10000000) ws['!ref'] = encode_range(range);
|
||||
if(range.s.c < 10000000) {
|
||||
if(range.s.c > _C) range.s.c = _C;
|
||||
if(range.s.r > _R) range.s.r = _R;
|
||||
ws['!ref'] = encode_range(range);
|
||||
}
|
||||
return ws;
|
||||
}
|
||||
function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); }
|
||||
|
@ -54,8 +54,7 @@
|
||||
"fs": false
|
||||
},
|
||||
"sideEffects": false,
|
||||
"dependencies": {
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@sheetjs/uglify-js": "~2.7.3",
|
||||
"@types/node": "^8.5.9",
|
||||
|
@ -4423,7 +4423,11 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh
|
||||
}
|
||||
}
|
||||
}
|
||||
if(range.s.c < 10000000) ws['!ref'] = encode_range(range);
|
||||
if(range.s.c < 10000000) {
|
||||
if(range.s.c > _C) range.s.c = _C;
|
||||
if(range.s.r > _R) range.s.r = _R;
|
||||
ws['!ref'] = encode_range(range);
|
||||
}
|
||||
return ws;
|
||||
}
|
||||
function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); }
|
||||
|
6
xlsx.js
generated
6
xlsx.js
generated
@ -4338,7 +4338,11 @@ function sheet_add_aoa(_ws, data, opts) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(range.s.c < 10000000) ws['!ref'] = encode_range(range);
|
||||
if(range.s.c < 10000000) {
|
||||
if(range.s.c > _C) range.s.c = _C;
|
||||
if(range.s.r > _R) range.s.r = _R;
|
||||
ws['!ref'] = encode_range(range);
|
||||
}
|
||||
return ws;
|
||||
}
|
||||
function aoa_to_sheet(data, opts) { return sheet_add_aoa(null, data, opts); }
|
||||
|
Loading…
Reference in New Issue
Block a user