Skip to content

Commit 2e57f80

Browse files
committed
version bump 1.9.0: cp10008 added to cpexcel
1 parent 14644b5 commit 2e57f80

30 files changed

+549
-19
lines changed

.eslintrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"env": { "shared-node-browser":true },
3+
"globals": {},
4+
"parserOptions": {
5+
"ecmaVersion": 3,
6+
},
7+
"plugins": [ "html", "json" ],
8+
"!extends": "eslint:recommended",
9+
"rules": {
10+
"no-console": 0,
11+
"no-bitwise": 0,
12+
"curly": 0,
13+
"comma-style": [ 2, "last" ],
14+
"no-trailing-spaces": 2,
15+
"semi": [ 2, "always" ],
16+
"comma-dangle": [ 2, "never" ]
17+
}
18+
}

.flowconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ misc/flowdeps.js
2626
[options]
2727
module.file_ext=.js
2828
module.file_ext=.njs
29+
module.ignore_non_literal_requires=true
30+
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: node_js
22
node_js:
3+
- "8"
34
- "7"
45
- "6"
56
- "5"

Makefile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
SHELL=/bin/bash
2+
LIB=codepage
23
VOC=voc
34
TARGET=cptable.js
45
AUXTARGETS=cputils.js cpexcel.js sbcs.js
56
DISTFULL=cpexcel sbcs cptable
67
CMDS=bin/codepage.njs
78

89
ULIB=$(shell echo $(LIB) | tr a-z A-Z)
10+
FLOWTARGET=cptable.js
11+
CLOSURE=/usr/local/lib/node_modules/google-closure-compiler/compiler.jar
912

1013
## Main Targets
1114

@@ -27,7 +30,7 @@ cputils.js: cputils.flow.js
2730
node -e 'process.stdout.write(require("fs").readFileSync("$<","utf8").replace(/^[ \t]*\/\*[:#][^*]*\*\/[ \t]*(\n)?/gm,"").replace(/\/\*[:#][^*]*\*\//gm,""))' > $@
2831

2932
.PHONY: clean
30-
clean: ## Remove targets and build artifaats
33+
clean: ## Remove targets and build artifacts
3134
rm -f make.sh .vocrc pages.csv bits/*.js
3235

3336
.PHONY: dist
@@ -60,12 +63,19 @@ clean-baseline: ## Remove test baselines
6063
## Code Checking
6164

6265
.PHONY: lint
63-
lint: $(TARGET) $(AUXTARGETS) ## Run jshint and jscs checks
66+
lint: $(TARGET) $(AUXTARGETS) ## Run eslint checks
67+
@eslint --ext .js,.njs,.json,.html,.htm $(TARGET) $(AUXTARGETS) $(CMDS) $(HTMLLINT) package.json bower.json
68+
if [ -e $(CLOSURE) ]; then java -jar $(CLOSURE) $(REQS) $(FLOWTARGET) --jscomp_warning=reportUnknownTypes >/dev/null; fi
69+
70+
.PHONY: old-lint
71+
old-lint: $(TARGET) $(AUXTARGETS) ## Run jshint and jscs checks
6472
@jshint --show-non-errors $(TARGET) $(AUXTARGETS)
6573
@jshint --show-non-errors $(CMDS)
6674
@jshint --show-non-errors package.json
6775
@jshint --show-non-errors --extract=always $(HTMLLINT)
6876
@jscs $(TARGET) $(AUXTARGETS)
77+
if [ -e $(CLOSURE) ]; then java -jar $(CLOSURE) $(REQS) $(FLOWTARGET) --jscomp_warning=reportUnknownTypes >/dev/null; fi
78+
6979

7080
.PHONY: flow
7181
flow: lint ## Run flow checker

codepage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ describe('failures', function() {
753753
```json>package.json
754754
{
755755
"name": "codepage",
756-
"version": "1.8.0",
756+
"version": "1.9.0",
757757
"author": "SheetJS",
758758
"description": "pure-JS library to handle codepages",
759759
"keywords": [ "codepage", "iconv", "convert", "strings" ],

cpexcel.js

Lines changed: 167 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cptable.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy