Commit Graph

64 Commits

Author SHA1 Message Date
5a36cb423d NaN and Infinity error export
- `read` handle `Int8Array` (to support Java engines)
- `sheet_to_formulae` option to suppress values
- handle unexpected `<charset/>` (fixes #3143 h/t @dearzubi)
2024-07-04 15:54:34 -04:00
a0bed2a97d version bump 0.20.2
see https://regexide.com for more details
2024-04-04 21:30:28 -04:00
e4a66516e4 remove flow array comment workarounds
- XLSB use #REF! for unsupported defined name ref (fixes #3059 h/t @NenadC2)
2024-02-02 01:52:14 -05:00
ee8b37b3a6 ODS XML Parse nit 2022-06-27 02:02:21 -04:00
Łukasz Kaczmarek
fb85dfbedc https://github.com/SheetJS/sheetjs/issues/2660
- fix Invalid character (https://www.w3.org/TR/REC-xml/#charsets)
2022-04-25 10:21:00 +02:00
8124fcbae0 newline normalization 2022-04-20 13:31:11 -04:00
e6b6f382c0 xsd:boolean strict truthy parsing (fixes #2658)
Co-authored-by: Dmitry Kostochko <dkostochko@users.noreply.github.com>
2022-04-18 17:31:41 -04:00
69bb1e79a3 "side-effect free" 2022-03-19 21:54:41 -04:00
61b17a8bc8 version bump 0.18.4 2022-03-15 23:23:39 -04:00
9a3294c955 phasing out patterns with side effects
- add ssf test to actions
- support for threaded comments (fixes #2542)
2022-03-14 02:51:33 -04:00
b9e7d0d8f4 XLSB/XLS Record Name refactor 2022-03-12 09:05:57 -05:00
c6a86cfe98 make stream utils available to Node ESM
- sheet_to_csv blankrows/strip (fixes #2274 h/t @dmongit)
- sheet_to_json fix dedupe (see #2460 h/t @giuliohome)
- mini build browser tests
2022-03-08 20:44:10 -05:00
Jeremy Mill
3542d62fff version bump 0.17.0
- Explicit errors on inconsistent XLS records
- DBF cap worksheet to 1<<20 rows
2021-05-13 15:07:05 -04:00
Israel Fraga
abed474873 whitespace check (fixes #2075) 2020-08-08 17:24:00 -04:00
baea1798cf version bump 0.16.1
- Custom Properties use correct encoding
- AMD wrapper change (see #1937)
2020-05-16 15:45:54 -04:00
0a57229d3b version bump 0.15.6: niggles from 2012
- CFB prevent infinite loop (h/t @rossj)
- pass updated eslint checks (fixes #1726 h/t @BjoernRave)
- defined name proper encoding (fixes #1785 h/t @laohe98)
- correct theme color order (fixes #389 h/t @foreverpw)
- ODS / XLML more aggressive flagging of stub cells
- cellStyles implies sheetStubs
- updated SSF to 0.10.3
2020-03-15 03:57:44 -04:00
7ef3f3e531 version bump 0.15.3: Thanksgiving edition
Proper XML Encoding of Props/CustProps (fixes #1690 h/t @karlbecker)
2019-11-27 04:47:16 -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
sauravhiremath
19ebdd9477 bug: Remove white spaces due to html tags (#1622) 2019-10-05 13:24:06 -04:00
eca6b457be version bump 0.13.5: HTML newlines
- HTML Export emits `<br/>` (fixes #1239 h/t @keithbox)
- Unicode Defined Name ODS
2018-08-25 19:44:35 -04:00
Squillante
82e909e0ed Recognize case-insensitive properties
Fixes #1204 ; Closes #1205
2018-08-07 18:51:11 -04:00
10439f7879 version bump 0.13.3: dynamics export
- repair missing dynamics export metadata
- correct handling of non-DOM whitespace (fixes #1156 h/t @Sakura777)
- removed duplicate entity decode (fixes #1178 h/t @mishaberman)
2018-07-25 02:40:26 -04:00
a9b8588e6c version bump 0.13.2: Buffer issues
- node 4.x buffer fix (fixes #1150 h/t @gabyidong)
- dependencies: CFB 1.0.8, codepage 1.14.0
- json object stream
2018-07-08 23:46:11 -04:00
233102d172 version bump 0.12.13: sylk niggles
- sylk column-major order support
- third-party extensions in SST
- `string` type codepage
2018-05-19 21:34:59 -04:00
c0b4895881 version bump 0.12.12: ecosystem deprecations
- node 10 `Buffer` deprecation workaround (with dependency update)
- Angular 6 global deprecation workaround (fixes #1088 h/t @cristhiank)
- BIFF8 write standard and custom properties
- TH elements in HTML string (fixes #1090 h/t @GigiSan)
- planmaker export quirks
2018-05-05 02:34:37 -04:00
8508ad4e94 version bump 0.12.2: BIFF2-4 features
- correct BIFF-dependent cell reference wrapping
- record layout fixes from sample files
- use BIFF version 2.4.338 for BOF (fixes #995 h/t @benjaminleetmaa)
- fixed potentially vulnerable regexes (h/t @davisjam)
- removed insecure deep dependency (fixes #996 h/t @dcatoday)
2018-02-21 02:10:33 -05:00
c2ec7555fb version bump 0.11.18: infrastructure
- updated dependencies
- fixed eslint config
- fusebox demo
2018-01-23 04:07:55 -05:00
c654a2656b archaic browser compatibility and testing
IE11 Compatibility View levels 5 and 7 (see #952)
Firefox 5.0+ passes browser test (see #950)
2018-01-11 03:07:07 -05:00
1d74977718 version bump 0.11.17: sheet_add_{aoa,json}
- Skip extraneous trailing records (fixes #938 h/t @benjaminleetmaa)
- XLS -> XLML oddities (fixes #678 h/t @buserror)
- ionic demo
- sheet_add_aoa and sheet_add_json
Issues:
- fixes #947 h/t @fpasxos
- fixes #666 h/t @samuelkavin
- fixes #301 h/t @acgentry
- fixes #561 h/t @Ideandro
2018-01-09 02:36:02 -05:00
f277ebe140 version bump 0.11.16: refresh
- HTML whitespace (fixes #849 h/t @laurentauthier)
- XLML number format write (fixes #904 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
c9cab8078c version bump 0.11.13: codepage
- binary CSV `codepage` read option (fixes #907 h/t @popovserhii)
- BIFF2-5 `codepage` read option (fixes #912 h/t @makcbrain)
- `xlsx` utility `--codepage` override option
- HTML support some common entities (fixes #914 h/t @razvanioan)
2017-12-09 02:17:25 -05:00
Andreas Hjortland
1ab13069cb Remove closing > of <br> tag
Use get_dom_element
2017-10-31 20:18:29 +01: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
af3df44633 version bump 0.11.5: "string" type
- proper JS string input / output type
- bower main now uses full version (fixes #820 h/t @newmesiss)
- DOM parse directly acts on innerHTML (see #779 h/t @danxfisher)
- unicode core props and ext props (fixes #822 h/t @fureweb-com)
- shim update for IE10/11
- test refresh and flow checks
2017-09-30 02:18:11 -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 #815 h/t @Neroth
- fixes #739 h/t @LittleBreak @PWDream
- fixes #553 h/t @keyiis
- fixes #492 h/t @FlyingSailor @simonchan2013
2017-09-22 18:18:51 -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 #775 h/t @awb99)
- IE8 issues with regex
- altjs demos

Issues:
- fixes #673 h/t @huhm
- fixes #748 h/t @sangpuion
- fixes #749 h/t @GreggOD
- fixes #772 h/t @sangpuion @jyyan
2017-08-10 19:46:34 -04:00
Hugh Greenish
54f380ef2c new tag regex handles angle brackets in attributes
fixes #768
2017-08-08 14:22:17 -04:00
David Beaumont
0f39f2818f Don't throw when vt:vector isn't the expected size
Fixes #759
2017-08-03 17:38:30 +01:00
6a913d3a7b version bump 0.10.8
- TS definition removed DOM references (fixes #724 h/t @shaunc)
- extendscript inconsistent processing of bitwise ops
- updated browser tests
2017-07-10 18:18:18 -04:00
00f25cfe1e version bump 0.10.7: autocorrections for bad files
- recalculate SSF for malformed files (fixes #506 h/t @asksahil)
- malformed shared string (fixes #445 h/t @Ramzec)
- SSF added to TS def (fixes #711 h/t @duckywang1)
- Norsk property names
- resolved gitbook processing issues
2017-07-05 18:27:54 -04:00
1988338deb version bump 0.10.6: encoding tweaks
- updated codepage to 1.9.0
- replaced \u2603 with \s\S (fixes #687 h/t @clgnik)
2017-06-24 02:51:37 -04:00
aff7b95272 Date/Time Minutiae
- TZ consistency for DBF and others (closes #663 h/t @peeyushsrivastava)
- Date1904 XLSX/XLSB/XLS/XLML consistency (fixes #175 h/t @SheetJSDev)
- dateNF corrects for plaintext date parsing (fixes #658 h/t @mmancosu)
- new travis tests override local time zones
2017-06-01 17:22:11 -04:00
99b513875b lint and type fixes
- removed CFB test (fixes #654 h/t @wolfgang42)
- book_append_sheet optional name (fixes #652 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
a8736580a5 version bump 0.10.0: cleanup
- updated SSF to 0.9.2
- XLSB style records and number format writing
- CSV avoid parseFloat (fixes #646 h/t @jabbermarky)
- CSV recognize mac line ending (fixes #648 h/t @charlesread)
- BIFF2 format table refactored to align with SSF
- BIFF5 image data exposure
- SSF custom format auto table update (fixes #267 h/t @Fangmingdu)
- eslint more checks
- browser test timeout extended to 10 seconds
2017-05-09 14:07:57 -04:00
1d61054602 HTML Write support
- 'html' bookType write format
- basic HTML entity encoding (fixes #629 h/t @xkr47)
- HTML string and table merge cell fixes
- doc notes on nodejs streaming
2017-04-16 00:32:13 -04:00
Jonas Berlin
616d2e534f XLSX Proper HTML entity escaping for .h 2017-04-13 14:33:00 -04:00
3a310bd3a7 Read/Write Comments
- XLSB/XLSX/XLML write comments
- BIFF2 write date cells (see #586 h/t @roccomuso)
- ODS read cell comments (fixed #315 h/t @yisk)
- XLSX / XLSB emit empty comments when necessary
- changed node detection logic (fixes #614 h/t @mhenris)

- fixes #605 h/t @ylbweb
- fixes #233 h/t @hanxi @osecki
- fixes #192 h/t @abarik1981 @stla
- fixes #183 h/t @aravindkoneru @ryangallen
2017-04-02 02:47:25 -04:00
OliverZ
1038400859 International Properties
Excel localizes "Worksheets" and other names in XLS[XMB] Properties

Fixes #33

note: @oliverz contributed a file with "Arbeitsblätter"
      @sheetjsdev tested against test suite, PR #32 details used
2017-03-25 14:32:59 -04:00
a846f7184d utility improvements
- sheet_to_csv strip option (fixes #182 h/t @davidworkman9)
- sheet_to_json dateNF option (fixes #134 h/t @rotemtam)
- file type detection expanded to 4 byte magic number
2017-03-22 03:50:11 -04:00