Skip to content

V5.10.1 proposal #6059

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

Closed
wants to merge 1,120 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1120 commits
Select commit Hold shift + click to select a range
30cec18
path: fix verbose relative() output
mscdex Feb 23, 2016
dfe45f1
url: fix off-by-one error with parse()
mscdex Feb 23, 2016
91782f1
path: fix win32 relative() when "to" is a prefix
omsmith Feb 26, 2016
871396c
path: fix win32 relative() for UNC paths
omsmith Feb 26, 2016
c83725c
test: add test-cases for posix path.relative()
omsmith Feb 26, 2016
b44b701
tools,benchmark: increase lint compliance
Trott Feb 25, 2016
6aebe16
benchmark: add benchmark for buf.compare()
Trott Feb 26, 2016
d3f9b84
dgram: handle default address case when offset and length are specified
mcollina Feb 24, 2016
ea8331e
doc: improvements to crypto.markdown copy
estliberitas Feb 15, 2016
2b88523
repl: fix stack trace column number in strict mode
princejwesley Feb 24, 2016
0a56e96
doc: add note for binary safe string reading
Feb 9, 2016
795c85b
doc: fix typo in child_process documentation
evanlucas Feb 28, 2016
ef7a088
path: fix win32 parse()
zbinlin Feb 29, 2016
0ebbf6c
test: remove flaky designation from fixed tests
Trott Feb 26, 2016
91d218d
path: fix path.relative() for prefixes at root
omsmith Feb 29, 2016
cc4cbb1
test: fix flaky child-process-fork-regr-gh-2847
santigimeno Feb 24, 2016
c7f8a13
test: remove unneeded bind() and related comments
aayn Feb 1, 2016
9424fa5
url: group slashed protocols by protocol name
nettofarah Feb 23, 2016
88f3935
crypto: PBKDF2 works with `int` not `ssize_t`
indutny Feb 23, 2016
d77c3bf
http_parser: use `MakeCallback`
trevnorris Feb 19, 2016
1e86804
deps: upgrade openssl to 1.0.2g
bnoordhuis Mar 1, 2016
d1a82c6
test: retry on known SmartOS bug
Trott Feb 26, 2016
7cae774
benchmark: refactor to eliminate redeclared vars
Trott Feb 28, 2016
2c619f2
build: run lint before tests
Trott Feb 28, 2016
c4d9cdb
test: allow options for v8 testing
mhdawson Feb 29, 2016
81348e8
test: apply Linux workaround to Linux only
Trott Feb 28, 2016
12ae6ab
test: increase timeout for test-tls-fast-writing
Trott Feb 28, 2016
25c01cd
tls: fix assert in context._external accessor
bnoordhuis Mar 2, 2016
51bc062
doc: add CTC meeting minutes 2016-02-17
rvagg Feb 24, 2016
e3421ac
lib: freelist: use .pop() for allocation
subzey Jan 26, 2016
4c09e7f
build: remove --quiet from eslint invocation
Mar 2, 2016
f1f3832
doc: update NAN urls in ROADMAP.md and doc/releases.md
ronkorving Feb 28, 2016
805f054
2016-03-02, Version 5.7.1 (Stable)
Fishrock123 Feb 27, 2016
01c331e
Working on v5.7.2
Fishrock123 Mar 2, 2016
6d4887c
child_process: support options in send()
cjihrig Feb 16, 2016
a301799
child_process: add keepOpen option to send()
cjihrig Feb 17, 2016
e572e42
repl: accept no arguments to start()
cjihrig Feb 23, 2016
9db827c
constants: define ENGINE_METHOD_RSA
sam-github Feb 27, 2016
b54a26f
doc: correct name of engine methods
sam-github Feb 27, 2016
cb7e4fb
doc: update V8 URL
strawbrary Mar 2, 2016
c4fa2a6
tools: enable no-extra-parens in ESLint
Trott Mar 1, 2016
b955d02
benchmark: fix lint errors
Trott Mar 2, 2016
9a3e87e
tools: enable linting for benchmarks
Trott Mar 2, 2016
3bd96fd
doc: update link green to match homepage
silverwind Mar 3, 2016
40b36ba
test: check memoryUsage properties
geek Mar 3, 2016
e6210d5
test: prevent flakey test on pi2
trevnorris Mar 2, 2016
9ad901e
doc: improve unhandledException doc copy
jasnell Feb 17, 2016
5aa17dc
tools: support testing known issues
cjihrig Mar 2, 2016
29e26b3
test: bug repro for vm function redefinition
cjihrig Mar 2, 2016
86900f8
build: correctly detect clang version
Mar 3, 2016
12ca84f
benchmark: add util.format benchmark
evanlucas Feb 22, 2016
c32d460
util: improve util.format performance
evanlucas Feb 22, 2016
971edde
util: improve format() performance further
mscdex Feb 23, 2016
67e9f65
dgram: default send address to 127.0.0.1 or ::1
mcollina Feb 29, 2016
2abf866
build: update Node.js logo on Win installer
eljefedelrodeodeljefe Mar 2, 2016
eb5a95e
doc: fix typo in fs.symlink
targos Mar 4, 2016
7965c89
tools: enable no-self-assign ESLint rule
Trott Mar 3, 2016
048c0f4
tools: reduce verbosity of cpplint
thefourtheye Mar 6, 2016
4f20f31
test: remove broken debugger scenarios
Trott Mar 2, 2016
7be726f
doc: add info to docs on how to submit docs patch
Sequoia Jan 8, 2016
f3971f5
path: fix normalize for absolutes
evanlucas Mar 7, 2016
3c92352
doc: document directories in test directory
mike182uk Mar 3, 2016
9dc94d7
test: add test-npm-install to parallel tests suite
Feb 9, 2016
8501345
deps: upgrade to npm 3.7.3
zkat Feb 22, 2016
5e6d706
src,http: fix uncaughtException miss in http
trevnorris Mar 4, 2016
fc13773
2016-03-08, Version 5.8.0 (Stable)
Fishrock123 Mar 3, 2016
8165570
Working on v5.8.1
Fishrock123 Mar 8, 2016
4d6fe30
doc: fix v5.8.0 changelog heading
Fishrock123 Mar 9, 2016
a7819da
Revert "build: run lint before tests"
Trott Mar 8, 2016
532d1bf
deps: sync deps/http_parser with nodejs/http_parser
jasnell Mar 8, 2016
9f8e2e2
doc: update release tweet template
Fishrock123 Mar 9, 2016
03b99bf
build: don't install github templates
jbergstroem Mar 9, 2016
62d267e
doc: fix dns.resolveCname description typo
axvm Mar 9, 2016
9ebd559
doc: fix markdown links
stevemao Mar 10, 2016
205bed0
lib: copy arguments object instead of leaking it
nwoltman Dec 20, 2015
4c1fdae
docs: update link to iojs+release ci job
Mar 9, 2016
0b545fb
win,build: support Visual C++ Build Tools 2015
joaocgreis Mar 9, 2016
dd6f4ec
doc: add mattloring to collaborators
Mar 11, 2016
f7842cb
doc: add whitlockjc to collaborators
whitlockjc Mar 11, 2016
8e1f670
doc: add benjamingr to collaborator list
benjamingr Mar 11, 2016
285d5e7
doc: add AndreasMadsen to collaborators
AndreasMadsen Mar 11, 2016
a33f248
doc: add fansworld-claudio to collaborators
claudiorodriguez Mar 11, 2016
b81711a
doc: add phillipj to collaborators
phillipj Mar 11, 2016
f7aecd6
doc: add thekemkid to collaborators
GlenTiki Mar 11, 2016
9a44c8c
test: add batch of known issue tests
cjihrig Mar 11, 2016
dd12661
doc: include typo in 'unhandledRejection' example
r1b Mar 11, 2016
f6ee099
doc: fix typo in child_process docs
benjamingr Mar 13, 2016
2a442b3
doc: update removeListener behaviour
vaibhav93 Feb 12, 2016
d5d64c3
collaborator_guide: clarify commit message rules
geek Mar 11, 2016
c379ec6
doc: move build instructions to a new document
jbergstroem Mar 9, 2016
f3e9daa
doc: add clarification on birthtime in fs stat
kthelgason Feb 28, 2016
93f60cd
contextify: cleanup weak ref for global proxy
ofrobots Feb 23, 2016
bfff07b
contextify: cleanup weak ref for sandbox
ofrobots Feb 23, 2016
4f2c839
contextify: replace deprecated SetWeak usage
ofrobots Feb 23, 2016
0662fcf
contextify: cache sandbox and context in locals
ofrobots Feb 24, 2016
769254b
timers: refactor timers
Fishrock123 Feb 26, 2016
1b7b1ed
timers: greatly improve code comments
Fishrock123 Feb 26, 2016
cceae5a
test: eval a strict function
kthelgason Feb 15, 2016
f225459
test: improve test-npm-install
santigimeno Mar 8, 2016
31e39fb
doc: remove non-standard use of hyphens
svozza Mar 12, 2016
9794abb
doc: add onboarding resources
Fishrock123 Nov 9, 2015
b667573
doc: update fansworld-claudio username on README
claudiorodriguez Mar 13, 2016
44a9b10
doc: fix typo in api/fs
watilde Mar 13, 2016
8e45c9d
doc: fix typo in api/dgram
watilde Mar 13, 2016
c579507
doc: fix typo in api/addons
watilde Mar 13, 2016
eb73574
doc: clarify when writable.write callback is called
kevinoid Jan 22, 2016
29510aa
deps: update openssl config
Mar 6, 2016
62926d8
doc: clarify type of first argument in zlib
fanatid Mar 13, 2016
b16f67a
net: make `isIPv4` and `isIPv6` more efficient
vkurchatkin Feb 28, 2016
ef774ff
zlib: add support for concatenated members
kthelgason Feb 3, 2016
434af03
doc: Add note about use of JSON.stringify()
mithun-daa Mar 15, 2016
8c4c84f
doc: add Testing WG
Trott Feb 26, 2016
4ecd996
src: allow combination of -i and -e cli flags
Trott Mar 11, 2016
5e9cac4
console: check that stderr is writable
Trott Mar 9, 2016
b6c355d
deps: backport fb4ccae from v8 upstream
develar Dec 15, 2015
79cb1a9
2016-03-16, Version 5.9.0 (Stable)
evanlucas Mar 16, 2016
0cac777
Working on v5.9.1
evanlucas Mar 16, 2016
c5d8369
contextify: tie lifetimes of context & sandbox
ofrobots Mar 18, 2016
6e5835b
path: refactor path.format() repeated code
Trott Mar 12, 2016
5ab51ee
doc: reformat & improve node.1 manual page
Fishrock123 Feb 29, 2016
89df17e
doc: fix return value of write methods
fb55 Mar 16, 2016
f34a00c
docs: fix man pages link if tok type is code
mithun-daa Mar 15, 2016
724b87d
doc: explain path.format() algorithm
Trott Mar 13, 2016
75f723c
doc: fix invalid path doc comments
Trott Mar 11, 2016
3bff311
https: fix ssl socket leak when keepalive is used
alexpenev-s Mar 14, 2016
15c5662
doc: fix multiline return comments in querystring
claudiorodriguez Mar 14, 2016
d8318c2
doc: fix crypto update() signatures
mscdex Mar 1, 2016
d9b4e15
doc: fix typo in synchronous randomBytes example
WebReflection Mar 18, 2016
b1a4870
tools: remove unused imports
thefourtheye Mar 17, 2016
d3654d8
timers: improve setImmediate() performance
mscdex Dec 6, 2015
21770c3
test: reduce brittleness of tab complete test
Mar 17, 2016
5d28ce3
doc: topic blocking vs non-blocking
jrit Feb 19, 2016
3ada8cc
doc: align doc/api/tls.markdown with style guide
svozza Mar 14, 2016
1ccf9b4
net: remove unused `var self = this` from old code
benjamingr Feb 14, 2016
15c7b3a
src,tools: use template literals
Trott Mar 18, 2016
f53cc37
doc: grammar, clarity and links in timers doc
bengl Mar 18, 2016
ae24d05
deps: remove unused openssl files
bnoordhuis Mar 8, 2016
20a68e9
timers: give Timeouts a constructor name
Fishrock123 Mar 18, 2016
b352cc7
test: minimize test-http-get-pipeline-problem
Trott Mar 15, 2016
3fef69b
dns: use isIp consistently
benjamingr Mar 19, 2016
f0d885a
test: fix flaky test-cluster-shared-leak
claudiorodriguez Mar 19, 2016
d2fa644
test: fix `test-cluster-worker-kill`
santigimeno Mar 20, 2016
0ffd794
doc: Add windows example for Path.format
mithun-daa Mar 14, 2016
46f0e02
timers: fix lint from 4fe02e2
Fishrock123 Mar 21, 2016
89f091d
test: make test-net-connect-options-ipv6.js better
mhdawson Mar 18, 2016
e99082e
doc: add a cli options doc page
Fishrock123 Mar 18, 2016
e20d0b8
doc: explain error message on missing main file
drywolf Mar 20, 2016
c75f97f
lib: reduce usage of `self = this`
JacksonTian Feb 15, 2016
7ab597d
doc: add CTC meeting minutes 2016-02-03
rvagg Feb 17, 2016
1631f06
doc: add CTC meeting minutes 2016-02-10
rvagg Feb 17, 2016
7b21c09
lib: simplify code with String.prototype.repeat()
JacksonTian Feb 19, 2016
d2d0fe9
doc: update crypto docs to use good defaults
billautomata Mar 1, 2016
70512e5
test: repl tab completion test
santigimeno Mar 2, 2016
7c2c7b0
test: remove timer from test-http-1.0
santigimeno Feb 7, 2016
341b3d0
benchmark: fix linting errors
Trott Mar 22, 2016
72fb796
buffer: throw range error before truncating write
Mar 8, 2016
f95fc17
test: strip non-free icc profile from person.jpg
kapouer Mar 20, 2016
ca971b0
test: smaller chunk size for smaller person.jpg
kapouer Mar 20, 2016
54abbe7
dns: use template literals
benjamingr Mar 20, 2016
195e058
2016-03-23, Version 5.9.1 (Stable)
Fishrock123 Mar 21, 2016
90c2063
Working on v5.9.2
Fishrock123 Mar 22, 2016
3c02727
buffer: backport --zero-fill-buffers command line option
jasnell Mar 16, 2016
c1534e7
buffer: backport new buffer constructor APIs
jasnell Mar 17, 2016
8fa0b5c
Add @mhdawson back to the CTC
jasnell Mar 9, 2016
f1488bb
src,http_parser: remove KickNextTick call
trevnorris Mar 11, 2016
f9d0166
src: reword command and add ternary
trevnorris Mar 23, 2016
a485612
async_wrap: setupHooks now accepts object
trevnorris Feb 22, 2016
6f16882
async_wrap: notify post if intercepted exception
trevnorris Feb 23, 2016
2cbbaaf
async_wrap: don't abort on callback exception
trevnorris Mar 14, 2016
bdf933b
buffer: changing let in for loops back to var
gareth-ellis Mar 21, 2016
1f8e4b5
buffer: add swap16() and swap32() methods
jasnell Mar 15, 2016
ee83c95
buffer: make byteLength work with ArrayBuffer & DataView
JacksonTian Feb 16, 2016
5681ffe
build: enable compilation for linuxOne
mhdawson Mar 28, 2016
5ee5fa2
build: add missing `openssl_fips%` to common.gypi
indutny Mar 27, 2016
389f5a8
build: add script to create Android .mk files
robertchiras Mar 3, 2016
58b5c1e
build: add suport for x86 architecture
robertchiras Mar 3, 2016
660ec9f
child_process: refactor self=this in socket_list
benjamingr Mar 23, 2016
ec18131
deps: backport 8d00c2c from v8 upstream
bnoordhuis Mar 6, 2016
6a6112a
dns: Use object without protoype for map
benjamingr Mar 22, 2016
2a5c6d7
dns: Refactor forEach to map
benjamingr Mar 22, 2016
f1f9aff
doc: fix doc for Buffer.readInt32LE()
ghaiklor Mar 24, 2016
8e790b7
doc: add instructions to only sign a release
Fishrock123 Mar 23, 2016
949b17f
doc: fix order of end tags of list after heading
Mar 3, 2016
2977839
doc: use consistent event name parameter
benjamingr Mar 22, 2016
5676a35
doc: explain path.format expected properties
eversojk Mar 19, 2016
858a524
doc: typo: interal->internal.
kosak Mar 22, 2016
731f7b8
etw: fix descriptors of events 9 and 23
joaocgreis Mar 16, 2016
80155d3
fs: add the fs.mkdtemp() function.
ralt Feb 24, 2016
63c601b
http: speed up checkIsHttpToken
JacksonTian Jan 21, 2016
afcd276
zlib: Fix handling of gzip magic bytes mid-file
addaleax Mar 23, 2016
77bed26
win,build: build and test add-ons on test-ci
Mar 24, 2016
cb676cf
tools: fix json doc generation
firedfox Mar 29, 2016
7ec5397
timers: fixing API refs to use safe internal refs
getify Aug 22, 2015
8344a52
test: fix test-debugger-client.js
Trott Mar 22, 2016
fb0c5bc
test: fix flaky test-http-set-timeout
Trott Mar 23, 2016
82a50d3
test: move dns test to test/internet
bnoordhuis Mar 25, 2016
a41fd93
test: fix flaky test-net-socket-timeout
mscdex Mar 24, 2016
3238bff
test: confirm globals not used internally
Trott Mar 24, 2016
6928a17
test: exclude new fs watch test for AIX
mhdawson Mar 28, 2016
a19de97
test: remove the use of curl in the test suite
santigimeno Mar 16, 2016
aebe624
test: add test for piping large input from stdin
addaleax Mar 29, 2016
0d0c57f
src: override v8 thread defaults using cli options
tomgco Dec 18, 2015
4271732
repl: support standalone blocks
princejwesley Mar 7, 2016
a2ad216
querystring: don't stringify bad surrogate pair
mscdex Mar 23, 2016
b07bc5d
net: emit host in lookup event
entertainyou Mar 8, 2016
e6fabfc
deps: upgrade npm to 3.8.3
othiym23 Mar 30, 2016
16a53e3
lib: refactor code with startsWith/endsWith
JacksonTian Mar 17, 2016
bfd723f
src: Add missing `using v8::MaybeLocal`
addaleax Mar 31, 2016
32bd75a
lib,src: refactor src/node.js into internal files
Fishrock123 Mar 15, 2016
e571b14
lib,src: move src/node.js to lib/internal/node.js
Fishrock123 Mar 15, 2016
4ecb88f
lib: rename /node.js to /bootstrap_node.js
Fishrock123 Mar 15, 2016
0acca76
test: fix flaky test-repl
mscdex Mar 25, 2016
6113f6a
test: mitigate flaky test-https-agent
Trott Mar 28, 2016
c5c7ae8
test: add known_issues test for GH-2148
Trott Mar 27, 2016
e8cdf9a
node: --no-browser-globals configure flag
indutny Mar 23, 2016
40f0175
etw,build: always generate .rc and .h files
joaocgreis Mar 11, 2016
c7dcffb
governance: remove target size for CTC
Trott Mar 23, 2016
79ea8c3
2016-03-31 Version 5.10.0 (Stable) Release
evanlucas Mar 31, 2016
0605555
Working on v5.10.1
evanlucas Apr 1, 2016
e966d1f
buffer: don't set `kNoZeroFill` flag in allocUnsafe
vkurchatkin Apr 1, 2016
f3f19ee
net: refactor self=this to arrow functions
benjamingr Mar 23, 2016
0a13099
etw: add event messages
joaocgreis Mar 21, 2016
f14d71c
test: stdin is not always a net.Socket
Fishrock123 Mar 28, 2016
4f1fa2a
test: fix offending max-len linter error
thefourtheye Mar 31, 2016
96bb315
test: ensure _handle property existence
Trott Mar 26, 2016
c6ac6f2
http: Corrects IPv6 address in Host header
mpotra Feb 19, 2016
3f75751
build: introduce ci targets for lint/benchmark
jbergstroem Mar 27, 2016
a40b0cb
test: refactor http-end-throw-socket-handling
santigimeno Mar 12, 2016
8bec8aa
doc: consolidate timers docs in timers.markdown
bengl Mar 21, 2016
0ae5d02
doc: clarify that __dirname is module local
jasnell Apr 2, 2016
7337ef6
doc: minor argument formatting in stream.markdown
jasnell Apr 2, 2016
7491fdc
tools: remove disabling of already-disabled rule
Trott Apr 2, 2016
ce17371
doc: add 'Command Line Options' to 'View on single page'
firedfox Apr 2, 2016
f12c386
doc: clarify stdout/stderr arguments to callback
jasnell Apr 2, 2016
f879f5e
doc: document unspecified behavior for buf.write* methods
jasnell Mar 27, 2016
6052ced
test: fix error message checks in test-module-loading
jasnell Apr 1, 2016
0127c2b
test: fix test-dns.js flakiness
Trott Apr 1, 2016
dd25984
doc: note assert.throws() pitfall
Trott Apr 3, 2016
2ab1237
test: fix flaky test-net-socket-timeout-unref
Trott Mar 29, 2016
aa9fb03
doc: use HTTPS for links where possible
Trott Apr 2, 2016
1c40079
path: fix win32.isAbsolute() inconsistency
mscdex Apr 3, 2016
02f2ebd
test: explicitly set global in test-repl
Trott Apr 3, 2016
7db7a82
test: make arch available in status files
santigimeno Apr 1, 2016
cc8fcc5
test: be explicit about polluting of `global`
Trott Apr 2, 2016
059b607
test: make use of globals explicit
Trott Apr 2, 2016
0f5a51a
assert: Check typed array view type in deepEqual
addaleax Mar 26, 2016
50a062e
tools: remove obsolete lint config file
Trott Mar 30, 2016
8317778
meta: add "joining a wg" section to WORKING_GROUPS.md
mcollina Feb 29, 2016
781290b
doc: refine child_process detach behaviour
eljefedelrodeodeljefe Feb 19, 2016
6888706
2016-04-05, Version 5.10.1 (Stable) Release
Apr 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

[vcbuild.bat]
end_of_line = crlf

[*.{md,markdown}]
trim_trailing_whitespace = false

[{lib,src,test}/**.js]
indent_style = space
indent_size = 2

[src/**.{h,cc}]
indent_style = space
indent_size = 2

[test/*.py]
indent_style = space
indent_size = 2

[configure]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
indent_size = 8

[{deps,tools}/**]
indent_style = ignore
indent_size = ignore
end_of_line = ignore
trim_trailing_whitespace = ignore
charset = ignore
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
lib/internal/v8_prof_polyfill.js
lib/internal/v8_prof_processor.js
lib/punycode.js
test/addons/doc-*/
test/addons/??_*/
test/fixtures
test/**/node_modules
test/disabled
test/tmp*/
tools/doc/node_modules
127 changes: 65 additions & 62 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,87 +1,92 @@
env:
node: true

# enable ECMAScript features
ecmaFeatures:
arrowFunctions: true
binaryLiterals: true
blockBindings: true
classes: true
forOf: true
generators: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
templateStrings: true
es6: true

rules:
# Possible Errors
# list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
## check debugger sentence
# http://eslint.org/docs/rules/#possible-errors
comma-dangle: [2, "only-multiline"]
no-control-regex: 2
no-debugger: 2
## check duplicate arguments
no-dupe-args: 2
## check duplicate object keys
no-dupe-keys: 2
## check duplicate switch-case
no-duplicate-case: 2
## disallow assignment of exceptional params
no-empty-character-class: 2
no-ex-assign: 2
## disallow use of reserved words as keys like enum, class
no-reserved-keys: 2
## disallow unreachable code
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-negated-in-lhs: 2
no-obj-calls: 2
no-proto: 2
no-unexpected-multiline: 2
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
use-isnan: 2
valid-typeof: 2

# Best Practices
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
# http://eslint.org/docs/rules/#best-practices
no-fallthrough: 2
no-octal: 2
no-redeclare: 2
no-self-assign: 2
no-unused-labels: 2

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

# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: 2
no-undef: 2
no-unused-vars: [2, {"args": "none"}]

# 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"]

# Stylistic Issues
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
## use single quote, we can use double quote when escape chars
quotes: [2, "single", "avoid-escape"]
## 2 space indentation
indent: [2, 2]
## add space after comma
# http://eslint.org/docs/rules/#stylistic-issues
comma-spacing: 2
## put semi-colon
semi: 2
## require spaces operator like var sum = 1 + 1;
space-infix-ops: 2
## require spaces return, throw, case
space-return-throw-case: 2
## no space before function, eg. 'function()'
space-before-function-paren: [2, "never"]
## require space before blocks, eg 'function() {'
space-before-blocks: [2, "always"]
## require parens for Constructor
new-parens: 2
## max 80 length
eol-last: 2
indent: [2, 2, {SwitchCase: 1}]
keyword-spacing: 2
max-len: [2, 80, 2]
## max 2 consecutive empty lines
new-parens: 2
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2}]
## require newline at end of files
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2
# require space after keywords, eg 'for (..)'
space-after-keywords: 2

# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
## 'use strict' on top
strict: [2, "global"]
quotes: [2, "single", "avoid-escape"]
semi: 2
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "never"]
space-in-parens: [2, "never"]
space-infix-ops: 2
space-unary-ops: 2

# Variables
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2
# 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

# Custom rules in tools/eslint-rules
require-buffer: 2
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]


# Global scoped method and vars
globals:
Expand All @@ -103,5 +108,3 @@ globals:
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
!**/node_modules/debug/
!deps/v8/src/debug/
Release/
!doc/blog/**
Expand All @@ -44,13 +44,15 @@ ipch/

/config.mk
/config.gypi
/config_fips.gypi
*-nodegyp*
/gyp-mac-tool
/dist-osx
/npm.wxs
/tools/msvs/npm.wixobj
/tools/msvs/genfiles/
/tools/osx-pkg.pmdoc/index.xml
/test/addons/doc-*/
/test/addons/??_*/
email.md
deps/v8-*
deps/icu
Expand Down
20 changes: 20 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Alexey Kupershtokh <[email protected]> <[email protected]>
Alexis Campailla <[email protected]> <[email protected]>
Alexis Sellier <[email protected]>
Alexis Sellier <[email protected]> <[email protected]>
Andy Bettisworth <[email protected]>
Aria Stewart <[email protected]> <[email protected]>
Arlo Breault <[email protected]>
Artem Zaytsev <[email protected]>
Expand All @@ -19,15 +20,20 @@ Bert Belder <[email protected]> <[email protected]>
Brandon Benvie <[email protected]> <[email protected]>
Brian White <[email protected]>
Brian White <[email protected]> <[email protected]>
Caleb Boyd <[email protected]>
Charles <[email protected]> <[email protected]>
Chew Choon Keat <[email protected]>
Charles Rudolph <[email protected]>
Claudio Rodriguez <[email protected]> <[email protected]>
Colin Ihrig <[email protected]>
Christopher Lenz <[email protected]> <[email protected]>
Dan Kaplun <[email protected]> <[email protected]>
Daniel Berger <[email protected]>
Daniel Chcouri <[email protected]>
Daniel Gröber <[email protected]>
Daniel Gröber <[email protected]> <[email protected]>
Daniel Pihlström <[email protected]>
Danny Nemer <[email protected]> <[email protected]>
Dave Pacheco <[email protected]> <[email protected]>
David Siegel <[email protected]> <[email protected]>
Domenic Denicola <[email protected]>
Expand All @@ -37,6 +43,8 @@ Einar Otto Stangvik <[email protected]>
Elliott Cable <[email protected]>
EungJun Yi <[email protected]>
Evan Larkin <evan.larkin.il.com> <[email protected]>
Evan Lucas <[email protected]> <[email protected]>
Evan Lucas <[email protected]> <[email protected]>
Farid Neshat <[email protected]>
Fedor Indutny <[email protected]> <[email protected]>
Felix Böhm <[email protected]> <[email protected]>
Expand All @@ -48,23 +56,29 @@ Gabriel de Perthuis <[email protected]>
Gil Pedersen <[email protected]> <[email protected]>
Henry Chin <[email protected]>
Herbert Vojčík <[email protected]>
Icer Liang <[email protected]> <[email protected]>
Igor Soarez <[email protected]>
Igor Zinkovsky <[email protected]>
Isaac Z. Schlueter <[email protected]>
Isaac Z. Schlueter <[email protected]> <[email protected]>
Jake Verbaten <[email protected]>
James Hartig <[email protected]> <[email protected]>
Jan Krems <[email protected]> <[email protected]>
Jered Schmidt <[email protected]>
Jeremiah Senkpiel <[email protected]>
Jerry Chin <[email protected]>
Joe Shaw <[email protected]> <[email protected]>
Johan Bergström <[email protected]>
Johan Dahlberg <[email protected]> <[email protected]>
Johann Hofmann <[email protected]>
Jonas Pfenniger <[email protected]> <[email protected]>
Jonathan Ong <[email protected]> <[email protected]>
Jonathan Persson <[email protected]> <[email protected]>
Jonathan Rentzsch <[email protected]>
Josh Erickson <[email protected]>
Joshua S. Weinstein <[email protected]>
Junliang Yan <[email protected]>
Junliang Yan <[email protected]> <[email protected]>
Jérémy Lal <[email protected]>
Jérémy Lal <[email protected]> <[email protected]>
Kai Sasaki Lewuathe <[email protected]>
Expand All @@ -81,6 +95,8 @@ Malte-Thorben Bruns <[email protected]>
Malte-Thorben Bruns <[email protected]>
Marcin Cieślak <[email protected]>
Marcin Cieślak <[email protected]> <[email protected]>
Marti Martz <[email protected]>
Martial James Jefferson <[email protected]>
Mathias Pettersson <[email protected]>
Matthew Lye <[email protected]>
Michael Bernstein <[email protected]>
Expand All @@ -95,16 +111,20 @@ Nicholas Kinsey <[email protected]>
Nikolai Vavilov <[email protected]>
Onne Gorter <[email protected]>
Paul Querna <[email protected]> <[email protected]>
Peter Flannery <[email protected]>
Phillip Johnsen <[email protected]> <[email protected]>
Ray Morgan <[email protected]>
Ray Solomon <[email protected]>
Raymond Feng <[email protected]> <[email protected]>
Rick Olson <[email protected]>
Roman Klauke <[email protected]> <[email protected]>
Roman Reiss <[email protected]>
Ron Korving <[email protected]>
Ryan Dahl <[email protected]>
Ryan Emery <[email protected]>
Sakthipriyan Vairamani <[email protected]>
Sam Mikes <[email protected]>
Sam P Gallagher-Bishop <[email protected]> <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sambasiva Suda <[email protected]>
Expand Down
Loading