Commit Graph

37 Commits

Author SHA1 Message Date
202cac81c0 Accept readonly array inputs
This changes some type definitions so that sheetjs accepts readonly arrays in places where it's not mutating the array anyway.

For example, without this change, the following code would not compile:
```
const myData: ReadonlyArray<{ col1: string, col2: string}> = [{ col1: 'a', col2: 'b' }];
const myWorksheet = utils. json_to_sheet(myData);
```
This theoretically should work - sheetjs isn't mutating the myData array anyway, so it should accept a readonly array as input.

Signed-off-by: Sweater-Baron <sweater-baron@noreply.git.sheetjs.com>
2025-03-26 18:49:46 +00:00
2669c7cf1c actually remove test_files submodule 2024-07-19 14:57:19 -04:00
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
5ef49e2b96 XLML Streaming Write
- CSV Export only quote leading ID (fixes #2959)
2024-05-31 03:16:53 -04:00
947a5178bd ssf format NaN and Infinity values 2024-04-27 19:49:12 -04:00
0941ff97a3 dta v0.0.2 2024-03-22 00:39:09 -04:00
d4d4ff3da2 SYLK error cells read/write (fixes #3049) 2024-01-10 04:54:10 -05:00
29d46c07a8 version bump 0.20.1 2023-12-05 03:19:42 -05:00
9199c2600c dta initial 2023-11-13 06:13:07 -05:00
cd5fafda32 ssf v0.11.3 2023-10-23 21:22:11 -04:00
David Szajngarten
c8e6d5c20f ssf seconds/hours time rounding 2023-10-23 13:25:42 -04:00
432ac1fda7 xlsx-cli v1.1.4 2023-10-11 16:22:42 -04:00
53283217e9 xlsx-cli support dateFormat option (#3005)
Co-authored-by: Marlous Kottenhagen <m.kottenhagen@bigmile.eu>
Reviewed-on: sheetjs/sheetjs#3005
Co-authored-by: MarlousKottenhagen <marlouskottenhagen@noreply.git.sheetjs.com>
Co-committed-by: MarlousKottenhagen <marlouskottenhagen@noreply.git.sheetjs.com>
2023-10-10 06:50:32 +00:00
b150dea21d denoized otorp [ci skip] 2023-01-06 02:37:53 -05:00
fdbbf2d6bf precise time parse (h/t @ragearino @MyAddonsDev ) 2022-08-06 22:50:58 -04:00
scottysseus
9a36af0830 SSF time rounding tests
Co-authored-by: Joe Cool <snoopyjc@gmail.com>
2022-07-17 21:09:02 -04:00
5d18f82664 common XLSB name ranges 2022-05-27 16:26:39 -04:00
alonkh2
d4beb13723 (ssf) export choose_fmt (closes #2691) [ci skip] 2022-05-27 04:45:05 +03:00
9f8ec25845 refresh browser tests 2022-05-17 17:48:05 -04:00
af421e3161 xlsx-cli 1.1.3 [ci skip] 2022-04-16 02:18:29 -04:00
Joe Cool
9ca1243448 a/p use actual format case (fixes #2570) 2022-04-10 01:41:52 -04:00
reviewher
90a7b4ee91 remove SSF._general_int 2022-03-16 21:38:06 -07: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
0044f3be82 clean cptable global pollution 2022-03-11 01:16:24 -05:00
b738e5d3f1 pulling ssf into main project [ci skip] 2022-03-09 06:31:53 -05:00
d97fce4424 ssf repo reorg 2022-03-09 06:28:19 -05:00
6ede9dcfb9 xlsx-cli v1.1.2 [ci skip] 2022-03-03 14:11:20 -05:00
cb8046c447 arithmancy 2022-01-31 06:41:23 -05:00
bb997654ef very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
fcf9182fa6 version bump 0.17.4: Lotus WK3 workbook writer 2021-11-13 23:49:38 -05:00
29e3bb4c1f Lotus WK1 worksheet writer [ci skip]
- unpack errors from WK3 long double
- explicitly ignore ss:Null in XLML (fixes #2447)
2021-11-08 00:01:12 -05:00
Garrett Luu
c1f5f041a4 xlsx-cli separate package [ci skip] 2021-11-06 20:34:44 -04:00
6cdd7ac629 ssf-cli 1.0.1 [ci skip] 2020-06-27 20:21:36 -04:00
Garrett Luu
15c017bc5b CLI refactor
* Moved cli to packages/ssf-cli

* Modified bin in package.json files
2020-06-24 12:45:39 -07: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
e3c5eac99c initial release of S [ci skip] 2019-09-04 02:27:03 -04:00