excel-row-stream
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,5 +10,5 @@ 'use strict'; | ||
var ssf = require('ssf'); | ||
var Array = require('fp-ts/Array'); | ||
var fs = require('fs'); | ||
var tmp = require('tmp'); | ||
var Array = require('fp-ts/Array'); | ||
@@ -146,2 +146,63 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
function format({ formatId, hasFormatCodes, formatCodes, date1904, value, }) { | ||
if (hasFormatCodes && formatId !== undefined) { | ||
const format = formatCodes[formatId]; | ||
if (format !== undefined && format !== "General") { | ||
try { | ||
return ssf__default["default"].format(format, Number(value), { date1904 }); | ||
} | ||
catch (e) { | ||
// DO NOTHING | ||
} | ||
} | ||
} | ||
if (formatId) { | ||
try { | ||
return ssf__default["default"].format(Number(formatId), Number(value), { | ||
date1904, | ||
}); | ||
} | ||
catch (e) { | ||
// DO NOTHING | ||
} | ||
} | ||
const numValue = parseFloat(value); | ||
if (!isNaN(numValue)) { | ||
return numValue; | ||
} | ||
return value; | ||
} | ||
function isEmpyRow(row) { | ||
return row.values.every((v) => v === undefined || v === null); | ||
} | ||
const dropEmpty = Array.reduceRight([], (v, arr) => { | ||
if (arr.length === 0 && (v === undefined || v === null)) { | ||
return arr; | ||
} | ||
arr.unshift(v); | ||
return arr; | ||
}); | ||
function dropEmptyValues({ index, values }) { | ||
return { | ||
index, | ||
values: dropEmpty(values), | ||
}; | ||
} | ||
async function asyncIterate(arr, fn) { | ||
for await (const el of arr) { | ||
await fn(el); | ||
} | ||
} | ||
function getFormatId(strId) { | ||
if (!strId) { | ||
return null; | ||
} | ||
const id = parseInt(strId, 10); | ||
if (isNaN(id)) { | ||
return null; | ||
} | ||
return id; | ||
} | ||
function parseWorkSheet(entry, path, number) { | ||
@@ -198,36 +259,13 @@ return Promise.resolve({ | ||
} | ||
if (styles.hasFormatCodes) { | ||
const formatId = parseInt(node.attributes.s, 10); | ||
const fullFormatId = Number.isNaN(formatId) | ||
? 0 | ||
: styles.xfs[formatId].attributes.numFmtId; | ||
if (fullFormatId !== undefined) { | ||
const format = styles.formatCodes[fullFormatId]; | ||
if (format === undefined) { | ||
try { | ||
return ssf__default["default"].format(Number(fullFormatId), Number(cell.value), { | ||
date1904, | ||
}); | ||
} | ||
catch (e) { | ||
return ""; | ||
} | ||
} | ||
else if (format !== "General") { | ||
try { | ||
return ssf__default["default"].format(format, Number(cell.value), { date1904 }); | ||
} | ||
catch (e) { | ||
return ""; | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
const numValue = parseFloat(cell.value); | ||
if (!isNaN(numValue)) { | ||
return numValue; | ||
} | ||
} | ||
return cell.value; | ||
const cellFormatId = getFormatId(node.attributes.s); | ||
const formatId = cellFormatId | ||
? styles.xfs[cellFormatId].attributes.numFmtId | ||
: 0; | ||
return format({ | ||
formatId, | ||
hasFormatCodes: styles.hasFormatCodes, | ||
formatCodes: styles.formatCodes, | ||
date1904, | ||
value: cell.value, | ||
}); | ||
} | ||
@@ -264,24 +302,2 @@ function getSheetName(info, rels, path) { | ||
function isEmpyRow(row) { | ||
return row.values.every((v) => v === undefined || v === null); | ||
} | ||
const dropEmpty = Array.reduceRight([], (v, arr) => { | ||
if (arr.length === 0 && (v === undefined || v === null)) { | ||
return arr; | ||
} | ||
arr.unshift(v); | ||
return arr; | ||
}); | ||
function dropEmptyValues({ index, values }) { | ||
return { | ||
index, | ||
values: dropEmpty(values), | ||
}; | ||
} | ||
async function asyncIterate(arr, fn) { | ||
for await (const el of arr) { | ||
await fn(el); | ||
} | ||
} | ||
const entryMatch = new Map([ | ||
@@ -329,3 +345,3 @@ [/^xl\/workbook\.xml/, EntryType.Info], | ||
let sharedStrings; | ||
// worksheets, deferred for parsing after shared strings reading | ||
// worksheets, deferred for parsing after all meta is parsed | ||
const deferredSheets = []; | ||
@@ -332,0 +348,0 @@ async function streamWorkSheet(workSheetStream) { |
@@ -5,1 +5,2 @@ import { Row } from "./types"; | ||
export declare function asyncIterate<T>(arr: T[], fn: (i: T) => Promise<void>): Promise<void>; | ||
export declare function getFormatId(strId?: string): null | number; |
{"/Users/velocityzen/Projects/excel-row-stream/lib/deferred.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/deferred.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":43}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":22}},"3":{"start":{"line":12,"column":2},"end":{"line":28,"column":5}},"4":{"start":{"line":13,"column":4},"end":{"line":27,"column":7}},"5":{"start":{"line":14,"column":6},"end":{"line":16,"column":null}},"6":{"start":{"line":15,"column":8},"end":{"line":15,"column":27}},"7":{"start":{"line":18,"column":6},"end":{"line":26,"column":23}},"8":{"start":{"line":20,"column":10},"end":{"line":24,"column":12}},"9":{"start":{"line":8,"column":0},"end":{"line":8,"column":7}},"10":{"start":{"line":43,"column":2},"end":{"line":43,"column":30}},"11":{"start":{"line":42,"column":0},"end":{"line":42,"column":16}},"12":{"start":{"line":47,"column":2},"end":{"line":49,"column":null}},"13":{"start":{"line":48,"column":4},"end":{"line":48,"column":57}},"14":{"start":{"line":51,"column":2},"end":{"line":51,"column":22}},"15":{"start":{"line":46,"column":0},"end":{"line":46,"column":16}}},"fnMap":{"0":{"name":"deferSheet","decl":{"start":{"line":8,"column":22},"end":{"line":8,"column":32}},"loc":{"start":{"line":10,"column":18},"end":{"line":29,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":21},"end":{"line":12,"column":22}},"loc":{"start":{"line":12,"column":41},"end":{"line":28,"column":3}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":13,"column":13},"end":{"line":13,"column":14}},"loc":{"start":{"line":13,"column":56},"end":{"line":27,"column":5}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":19,"column":14},"end":{"line":19,"column":17}},"loc":{"start":{"line":20,"column":10},"end":{"line":24,"column":12}}},"4":{"name":"isTempStream","decl":{"start":{"line":42,"column":16},"end":{"line":42,"column":28}},"loc":{"start":{"line":42,"column":52},"end":{"line":44,"column":1}}},"5":{"name":"getSheetStream","decl":{"start":{"line":46,"column":16},"end":{"line":46,"column":30}},"loc":{"start":{"line":46,"column":54},"end":{"line":52,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":6},"end":{"line":16,"column":null}},"type":"if","locations":[{"start":{"line":14,"column":6},"end":{"line":16,"column":null}}]},"1":{"loc":{"start":{"line":47,"column":2},"end":{"line":49,"column":null}},"type":"if","locations":[{"start":{"line":47,"column":2},"end":{"line":49,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":6,"4":6,"5":6,"6":0,"7":6,"8":6,"9":1,"10":16,"11":1,"12":8,"13":6,"14":2,"15":1},"f":{"0":6,"1":6,"2":6,"3":6,"4":16,"5":8},"b":{"0":[0],"1":[6]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/file.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/file.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":34}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":43}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":51}},"4":{"start":{"line":18,"column":21},"end":{"line":18,"column":43}},"5":{"start":{"line":19,"column":23},"end":{"line":19,"column":54}},"6":{"start":{"line":20,"column":21},"end":{"line":30,"column":4}},"7":{"start":{"line":23,"column":6},"end":{"line":28,"column":null}},"8":{"start":{"line":24,"column":8},"end":{"line":24,"column":19}},"9":{"start":{"line":25,"column":8},"end":{"line":25,"column":19}},"10":{"start":{"line":27,"column":8},"end":{"line":27,"column":45}},"11":{"start":{"line":32,"column":2},"end":{"line":32,"column":55}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":7}}},"fnMap":{"0":{"name":"parseExcelRows","decl":{"start":{"line":13,"column":22},"end":{"line":13,"column":36}},"loc":{"start":{"line":17,"column":24},"end":{"line":33,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":22,"column":4},"end":{"line":22,"column":9}},"loc":{"start":{"line":22,"column":39},"end":{"line":29,"column":5}}}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":9,"5":9,"6":9,"7":80040,"8":80040,"9":80040,"10":0,"11":9,"12":1},"f":{"0":9,"1":80040},"b":{}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/helpers.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/helpers.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},"1":{"start":{"line":5,"column":2},"end":{"line":5,"column":64}},"2":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":16}},"4":{"start":{"line":8,"column":18},"end":{"line":15,"column":2}},"5":{"start":{"line":9,"column":2},"end":{"line":11,"column":null}},"6":{"start":{"line":10,"column":4},"end":{"line":10,"column":15}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":17}},"8":{"start":{"line":14,"column":2},"end":{"line":14,"column":13}},"9":{"start":{"line":18,"column":2},"end":{"line":21,"column":4}},"10":{"start":{"line":17,"column":0},"end":{"line":17,"column":16}},"11":{"start":{"line":28,"column":2},"end":{"line":30,"column":null}},"12":{"start":{"line":29,"column":4},"end":{"line":29,"column":17}},"13":{"start":{"line":24,"column":0},"end":{"line":24,"column":7}}},"fnMap":{"0":{"name":"isEmpyRow","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":25}},"loc":{"start":{"line":4,"column":34},"end":{"line":6,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":26},"end":{"line":5,"column":27}},"loc":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":34},"end":{"line":8,"column":35}},"loc":{"start":{"line":8,"column":56},"end":{"line":15,"column":1}}},"3":{"name":"dropEmptyValues","decl":{"start":{"line":17,"column":16},"end":{"line":17,"column":31}},"loc":{"start":{"line":17,"column":54},"end":{"line":22,"column":1}}},"4":{"name":"asyncIterate","decl":{"start":{"line":24,"column":22},"end":{"line":24,"column":34}},"loc":{"start":{"line":26,"column":29},"end":{"line":31,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}},"type":"binary-expr","locations":[{"start":{"line":5,"column":33},"end":{"line":5,"column":48}},{"start":{"line":5,"column":52},"end":{"line":5,"column":62}}]},"1":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":null}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":null}}]},"2":{"loc":{"start":{"line":9,"column":6},"end":{"line":9,"column":57}},"type":"binary-expr","locations":[{"start":{"line":9,"column":6},"end":{"line":9,"column":22}},{"start":{"line":9,"column":27},"end":{"line":9,"column":42}},{"start":{"line":9,"column":46},"end":{"line":9,"column":56}}]}},"s":{"0":1,"1":4,"2":4,"3":1,"4":1,"5":0,"6":0,"7":0,"8":0,"9":0,"10":1,"11":6,"12":6,"13":1},"f":{"0":4,"1":4,"2":0,"3":0,"4":6},"b":{"0":[4,4],"1":[0],"2":[0,0,0]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/format.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/format.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},"1":{"start":{"line":18,"column":2},"end":{"line":28,"column":null}},"2":{"start":{"line":19,"column":19},"end":{"line":19,"column":40}},"3":{"start":{"line":21,"column":4},"end":{"line":27,"column":null}},"4":{"start":{"line":22,"column":6},"end":{"line":26,"column":null}},"5":{"start":{"line":23,"column":8},"end":{"line":23,"column":63}},"6":{"start":{"line":30,"column":2},"end":{"line":38,"column":null}},"7":{"start":{"line":31,"column":4},"end":{"line":37,"column":null}},"8":{"start":{"line":32,"column":6},"end":{"line":34,"column":9}},"9":{"start":{"line":40,"column":19},"end":{"line":40,"column":46}},"10":{"start":{"line":41,"column":2},"end":{"line":43,"column":null}},"11":{"start":{"line":42,"column":4},"end":{"line":42,"column":20}},"12":{"start":{"line":45,"column":2},"end":{"line":45,"column":15}},"13":{"start":{"line":11,"column":0},"end":{"line":11,"column":16}}},"fnMap":{"0":{"name":"format","decl":{"start":{"line":11,"column":16},"end":{"line":11,"column":22}},"loc":{"start":{"line":17,"column":16},"end":{"line":46,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":2},"end":{"line":28,"column":null}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":28,"column":null}}]},"1":{"loc":{"start":{"line":18,"column":6},"end":{"line":18,"column":46}},"type":"binary-expr","locations":[{"start":{"line":18,"column":6},"end":{"line":18,"column":20}},{"start":{"line":18,"column":24},"end":{"line":18,"column":46}}]},"2":{"loc":{"start":{"line":21,"column":4},"end":{"line":27,"column":null}},"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":27,"column":null}}]},"3":{"loc":{"start":{"line":21,"column":8},"end":{"line":21,"column":52}},"type":"binary-expr","locations":[{"start":{"line":21,"column":8},"end":{"line":21,"column":28}},{"start":{"line":21,"column":32},"end":{"line":21,"column":52}}]},"4":{"loc":{"start":{"line":30,"column":2},"end":{"line":38,"column":null}},"type":"if","locations":[{"start":{"line":30,"column":2},"end":{"line":38,"column":null}}]},"5":{"loc":{"start":{"line":41,"column":2},"end":{"line":43,"column":null}},"type":"if","locations":[{"start":{"line":41,"column":2},"end":{"line":43,"column":null}}]}},"s":{"0":1,"1":240038,"2":22,"3":22,"4":2,"5":2,"6":240036,"7":80019,"8":80019,"9":160017,"10":160017,"11":3,"12":160014,"13":1},"f":{"0":240038},"b":{"0":[22],"1":[240038,22],"2":[2],"3":[22,15],"4":[80019],"5":[3]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/helpers.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/helpers.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},"1":{"start":{"line":5,"column":2},"end":{"line":5,"column":64}},"2":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":16}},"4":{"start":{"line":8,"column":18},"end":{"line":15,"column":2}},"5":{"start":{"line":9,"column":2},"end":{"line":11,"column":null}},"6":{"start":{"line":10,"column":4},"end":{"line":10,"column":15}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":17}},"8":{"start":{"line":14,"column":2},"end":{"line":14,"column":13}},"9":{"start":{"line":18,"column":2},"end":{"line":21,"column":4}},"10":{"start":{"line":17,"column":0},"end":{"line":17,"column":16}},"11":{"start":{"line":28,"column":2},"end":{"line":30,"column":null}},"12":{"start":{"line":29,"column":4},"end":{"line":29,"column":17}},"13":{"start":{"line":24,"column":0},"end":{"line":24,"column":7}},"14":{"start":{"line":34,"column":2},"end":{"line":36,"column":null}},"15":{"start":{"line":35,"column":4},"end":{"line":35,"column":16}},"16":{"start":{"line":38,"column":13},"end":{"line":38,"column":32}},"17":{"start":{"line":39,"column":2},"end":{"line":41,"column":null}},"18":{"start":{"line":40,"column":4},"end":{"line":40,"column":16}},"19":{"start":{"line":43,"column":2},"end":{"line":43,"column":12}},"20":{"start":{"line":33,"column":0},"end":{"line":33,"column":16}}},"fnMap":{"0":{"name":"isEmpyRow","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":25}},"loc":{"start":{"line":4,"column":34},"end":{"line":6,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":26},"end":{"line":5,"column":27}},"loc":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":34},"end":{"line":8,"column":35}},"loc":{"start":{"line":8,"column":56},"end":{"line":15,"column":1}}},"3":{"name":"dropEmptyValues","decl":{"start":{"line":17,"column":16},"end":{"line":17,"column":31}},"loc":{"start":{"line":17,"column":54},"end":{"line":22,"column":1}}},"4":{"name":"asyncIterate","decl":{"start":{"line":24,"column":22},"end":{"line":24,"column":34}},"loc":{"start":{"line":26,"column":29},"end":{"line":31,"column":1}}},"5":{"name":"getFormatId","decl":{"start":{"line":33,"column":16},"end":{"line":33,"column":27}},"loc":{"start":{"line":33,"column":42},"end":{"line":44,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":33},"end":{"line":5,"column":62}},"type":"binary-expr","locations":[{"start":{"line":5,"column":33},"end":{"line":5,"column":48}},{"start":{"line":5,"column":52},"end":{"line":5,"column":62}}]},"1":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":null}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":null}}]},"2":{"loc":{"start":{"line":9,"column":6},"end":{"line":9,"column":57}},"type":"binary-expr","locations":[{"start":{"line":9,"column":6},"end":{"line":9,"column":22}},{"start":{"line":9,"column":27},"end":{"line":9,"column":42}},{"start":{"line":9,"column":46},"end":{"line":9,"column":56}}]},"3":{"loc":{"start":{"line":34,"column":2},"end":{"line":36,"column":null}},"type":"if","locations":[{"start":{"line":34,"column":2},"end":{"line":36,"column":null}}]},"4":{"loc":{"start":{"line":39,"column":2},"end":{"line":41,"column":null}},"type":"if","locations":[{"start":{"line":39,"column":2},"end":{"line":41,"column":null}}]}},"s":{"0":1,"1":4,"2":4,"3":1,"4":1,"5":0,"6":0,"7":0,"8":0,"9":0,"10":1,"11":6,"12":6,"13":1,"14":240038,"15":160017,"16":80021,"17":80021,"18":0,"19":80021,"20":1},"f":{"0":4,"1":4,"2":0,"3":0,"4":6,"5":240038},"b":{"0":[4,4],"1":[0],"2":[0,0,0],"3":[160017],"4":[0]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/index.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}},"1":{"start":{"line":7,"column":2},"end":{"line":7,"column":41}},"2":{"start":{"line":6,"column":0},"end":{"line":6,"column":24}},"3":{"start":{"line":10,"column":0},"end":{"line":10,"column":9}},"4":{"start":{"line":10,"column":9},"end":{"line":10,"column":40}}},"fnMap":{"0":{"name":"createExcelParserStream","decl":{"start":{"line":6,"column":24},"end":{"line":6,"column":47}},"loc":{"start":{"line":6,"column":75},"end":{"line":8,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":23}},"loc":{"start":{"line":10,"column":9},"end":{"line":10,"column":40}}}},"branchMap":{},"s":{"0":1,"1":0,"2":1,"3":1,"4":10},"f":{"0":0,"1":9},"b":{}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/types.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/types.ts","statementMap":{"0":{"start":{"line":20,"column":0},"end":{"line":20,"column":null}},"1":{"start":{"line":21,"column":2},"end":{"line":21,"column":null}},"2":{"start":{"line":22,"column":2},"end":{"line":22,"column":null}},"3":{"start":{"line":23,"column":2},"end":{"line":23,"column":null}},"4":{"start":{"line":24,"column":2},"end":{"line":24,"column":null}},"5":{"start":{"line":25,"column":2},"end":{"line":25,"column":null}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":20,"column":0},"end":{"line":20,"column":12}},"loc":{"start":{"line":20,"column":21},"end":{"line":26,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":12},"end":{"line":20,"column":null}},"type":"binary-expr","locations":[{"start":{"line":20,"column":12},"end":{"line":20,"column":21}},{"start":{"line":20,"column":12},"end":{"line":20,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1},"f":{"0":1},"b":{"0":[1,1]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/workbook.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/workbook.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":43}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":null}},"3":{"start":{"line":15,"column":0},"end":{"line":15,"column":null}},"4":{"start":{"line":22,"column":0},"end":{"line":22,"column":79}},"5":{"start":{"line":23,"column":0},"end":{"line":23,"column":null}},"6":{"start":{"line":29,"column":0},"end":{"line":29,"column":69}},"7":{"start":{"line":31,"column":43},"end":{"line":37,"column":2}},"8":{"start":{"line":40,"column":36},"end":{"line":40,"column":40}},"9":{"start":{"line":41,"column":39},"end":{"line":41,"column":43}},"10":{"start":{"line":43,"column":2},"end":{"line":52,"column":null}},"11":{"start":{"line":44,"column":4},"end":{"line":44,"column":34}},"12":{"start":{"line":46,"column":4},"end":{"line":48,"column":null}},"13":{"start":{"line":47,"column":6},"end":{"line":47,"column":15}},"14":{"start":{"line":50,"column":4},"end":{"line":50,"column":22}},"15":{"start":{"line":51,"column":4},"end":{"line":51,"column":10}},"16":{"start":{"line":54,"column":2},"end":{"line":67,"column":null}},"17":{"start":{"line":55,"column":4},"end":{"line":66,"column":null}},"18":{"start":{"line":57,"column":8},"end":{"line":57,"column":40}},"19":{"start":{"line":59,"column":8},"end":{"line":59,"column":40}},"20":{"start":{"line":61,"column":8},"end":{"line":61,"column":49}},"21":{"start":{"line":63,"column":8},"end":{"line":63,"column":42}},"22":{"start":{"line":65,"column":8},"end":{"line":65,"column":57}},"23":{"start":{"line":69,"column":2},"end":{"line":72,"column":4}},"24":{"start":{"line":86,"column":46},"end":{"line":86,"column":48}},"25":{"start":{"line":89,"column":22},"end":{"line":89,"column":74}},"26":{"start":{"line":91,"column":4},"end":{"line":98,"column":null}},"27":{"start":{"line":92,"column":6},"end":{"line":96,"column":null}},"28":{"start":{"line":93,"column":8},"end":{"line":93,"column":48}},"29":{"start":{"line":95,"column":8},"end":{"line":95,"column":42}},"30":{"start":{"line":97,"column":6},"end":{"line":97,"column":13}},"31":{"start":{"line":100,"column":24},"end":{"line":100,"column":55}},"32":{"start":{"line":102,"column":4},"end":{"line":113,"column":7}},"33":{"start":{"line":108,"column":8},"end":{"line":110,"column":null}},"34":{"start":{"line":109,"column":10},"end":{"line":109,"column":17}},"35":{"start":{"line":111,"column":8},"end":{"line":111,"column":64}},"36":{"start":{"line":115,"column":4},"end":{"line":117,"column":null}},"37":{"start":{"line":116,"column":6},"end":{"line":116,"column":46}},"38":{"start":{"line":120,"column":22},"end":{"line":170,"column":6}},"39":{"start":{"line":122,"column":28},"end":{"line":122,"column":49}},"40":{"start":{"line":124,"column":6},"end":{"line":131,"column":null}},"41":{"start":{"line":125,"column":8},"end":{"line":129,"column":58}},"42":{"start":{"line":126,"column":10},"end":{"line":126,"column":51}},"43":{"start":{"line":128,"column":22},"end":{"line":128,"column":39}},"44":{"start":{"line":129,"column":35},"end":{"line":129,"column":56}},"45":{"start":{"line":130,"column":8},"end":{"line":130,"column":15}},"46":{"start":{"line":133,"column":6},"end":{"line":133,"column":24}},"47":{"start":{"line":136,"column":6},"end":{"line":169,"column":56}},"48":{"start":{"line":138,"column":10},"end":{"line":167,"column":null}},"49":{"start":{"line":140,"column":14},"end":{"line":140,"column":34}},"50":{"start":{"line":141,"column":14},"end":{"line":141,"column":20}},"51":{"start":{"line":144,"column":14},"end":{"line":144,"column":34}},"52":{"start":{"line":145,"column":14},"end":{"line":145,"column":20}},"53":{"start":{"line":148,"column":14},"end":{"line":148,"column":36}},"54":{"start":{"line":149,"column":14},"end":{"line":149,"column":20}},"55":{"start":{"line":152,"column":14},"end":{"line":152,"column":43}},"56":{"start":{"line":153,"column":14},"end":{"line":153,"column":20}},"57":{"start":{"line":156,"column":14},"end":{"line":160,"column":null}},"58":{"start":{"line":157,"column":38},"end":{"line":157,"column":75}},"59":{"start":{"line":158,"column":16},"end":{"line":158,"column":51}},"60":{"start":{"line":159,"column":16},"end":{"line":159,"column":23}},"61":{"start":{"line":162,"column":14},"end":{"line":162,"column":68}},"62":{"start":{"line":163,"column":14},"end":{"line":163,"column":20}},"63":{"start":{"line":166,"column":14},"end":{"line":166,"column":32}},"64":{"start":{"line":169,"column":33},"end":{"line":169,"column":54}},"65":{"start":{"line":172,"column":17},"end":{"line":181,"column":4}},"66":{"start":{"line":179,"column":6},"end":{"line":179,"column":51}},"67":{"start":{"line":183,"column":2},"end":{"line":183,"column":16}},"68":{"start":{"line":75,"column":0},"end":{"line":75,"column":24}}},"fnMap":{"0":{"name":"handleEntry","decl":{"start":{"line":39,"column":15},"end":{"line":39,"column":26}},"loc":{"start":{"line":39,"column":39},"end":{"line":73,"column":1}}},"1":{"name":"createExcelWorkbookStream","decl":{"start":{"line":75,"column":24},"end":{"line":75,"column":49}},"loc":{"start":{"line":79,"column":24},"end":{"line":184,"column":1}}},"2":{"name":"streamWorkSheet","decl":{"start":{"line":88,"column":17},"end":{"line":88,"column":32}},"loc":{"start":{"line":88,"column":65},"end":{"line":118,"column":3}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":107,"column":13},"end":{"line":107,"column":14}},"loc":{"start":{"line":107,"column":21},"end":{"line":112,"column":7}}},"4":{"name":"(anonymous_5)","decl":{"start":{"line":122,"column":17},"end":{"line":122,"column":18}},"loc":{"start":{"line":122,"column":28},"end":{"line":122,"column":49}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":123,"column":18},"end":{"line":123,"column":21}},"loc":{"start":{"line":123,"column":23},"end":{"line":134,"column":5}}},"6":{"name":"(anonymous_7)","decl":{"start":{"line":125,"column":37},"end":{"line":125,"column":38}},"loc":{"start":{"line":126,"column":10},"end":{"line":126,"column":51}}},"7":{"name":"(anonymous_8)","decl":{"start":{"line":128,"column":16},"end":{"line":128,"column":19}},"loc":{"start":{"line":128,"column":22},"end":{"line":128,"column":39}}},"8":{"name":"(anonymous_9)","decl":{"start":{"line":129,"column":17},"end":{"line":129,"column":18}},"loc":{"start":{"line":129,"column":35},"end":{"line":129,"column":56}}},"9":{"name":"(anonymous_10)","decl":{"start":{"line":135,"column":17},"end":{"line":135,"column":18}},"loc":{"start":{"line":135,"column":34},"end":{"line":170,"column":5}}},"10":{"name":"(anonymous_11)","decl":{"start":{"line":137,"column":14},"end":{"line":137,"column":19}},"loc":{"start":{"line":137,"column":31},"end":{"line":168,"column":9}}},"11":{"name":"(anonymous_12)","decl":{"start":{"line":169,"column":15},"end":{"line":169,"column":16}},"loc":{"start":{"line":169,"column":33},"end":{"line":169,"column":54}}},"12":{"name":"(anonymous_13)","decl":{"start":{"line":175,"column":4},"end":{"line":175,"column":8}},"loc":{"start":{"line":175,"column":8},"end":{"line":177,"column":5}}},"13":{"name":"(anonymous_14)","decl":{"start":{"line":178,"column":4},"end":{"line":178,"column":9}},"loc":{"start":{"line":178,"column":35},"end":{"line":180,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":46,"column":4},"end":{"line":48,"column":null}},"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":48,"column":null}}]},"1":{"loc":{"start":{"line":54,"column":2},"end":{"line":67,"column":null}},"type":"if","locations":[{"start":{"line":54,"column":2},"end":{"line":67,"column":null}}]},"2":{"loc":{"start":{"line":54,"column":6},"end":{"line":54,"column":24}},"type":"binary-expr","locations":[{"start":{"line":54,"column":6},"end":{"line":54,"column":15}},{"start":{"line":54,"column":19},"end":{"line":54,"column":24}}]},"3":{"loc":{"start":{"line":55,"column":4},"end":{"line":66,"column":null}},"type":"switch","locations":[{"start":{"line":56,"column":6},"end":{"line":57,"column":40}},{"start":{"line":58,"column":6},"end":{"line":59,"column":40}},{"start":{"line":60,"column":6},"end":{"line":61,"column":49}},{"start":{"line":62,"column":6},"end":{"line":63,"column":42}},{"start":{"line":64,"column":6},"end":{"line":65,"column":57}}]},"4":{"loc":{"start":{"line":91,"column":4},"end":{"line":98,"column":null}},"type":"if","locations":[{"start":{"line":91,"column":4},"end":{"line":98,"column":null}}]},"5":{"loc":{"start":{"line":92,"column":6},"end":{"line":96,"column":null}},"type":"if","locations":[{"start":{"line":92,"column":6},"end":{"line":96,"column":null}},{"start":{"line":94,"column":13},"end":{"line":96,"column":null}}]},"6":{"loc":{"start":{"line":108,"column":8},"end":{"line":110,"column":null}},"type":"if","locations":[{"start":{"line":108,"column":8},"end":{"line":110,"column":null}}]},"7":{"loc":{"start":{"line":108,"column":12},"end":{"line":108,"column":42}},"type":"binary-expr","locations":[{"start":{"line":108,"column":12},"end":{"line":108,"column":24}},{"start":{"line":108,"column":28},"end":{"line":108,"column":42}}]},"8":{"loc":{"start":{"line":111,"column":20},"end":{"line":111,"column":62}},"type":"cond-expr","locations":[{"start":{"line":111,"column":36},"end":{"line":111,"column":56}},{"start":{"line":111,"column":59},"end":{"line":111,"column":62}}]},"9":{"loc":{"start":{"line":115,"column":4},"end":{"line":117,"column":null}},"type":"if","locations":[{"start":{"line":115,"column":4},"end":{"line":117,"column":null}}]},"10":{"loc":{"start":{"line":124,"column":6},"end":{"line":131,"column":null}},"type":"if","locations":[{"start":{"line":124,"column":6},"end":{"line":131,"column":null}}]},"11":{"loc":{"start":{"line":138,"column":10},"end":{"line":167,"column":null}},"type":"switch","locations":[{"start":{"line":139,"column":12},"end":{"line":141,"column":20}},{"start":{"line":143,"column":12},"end":{"line":145,"column":20}},{"start":{"line":147,"column":12},"end":{"line":149,"column":20}},{"start":{"line":151,"column":12},"end":{"line":153,"column":20}},{"start":{"line":155,"column":12},"end":{"line":163,"column":20}},{"start":{"line":165,"column":12},"end":{"line":166,"column":32}}]},"12":{"loc":{"start":{"line":156,"column":14},"end":{"line":160,"column":null}},"type":"if","locations":[{"start":{"line":156,"column":14},"end":{"line":160,"column":null}}]},"13":{"loc":{"start":{"line":156,"column":18},"end":{"line":156,"column":61}},"type":"binary-expr","locations":[{"start":{"line":156,"column":18},"end":{"line":156,"column":23}},{"start":{"line":156,"column":27},"end":{"line":156,"column":32}},{"start":{"line":156,"column":36},"end":{"line":156,"column":43}},{"start":{"line":156,"column":47},"end":{"line":156,"column":61}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":77,"9":77,"10":77,"11":309,"12":309,"13":271,"14":38,"15":38,"16":77,"17":38,"18":8,"19":8,"20":6,"21":8,"22":8,"23":39,"24":9,"25":8,"26":8,"27":0,"28":0,"29":0,"30":0,"31":8,"32":8,"33":80040,"34":0,"35":80040,"36":8,"37":6,"38":9,"39":1,"40":8,"41":6,"42":6,"43":6,"44":0,"45":6,"46":2,"47":77,"48":77,"49":8,"50":8,"51":8,"52":8,"53":8,"54":8,"55":6,"56":6,"57":8,"58":6,"59":6,"60":6,"61":2,"62":2,"63":39,"64":0,"65":9,"66":58,"67":9,"68":1},"f":{"0":77,"1":9,"2":8,"3":80040,"4":1,"5":8,"6":6,"7":6,"8":0,"9":77,"10":77,"11":0,"12":1411,"13":58},"b":{"0":[271],"1":[38],"2":[77,38],"3":[8,8,6,8,8],"4":[0],"5":[0,0],"6":[0],"7":[80040,4],"8":[0,80040],"9":[6],"10":[6],"11":[8,8,8,6,8,39],"12":[6],"13":[8,5,4,3]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/worksheet.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/worksheet.ts","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":3,"column":22}},"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":null}},"2":{"start":{"line":17,"column":0},"end":{"line":17,"column":33}},"3":{"start":{"line":24,"column":2},"end":{"line":30,"column":5}},"4":{"start":{"line":19,"column":0},"end":{"line":19,"column":16}},"5":{"start":{"line":48,"column":14},"end":{"line":48,"column":15}},"6":{"start":{"line":49,"column":29},"end":{"line":49,"column":31}},"7":{"start":{"line":50,"column":23},"end":{"line":50,"column":25}},"8":{"start":{"line":51,"column":20},"end":{"line":51,"column":30}},"9":{"start":{"line":53,"column":2},"end":{"line":92,"column":5}},"10":{"start":{"line":54,"column":4},"end":{"line":91,"column":null}},"11":{"start":{"line":56,"column":8},"end":{"line":56,"column":27}},"12":{"start":{"line":57,"column":8},"end":{"line":57,"column":14}},"13":{"start":{"line":61,"column":8},"end":{"line":61,"column":38}},"14":{"start":{"line":62,"column":8},"end":{"line":62,"column":14}},"15":{"start":{"line":65,"column":8},"end":{"line":65,"column":35}},"16":{"start":{"line":66,"column":8},"end":{"line":66,"column":14}},"17":{"start":{"line":69,"column":8},"end":{"line":69,"column":43}},"18":{"start":{"line":71,"column":22},"end":{"line":76,"column":null}},"19":{"start":{"line":78,"column":8},"end":{"line":78,"column":24}},"20":{"start":{"line":79,"column":8},"end":{"line":79,"column":33}},"21":{"start":{"line":80,"column":8},"end":{"line":80,"column":14}},"22":{"start":{"line":83,"column":8},"end":{"line":86,"column":11}},"23":{"start":{"line":88,"column":8},"end":{"line":88,"column":16}},"24":{"start":{"line":89,"column":8},"end":{"line":89,"column":17}},"25":{"start":{"line":90,"column":8},"end":{"line":90,"column":14}},"26":{"start":{"line":41,"column":0},"end":{"line":41,"column":7}},"27":{"start":{"line":102,"column":2},"end":{"line":110,"column":null}},"28":{"start":{"line":105,"column":20},"end":{"line":105,"column":54}},"29":{"start":{"line":106,"column":6},"end":{"line":106,"column":40}},"30":{"start":{"line":109,"column":6},"end":{"line":109,"column":24}},"31":{"start":{"line":112,"column":2},"end":{"line":141,"column":null}},"32":{"start":{"line":113,"column":21},"end":{"line":113,"column":52}},"33":{"start":{"line":114,"column":25},"end":{"line":116,"column":48}},"34":{"start":{"line":118,"column":4},"end":{"line":135,"column":null}},"35":{"start":{"line":119,"column":21},"end":{"line":119,"column":53}},"36":{"start":{"line":120,"column":6},"end":{"line":134,"column":null}},"37":{"start":{"line":121,"column":8},"end":{"line":127,"column":null}},"38":{"start":{"line":122,"column":10},"end":{"line":124,"column":13}},"39":{"start":{"line":126,"column":10},"end":{"line":126,"column":20}},"40":{"start":{"line":128,"column":13},"end":{"line":134,"column":null}},"41":{"start":{"line":129,"column":8},"end":{"line":133,"column":null}},"42":{"start":{"line":130,"column":10},"end":{"line":130,"column":70}},"43":{"start":{"line":132,"column":10},"end":{"line":132,"column":20}},"44":{"start":{"line":137,"column":21},"end":{"line":137,"column":53}},"45":{"start":{"line":138,"column":4},"end":{"line":140,"column":null}},"46":{"start":{"line":139,"column":6},"end":{"line":139,"column":22}},"47":{"start":{"line":143,"column":2},"end":{"line":143,"column":20}},"48":{"start":{"line":151,"column":2},"end":{"line":151,"column":69}},"49":{"start":{"line":146,"column":0},"end":{"line":146,"column":16}}},"fnMap":{"0":{"name":"parseWorkSheet","decl":{"start":{"line":19,"column":16},"end":{"line":19,"column":30}},"loc":{"start":{"line":22,"column":16},"end":{"line":31,"column":1}}},"1":{"name":"parseWorkSheetRows","decl":{"start":{"line":41,"column":22},"end":{"line":41,"column":40}},"loc":{"start":{"line":47,"column":28},"end":{"line":93,"column":1}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":53,"column":25},"end":{"line":53,"column":26}},"loc":{"start":{"line":53,"column":34},"end":{"line":92,"column":3}}},"3":{"name":"getCellValue","decl":{"start":{"line":95,"column":9},"end":{"line":95,"column":21}},"loc":{"start":{"line":100,"column":19},"end":{"line":144,"column":1}}},"4":{"name":"getSheetName","decl":{"start":{"line":146,"column":16},"end":{"line":146,"column":28}},"loc":{"start":{"line":149,"column":14},"end":{"line":152,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":54,"column":4},"end":{"line":91,"column":null}},"type":"switch","locations":[{"start":{"line":55,"column":6},"end":{"line":57,"column":14}},{"start":{"line":59,"column":6},"end":{"line":59,"column":15}},{"start":{"line":60,"column":6},"end":{"line":62,"column":14}},{"start":{"line":64,"column":6},"end":{"line":66,"column":14}},{"start":{"line":68,"column":6},"end":{"line":80,"column":14}},{"start":{"line":82,"column":6},"end":{"line":90,"column":14}}]},"1":{"loc":{"start":{"line":102,"column":2},"end":{"line":110,"column":null}},"type":"switch","locations":[{"start":{"line":103,"column":4},"end":{"line":106,"column":40}},{"start":{"line":108,"column":4},"end":{"line":109,"column":24}}]},"2":{"loc":{"start":{"line":106,"column":13},"end":{"line":106,"column":39}},"type":"binary-expr","locations":[{"start":{"line":106,"column":13},"end":{"line":106,"column":33}},{"start":{"line":106,"column":37},"end":{"line":106,"column":39}}]},"3":{"loc":{"start":{"line":112,"column":2},"end":{"line":141,"column":null}},"type":"if","locations":[{"start":{"line":112,"column":2},"end":{"line":141,"column":null}},{"start":{"line":136,"column":9},"end":{"line":141,"column":null}}]},"4":{"loc":{"start":{"line":114,"column":25},"end":{"line":116,"column":48}},"type":"cond-expr","locations":[{"start":{"line":115,"column":8},"end":{"line":115,"column":9}},{"start":{"line":116,"column":8},"end":{"line":116,"column":48}}]},"5":{"loc":{"start":{"line":118,"column":4},"end":{"line":135,"column":null}},"type":"if","locations":[{"start":{"line":118,"column":4},"end":{"line":135,"column":null}}]},"6":{"loc":{"start":{"line":120,"column":6},"end":{"line":134,"column":null}},"type":"if","locations":[{"start":{"line":120,"column":6},"end":{"line":134,"column":null}},{"start":{"line":128,"column":13},"end":{"line":134,"column":null}}]},"7":{"loc":{"start":{"line":128,"column":13},"end":{"line":134,"column":null}},"type":"if","locations":[{"start":{"line":128,"column":13},"end":{"line":134,"column":null}}]},"8":{"loc":{"start":{"line":138,"column":4},"end":{"line":140,"column":null}},"type":"if","locations":[{"start":{"line":138,"column":4},"end":{"line":140,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":8,"4":1,"5":8,"6":8,"7":8,"8":8,"9":8,"10":866108,"11":16,"12":16,"13":240181,"14":240181,"15":239997,"16":239997,"17":240181,"18":240181,"19":240181,"20":240181,"21":240181,"22":80040,"23":80040,"24":80040,"25":80040,"26":1,"27":240181,"28":67,"29":67,"30":76,"31":240038,"32":22,"33":22,"34":22,"35":22,"36":22,"37":7,"38":7,"39":0,"40":15,"41":2,"42":2,"43":0,"44":240016,"45":240016,"46":3,"47":240026,"48":8,"49":1},"f":{"0":8,"1":8,"2":866108,"3":240181,"4":8},"b":{"0":[16,76,240181,239997,240181,80040],"1":[67,76],"2":[67,0],"3":[22,240016],"4":[0,22],"5":[22],"6":[7,15],"7":[2],"8":[3]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/worksheet.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/worksheet.ts","statementMap":{"0":{"start":{"line":4,"column":0},"end":{"line":4,"column":null}},"1":{"start":{"line":16,"column":0},"end":{"line":16,"column":33}},"2":{"start":{"line":17,"column":0},"end":{"line":17,"column":34}},"3":{"start":{"line":18,"column":0},"end":{"line":18,"column":40}},"4":{"start":{"line":25,"column":2},"end":{"line":31,"column":5}},"5":{"start":{"line":20,"column":0},"end":{"line":20,"column":16}},"6":{"start":{"line":49,"column":14},"end":{"line":49,"column":15}},"7":{"start":{"line":50,"column":29},"end":{"line":50,"column":31}},"8":{"start":{"line":51,"column":23},"end":{"line":51,"column":25}},"9":{"start":{"line":52,"column":20},"end":{"line":52,"column":30}},"10":{"start":{"line":54,"column":2},"end":{"line":93,"column":5}},"11":{"start":{"line":55,"column":4},"end":{"line":92,"column":null}},"12":{"start":{"line":57,"column":8},"end":{"line":57,"column":27}},"13":{"start":{"line":58,"column":8},"end":{"line":58,"column":14}},"14":{"start":{"line":62,"column":8},"end":{"line":62,"column":38}},"15":{"start":{"line":63,"column":8},"end":{"line":63,"column":14}},"16":{"start":{"line":66,"column":8},"end":{"line":66,"column":35}},"17":{"start":{"line":67,"column":8},"end":{"line":67,"column":14}},"18":{"start":{"line":70,"column":8},"end":{"line":70,"column":43}},"19":{"start":{"line":72,"column":22},"end":{"line":77,"column":null}},"20":{"start":{"line":79,"column":8},"end":{"line":79,"column":24}},"21":{"start":{"line":80,"column":8},"end":{"line":80,"column":33}},"22":{"start":{"line":81,"column":8},"end":{"line":81,"column":14}},"23":{"start":{"line":84,"column":8},"end":{"line":87,"column":11}},"24":{"start":{"line":89,"column":8},"end":{"line":89,"column":16}},"25":{"start":{"line":90,"column":8},"end":{"line":90,"column":17}},"26":{"start":{"line":91,"column":8},"end":{"line":91,"column":14}},"27":{"start":{"line":42,"column":0},"end":{"line":42,"column":7}},"28":{"start":{"line":103,"column":2},"end":{"line":111,"column":null}},"29":{"start":{"line":106,"column":20},"end":{"line":106,"column":54}},"30":{"start":{"line":107,"column":6},"end":{"line":107,"column":40}},"31":{"start":{"line":110,"column":6},"end":{"line":110,"column":24}},"32":{"start":{"line":113,"column":23},"end":{"line":113,"column":53}},"33":{"start":{"line":114,"column":19},"end":{"line":116,"column":7}},"34":{"start":{"line":118,"column":2},"end":{"line":124,"column":5}},"35":{"start":{"line":132,"column":2},"end":{"line":132,"column":69}},"36":{"start":{"line":127,"column":0},"end":{"line":127,"column":16}}},"fnMap":{"0":{"name":"parseWorkSheet","decl":{"start":{"line":20,"column":16},"end":{"line":20,"column":30}},"loc":{"start":{"line":23,"column":16},"end":{"line":32,"column":1}}},"1":{"name":"parseWorkSheetRows","decl":{"start":{"line":42,"column":22},"end":{"line":42,"column":40}},"loc":{"start":{"line":48,"column":28},"end":{"line":94,"column":1}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":54,"column":25},"end":{"line":54,"column":26}},"loc":{"start":{"line":54,"column":34},"end":{"line":93,"column":3}}},"3":{"name":"getCellValue","decl":{"start":{"line":96,"column":9},"end":{"line":96,"column":21}},"loc":{"start":{"line":101,"column":19},"end":{"line":125,"column":1}}},"4":{"name":"getSheetName","decl":{"start":{"line":127,"column":16},"end":{"line":127,"column":28}},"loc":{"start":{"line":130,"column":14},"end":{"line":133,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":55,"column":4},"end":{"line":92,"column":null}},"type":"switch","locations":[{"start":{"line":56,"column":6},"end":{"line":58,"column":14}},{"start":{"line":60,"column":6},"end":{"line":60,"column":15}},{"start":{"line":61,"column":6},"end":{"line":63,"column":14}},{"start":{"line":65,"column":6},"end":{"line":67,"column":14}},{"start":{"line":69,"column":6},"end":{"line":81,"column":14}},{"start":{"line":83,"column":6},"end":{"line":91,"column":14}}]},"1":{"loc":{"start":{"line":103,"column":2},"end":{"line":111,"column":null}},"type":"switch","locations":[{"start":{"line":104,"column":4},"end":{"line":107,"column":40}},{"start":{"line":109,"column":4},"end":{"line":110,"column":24}}]},"2":{"loc":{"start":{"line":107,"column":13},"end":{"line":107,"column":39}},"type":"binary-expr","locations":[{"start":{"line":107,"column":13},"end":{"line":107,"column":33}},{"start":{"line":107,"column":37},"end":{"line":107,"column":39}}]},"3":{"loc":{"start":{"line":114,"column":19},"end":{"line":116,"column":7}},"type":"cond-expr","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":50}},{"start":{"line":116,"column":6},"end":{"line":116,"column":7}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":8,"5":1,"6":8,"7":8,"8":8,"9":8,"10":8,"11":866108,"12":16,"13":16,"14":240181,"15":240181,"16":239997,"17":239997,"18":240181,"19":240181,"20":240181,"21":240181,"22":240181,"23":80040,"24":80040,"25":80040,"26":80040,"27":1,"28":240181,"29":67,"30":67,"31":76,"32":240038,"33":240038,"34":240038,"35":8,"36":1},"f":{"0":8,"1":8,"2":866108,"3":240181,"4":8},"b":{"0":[16,76,240181,239997,240181,80040],"1":[67,76],"2":[67,0],"3":[80021,160017]}} | ||
,"/Users/velocityzen/Projects/excel-row-stream/lib/xml.ts": {"path":"/Users/velocityzen/Projects/excel-row-stream/lib/xml.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":43}},"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":64}},"2":{"start":{"line":6,"column":0},"end":{"line":6,"column":null}},"3":{"start":{"line":22,"column":37},"end":{"line":25,"column":4}},"4":{"start":{"line":27,"column":2},"end":{"line":34,"column":5}},"5":{"start":{"line":28,"column":4},"end":{"line":33,"column":null}},"6":{"start":{"line":29,"column":6},"end":{"line":30,"column":29}},"7":{"start":{"line":31,"column":11},"end":{"line":33,"column":null}},"8":{"start":{"line":32,"column":6},"end":{"line":32,"column":35}},"9":{"start":{"line":36,"column":2},"end":{"line":36,"column":55}},"10":{"start":{"line":19,"column":0},"end":{"line":19,"column":7}},"11":{"start":{"line":42,"column":37},"end":{"line":44,"column":4}},"12":{"start":{"line":46,"column":2},"end":{"line":51,"column":5}},"13":{"start":{"line":47,"column":4},"end":{"line":50,"column":null}},"14":{"start":{"line":48,"column":6},"end":{"line":49,"column":27}},"15":{"start":{"line":53,"column":2},"end":{"line":53,"column":55}},"16":{"start":{"line":39,"column":0},"end":{"line":39,"column":7}},"17":{"start":{"line":59,"column":33},"end":{"line":64,"column":4}},"18":{"start":{"line":66,"column":23},"end":{"line":66,"column":25}},"19":{"start":{"line":67,"column":2},"end":{"line":91,"column":5}},"20":{"start":{"line":68,"column":4},"end":{"line":88,"column":null}},"21":{"start":{"line":70,"column":8},"end":{"line":70,"column":39}},"22":{"start":{"line":71,"column":8},"end":{"line":72,"column":37}},"23":{"start":{"line":73,"column":8},"end":{"line":73,"column":14}},"24":{"start":{"line":76,"column":8},"end":{"line":76,"column":23}},"25":{"start":{"line":77,"column":8},"end":{"line":77,"column":14}},"26":{"start":{"line":81,"column":8},"end":{"line":81,"column":17}},"27":{"start":{"line":82,"column":8},"end":{"line":82,"column":14}},"28":{"start":{"line":86,"column":8},"end":{"line":86,"column":32}},"29":{"start":{"line":87,"column":8},"end":{"line":87,"column":14}},"30":{"start":{"line":90,"column":4},"end":{"line":90,"column":37}},"31":{"start":{"line":93,"column":2},"end":{"line":93,"column":51}},"32":{"start":{"line":56,"column":0},"end":{"line":56,"column":7}},"33":{"start":{"line":99,"column":55},"end":{"line":99,"column":57}},"34":{"start":{"line":101,"column":17},"end":{"line":101,"column":22}},"35":{"start":{"line":102,"column":20},"end":{"line":102,"column":25}},"36":{"start":{"line":104,"column":2},"end":{"line":126,"column":5}},"37":{"start":{"line":105,"column":4},"end":{"line":109,"column":null}},"38":{"start":{"line":106,"column":6},"end":{"line":106,"column":26}},"39":{"start":{"line":107,"column":6},"end":{"line":107,"column":22}},"40":{"start":{"line":108,"column":6},"end":{"line":108,"column":13}},"41":{"start":{"line":111,"column":4},"end":{"line":115,"column":null}},"42":{"start":{"line":112,"column":6},"end":{"line":112,"column":44}},"43":{"start":{"line":113,"column":6},"end":{"line":113,"column":23}},"44":{"start":{"line":114,"column":6},"end":{"line":114,"column":13}},"45":{"start":{"line":117,"column":4},"end":{"line":125,"column":null}},"46":{"start":{"line":118,"column":6},"end":{"line":124,"column":null}},"47":{"start":{"line":119,"column":8},"end":{"line":119,"column":77}},"48":{"start":{"line":121,"column":8},"end":{"line":121,"column":27}},"49":{"start":{"line":122,"column":8},"end":{"line":123,"column":20}},"50":{"start":{"line":128,"column":2},"end":{"line":128,"column":73}},"51":{"start":{"line":96,"column":0},"end":{"line":96,"column":7}},"52":{"start":{"line":135,"column":31},"end":{"line":135,"column":33}},"53":{"start":{"line":137,"column":17},"end":{"line":162,"column":null}},"54":{"start":{"line":140,"column":8},"end":{"line":144,"column":11}},"55":{"start":{"line":147,"column":26},"end":{"line":147,"column":42}},"56":{"start":{"line":148,"column":8},"end":{"line":150,"column":null}},"57":{"start":{"line":149,"column":10},"end":{"line":149,"column":17}},"58":{"start":{"line":152,"column":8},"end":{"line":152,"column":46}},"59":{"start":{"line":155,"column":21},"end":{"line":155,"column":36}},"60":{"start":{"line":156,"column":8},"end":{"line":158,"column":null}},"61":{"start":{"line":157,"column":10},"end":{"line":157,"column":17}},"62":{"start":{"line":159,"column":8},"end":{"line":159,"column":24}},"63":{"start":{"line":165,"column":2},"end":{"line":165,"column":33}},"64":{"start":{"line":131,"column":0},"end":{"line":131,"column":7}}},"fnMap":{"0":{"name":"parseWorkBookInfo","decl":{"start":{"line":19,"column":22},"end":{"line":19,"column":39}},"loc":{"start":{"line":20,"column":14},"end":{"line":37,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":27,"column":24},"end":{"line":27,"column":25}},"loc":{"start":{"line":27,"column":33},"end":{"line":34,"column":3}}},"2":{"name":"parseWorkBookRels","decl":{"start":{"line":39,"column":22},"end":{"line":39,"column":39}},"loc":{"start":{"line":40,"column":14},"end":{"line":54,"column":1}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":46,"column":24},"end":{"line":46,"column":25}},"loc":{"start":{"line":46,"column":33},"end":{"line":51,"column":3}}},"4":{"name":"parseWorkBookStyles","decl":{"start":{"line":56,"column":22},"end":{"line":56,"column":41}},"loc":{"start":{"line":57,"column":14},"end":{"line":94,"column":1}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":67,"column":24},"end":{"line":67,"column":25}},"loc":{"start":{"line":67,"column":33},"end":{"line":91,"column":3}}},"6":{"name":"parseWorkBookSharedStrings","decl":{"start":{"line":96,"column":22},"end":{"line":96,"column":48}},"loc":{"start":{"line":97,"column":14},"end":{"line":129,"column":1}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":104,"column":24},"end":{"line":104,"column":25}},"loc":{"start":{"line":104,"column":33},"end":{"line":126,"column":3}}},"8":{"name":"parseXml","decl":{"start":{"line":131,"column":22},"end":{"line":131,"column":30}},"loc":{"start":{"line":133,"column":36},"end":{"line":166,"column":1}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":139,"column":6},"end":{"line":139,"column":15}},"loc":{"start":{"line":139,"column":32},"end":{"line":145,"column":7}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":146,"column":6},"end":{"line":146,"column":12}},"loc":{"start":{"line":146,"column":17},"end":{"line":153,"column":7}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":154,"column":6},"end":{"line":154,"column":16}},"loc":{"start":{"line":154,"column":16},"end":{"line":160,"column":7}}}},"branchMap":{"0":{"loc":{"start":{"line":28,"column":4},"end":{"line":33,"column":null}},"type":"if","locations":[{"start":{"line":28,"column":4},"end":{"line":33,"column":null}},{"start":{"line":31,"column":11},"end":{"line":33,"column":null}}]},"1":{"loc":{"start":{"line":31,"column":11},"end":{"line":33,"column":null}},"type":"if","locations":[{"start":{"line":31,"column":11},"end":{"line":33,"column":null}}]},"2":{"loc":{"start":{"line":31,"column":15},"end":{"line":31,"column":77}},"type":"binary-expr","locations":[{"start":{"line":31,"column":15},"end":{"line":31,"column":41}},{"start":{"line":31,"column":45},"end":{"line":31,"column":77}}]},"3":{"loc":{"start":{"line":47,"column":4},"end":{"line":50,"column":null}},"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":50,"column":null}}]},"4":{"loc":{"start":{"line":68,"column":4},"end":{"line":88,"column":null}},"type":"switch","locations":[{"start":{"line":69,"column":6},"end":{"line":73,"column":14}},{"start":{"line":75,"column":6},"end":{"line":77,"column":14}},{"start":{"line":79,"column":6},"end":{"line":82,"column":14}},{"start":{"line":84,"column":6},"end":{"line":87,"column":14}}]},"5":{"loc":{"start":{"line":70,"column":8},"end":{"line":70,"column":39}},"type":"binary-expr","locations":[{"start":{"line":70,"column":8},"end":{"line":70,"column":29}},{"start":{"line":70,"column":8},"end":{"line":70,"column":38}}]},"6":{"loc":{"start":{"line":105,"column":4},"end":{"line":109,"column":null}},"type":"if","locations":[{"start":{"line":105,"column":4},"end":{"line":109,"column":null}}]},"7":{"loc":{"start":{"line":111,"column":4},"end":{"line":115,"column":null}},"type":"if","locations":[{"start":{"line":111,"column":4},"end":{"line":115,"column":null}}]},"8":{"loc":{"start":{"line":111,"column":8},"end":{"line":111,"column":37}},"type":"binary-expr","locations":[{"start":{"line":111,"column":8},"end":{"line":111,"column":16}},{"start":{"line":111,"column":20},"end":{"line":111,"column":37}}]},"9":{"loc":{"start":{"line":117,"column":4},"end":{"line":125,"column":null}},"type":"if","locations":[{"start":{"line":117,"column":4},"end":{"line":125,"column":null}}]},"10":{"loc":{"start":{"line":118,"column":6},"end":{"line":124,"column":null}},"type":"if","locations":[{"start":{"line":118,"column":6},"end":{"line":124,"column":null}},{"start":{"line":120,"column":13},"end":{"line":124,"column":null}}]},"11":{"loc":{"start":{"line":148,"column":8},"end":{"line":150,"column":null}},"type":"if","locations":[{"start":{"line":148,"column":8},"end":{"line":150,"column":null}}]},"12":{"loc":{"start":{"line":156,"column":8},"end":{"line":158,"column":null}},"type":"if","locations":[{"start":{"line":156,"column":8},"end":{"line":158,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":8,"4":8,"5":81,"6":8,"7":73,"8":1,"9":8,"10":1,"11":8,"12":8,"13":36,"14":28,"15":8,"16":1,"17":8,"18":8,"19":8,"20":584,"21":6,"22":6,"23":6,"24":98,"25":98,"26":8,"27":8,"28":8,"29":8,"30":584,"31":8,"32":1,"33":6,"34":6,"35":6,"36":6,"37":110,"38":42,"39":42,"40":42,"41":68,"42":36,"43":36,"44":36,"45":32,"46":7,"47":1,"48":6,"49":6,"50":6,"51":1,"52":38,"53":38,"54":866919,"55":244257,"56":244257,"57":39,"58":244218,"59":866919,"60":866919,"61":0,"62":866919,"63":38,"64":1},"f":{"0":8,"1":81,"2":8,"3":36,"4":8,"5":584,"6":6,"7":110,"8":38,"9":866919,"10":244257,"11":866919},"b":{"0":[8,73],"1":[1],"2":[73,6],"3":[28],"4":[6,98,8,8],"5":[6,4],"6":[42],"7":[36],"8":[68,47],"9":[7],"10":[1,6],"11":[39],"12":[0]}} | ||
} |
{ | ||
"name": "excel-row-stream", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Fast and simple transform stream for excel files parsing", | ||
@@ -12,3 +12,3 @@ "main": "buid/index.js", | ||
"lint": "eslint .", | ||
"release": "release-it", | ||
"release": "npm run build && release-it", | ||
"test": "NODE_ENV=test jest --verbose", | ||
@@ -15,0 +15,0 @@ "test:coverage": "NODE_ENV=test jest --verbose --coverage", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
297731
49
2035