Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7050b48

Browse files
committed
Merge remote-tracking branch 'origin/master' into cached_key_string_decoder
2 parents e3c0f74 + a0be621 commit 7050b48

33 files changed

+3806
-2623
lines changed

‎.eslintrc.js‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ module.exports = {
66
"plugin:@typescript-eslint/recommended",
77
// https://prettier.io/docs/en/eslint.html
88
"plugin:prettier/recommended",
9+
10+
// https://github.com/benmosher/eslint-plugin-import
11+
"plugin:import/recommended",
12+
"plugin:import/typescript",
913
],
1014
plugins: [],
1115
parser: "@typescript-eslint/parser",
@@ -26,17 +30,23 @@ module.exports = {
2630
"curly": "warn",
2731
"no-param-reassign": "warn",
2832

33+
"import/no-unresolved": "off", // cannot handle `paths` in tsconfig
34+
"import/no-cycle": "error",
35+
"import/no-default-export": "error",
36+
2937
"@typescript-eslint/no-unused-vars":"warn",
30-
"@typescript-eslint/array-type": ["error", "generic"],
38+
"@typescript-eslint/array-type": ["warn", "generic"],
3139
"@typescript-eslint/camelcase": "warn",
3240
"@typescript-eslint/class-name-casing": "warn", // to allow the initial underscore
3341
"@typescript-eslint/no-non-null-assertion": "warn", // NOTE: pay attention to it because it may cause unexpected behavior
3442
"@typescript-eslint/prefer-for-of": "warn",
3543
"@typescript-eslint/prefer-includes": "warn",
3644
"@typescript-eslint/prefer-string-starts-ends-with": "warn",
45+
"@typescript-eslint/prefer-readonly": "warn",
46+
"@typescript-eslint/prefer-regexp-exec": "warn",
3747
"@typescript-eslint/no-use-before-define": "warn",
38-
"@typescript-eslint/await-thenable": "error",
39-
"@typescript-eslint/no-for-in-array": "error",
48+
"@typescript-eslint/await-thenable": "warn",
49+
"@typescript-eslint/no-for-in-array": "warn",
4050

4151
"@typescript-eslint/indent": "off",
4252
"@typescript-eslint/no-explicit-any": "off",
@@ -45,7 +55,7 @@ module.exports = {
4555
"@typescript-eslint/no-object-literal-type-assertion": "off",
4656
"@typescript-eslint/no-empty-interface": "off",
4757
"@typescript-eslint/no-parameter-properties": "off",
48-
"@typescript-eslint/no-var-requires": "off", // not a part of ECMA-262
58+
"@typescript-eslint/no-var-requires": "off", // enforces `import x = require("x")`, which is TypeScript-specific
4959
"@typescript-eslint/prefer-interface": "off",
5060

5161
"prettier/prettier": "warn",

‎.travis.yml‎

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
language: node_js
2-
node_js:
3-
- lts/*
42
addons:
53
firefox: latest
64
env:
7-
matrix:
8-
- BROWSER=
9-
- BROWSER=FirefoxHeadless
10-
- BROWSER=slChrome
11-
- BROWSER=slFirefox
12-
- BROWSER=slSafari
13-
- BROWSER=slIE
14-
- BROWSER=slEdge
15-
- BROWSER=slIos
16-
- BROWSER=slAndroid
175
global:
186
# SAUCE_USERNAME
197
- secure: J+FOPE/vVK6yzVXHVE7xibFV/hV+Ehc78MBADLlE10YIY7Ag6JkVeomgqRFB9I8zFzj5DALkpzOLGx4iIrFs6iYiNnEcl39fkm8myHl8xIuW+KHt5QOsCtM5qmvfSEZhJV+La0lSzFicjY9VX90VLZvJOHIbiCvIFRoxnwYVw6o=
208
# SAUCE_ACCESS_KEY
219
- secure: ay3CSAjya+UQDi0RulLIl6q25oobwLsjLbdkeASgjBq0qN5dXgFgEpBjecBxFqPGrwzzCj9K9fR81NWV80EjLkGdcfN0oGx0wvsOo2C2ulWGHc1dRgKUnMKAA2TL3br14KMfmGn6fmr+fA7Vq+qWajQpExlG0Kuw68C9iNuKIQw=
2210
matrix:
11+
include:
12+
- node_js: 10
13+
- node_js: 12
14+
- node_js: lts/*
15+
env: BROWSER=FirefoxHeadless
16+
- node_js: lts/*
17+
env: BROWSER=slChrome
18+
- node_js: lts/*
19+
env: BROWSER=slFirefox
20+
- node_js: lts/*
21+
env: BROWSER=slSafari
22+
- node_js: lts/*
23+
env: BROWSER=slIE
24+
- node_js: lts/*
25+
env: BROWSER=slEdge
26+
- node_js: lts/*
27+
env: BROWSER=slIos
28+
- node_js: lts/*
29+
env: BROWSER=slAndroid
2330
fast_finish: true
2431
allow_failures:
2532
# Because Travis CI does not expose credentials to pull-request builds from forked repositories.
@@ -31,7 +38,6 @@ matrix:
3138
- env: BROWSER=slEdge
3239
- env: BROWSER=slIos
3340
- env: BROWSER=slAndroid
34-
3541
cache: npm
3642
install: |
3743
if [ "${BROWSER}" = "" ]

‎.vscode/settings.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
{ "language": "typescript", "autoFix": true },
66
{ "language": "typescriptreact", "autoFix": true }
77
],
8-
"typescript.tsdk": "node_modules/typescript/lib"
8+
"typescript.tsdk": "node_modules/typescript/lib",
9+
"files.eol": "\n"
910
}

‎CHANGELOG.md‎

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
This is the revision history of @msgpack/msgpack
22

3+
## v1.6.0 2019年07月19日
4+
5+
https://github.com/msgpack/msgpack-javascript/compare/v1.5.0...v1.6.0
6+
7+
* Add `EncodeOptions.forceFloat32` to encode non-integer numbers in float32 (default to float64) [#79](https://github.com/msgpack/msgpack-javascript/pull/79)
8+
9+
## v1.5.0 2019年07月17日
10+
11+
https://github.com/msgpack/msgpack-javascript/compare/v1.4.6...v1.5.0
12+
13+
* Improve `decode()` to handle `ArrayBuffer` [#78](https://github.com/msgpack/msgpack-javascript/pull/78)
14+
15+
## v1.4.6 2019年07月09日
16+
17+
https://github.com/msgpack/msgpack-javascript/compare/v1.4.5...v1.4.6
18+
19+
* use `TextEncoder` to encode string in UTF-8 for performance [#68](https://github.com/msgpack/msgpack-javascript/pull/68)
20+
21+
## v1.4.5 2019年06月24日
22+
23+
https://github.com/msgpack/msgpack-javascript/compare/v1.4.4...v1.4.5
24+
25+
* Fix an encoding result of -128 from int16 to int8 [#73](https://github.com/msgpack/msgpack-javascript/pull/73)
26+
27+
## v1.4.4 2019年06月22日
28+
29+
https://github.com/msgpack/msgpack-javascript/compare/v1.4.1...v1.4.4
30+
31+
* Fix the UMD build setting to correctly setup `MessagePack` module in the global object
32+
33+
## v1.4.3, v1.4.2
34+
35+
Mispackaged.
36+
37+
## v1.4.1 2019年06月22日
38+
39+
https://github.com/msgpack/msgpack-javascript/compare/v1.4.0...v1.4.1
40+
41+
* Improved entrypoints for browsers:
42+
* Build as UMD
43+
* Minidifed by default
44+
45+
## v1.4.0 2019年06月12日
46+
47+
https://github.com/msgpack/msgpack-javascript/compare/v1.3.2...v1.4.0
48+
49+
* Added `sortKeys: boolean` option to `encode()` for canonical encoding [#64](https://github.com/msgpack/msgpack-javascript/pull/64)
50+
* Fixed `RangeError` in encoding BLOB [#66](https://github.com/msgpack/msgpack-javascript/pull/66)
51+
52+
## v1.3.2 2019年06月04日
53+
54+
https://github.com/msgpack/msgpack-javascript/compare/v1.3.1...v1.3.2
55+
56+
* Fix typings for older TypeScript [#55](https://github.com/msgpack/msgpack-javascript/pull/55)
57+
358
## v1.3.1 2019年06月01日
459

560
https://github.com/msgpack/msgpack-javascript/compare/v1.3.0...v1.3.1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /