Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.11.4 proposal #15506

Merged
merged 92 commits into from
Oct 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
792acc1
net: fix abort on bad address input
BridgeAR Jun 16, 2017
38ae5c4
doc, lib, test: do not re-require needlessly
vsemozhetbyt Jul 15, 2017
66cdcd9
build: add cpp linting to windows build
Mar 15, 2017
c9ae894
build: add lint option to vcbuild.bat help
brennemo Mar 22, 2017
14cc1ab
build: split up cpplint to avoid long cmd lines
kfarnung Jul 6, 2017
8604772
readline: remove max limit of crlfDelay
Azard Aug 17, 2017
8dfc283
test: fix test-readline-interface
Azard Aug 7, 2017
921876d
deps: backport 071b655 from V8 upstream
targos Sep 6, 2017
f8b85e1
tools: replace assert-throw-arguments custom lint
Trott Jul 30, 2017
4e1a50a
deps: backport 0353a1e from V8 upstream
jBarz Sep 8, 2017
90fcccd
doc: add documentation on ICU
TimothyGu Jun 26, 2017
362a7c0
repl: do not consider `...` as a REPL command
shivanth Jul 23, 2017
f7b6d19
tools: eslint - use `error` and `off`
refack Jul 3, 2017
86497f1
test: mark inspector-port-zero-cluster as flaky
refack Jun 1, 2017
e65c9ec
http: assert parser.consume argument's type
gireeshpunathil Apr 9, 2017
594e3c2
doc: add readline.emitKeypressEvents note
STRML Nov 3, 2016
dcdc905
doc: fix typo in stream.md
Jul 19, 2017
3a6392b
tls: fix empty issuer/subject/infoAccess parsing
bnoordhuis Jul 24, 2017
8b9a05c
test: read proper inspector message size
bzoz Aug 2, 2017
860c619
test: use ciphers supported by shared OpenSSL
kapouer Aug 1, 2017
c88f99f
test: improvements to various http tests
jasnell Jul 14, 2017
fc49cf4
test: improve multiple timers tests
jasnell Aug 4, 2017
28b77d1
test: improve check in test-os
Trott Aug 7, 2017
9d84641
test: fix conversion of microseconds in test
nickstanish Aug 9, 2017
c0e47e4
doc: fix order of AtExit callbacks in addons.md
danbev Jul 3, 2017
b5904a2
doc: remove undef NDEBUG from addons.md
danbev Jul 3, 2017
ca61f3b
tools: fix tools/addon-verify.js
danbev Jul 3, 2017
6707411
http: reset stream to unconsumed in `unconsume()`
addaleax Jul 21, 2017
4fb755c
test: set module loading error for aix
prakaashkpk Jul 27, 2017
9ed2c4c
test: add block scoping to test-readline-interface
Trott Aug 3, 2017
91649b9
test: make test-tls-connect checks more strict
Trott Aug 8, 2017
9f33025
test: remove redundant `using` in cctest
XadillaX Aug 10, 2017
d20b7bf
src: use local isolate instead of args.GetIsolate
danbev Aug 11, 2017
1aac05b
test: cover all HTTP methods that parser supports
oantoro Aug 11, 2017
caeee38
net: support passing undefined to listen()
sam-github Jul 14, 2017
5a7a49f
doc: clarify the position argument for fs.read
dcharbonnier Aug 3, 2017
f8fbac7
doc: improve fs.read() doc text
Trott Aug 4, 2017
f35f06d
test: improve multiple vm tests
jasnell Jul 24, 2017
68cf7f0
test: improve multiple zlib tests
jasnell Jul 24, 2017
32260b9
test: check crypto before requiring tls module
danbev Aug 9, 2017
a284ee6
test: invoke callback with common.mustCall()
Sep 17, 2016
4fb4fbe
test: add missing console.error to exec-maxBuffer
BethGriggs Aug 12, 2017
a63cd82
doc: fix word wrapping for api stability boxes
saadq Aug 13, 2017
debea1c
tools: delete an unused argument
phisixersai Jul 15, 2017
d75e9b7
doc: add BridgeAR to collaborators
BridgeAR Aug 16, 2017
855d7ae
benchmark: convert var to es6 const
sebasmurphy May 7, 2017
27b6737
doc: explain what to do if git push is rejected
Trott Aug 16, 2017
cac4beb
tools: fix update-eslint.sh
MylesBorins Aug 16, 2017
c76a54f
doc: add missing word
maclover7 Aug 18, 2017
7245082
test: make timers-blocking-callback more reliable
Trott Aug 14, 2017
b2112f8
src: detect nul bytes in InternalModuleReadFile()
bnoordhuis Aug 16, 2017
55dc14e
doc: remove misterdjules from the CTC members list
Aug 22, 2017
915b56b
test: remove unused arguments from function
0xparashar Aug 18, 2017
70e9a6e
doc: link to correct "OS Constants" heading in docs
jamiebuilds Aug 21, 2017
968121b
src: remove unnecessary helper function
mscdex Aug 21, 2017
7546eef
doc: rephrase text of child_process.execSync()
ayazhafiz Aug 20, 2017
168f73c
test: improve assertion fail messages
refack Aug 19, 2017
644d990
test: do not modify fixtures in test-fs-chmod
Trott Aug 18, 2017
1e231ba
test: add known issue for vm module
fhinkel Aug 7, 2017
66dd898
build: better support for python3 systems
bnoordhuis Aug 10, 2017
a8b917e
benchmark: fix dgram/bind-params.js benchmark
Trott Aug 19, 2017
29de000
doc: add note for Windows build path
Jul 18, 2017
b10bc31
doc: fix typo in Buffer.from(string, [encoding])
Aug 24, 2017
ad1d745
test: extend async addon test
addaleax Aug 18, 2017
948a7d7
meta: improve definition of a collaborator
jasnell Aug 22, 2017
605a02b
doc: environmental->environment & NodeJS->Node.js
rvagg Aug 22, 2017
6540e99
test: simplify test-tls-client-default-ciphers
maclover7 Aug 18, 2017
4c26913
doc: crypto.randomBytes does not block when async
sam-github Aug 23, 2017
f0328f6
doc,stream: remove wrong remark on readable.read
jscissr Aug 24, 2017
66187fa
stream: fix Writable instanceof for subclasses
addaleax Aug 19, 2017
25be2a3
crypto: naming anonymous functions.
solebox Oct 9, 2016
8b04574
test: pipe some error output if npm fails
Fishrock123 Apr 18, 2017
8b3ac4b
tools: add custom private key option
krydos Jul 20, 2017
4ee066e
meta: considerations for new core modules
jasnell Aug 24, 2017
e014178
meta: merge TSC and CTC back into a single body
jasnell Aug 22, 2017
5696223
doc: clarify http.get data consumption requirement
strugee Aug 26, 2017
4e71782
lib: clean up usage of threw
JacksonTian Aug 11, 2016
6a7e46e
build: add NetBSD support to opensslconf.h
rsmarples Jul 16, 2017
1b0e660
doc: /s/SHASUM256/SHASUMS256
maclover7 Aug 30, 2017
a260190
doc: instructions for generating coverage reports
ssbrewster Sep 4, 2017
2babae4
test: refactor test-fs-readfile-unlink
Trott Sep 3, 2017
33fdbb5
doc: describe what security issues are
sam-github Jul 25, 2017
feb6863
doc: document bytes to chars after setEncoding
jalafel Jun 3, 2017
8e00315
test: check zlib version for createDeflateRaw
danbev Jun 15, 2017
0c670e0
http: eliminate capture of ClientRequest in Agent
evantorrie Dec 13, 2016
73416b4
assert: refactor the code
BridgeAR Jun 27, 2017
abf6355
doc,assert: document stackStartFunction in fail
BridgeAR Jul 2, 2017
2c8fe97
test: remove envPlus, use Object.assign everywhere
gibfahn Aug 15, 2017
ecea33b
doc: add links to alternative versions of doc
Jan 23, 2017
37dd2ad
tools: fix linter error in html.js
targos Aug 28, 2017
a13ac69
doc: prevent displaying empty version picker
Sep 14, 2017
8691fdf
2017-10-03, Version 6.11.4 'Boron' (LTS)
MylesBorins Sep 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 104 additions & 99 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,67 +13,67 @@ parserOptions:
rules:
# Possible Errors
# http://eslint.org/docs/rules/#possible-errors
comma-dangle: [2, only-multiline]
no-control-regex: 2
no-debugger: 2
no-dupe-args: 2
no-dupe-keys: 2
no-duplicate-case: 2
no-empty-character-class: 2
no-ex-assign: 2
no-extra-boolean-cast: 2
no-extra-parens: [2, functions]
no-extra-semi: 2
no-func-assign: 2
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-obj-calls: 2
no-proto: 2
no-template-curly-in-string: 2
no-unexpected-multiline: 2
no-unreachable: 2
no-unsafe-negation: 2
use-isnan: 2
valid-typeof: 2
comma-dangle: [error, only-multiline]
no-control-regex: error
no-debugger: error
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty-character-class: error
no-ex-assign: error
no-extra-boolean-cast: error
no-extra-parens: [error, functions]
no-extra-semi: error
no-func-assign: error
no-invalid-regexp: error
no-irregular-whitespace: error
no-obj-calls: error
no-proto: error
no-template-curly-in-string: error
no-unexpected-multiline: error
no-unreachable: error
no-unsafe-negation: error
use-isnan: error
valid-typeof: error

# Best Practices
# http://eslint.org/docs/rules/#best-practices
dot-location: [2, property]
no-fallthrough: 2
no-global-assign: 2
no-multi-spaces: [2, {ignoreEOLComments: true}]
no-octal: 2
no-redeclare: 2
no-self-assign: 2
no-unused-labels: 2
no-useless-call: 2
no-useless-concat: 2
no-useless-escape: 2
no-useless-return: 2
no-void: 2
no-with: 2
dot-location: [error, property]
no-fallthrough: error
no-global-assign: error
no-multi-spaces: [error, {ignoreEOLComments: true}]
no-octal: error
no-redeclare: error
no-self-assign: error
no-unused-labels: error
no-useless-call: error
no-useless-concat: error
no-useless-escape: error
no-useless-return: error
no-void: error
no-with: error

# Strict Mode
# http://eslint.org/docs/rules/#strict-mode
strict: [2, global]
strict: [error, global]

# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: 2
no-undef: 2
no-unused-vars: [2, {args: none}]
no-use-before-define: [2, {classes: true,
functions: false,
variables: false}]
no-delete-var: error
no-undef: error
no-unused-vars: [error, {args: none}]
no-use-before-define: [error, {classes: true,
functions: false,
variables: false}]

# Node.js and CommonJS
# http://eslint.org/docs/rules/#nodejs-and-commonjs
no-mixed-requires: 2
no-new-require: 2
no-path-concat: 2
no-restricted-modules: [2, sys, _linklist]
no-mixed-requires: error
no-new-require: error
no-path-concat: error
no-restricted-modules: [error, sys, _linklist]
no-restricted-properties:
- 2
- error
- object: assert
property: deepEqual
message: Use assert.deepStrictEqual().
Expand All @@ -90,33 +90,39 @@ rules:

# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
block-spacing: 2
brace-style: [2, 1tbs, {allowSingleLine: true}]
comma-spacing: 2
comma-style: 2
computed-property-spacing: 2
eol-last: 2
func-call-spacing: 2
func-name-matching: 2
func-style: [2, declaration, {allowArrowFunctions: true}]
indent: [2, 2, {ArrayExpression: first,
CallExpression: {arguments: first},
FunctionDeclaration: {parameters: first},
FunctionExpression: {parameters: first},
MemberExpression: off,
ObjectExpression: first,
SwitchCase: 1}]
key-spacing: [2, {mode: minimum}]
keyword-spacing: 2
linebreak-style: [2, unix]
max-len: [2, {code: 80,
ignoreRegExpLiterals: true,
ignoreUrls: true,
tabWidth: 2}]
new-parens: 2
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2, maxEOF: 0, maxBOF: 0}]
no-restricted-syntax: [2, {
block-spacing: error
brace-style: [error, 1tbs, {allowSingleLine: true}]
comma-spacing: error
comma-style: error
computed-property-spacing: error
eol-last: error
func-call-spacing: error
func-name-matching: error
func-style: [error, declaration, {allowArrowFunctions: true}]
indent: [error, 2, {ArrayExpression: first,
CallExpression: {arguments: first},
FunctionDeclaration: {parameters: first},
FunctionExpression: {parameters: first},
MemberExpression: off,
ObjectExpression: first,
SwitchCase: 1}]
key-spacing: [error, {mode: minimum}]
keyword-spacing: error
linebreak-style: [error, unix]
max-len: [error, {code: 80,
ignoreRegExpLiterals: true,
ignoreUrls: true,
tabWidth: 2}]
new-parens: error
no-mixed-spaces-and-tabs: error
no-multiple-empty-lines: [error, {max: 2, maxEOF: 0, maxBOF: 0}]
no-restricted-syntax: [error, {
selector: "CallExpression[callee.object.name='assert'][callee.property.name='throws'][arguments.1.type='Literal']:not([arguments.1.regex])",
message: "use a regular expression for second argument of assert.throws()"
}, {
selector: "CallExpression[callee.object.name='assert'][callee.property.name='throws'][arguments.length<2]",
message: "assert.throws() must be invoked with at least two arguments."
}, {
selector: "CallExpression[callee.name='setTimeout'][arguments.length<2]",
message: "setTimeout() must be invoked with at least two arguments."
}, {
Expand All @@ -129,39 +135,38 @@ rules:
selector: "CallExpression[callee.object.name='assert'][callee.property.name='fail'][arguments.length=1]",
message: "assert.fail() message should be third argument"
}]
no-tabs: 2
no-trailing-spaces: 2
operator-linebreak: [2, after, {overrides: {'?': ignore, ':': ignore}}]
quotes: [2, single, avoid-escape]
semi: 2
semi-spacing: 2
space-before-blocks: [2, always]
space-before-function-paren: [2, {
no-tabs: error
no-trailing-spaces: error
operator-linebreak: [error, after, {overrides: {'?': ignore, ':': ignore}}]
quotes: [error, single, avoid-escape]
semi: error
semi-spacing: error
space-before-blocks: [error, always]
space-before-function-paren: [error, {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}]
space-in-parens: [2, never]
space-infix-ops: 2
space-unary-ops: 2
space-in-parens: [error, never]
space-infix-ops: error
space-unary-ops: error

# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
arrow-parens: [2, always]
arrow-spacing: [2, {before: true, after: true}]
constructor-super: 2
no-class-assign: 2
no-confusing-arrow: 2
no-const-assign: 2
no-dupe-class-members: 2
no-new-symbol: 2
no-this-before-super: 2
prefer-const: [2, {ignoreReadBeforeAssign: true}]
rest-spread-spacing: 2
template-curly-spacing: 2
arrow-parens: [error, always]
arrow-spacing: [error, {before: true, after: true}]
constructor-super: error
no-class-assign: error
no-confusing-arrow: error
no-const-assign: error
no-dupe-class-members: error
no-new-symbol: error
no-this-before-super: error
prefer-const: [error, {ignoreReadBeforeAssign: true}]
rest-spread-spacing: error
template-curly-spacing: error

# Custom rules in tools/eslint-rules
assert-throws-arguments: [2, { requireTwo: true }]

# Global scoped method and vars
globals:
Expand Down
25 changes: 24 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ More Developer Tools...`. This step will install `clang`, `clang++`, and
* You may want to setup [firewall rules](tools/macosx-firewall.sh)
to avoid popups asking to accept incoming network connections when running tests:

If the path to your build directory contains a space, the build will likely fail.

```console
$ sudo ./tools/macosx-firewall.sh
```
Expand Down Expand Up @@ -127,6 +129,25 @@ To run the tests:
$ make test
```

To run the tests and generate code coverage reports:

```console
$ ./configure --coverage
$ make coverage
```

This will generate coverage reports for both JavaScript and C++ tests (if you
only want to run the JavaScript tests then you do not need to run the first
command `./configure --coverage`).

The `make coverage` command downloads some tools to the project root directory
and overwrites the `lib/` directory. To clean up after generating the coverage
reports:

```console
make coverage-clean
```

To build the documentation:

This will build Node.js first (if necessary) and then use it to build the docs:
Expand All @@ -135,7 +156,7 @@ This will build Node.js first (if necessary) and then use it to build the docs:
$ make doc
```

If you have an existing Node.js you can build just the docs with:
If you have an existing Node.js build, you can build just the docs with:

```console
$ NODE=/path/to/node make doc-only
Expand Down Expand Up @@ -174,6 +195,8 @@ Prerequisites:
[Git for Windows](http://git-scm.com/download/win) includes Git Bash
and tools which can be included in the global `PATH`.

If the path to your build directory contains a space, the build will likely fail.

```console
> .\vcbuild nosign
```
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V6.md#6.11.3">6.11.3</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V6.md#6.11.4">6.11.4</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.11.3">6.11.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.11.2">6.11.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.11.1">6.11.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.11.0">6.11.0</a><br/>
Expand Down
Loading