Skip to content

Commit 8bc8da4

Browse files
committed
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*
1 parent 2a65416 commit 8bc8da4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+177
-246
lines changed

LICENSE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2013-2014 SheetJS
1+
Copyright (C) 2013-present SheetJS
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
@@ -11,3 +11,4 @@ Copyright (C) 2013-2014 SheetJS
1111
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
See the License for the specific language governing permissions and
1313
limitations under the License.
14+

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ init:
1717

1818
.PHONY: clean
1919
clean:
20-
rm -f make.sh .vocrc *.csv bits/*.js
20+
rm -f make.sh .vocrc pages.csv bits/*.js
2121

2222
.PHONY: test mocha
2323
test mocha: test.js

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@ pattern `CP_#.NLS`, but newer versions use the pattern `C_#.NLS`.
287287

288288
## Badges
289289

290-
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/afa29a5e8495a01059ee5b353f9042cb "githalytics.com")](http://githalytics.com/SheetJS/js-codepage)
291290
[![Build Status](https://travis-ci.org/SheetJS/js-codepage.svg?branch=master)](https://travis-ci.org/SheetJS/js-codepage)
292291
[![Coverage Status](https://coveralls.io/repos/SheetJS/js-codepage/badge.png)](https://coveralls.io/r/SheetJS/js-codepage)
292+
[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/js-codepage?pixel)](https://github.com/SheetJS/js-codepage)

bin/codepage.njs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
/* js-codepage (C) 2014 SheetJS -- http://sheetjs.com */
2+
/* js-codepage (C) 2014-present SheetJS -- http://sheetjs.com */
33
/* vim: set ts=2 ft=javascript: */
44
var codepage = require('../');
55
var fs = require('fs'), program = require('commander');

bits/50220.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/50221.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/50222.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/50225.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codepage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ the complete decoding object (and the encoding object is an eversion):
372372
}
373373
outstr += 'return {"enc": e, "dec": d }; })();';
374374
}
375-
console.log(jsvar + "[" + cp + "] = " + outstr);
375+
process.stdout.write(jsvar + "[" + cp + "] = " + outstr + "\n");
376376
377377
```
378378

@@ -405,7 +405,7 @@ VERSION=$(cat package.json | grep version | tr -dc [0-9.])
405405

406406
mkdir -p codepages bits
407407
rm -f $OUTFILE $OUTFILE.tmp
408-
echo "/* $OUTFILE (C) 2013-2014 SheetJS -- http://sheetjs.com */" > $OUTFILE.tmp
408+
echo "/* $OUTFILE (C) 2013-present SheetJS -- http://sheetjs.com */" > $OUTFILE.tmp
409409
echo "/*jshint -W100 */" >> $OUTFILE.tmp
410410
echo "var $JSVAR = {version:\"$VERSION\"};" >> $OUTFILE.tmp
411411
if [ -e dotnet.sh ]; then bash dotnet.sh; fi
@@ -729,7 +729,7 @@ describe('failures', function() {
729729
```json>package.json
730730
{
731731
"name": "codepage",
732-
"version": "1.3.8",
732+
"version": "1.4.0",
733733
"author": "SheetJS",
734734
"description": "pure-JS library to handle codepages",
735735
"keywords": [ "codepage", "iconv", "convert", "strings" ],

cpexcel.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)