Commit Graph

162 Commits

Author SHA1 Message Date
6670c8448e version bump 0.17.2: basic node/browser ESM 2021-09-15 21:50:33 -04:00
3d35cebe9e Browser and Node ESM support 2021-09-12 07:19:09 -04:00
rockboom
d960b0adb7 Link to Chinese README Translation [ci skip] 2021-09-10 16:47:23 +08:00
Luis Romero
7972d537e5 use HTTPS instead of HTTP [ci skip] 2021-09-08 21:59:26 -05:00
81b7614e45 SYLK shared formulae 2021-08-11 05:05:36 -04:00
20212e1cc2 version bump 0.16.9: utf-8 codenames 2020-11-20 02:13:01 -05:00
2e32611dbb version bump 0.16.6: xlfn option 2020-08-12 17:58:02 -04:00
227f970ca1 version bump 0.16.5: sheet_add_dom (fixes ) 2020-07-30 23:38:44 -04:00
Garrett Luu
93ec51ec76
Fixed failing travis builds ()
* Added condition npm install to travis

* Updated node_version.sh perms
2020-07-01 20:56:41 -04:00
768e1bdcf8 version bump 0.16.3
- updated SSF to 0.11.2
- XLS write support for `bookSST`
2020-06-29 04:07:23 -04:00
5c1296a46d version bump 0.16.2 2020-06-05 01:42:28 -04:00
baea1798cf version bump 0.16.1
- Custom Properties use correct encoding
- AMD wrapper change (see )
2020-05-16 15:45:54 -04:00
3468395494 x-spreadsheet demo 2020-03-22 21:57:53 -04:00
a81bb78f18 version bump 0.15.5: sheets option 2020-01-27 20:20:38 -05:00
7e932aec00 update badges [ci skip] 2019-11-14 21:01:30 -05:00
1a5bba267b version bump 0.15.2: actually pass lint tests 2019-11-14 20:46:49 -05:00
b7c0b0d914 fixed flow typecheck
- update FilterDatabase defined name when writing AutoFilter
- XLML stub cells have blank Data block
- HTML export honor `id` option
- expose `sheet_get_cell`
2019-10-31 23:09:14 -04:00
36fcb00045 version bump 0.15.1
- XLSX XML ignore attribute (fixes  h/t @samih-dev)
- HTML capture and persist merge info
- mini build remove errant codepage reference
2019-08-14 16:11:16 -04:00
4aeb0a786a version bump 0.15.0: mini build
- new xlsx.mini build that strips XLS/XLSB/niche formats
- updated CFB to 1.1.3
- removed niche sheet_to_{dif,slk,eth} utilities
- removed exported ODS parse/write funcs, read/write still supports ODS
2019-08-04 16:12:56 -04:00
Amir Elemam
90354392dd README Fix (fixes ) 2019-07-29 06:14:54 -04:00
0c36667c0c version bump 0.14.2: comment xml (fixes ) 2019-04-01 10:25:15 -04:00
Jimmy Wärting
ca22658b8c README use typed array (fixes )
> The use of readAsArrayBuffer() is preferred over readAsBinaryString(),
> which is provided for backwards compatibility.
2019-04-01 09:33:51 -04:00
4803695d8b update README [ci skip] (h/t @mikelax) 2018-09-06 13:04:46 -04:00
078e5b7eba version bump 0.14.0: sheet_to_json raw default
- sheet_to_json defaults to raw values (fixes )
- update dependencies
2018-09-06 03:55:28 -04:00
d3d5bfc988 version bump 0.13.4: more corner cases
- explicitly throw when expected AOA isn't (fixes  h/t @mnori)
- `ignoreEC` option to suppress IGNOREEC records on write
- workaround for BIFF2 BOF mismatch (fixes  h/t @AhmadZuhdi)
2018-08-15 15:34:41 -04:00
a9b8588e6c version bump 0.13.2: Buffer issues
- node 4.x buffer fix (fixes  h/t @gabyidong)
- dependencies: CFB 1.0.8, codepage 1.14.0
- json object stream
2018-07-08 23:46:11 -04:00
64798fd1f9 version bump 0.13.0: AMD support
- library reshaped to support requirejs / amd without shim
- control comment visibility (fixes , h/t @cmuruganmsc)
- fixed README code sample error (fixes  h/t @iahmedani)
2018-06-01 12:32:08 -04:00
notchris
d102b75cad Knockout Demo [ci skip] fixes 2018-05-20 21:41:01 -04:00
eb5fc87be4 version bump 0.12.11: file format range limits 2018-04-27 16:42:58 -04:00
75c49ddbe8 flow update 2018-04-21 11:16:37 -04:00
93f7749bec version bump 0.12.8: sheetRows multiformat support
- all formats accept `sheetRows` option (fixes  h/t @prog666)
- `table_to_*` support for `sheetRows`
- demo cleanup
2018-04-06 02:39:48 -04:00
08bb7e6e60 version bump 0.12.7: chrome extension
- `writeFile` support chrome extension (fixes  h/t @atkinsam)
- demo refresh
2018-03-29 00:31:36 -04:00
dc2128caca version bump 0.12.6: BrtUid
- `BrtUid` record (fixes  h/t @gustavosimil)
- `sheet_to_json` allow default for errors (fixes  h/t @arijitkanrar)
- docs and demos update
2018-03-19 17:42:55 -04:00
5de62a947f version bump 0.12.5: ancillary utility update
- add BOM to `stream.to_csv` (fixes  h/t @hr5959)
- `utils.format_cell` type (h/t @victorj2307)
- duktape niggles
- demo cleanup
2018-03-12 22:51:54 -04:00
7149728c7c version bump 0.12.4: zip cleanup
- PK magic number bound (fixes  h/t @wlpeter)
- removed JSZip conflict (fixes  h/t @seanmars)
- updated CFB to 1.0.5
- demo HTML conversion `string`
2018-03-05 19:34:04 -05:00
5dd16ae640 version bump 0.12.3: cleanup
- PtgList and old Ptg record support
- fleshed out ftab constants from macrosheet support
- reimplemented / fixed / removed shim functions
- demo refresh
2018-02-28 05:41:49 -05:00
19620da30b version bump 0.12.1: BIFF5 features
- BIFF5 write number formats and other features
- XLSX/XLSB/BIFF8 Suppress "Number stored as Text" errors
- codename awareness (fixes  h/t @samusstrike)
- updated CFB to 1.0.3
- demo refresh
2018-02-14 15:06:35 -05:00
f002afae4b version bump 0.12.0: extendscript fixes
- ExtendScript write quirks (fixes  h/t @grefel)
- BIFF8 write number formats (fixes  h/t @scwood)
- xlsx.extendscript.js library script
- readFile / writeFile support ExtendScript
- flow update
2018-02-08 13:21:39 -05:00
75845a0ca7 version bump 0.11.19: browser writeFile
- IE6-9 ActiveX + VBScript shim
- `writeFile` supported in browser
- `oldie` demo for IE write strategies
2018-02-03 15:46:32 -05:00
edf7150ca8 demo refresh [ci skip] 2018-01-26 19:52:46 -05:00
1d74977718 version bump 0.11.17: sheet_add_{aoa,json}
- Skip extraneous trailing records (fixes  h/t @benjaminleetmaa)
- XLS -> XLML oddities (fixes  h/t @buserror)
- ionic demo
- sheet_add_aoa and sheet_add_json
Issues:
- fixes  h/t @fpasxos
- fixes  h/t @samuelkavin
- fixes  h/t @acgentry
- fixes  h/t @Ideandro
2018-01-09 02:36:02 -05:00
f277ebe140 version bump 0.11.16: refresh
- HTML whitespace (fixes  h/t @laurentauthier)
- XLML number format write (fixes  h/t @james-boswell)
- XLAM/XLA write
- 'array' write type
- XLSX/XLSB/XLS/XLML RTL read/write
- XLS merge cells write
- demo and typing refresh
2017-12-30 03:20:00 -05:00
b3873ea615 version bump 0.11.14: links
- BIFF5 + ODS read named ranges
- internal link range normalization
- BIFF8 + ODS link write
- internal link write (fixes  h/t @gawi)
2017-12-14 20:18:40 -05:00
大黄蜂coder
b17a09849a HTML TD 't' attribute (fixes )
note: @sheetjsdev authored commit, original PR date/author used
2017-12-12 02:14:46 -05:00
c9cab8078c version bump 0.11.13: codepage
- binary CSV `codepage` read option (fixes  h/t @popovserhii)
- BIFF2-5 `codepage` read option (fixes  h/t @makcbrain)
- `xlsx` utility `--codepage` override option
- HTML support some common entities (fixes  h/t @razvanioan)
2017-12-09 02:17:25 -05:00
eff7d153e8 version bump 0.11.12: merging js-harb
- ETH format and utils merged from js-harb
- added shim to npm package (fixes  h/t @dackmin)
- TS defs refresh
- updated test_files
2017-12-03 23:41:41 -05:00
cd2e639fc2 version bump 0.11.11: CFB miscellany
- export `sheet_to_txt` (fixes  h/t @aj4mq)
- BIFF4 Format Record aligned to BIFF 2/3 (fixes  h/t @ToujouAya)
- updated CFB to 1.0.1
- typescript standalone demo
- nexe / pkg xlsx.njs demo
2017-12-01 00:48:10 -05:00
547fba56a2 version bump 0.11.10: binary miscellany
- XLSX empty numeric cells stubbed (fixes  h/t @mgoku)
- XLS sheet type identification
- XLS/XLSB/XLSM CodeName exposure (fixes  h/t @TennisVisuals)
- CFB re-exported
2017-11-19 20:51:14 -05:00
3f6f8e93ed version bump 0.11.8: CFB 1.0.0
- travis node 9 test
- demo refresh
2017-11-05 14:18:35 -05:00
825830d1cd version bump 0.11.7: VFP DBF write
- DBF writer (dBASE II + VFP extensions)
- updated CFB to 0.13.2
- BIFF8 XLS write VBA
2017-10-27 12:25:54 -04:00
ed4348a6b6 XLS cellText option (fixes h/t @cyzeng-Luca) 2017-10-17 23:44:12 -04:00
f968dfe4ed version bump 0.11.6: ancillary format update
- BIFF5 XLS write (bookType "biff5")
- DBF Level 7 read
- ODS whitespace and repeated rows
- flow and lint cleanup
2017-10-16 20:14:32 -04:00
c88f83940c RTF write stub
- Empty WS on RTF read, rudimentary write
- reshape XLS VBA blob
- CI adding back old nodejs versions
- refresh tests and docs
2017-10-02 04:15:36 -04:00
af3df44633 version bump 0.11.5: "string" type
- proper JS string input / output type
- bower main now uses full version (fixes  h/t @newmesiss)
- DOM parse directly acts on innerHTML (see  h/t @danxfisher)
- unicode core props and ext props (fixes  h/t @fureweb-com)
- shim update for IE10/11
- test refresh and flow checks
2017-09-30 02:18:11 -04:00
1a8f97269e demo refresh [ci skip] 2017-09-24 19:40:09 -04:00
d02650055d version bump 0.11.4: BIFF8 XLS write
- xlsx bin script takes `-8, --xls` options for writing BIFF8
- updated CFB to 0.12.1, CRC32 to 1.1.1
- test file spelling error (h/t @jsoref)
- minified script renames write_shift / read_shift
- UTF8 and XML entity processing

Issues:
- fixes  h/t @Neroth
- fixes  h/t @LittleBreak @PWDream
- fixes  h/t @keyiis
- fixes  h/t @FlyingSailor @simonchan2013
2017-09-22 18:18:51 -04:00
f03e32fc9a updated demos [ci skip]
- frameworks: react, react-native, preact, next.js, weex, nuxt.js
- deployments: nodejs server, duktape, chakra, electron, nw.js
2017-09-12 16:02:06 -04:00
ad47cb433c Math.LOG2E precision issue + new demos [ci skip]
- swift + jsc
- java + rhino
- XMLHttpRequest and friends
2017-09-05 01:34:30 -04:00
Josh Soref
e34b6e78d2 spelling [ci skip]
- fixed spelling errors in README and code (fixes )
- replaced garbled names in property tests (fixes )
2017-09-04 03:55:10 +00:00
635310b639 version bump 0.11.3: "array" type
- phased out Array map invocations (fixes  h/t @dullin)
- "array" type supports Uint8Array
- Headless browser examples
- blank cells are omitted or stubbed (fixes  h/t @domxa)
- removed transferrables from demo
2017-08-19 19:06:34 -04:00
2ea9c95839 HTML and CSV parsing
- blank cells are omitted or stubbed (fixes  h/t @doxma)
- bare equals signs are interpred as strings
- CSV / TSV determination based on frequency (fixes  h/t @nknapp)
- HTML DOM Element and CSV tests
- XLS do not leak XF and index (fixes  h/t @the-spyke)
- cellText and cellNF apply to CSV (fixes  h/t @the-spyke)
2017-08-18 14:10:18 -04:00
5b67ac0806 version bump 0.11.2: proper plaintext parsing
- dollar currencies and percentages properly detected as numbers
- parse potential CDATA segments in XLSX (fixes  h/t @awb99)
- IE8 issues with regex
- altjs demos

Issues:
- fixes  h/t @huhm
- fixes  h/t @sangpuion
- fixes  h/t @GreggOD
- fixes  h/t @sangpuion @jyyan
2017-08-10 19:46:34 -04:00
9ba09bab5e improved plaintext parsing
- fuzzy number check disregards commas (fixes  h/t @mz121star)
- updated to CFB 0.12.1
- parse_dom_table and html_to_sheet raw option
- canvas-datagrid demo
- docs and TS definition update
2017-08-09 18:38:23 -04:00
5855bcb678 demos and docs [ci skip]
- json_to_sheet options (fixes  h/t @enniob)
- demos include HTML files (fixes  h/t @jwamsley)
2017-08-08 16:31:17 -04:00
935821423f version bump 0.11.1: dist cleanup
- dist scripts properly export library
- XLS/XLSB formulae quote sheet names containing spaces
- skipHidden ported to streaming CSV write
- updated codepage to 1.11.0
- flow and TS updates
- webpack demo example using dist scripts
- requirejs demo
2017-08-05 02:32:57 -04:00
7d15f35e3e version bump 0.11.0: new minified versions
- build script strips `require` statements
- finally every version is pinned (see  h/t @the-spyke)
- removed colloquialisms in README
2017-08-01 01:50:53 -04:00
ce37f99ec3 version bump 0.10.9: pin dependencies
- updated SSF 0.10.0, codepage 1.10.1, CFB 0.12.0, CRC32 / ADLER32 1.1.0
- pinned all devDependencies (fixes  h/t @the-spyke)
- flow type updates
- clarified meteor usage (fixes  h/t @NorthDecoder)
2017-07-28 19:27:16 -04:00
6732eb76f8 hodgepodge of fixes
- missing formula elements rewritten to valid defined names (see )
- comment author length limit enforced
- XLS ifmt references renamed to numFmtId for consistency with XLSB
- removed circular symlink
- mangle/compress with uglify
- more flow comments
2017-07-27 17:15:55 -04:00
807eac273b miscellany
- systemjs browser example
- more precise file type resolution
- small corner cases from test corpus
- removed neq in tests (fixes  h/t @TeamworkGuy2)
- package.json devDependencies versions (fixes  h/t @the-spyke)
2017-07-26 04:35:28 -04:00
Danwakeem
d28cc872c7 XLS/XLSX/XLSB Row Outline Levels (closes )
note: @sheetjsdev rewrote implementation, original PR author used
2017-07-10 06:02:06 -04:00
00f25cfe1e version bump 0.10.7: autocorrections for bad files
- recalculate SSF for malformed files (fixes  h/t @asksahil)
- malformed shared string (fixes  h/t @Ramzec)
- SSF added to TS def (fixes  h/t @duckywang1)
- Norsk property names
- resolved gitbook processing issues
2017-07-05 18:27:54 -04:00
5d997df419 version bump 0.10.5
- HTML output new preamble, <table> should not be in header/footer
- XLS Built-In defined names translated to XLSX _xlnm form
- README: streaming read strategies
- If approximation error is sufficiently small, assume MDW is 6
- TS rename Utils type to XLSX$Utils (see )
2017-06-09 21:54:33 -04:00
81ab4f9b1f version bump 0.10.4: privacy filter 2017-06-03 03:19:09 -04:00
aff7b95272 Date/Time Minutiae
- TZ consistency for DBF and others (closes  h/t @peeyushsrivastava)
- Date1904 XLSX/XLSB/XLS/XLML consistency (fixes  h/t @SheetJSDev)
- dateNF corrects for plaintext date parsing (fixes  h/t @mmancosu)
- new travis tests override local time zones
2017-06-01 17:22:11 -04:00
3fde651a8c sheet_to_html
- added to TS definition and tests
- clarified behavior of plaintext files (fixes  h/t @dskrvk)
- removed old test files
2017-05-16 13:45:35 -04:00
99b513875b lint and type fixes
- removed CFB test (fixes  h/t @wolfgang42)
- book_append_sheet optional name (fixes  h/t @jomel)
- strict mode compliance (h/t @simon-p-r @loongdefect @appersonj)
- flow fixes (h/t @jameskraus for help with Date#getYear)
- fixed minifier to generate ExtendScript-compatible code
2017-05-13 14:21:22 -04:00
c3c0bc5266 version bump 0.10.1: json_to_sheet, misc fmts
- SYLK auto fail into DSV on bad header (fixes  h/t @mmancosu)
- CSV automatically wrap `ID` in quotes
- json_to_sheet (see issue )
2017-05-11 14:36:32 -04:00
a8736580a5 version bump 0.10.0: cleanup
- updated SSF to 0.9.2
- XLSB style records and number format writing
- CSV avoid parseFloat (fixes  h/t @jabbermarky)
- CSV recognize mac line ending (fixes  h/t @charlesread)
- BIFF2 format table refactored to align with SSF
- BIFF5 image data exposure
- SSF custom format auto table update (fixes  h/t @Fangmingdu)
- eslint more checks
- browser test timeout extended to 10 seconds
2017-05-09 14:07:57 -04:00
810c447bf9 browser tests and doc cleanup [ci skip] 2017-05-01 01:00:00 -04:00
b9bc0a1627 version bump 0.9.13: string formatting
- dateNF parse option controls interpretation of code 14
- SSF updated to 0.9.1
- SYLK write formulae
- DIF support Excel-style data storage
- ODS/FODS automatic styles for date formatting

Issues:
- Fixes  h/t @CharlesNo
- Fixes  h/t @JohnJeong123
- Fixes  h/t @jerryhe88
- Fixes  h/t @JohnJeong123
- Fixes  h/t @calebeaires
- Fixes  h/t @railty
- Fixes  h/t @FourLeafClover
- Fixes  h/t @dougschiller
- Fixes  h/t @dpackage
2017-04-30 12:27:03 -04:00
dcee744e4e row and column size and visibility
- XLSX/XLSB/XLS/XLML/SYLK rows and columns
- corrected pixel/point calculations using PPI
- XLSX/XLSB generate sheet view
- clarified sheet protection default behavior
- fixed eslintrc semi check
2017-04-28 03:40:40 -04:00
1d61054602 HTML Write support
- 'html' bookType write format
- basic HTML entity encoding (fixes  h/t @xkr47)
- HTML string and table merge cell fixes
- doc notes on nodejs streaming
2017-04-16 00:32:13 -04:00
b3ace1e5a9 Doc Improvements [ci skip] 2017-04-13 13:05:42 -04:00
0189bc23ca Defined Names
- XLSX read/write defined names
- XLSB/XLS/XLML read defined names

Issues:
- fixes  h/t @developergdd
- fixes  , fixes 
2017-04-11 18:15:36 -04:00
c13170fbd5 windows build (see h/t @simon-p-r) [ci skip] 2017-04-09 03:11:08 -04:00
6a3afe56c2 Lotus / Quattro Pro read support 2017-04-04 12:09:41 -04:00
01d1c32fa1 version bump 0.9.9: basic TXT/CSV read
fixes  h/t @vijayst
fixes  h/t @ayush000
2017-04-03 02:02:05 -04:00
b9dae134f2 TXT/PRN
- UTF-16 Unicode Text (TXT) write
- Lotus Formatted Text (PRN) read/write
- DBF version 2 field length adjustments
- throw errors if SheetNames is invalid (fixes  h/t @pietersv)
2017-04-02 20:16:03 -04:00
3a310bd3a7 Read/Write Comments
- XLSB/XLSX/XLML write comments
- BIFF2 write date cells (see  h/t @roccomuso)
- ODS read cell comments (fixed  h/t @yisk)
- XLSX / XLSB emit empty comments when necessary
- changed node detection logic (fixes  h/t @mhenris)

- fixes  h/t @ylbweb
- fixes  h/t @hanxi @osecki
- fixes  h/t @abarik1981 @stla
- fixes  h/t @aravindkoneru @ryangallen
2017-04-02 02:47:25 -04:00
b93569badf more formats from js-harb
- clarify usage of Props and Custprops (fixes  h/t @michahell)
- SYLK from js-harb
- DIF from js-harb
- HTML empty string bug fix
2017-04-01 03:32:12 -04:00
e42cf43c02 version bump 0.9.8 2017-03-31 17:46:02 -04:00
97f7c1d4bf sheet visibility
- XLSB read V H VH + write V H VH
- XLSX read V H VH + write V H VH
- XLML read V H VH + write V H VH
- XLS  read V H VH

- fixes  h/t @rla-dev @Mior
- fixes  h/t @enobufs @thowk
- fixes  h/t @digity
- fixes  h/t @digity
2017-03-31 14:46:42 -04:00
65f1c7e58b HTML DOM Element read
- DOM <table> element parsing (fixes  h/t @axolo)
- removed InterfaceHdr check (fixes  h/t @Batistleman)
- gitbook docs
2017-03-29 15:14:15 -04:00
70c48a74b9 API Improvements
- `aoa_to_sheet` function (fixes  h/t @fonzy2013 @rvdwijngaard)
- `writeFileAsync` function (fixes  h/t @barbalex)
- `sheet_to_json` tests + docs + blankrows (fixes  h/t @EEaglehouse)
- write number format scan now includes every index >= 50
- propagate SSF IE8 fixes (fixes  h/t @sheetjsdev)
- update shim for extendscript (see  h/t @firas3d)
- more flow type definitions
2017-03-24 21:36:40 -04:00
245dd7fd82 Documentation improvements
- multiformat column widths (fixes  h/t @sheeeeep)
- skip nested BIFF files
2017-03-20 05:02:25 -04:00
7888070603 explicitly share styles and themes 2017-03-18 19:25:50 -04:00
456ab63dc4 version bump 0.9.2: more bugfixes
- decode sheet name for XLSX and XLML (fixes  h/t @rocketmonkeys)
- XFExt (fixes  h/t @aetna-softwares @aimcom @baharudinafif)
- handle truly empty `<is>` elements (fixes  h/t @asksahil)
- pin version numbers for dependencies (fixes  h/t @nhtera)
- sed usage fix (see  h/t @liryna)
- fix hex2RGB substr indices (fixes  h/t @kamorahul)
- removed stale typescript files (see )
- reworked shift formula regex (fixed  h/t @SheetJSDev)
- README note on webpack codepage suppression (fixes  h/t @rusty1s)
- README note on WTF (fixes  h/t @livesoftware)
2017-03-13 02:46:37 -04:00
8cd9e81569 flow annotations
no errors when running flow!
2017-03-12 14:02:46 -04:00
54b528eaed version bump 0.9.0: merged ODS into XLSX
The optional ODS module has been completely merged into xlsx.js and the
corresponding scripts have been removed.  The new xlsx.js file provides
appropriate ODS exports, so fixing is a matter of removing ods.js refs.
2017-03-09 20:09:18 -05:00
7b6fb7b327 version bump 0.8.8: HTML
- read MSO HTML (fixes  h/t @vineetl fixes  h/t @tienne)
- roll out xml namespace fix (closes  h/t @PierreOCXP)
- cellDates clarifications
2017-03-09 00:24:32 -05:00