version bump 1.8.1: codepage.njs bom fix [ci skip]

This commit is contained in:
SheetJS 2017-04-02 15:34:44 -04:00
parent 0a49ae96fd
commit 14644b5789
2 changed files with 2 additions and 2 deletions

@ -57,7 +57,7 @@ function process_text(text) {
bom[65000] = new Buffer([0x2B, 0x2F, 0x76, 0x2B]);
bom[65001] = new Buffer([0xEF, 0xBB, 0xBF]);
var mybom = (program.bom && bom[fr] ? bom[fr] : "");
var mybom = (program.bom && bom[to] ? bom[to] : "");
var out = to === 65001 ? dec.toString('utf8') : codepage.utils.encode(to, dec);
/* if output file is specified */

@ -1,6 +1,6 @@
{
"name": "codepage",
"version": "1.8.0",
"version": "1.8.1",
"author": "SheetJS",
"description": "pure-JS library to handle codepages",
"keywords": [ "codepage", "iconv", "convert", "strings" ],