1
forked from sheetjs/sheetjs
Commit Graph

348 Commits

Author SHA1 Message Date
rinzeb
a234ec5915 Update xlsx typings
Add optional 'options' parameter to function sheet_to_csv. (53f7f6d944/bits/90_utils.js (L132))
2017-02-07 13:21:31 +01:00
06670ae181 removing node 0.11 from travis 2017-02-03 19:09:09 -05:00
86d6a093f0 version bump 0.8.2: ODS and cleanup
- README and example cleanup
- basic XLSB and ODS write support
- flow typecheck for ODS file
  Note: xlsx.js flow fails: https://github.com/facebook/flow/issues/380
- exposed jszip compression (fixes , closes )

README issues:

|  id  | author         | comment                                      |
|-----:|:---------------|:---------------------------------------------|
|  | @sao93859      | closes                                   |
|  | @alexanderchan | closes  corrected examples               |
|  | @cskaandorp    | changed saveAs example to match write tests  |
|  | @dskrvk        | added note about s2roa h/t @LeonardoPatignio |
|  | @jimmywarting  | closes  adapted rABS examples with rAAS  |

ODS file format issues:

|  id  | author         | comment                                      |
|-----:|:---------------|:---------------------------------------------|
|  | @user4815162342| closes  h/t @ziacik                      |
|  | @paulproteus   | closes  rudimentary ODS write support    |
|  | @ziacik        | closes                                   |
|  | @ziacik        | closes  use JSON when available          |
|  | @ziacik        | closes                                   |
|  | @think01       | closes                                   |
|  | @mdamt         | closes  duplicate cells should be copied |
|  | @RB-Lab        | closes                                   |
|  | @lgodard       | closes  thanks to other changes          |
2017-02-03 15:50:45 -05:00
Andy
276b1ae79f Use "lib" in tsconfigs instead of "target". ()
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
2a756fffcc version bump 0.8.1: fixes to support node 4+
- codepage updated to 1.6.0 (latest)
- clean up Makefile
- adapted .travis.yml to support 0.8
- removed test files that drifted from baseline
- removed XLSB pseudo-inverse tests due to fails in node 4+
2016-12-31 03:20:45 -05:00
Andy
01a3806eb5 Add "noImplicitThis" to all tsconfig.json ()
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
573a08aaaf Merge remote-tracking branch 'origin/master' into types-merge-20161122 2016-11-22 15:08:50 -08:00
groetzi
7c89b6e9b1 Update xlsx.d.ts
added signatures for decode_[cell|range]
2016-11-14 17:50:08 -06:00
Nathan Shively-Sanders
d8ea26cbac Merge branch 'master' into types-2.0-2016-08-12 2016-08-12 14:53:54 -07:00
Hagai Cohen
4de60e9ca9 Aligned xlsx types to master xlsx/xlsx.d.ts 2016-08-11 23:18:32 +03:00
Hagai Cohen
09c3f9db84 Fixed XLSX typings 2016-08-11 22:51:52 +03:00
Kārlis Gaņģis
5e2768ac84 Added opts parameter to sheet_to_json method. 2016-08-11 14:10:56 +03:00
Ryan Cavanaugh
d8a13d0dc2 Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
bc12a8d2b3 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
22c1dca6e0 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
4039f599e7 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
5ceec62f2a Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
20a8552199 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
c265359abd Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
7e32abdb26 Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
82537cbca4 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
c73e83fab5 Rename external modules to index.d.ts 2016-04-27 21:30:22 -07:00
Ryan Cavanaugh
2b42c39913 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
14d28e6a6a Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
Ryan Cavanaugh
96df2958ab Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
vvakame
a102a3adb1 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Josh Petersen
a345c332ac minor fix. sheet_to_json only accepts worksheet as a parameter. 2015-06-03 14:25:05 -04:00
Josh Petersen
3a496db468 added definitions and tests for project xlsx https://github.com/SheetJS/js-xlsx 2015-06-03 09:34:42 -04:00
varblob
53f7f6d944 add missing comma in bower.json 2015-04-03 10:34:42 -04:00
704442c3a6 removing node 0.8 from test suite
travis uses an old version of npm with node 0.8, causing issues with modules
that use "^" in the version specification.

See https://travis-ci.org/SheetJS/js-xlsx/jobs/56966869 for more info
2015-04-02 20:05:55 -04:00
0d38d4c0a0 version bump 0.8.0: unification with js-xls 0.7.5 2015-04-02 16:32:22 -04:00
harbhub
61b17e6d9d handle internal links (fixes ) 2014-11-13 03:44:29 -05:00
f9097d403b version bump 0.7.12: cell type 'd'
- more structure in the theme parsing
- cellDates option on parsing side creates date cells
- cellDates option on writing side creates cells with type 'd'
- cell types clarified, type 'str' phased out
- README clarifications
- more tests to ensure date consistency
- more test cases for ODS
2014-10-26 01:26:18 -04:00
61d2e55cc6 version bump 0.7.11: ODS hooks
- ODS hooks + very basic parser (ods.js)
- handle implicit row/col spec (h/t @EarlJS, see http://git.io/2lwOuA)
2014-10-09 22:22:38 -04:00
Mo de Ruiter
5942587509 Remove global variable "cellen" 2014-10-07 17:12:04 +02:00
19f3a6ae76 version bump 0.7.10: cleanup
- build bower.json (h/t @jjstewart, following the change from js-xls)
- README clarification on !ref (fixes )
- XLSX treat empty <v/> tags as empty cells (h/t @clarlars)
- XLSX write !merges array (fixes )
2014-08-26 13:40:04 -04:00
c58477279e pinning node 0.10.30 for tests
h/t @lightbringer1991 https://github.com/SheetJS/j/issues/4

waiting on https://github.com/joyent/node/issues/8208
2014-08-23 00:52:13 -04:00
127a430e79 version bump 0.7.9: updating jszip to 2.4.0
Fixes 
2014-08-21 11:44:30 -04:00
9c36927071 added file input to web demo (fixes ) 2014-08-18 12:28:45 -04:00
909e98d514 README note about ajax demo [ci skip] 2014-07-28 13:52:16 -04:00
dd5ac8bba3 timeout and tests changes to satiate travis 2014-07-28 11:57:28 -04:00
d4999ac421 version bump 0.7.8: docs, defaults, details
- browser shim updated (h/t @wintersm for discovering this)
- smart tag ignores (h/t @lostinplace)
- sheet_to_row_object_array bugfix (fixes , h/t @ChrisBurkeBSD)
- README improved
- baltic and vietnamese codepages: updated codepage to 1.3.4
- iOS Numbers can handle inline strings -> disabling SST by default
- avoid Buffer accessors (see https://github.com/joyent/node/issues/7809)
- caching certain hot regexes
2014-07-28 09:22:32 -04:00
Chris Wheeler
19c22fa34a Prevented crash on wbfactoid 2014-07-14 11:53:04 -04: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
aa46ada7b8 version bump 0.7.6-i: more browserify
h/t @volodymyrl
2014-06-27 11:11:33 -04:00
662c550d9e version bump 0.7.6-h: browserify issues
- updated codepage to 1.3.1 (h/t @volodymyrl)
2014-06-27 09:58:43 -04:00
87bbe636d3 version bump 0.7.6-a: npm is flaky [ci skip]
The original push showed up as failed, pushing again
2014-06-05 03:25:49 -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
altkatz
a96b723cda IE Compatibility and notes 2014-06-03 14:44:08 -04:00
009946339c version bump 0.7.5: more performance
- eliminated functional constructs in hot functions
- format try-catch block extracted into new function
- cpexcel + codepage updated to 1.2.0
- more efficient (and correct) clean implementation of RGB/HSL/tint algorithms
- xlsx binary --all option enables every extra formatting and saving option
- column widths parsed and saved (requires cellStyles:true)
2014-06-02 01:19:07 -04:00