Commit Graph

50 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  h/t @dearzubi)
2024-07-04 15:54:34 -04:00
5ef49e2b96 XLML Streaming Write
- CSV Export only quote leading ID (fixes )
2024-05-31 03:16:53 -04:00
947a5178bd ssf format NaN and Infinity values 2024-04-27 19:49:12 -04:00
a0bed2a97d version bump 0.20.2
see https://regexide.com for more details
2024-04-04 21:30:28 -04:00
9199c2600c dta initial 2023-11-13 06:13:07 -05:00
955543147d version bump 0.20.0 2023-06-23 05:48:47 -04:00
Joe Cool
9ca1243448 a/p use actual format case (fixes ) 2022-04-10 01:41:52 -04:00
69bb1e79a3 "side-effect free" 2022-03-19 21:54:41 -04:00
reviewher
90a7b4ee91 remove SSF._general_int 2022-03-16 21:38:06 -07:00
b9e7d0d8f4 XLSB/XLS Record Name refactor 2022-03-12 09:05:57 -05:00
0044f3be82 clean cptable global pollution 2022-03-11 01:16:24 -05: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
0a57229d3b version bump 0.15.6: niggles from 2012
- CFB prevent infinite loop (h/t @rossj)
- pass updated eslint checks (fixes  h/t @BjoernRave)
- defined name proper encoding (fixes  h/t @laohe98)
- correct theme color order (fixes  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
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  h/t @benjaminleetmaa)
- fixed potentially vulnerable regexes (h/t @davisjam)
- removed insecure deep dependency (fixes  h/t @dcatoday)
2018-02-21 02:10:33 -05: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
Valters Valdersteins
da1c111275 updated SSF to 0.9.4
- fixes  h/t @kuhu19
- fixes  h/t @vvaldersteins

note: @sheetjsdev authored commit, SSF PR info used
2017-06-08 22:19:15 -04:00
e996df7b67 version bump 0.10.3: flush
- CSV double-quote processing (fixes  h/t @jckkong)
- actually updated SSF to 0.9.3 (h/t @HuFlungDu)
- npm module actually includes the types
2017-05-17 13:52:32 -04:00
7b4bafba49 Miscellaneous format fixes
- SSF update to address extendscript issue (fixes  h/t @mjdb3d)
- XLSX cellDates set date format (fixes  h/t @psalmody)
- ODS add stub stylesheet for Excel (fixes  h/t @WaqasJaved1)
- CSV with UTF8 BOM (fixes  h/t @charlesread)
- DIF/CSV fuzzy date speculation
- SYLK parse RC formulae
- CSF utils for manipulating workbooks
2017-05-11 03:29:59 -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
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
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
c7010eec35 XLS/XLSX/XLSB/XLML cellDates support
- uniform number->date cell conversion
- update SSF to 0.9.0 (for is_date)
- namespaced rich str xml
- license file changed to appease GH automatic license detector

|     id      | author       | comment                                 |
|:------------|:-------------|:----------------------------------------|
| closes  | @Aymkdn      | XLSX cellDates + SSF.is_date            |
| closes  | @elad        | same as  h/t @SystemParadox         |
| closes   | @vratiu      | same as                             |
| closes  | @varunoberoi | raw json output uses date               |
2017-03-21 16:44:35 -04:00
5a3774e36e Formula write support
- XLSX/XLML/ODS/CSV formula write
- XLS Array/Formula record parsing
- ODS to/from CSF formula conversion
- XLML parse negative dates
- formula multiformat and roundtrip tests
- update SSF

Closes issues:
- closes  h/t @omershelef
- closes  h/t @akaustel
- closes  h/t @wawanopoulos
- closes  h/t @florf
- closes  h/t @christocracy
- closes  h/t @johnyesberg
- closes  h/t @alexanderknapstein
2017-03-17 20:45:06 -04:00
8cd9e81569 flow annotations
no errors when running flow!
2017-03-12 14:02:46 -04:00
7408679252 version bump 0.8.5: FODS/UOS and IE6+ support
- read and write support for Flat ODS files
- read support for Uniform Office Spreadsheet (UOS)
- IE6-8 cell regex split fix (fixes    h/t @Aymkdn @C0d3ine)
- replace substr negative index with slices (fixes  h/t @Aymkdn)
- ODS parsexmltag ignores ext overrides (fixes  h/t @lgodard)
- csv can be written using write/writeFile with csv type
- added `type` to README (fixes  h/t @tomkel)
2017-02-21 22:57:59 -08:00
6bc24374b9 version bump 0.7.7: needs more cowbell
- parsexmltag and other hot functions now better optimized for v8
- monomorphic functions (different types -> different funcs)
- more efficient decode_range implementation when source is trusted
- regular expressions cached and simplified without breaking correctness
- more efficient utf8 techniques when available
- XLSX: large functions broken down into sub-functions (e.g. `parse_ws_xml`)
- XLSB: avoid unnecessary binds
- XLSB: assume no exotic codepage exists (no one else tries to write XLSB)
- demo exposes rABS / worker / transferable options
- more tests
- jszip updated to 2.3.0
- SSF updated to 0.8.1
- codepage updated to 1.3.1
2014-06-29 14:29:45 -04:00
44b55c5c56 version bump 0.7.6: IE compatibility
- jscs linting to check for trailing comma issues (h/t @altkatz)
- IE: phased out lazy string indexing in favor of charCodeAt
- XLSX: replaced certain operations in hot functions with faster alternatives
- updated SSF to 0.7.1
- improved coverage in tests
2014-06-05 03:06:20 -04:00
e1f8dbb863 version bump 0.7.2: bughunt
- read BOM, handle UTF16LE-encoded XML
- handle namespaces in [Content_Types].xml
- parse workbook rels to determine sheet files
- numbers OSX boolean support (apparently requires "0" or "1")
- XLSX force "General" style to be serialized, omit implied cell type and style
- updated SSF to 0.7.0 (h/t @sysarchitect)
- updated jszip to 2.2.2
- removed old tests/files path, replaced with test_files
- themes written
- ignore potential existence of thumbnail when calculating relationship ids
2014-05-22 05:16:51 -07:00
b645f6ef98 version bump 0.6.2: bits reorganization
- updated SSF to 0.6.5
- XLSB 'dbcs' uses codepage
- README bugfix (h/t @noodles)
- new tests: rawjson and json baselines generated by hand
- single cell ranges are encoded as cells ("A1" instead of "A1:A1") (h/t @clxl)
- source code alignment with js-xls
2014-05-03 11:51:10 -07:00
6801958327 version bump 0.6.1: dist cleanup
- XLSX format strings properly handles literal UTF8 chars (test apachepoi_49273)
- codepage updated to 1.0.0
- jszip updated to 2.2.0 (node-only)
- dist now contains jszip and codepage dependencies
- updated test_files
2014-04-22 18:37:08 -07:00
dc2d391fbc version bump 0.6.0: avoid globals
- all utilities are now wrapped in XLSX object
- codepage handling (h/t @xch89820)
- formula tag attributes (h/t @shaunthomas999)
- hyperlink support (h/t @sysarchitect, fixes )
- coverage test spinner (to prevent travis timeouts)
2014-04-15 02:04:03 -07:00
03588e332c version bump 0.5.16: content types et al
- added `bookVBA` option
- content type default corner cases
- fleshed out content type list
- XML parsing ignores namespaces
- updated SSF to 0.6.4
- testA tets enforce sheetRows=10 (shorter tests)
2014-04-03 15:51:54 -07:00
56b10f3616 version bump 0.5.15: converging tests
- test script normalized
- proper handling of empty sheet ranges
- xlsb sheetStubs and calcchain parsing
- jshint passes
- updated SSF to 0.6.2
2014-03-29 15:53:15 -07:00
d462e18846 version bump 0.5.14: XLSB comments
- SSF updated to 0.6.1 (h/t @notatestuser)
- more tests and related XLSB records
- XLSB plaintext comment and author
- preliminary work for XLSB formats
2014-03-28 19:05:50 -07:00
2df14a3cce version bump 0.5.11: removing XLSB training wheels
- Brt* errors restored
- updated SSF to 0.5.9
2014-03-19 10:53:20 -07:00
33fbc389c5 version bump 0.5.8: bookFiles, default change
- option bookFiles controls whether zip files and keys are written to object
  *** Default has been flipped from "true" to "false"
- updated SSF to 0.5.8
- updated test_files to 20140216 (tests also look at 2013 XLSB)
- added dist files (make dist)
2014-02-17 03:44:22 -05:00
7e9f218f0f version bump 0.5.4: more options
- cellHTML controls HTML generation
- cellFormula controls formula output
- sheetStubs now defaults to false

- cleaned up unnecessary CSV quotes (fixed )
- updated test_files to 20140211
- updated SSF to 0.5.7
- removed unused main function
- removed some dead code
2014-02-12 01:09:42 -05:00
6990e66a56 version bump 0.4.1: more XLSB + cleanup
- updated ssf to 0.5.4
- cleaned up CSV string output
- added CSV tests (from test_files)
- passes lint
- inlineStr actually parses <is> block
- more XLSB bits
2014-01-29 01:00:09 -05:00
9c9aad5df3 version bump 0.3.9: general format used by default
(when no format or style is found, use general)

Other whitespace cleanup
2014-01-23 11:14:11 -05:00
a1ccaf511d version bump 0.3.8: more formatting
- updated SSF to 0.5.3

tests without baselines now try to generate CSV output
2014-01-23 01:20:19 -05:00
dd0a649c95 version bump 0.3.7: comments and coverage
- parsing comments (h/t @kinwahlai, @hmalphettes)
- XLSX.version now exposed in source
- code coverage
- updated SSF to 0.5.2
- updated tests/files
2014-01-21 23:58:26 -05:00
37753d8230 version bump 0.3.6: updating SSF
Addresses issue from LO Calc files generating invalid formats.

Link: https://github.com/SheetJS/js-xls/issues/24
2013-12-31 11:42:46 -05:00
afc4e281af version bump 0.3.5: updating SSF
- updated sheetnames tests
- updated ssf
2013-12-26 22:15:16 -05:00
e186e55341 version bump 0.3.4: updating SSF and related tests
version bump needed for npm
2013-12-16 11:38:10 -05:00
0a70e1950f updated SSF dependency 2013-11-12 09:08:31 -08:00
fd6e3fa19b version bump 0.3.1: more cleanup
- xlsx2csv mirrors xls2csv options
- passes lint
- protection tag (1)
2013-10-30 15:42:27 -07:00
247fd22c06 jshint passes 2013-10-10 02:44:18 -04:00
a0b73e3d4f Version bump 0.2.1: date1904 support
date1904 flag now propagated to SSF
2013-10-10 02:44:18 -04:00
0d8fedfe1f added 'e' format from SSF 2013-10-10 02:44:18 -04:00
8bd3c624ac split xlsx.js into multiple files
run `make` to combine the files.

Files are named in numerical order based on the relative placement
2013-10-10 02:44:18 -04:00