1
forked from sheetjs/sheetjs
Commit Graph

145 Commits

Author SHA1 Message Date
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
Surgie Finesse
2918185249 DOM TABLE parse element visibility
- Hidden rows are marked as hidden by default (mimics Excel behavior).
- `display` option for `table_to_*` replicates table as it appears.

Fixes 
2018-05-29 11:11:06 +10: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
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
Anton Alexandrenok
2339e13222 skipHidden option for sheet_to_csv (fixes )
Note: Excel CSV conversion includes hidden rows and columns by default
2017-08-02 19:41:44 +03: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
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
1988338deb version bump 0.10.6: encoding tweaks
- updated codepage to 1.9.0
- replaced \u2603 with \s\S (fixes  h/t @clgnik)
2017-06-24 02:51:37 -04:00
20f22cf7f9 vue demo and typing fixes [ci skip] 2017-06-19 03:14:18 -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
6a100b9085 rollup demo [ci skip] 2017-06-08 02:19:11 -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
118e9ad9cb meteor example [ci skip] 2017-05-24 18:52:35 -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
95a377c0e4 more format parity
- XLS/XLSX/XLSB/XML/ODS cellFormula option + test
- XLS/XLSX/XLSB/XML/ODS cellText option + test
- XML document property order
- XML write margins + protection
- removed gitbook search
2017-04-25 22:27:12 -04:00
83ec60688f Windows build (fixes h/t @simon-p-r)
run `make help` for more info
2017-04-24 06:39:00 -04:00
0fd11047bb remove gitbook link [ci skip] 2017-04-21 20:52:45 -04:00
8c4f1f4e84 version bump 0.9.12
`cellText` parse option controls `.w` output (fixes  h/t @SCullman)
2017-04-21 18:02:05 -04:00
6853c99ce5 rich text HTML + preview 2017-04-19 23:43:43 -04:00
09fba37eac switch to eslint
- eslint pass (eliminates jshint and jscs)
- moved cell reference functions to reduce forward references
- themeXLSX override XLSX/XLSB/XLSM theme
2017-04-16 22:08:23 -04:00
f51feb375a version bump 0.9.11: streaming HTML write 2017-04-16 03:31:21 -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
Jani Hartikainen
c9d0aa140d Small Test and Doc Fixes 2017-04-13 03:10:18 -04:00
1587688aea Page Margins
- XLSB read/write page margins
- XLSX/XLS/XLML read page margins
- separated encrypted XLSX/XLSB document logic from XLS
2017-04-12 21:29:38 -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
5187bc0b63 Basic AutoFilter Read/Write
- XLSX/XLSB read/write autofilter
- XLS/XLML/*ODS read autofilter
- Workbook Properties override via Props option
- XLSB write sheet protection

Issues:
- fixes  h/t @nishthasb
- fixes  h/t @yonatannn
- see  h/t @jcarvin
2017-04-10 01:11:32 -04:00
c13170fbd5 windows build (see h/t @simon-p-r) [ci skip] 2017-04-09 03:11:08 -04:00
Mior
d086dbecbf XLSX write Sheet Protection
fixes  h/t @Mior

note: @sheetjsdev rewrote implementation, original PR author used
2017-04-04 14:46:10 -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
b89a876076 version bump 0.9.7: write features
- write !cols widths : XLSX XLSB XLML
- write hyperlinks   :           XLML
- XLSB convert date cell to numeric on write
- fixed issue with assigning self in jszip

issues:
- closes  h/t @jscheid
- closes  h/t @asfman
2017-03-28 18:03:03 -04:00
085150db3b DBF from js-harb
- merged DBF from js-harb (fixes  h/t @joefreire)
- updated codepage to 1.8.0
- stub for macro/dialog sheet parsing (fixes  h/t @GenoD)
- XLSB/XLSM write vbaraw (fixes  h/t @johnothetree)
- phantomjs demo (fixes  h/t @machinewu)
2017-03-28 00:41:01 -04:00
663270b762 XLS/XLSX/XLSB Interpret Chartsheets as Data Tables
- chartsheets are now stored as sheets with "!type" set to "chart"
- fixed Strict XML Workbook Relationships
- stubbed support for dialog and macro sheets
- removed legacy XLS `!range` field
2017-03-27 17:41:14 -04:00
471275b761 version bump 0.9.6
- new ExtendScript demo
- Base64 shim improvements h/t @davidchambers @sheetjsdev
- jszip improvements to support extendscript
2017-03-25 18:18:50 -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
60e8905bcb systemjs and angular demos [ci skip]
closes  h/t @channara
closes  h/t @Adtiv @paustint
closes  h/t @hsbilgen
closes  h/t @Mani2693
2017-03-23 13:11:31 -04:00
Jim
9ae3a64af8 sheet_to_json default value
uses `defval` key in options object

fixes  h/t @jimjin
fixes  h/t @jimjin
fixes  h/t @jtadmor
2017-03-23 01:58:08 -04:00
a846f7184d utility improvements
- sheet_to_csv strip option (fixes  h/t @davidworkman9)
- sheet_to_json dateNF option (fixes  h/t @rotemtam)
- file type detection expanded to 4 byte magic number
2017-03-22 03:50:11 -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
3cacfc406c version bump 0.9.4
- changed regexes to handle odd XML (fixes  h/t @chk- @imsaquib)
- XLML roundtrip 1252 encoding
- browser core tests added to main repo
2017-03-20 17:42:12 -04:00
245dd7fd82 Documentation improvements
- multiformat column widths (fixes  h/t @sheeeeep)
- skip nested BIFF files
2017-03-20 05:02:25 -04:00