Commit Graph

45 Commits

Author SHA1 Message Date
Garrett Luu
ff3c114453
Refactored CLI to be a separate package (#24)
* codepage-cli refactor

* Moved cli to packages folder

* Removed bin

* Renamed cli folder

* Fixed cli issues

* Fixed dependency issues

* Fixed duplicate script and cli name

* Removed cli.js

* Moved run function to index.js

* Added author and removed fs dependency

* Removed cli dependencies

* Removed scripts

* Bumped codepage-cli version
2020-06-19 15:30:34 -07:00
62fd61e2b7 License text 2019-10-08 02:10:55 -04:00
cbdc9486c1 version bump 1.14.0: Buffer.from node 4.x fix 2018-07-08 00:13:58 -04:00
58ebd1ff6c version bump 1.13.0: node 10 deprecation 2018-04-29 00:42:01 -04:00
122f01a3c3 flow switch to module.exports 2018-04-21 11:01:01 -04:00
0e83490e4a version bump 1.12.2: force push [ci skip] 2018-02-20 21:38:30 -05:00
David Vetrano
e001d93883 Use version ~2.14.1 of commander 2018-02-20 18:29:40 -08:00
a65d3b2e7f version bump 1.12.1: dependency update [ci skip] 2018-02-20 20:31:52 -05:00
9bd15abc45 add types [ci skip] 2018-01-18 18:02:09 -05:00
0ada6f6c75 version bump 1.12.0: infrastructure 2018-01-18 17:47:47 -05:00
b070fe0052 version bump 1.11.1: add sbcs.full.js to module
fixes #14 h/t @stephenegriffin

note: library code is unchanged
2018-01-04 14:54:38 -05:00
16584e588b version bump 1.11.0: suppress exports
`DO_NOT_EXPORT_CODEPAGE` suppresses commonjs exports
2017-08-04 21:32:40 -04:00
e19c8672e0 version bump 1.10.1: removed concat-stream dep
note: concat-stream was only used in `bin/codepage.njs`, not in core lib
2017-08-01 19:41:27 -04:00
9aa4f8d7a8 version bump 1.10.0: pin dependencies 2017-07-28 02:14:33 -04:00
2e57f806fd version bump 1.9.0: cp10008 added to cpexcel 2017-06-13 03:24:04 -04:00
14644b5789 version bump 1.8.1: codepage.njs bom fix [ci skip] 2017-04-02 15:34:44 -04:00
0a49ae96fd version bump 1.8.0: add to cpexcel 2017-03-27 21:19:52 -04:00
e53b82c7ce updating travis config 2017-03-10 17:17:17 -05:00
7baf5d885f version bump 1.7.0: require cleanup 2017-03-10 16:26:53 -05:00
7745bcfc53 version bump 1.6.0: IE6+ compatibility
- removed string indexing from table generation
- browser tests
- expanded flow checks
2016-10-15 02:17:29 -04:00
ff120df8f5 syntax highlighting in README [ci skip]
closes #13 (h/t @amilajack)
2016-09-22 15:33:50 -04:00
5aacbbf522 version bump 1.5.0
new codepages:

- 808   OEM Russian; Cyrillic + Euro symbol
- 872   OEM Cyrillic (primarily Russian) + Euro Symbol
- 1010  IBM EBCDIC French
- 1132  IBM EBCDIC Lao (1132 / 1133 / 1341)
- 47451 Atari ST/TT

other changes:

- updated travis versions for test
- miscellaneous adjustments to tooling
2016-09-22 13:42:47 -04:00
9e7fe631db update ci versions 2016-01-15 22:51:05 -05:00
8bc8da47ba version bump 1.4.0
- avoid modifying buffer length (breaks in node 4.x 5.x)
  h/t @khankuan @zetxx @mikkeloscar
- updated dist and tests (h/t @bryannaegele)
- corrected code pages 5022*
2016-01-15 22:27:02 -05:00
2a654168f1 version bump 1.3.8: node inconsistency workaround
- Changing Buffer length is inconsistent, remedy is to explicitly slice buffer
- updated test artifacts
- added some notes to README
2014-12-25 15:50:25 -05:00
d0df77f479 version bump 1.3.7: extra DBF encodings
- 620 Mazovia (Polish) MS-DOS
- 895 Kamenický (Czech) MS-DOS

Aforementioned codepages used in DBF generated by Visual FoxPro
2014-12-19 14:36:39 -05:00
7d631f25d8 version bump 1.3.6: codepage cmd fixes 2014-10-18 22:39:39 -04:00
67d9bedc14 version bump 1.3.5: codepage bin supports stdin 2014-09-27 14:05:43 -04:00
21a55bdc3b corrected CP1253 name 2014-09-25 02:30:02 -04:00
6c60577c8a IE Browser Tests [ci skip]
- added shims from js-xls / js-xlsx
- added json2 (http://json.org/js.html) for browsers without JSON native
2014-07-28 23:56:47 -04:00
457f8ab8ab version bump 1.3.4: more codepages
- added codepage 21027 (generated from NLS)
- unicode decoders skip BOM
- codepage command line tool -B writes bom
- version number added to scripts
- codepages 1257/1258 added to cpexcel
2014-07-13 04:30:13 -04:00
8bb326d632 version bump 1.3.3: reduce node module size
Addresses https://github.com/SheetJS/js-codepage/issues/4
2014-07-04 13:43:56 -04:00
c5339be089 version bump 1.3.2: reduce node module size
Addresses https://github.com/SheetJS/js-codepage/issues/4
2014-07-04 12:58:28 -04:00
883b83265a version bump 1.3.1: prevent browserify require
Addresses js-xlsx GH issue 76
2014-06-27 09:43:31 -04:00
9e792fd4de added node 0.11 to travis 2014-06-26 02:02:23 -04:00
93513b6e52 version bump 1.3.0: performance
- more specializations in cptable
- removed functional badnesses in cptable
- bits reworked to minimize functional impact (which caused deopts)

some loss in coverage due to standard codepages missing astral characters
2014-06-26 01:54:13 -04:00
ee431af1bf version bump 1.2.0: v8 performance
- eliminated deopt oddities
- decode objects are arrays
- str.charCodeAt(i) preferred to str[i].charCodeAt(0) in processing
- encache and decache check before acting
2014-06-01 00:21:25 -04:00
b501434a20 version bump 1.1.0: cputils guard unknown codepage 2014-05-24 22:59:07 -07:00
6d849693b7 version bump 1.0.0
- dist files
- more browser tests
- basic saucelabs tests
2014-04-22 16:02:59 -07:00
33dbe0941a update license year [ci skip] 2014-04-14 14:26:14 -07:00
0121708499 version bump 0.6.0: windows support
- MakeEncoding.cs program pulls from .NET encodings (tested with Windows 7)
  (outputs stored at dotnet/out and misc/err)
- Many new codepages and improvements
- coverage + coveralls
- better environment handling (h/t @xch89820)
- cpexcel.js for the formats recognized by excel
- decode endian option removed (implicit from codepage definition)
NOTE: utf7 encode can be more space efficient
2014-04-14 13:45:36 -07:00
422560fffa Merge pull request #2 from xch89820/master
Fix the function of judging the commonJS environment
2014-04-05 02:18:40 -07:00
xu.chenhui
f2ffe97f3c Fix the function of judging the commonJS environment 2014-04-05 04:57:55 -04:00
871c25a579 cleaning up tables 708,720,858 2013-12-06 17:10:05 -05:00
2033d81cec Initial commit 2013-12-06 11:21:34 -05:00