Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Release proposal for node-chakracore v8.3.0 #365

Merged
merged 226 commits into from
Aug 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
9e9e1b4
Working on v8.2.2
Fishrock123 Jul 20, 2017
32ba8ae
repl: fix old history error handling
BridgeAR Jun 17, 2017
b5d0a03
test: fix error handling test-http-full-response
Trott Jul 15, 2017
d2121ab
doc: fix minor typo in cluster.md
lance Jul 18, 2017
72febfd
test: replace concatenation with template literals
csvwolf Jul 16, 2017
53ad91c
doc,stream: _transform happens one at a time
mcollina Jul 17, 2017
34821f6
repl: don't terminate on null thrown
Jul 16, 2017
dc0a26f
doc: replace dead link in v8 module
drboyer Jul 19, 2017
3bc7d2a
test: replace string concat in test-fs-watchfile.js
Helianthus21 Jul 16, 2017
f6a0343
docs: add note about fs.rmdir()
Oleksandr-Kushchak-i2 Jul 17, 2017
def98c6
test: replace string concatenation with template
nathansmile Jul 18, 2017
5ab4471
build,tools: do not force codesign prefix
evanlucas Jul 12, 2017
0ebb4df
build: codesign tarball binary on macOS
evanlucas Jul 12, 2017
94c7331
test: replace string concatenation with path.join
jkzing Jul 16, 2017
c866c90
test: use path.join for long path concatenation
jankjn Jul 16, 2017
9b104b4
benchmark: add assert map and set benchmarks
BridgeAR Jul 18, 2017
956a473
test: move test-fs-largefile to pummel
Trott Jul 18, 2017
b12924d
doc: add XadillaX to collaborators
XadillaX Jul 20, 2017
4be373b
doc: fixes default shell in child_process.md
henryzxu Jul 12, 2017
0197ba0
test: add comments for whatwg-url tests
gautamarora Jul 19, 2017
f1b09c0
doc: fix typo in stream.md
Jul 19, 2017
3c92b78
test: use path.join in async-hooks/test-tlswrap.js
vincentcn Jul 17, 2017
e237720
test: replace string concatenation with template
Jul 16, 2017
e54f75b
readline: remove the caching variable
Jul 16, 2017
99104e1
test: improve fs.exists coverage
jkzing Jul 16, 2017
11ae8c3
test: delete obsolete test-sendfd.js
decareano Jul 17, 2017
9b22acc
test: fix flaky test-net-write-after-close
Trott Jul 19, 2017
592787e
doc: error message are still major
refack Jul 19, 2017
953736c
test: move timing-dependent tests to sequential
aqrln Jul 19, 2017
c0ea5d8
tools: always include llvm_version in config
nanaya Jul 5, 2017
ebb9090
tools: skip workaround for newer llvm
nanaya Jul 5, 2017
3414e42
test: replace concatenation with template literals
leizongmin Jul 16, 2017
83c8e5c
doc: describe labelling process for backports
addaleax Apr 15, 2017
265f159
test: replace concatenation with template literals
4garfield Jul 16, 2017
d9273ed
deps: cherry-pick 18ea996 from c-ares upstream
addaleax Jul 15, 2017
0418a70
test: add non-internet resolveAny tests
addaleax Jun 22, 2017
6c6da38
doc: fix some links
vsemozhetbyt Jul 20, 2017
552d2be
test: improve test-util-inspect
psmarshall Jun 30, 2017
28f0693
lib: include cached modules in module.children
bnoordhuis Jul 8, 2017
fa134dd
n-api: add fast paths for integer getters
addaleax Jul 20, 2017
78f0c2a
doc,assert: document stackStartFunction in fail
BridgeAR Jul 2, 2017
26785a2
assert: refactor the code
BridgeAR Jul 2, 2017
d7a1637
test: change isAix to isAIX
LipperZack Jul 16, 2017
bdcd496
doc: update experimental status to reflect use
jasnell Apr 28, 2017
89586f6
assert: fix incorrect use of ERR_INVALID_ARG_TYPE
tniessen Jun 30, 2017
d89bb1c
test: bump test/common to master
addaleax Jul 24, 2017
1813467
test: upgrade tests to work with master’s `common`
addaleax Jul 24, 2017
f2efdc8
n-api: add code parameter to error helpers
mhdawson Jun 29, 2017
142ce5c
errors: order internal errors list alphabetically
addaleax Jul 24, 2017
751e873
http: check for handle before running asyncReset()
trevnorris Jul 21, 2017
3c50c59
test: replace concatenation with template literals
Suixinlei Jul 16, 2017
aeb8d66
test: fix test-async-wrap-getasyncid flakyness
Jul 17, 2017
ab9bc81
doc: add docs for module.paths
atever Jul 23, 2017
de3d73c
test: replace CRLF by LF in a fixture
vsemozhetbyt Jul 23, 2017
1c6135f
test: fix flaky http(s)-set-server-timeout tests
Trott Jul 20, 2017
a7b3e06
lib: modify destructuring for indentation
Trott Jul 21, 2017
5e95218
tools: update to ESLint 4.3.0
Trott Jul 21, 2017
cd0fffd
test: convert table in test doc to markdown table
sealkingw Jul 16, 2017
6420a73
test: replace concatenation with template literal
HSUCHING Jul 16, 2017
5057c7a
test: replace concatenation with template literal
rockcoder23 Jul 16, 2017
509039f
path: remove unnecessary string copies
tniessen Jul 23, 2017
14f6a5a
test: fix flaky test-force-repl
Trott Jul 23, 2017
6078dea
n-api: directly create Local from Persistent
kfarnung Jul 13, 2017
50447e8
http: reset stream to unconsumed in `unconsume()`
addaleax Jul 21, 2017
8a9de1b
doc: fix typo in using-internal-errors.md
b0yfriend Jul 22, 2017
0ff19b0
test: changed error message validator
pratik0509 Jul 24, 2017
4836f3b
inspector: send messages after the Node is done
Jul 24, 2017
f8c2302
test: use common.mustCall() instead of exit handle
Suixinlei Jul 16, 2017
71cb1cd
inspector: implement V8Inspector timer
Jul 18, 2017
b849b3d
n-api: re-use napi_env between modules
Jul 13, 2017
60e0f2b
n-api: add support for DataView
shivanth Jul 19, 2017
7f5bcbd
build,test: run v8 tests on windows
kunalspathak Jun 28, 2017
100e862
test: rename crypto test
bnoordhuis Jul 24, 2017
4ff562f
test: make flaky crypto test more deterministic
bnoordhuis Jul 24, 2017
eb7faf6
src: replace ASSERT with CHECK
bnoordhuis Jul 25, 2017
e90af29
tls: fix empty issuer/subject/infoAccess parsing
bnoordhuis Jul 24, 2017
c285389
test: refactor test-http-parser.js
Trott Jul 25, 2017
91b6ba1
test: refactor test-benchmark-timers
Trott Jul 24, 2017
e9088f9
doc: fix verify in crypto.md
rus0000 Jul 25, 2017
9e5a088
lib: adjust indentation for impending lint change
Trott Jul 20, 2017
d11840c
tools: enable stricter linting in lib directory
Trott Jul 20, 2017
23cd934
test: refactor test-httpparser.response.js
erdun Jul 16, 2017
5a8862b
repl: improve require() autocompletion
aqrln Jul 21, 2017
c704c02
test: increase coverage for path.parse
tniessen Jul 24, 2017
eb023ef
doc, lib, test: do not re-require needlessly
vsemozhetbyt Jul 15, 2017
7c51240
test: adjust indentation for stricter linting
Trott Jul 25, 2017
9252b8c
assert: refactor to reduce unecessary code paths
BridgeAR Jun 28, 2017
e2356e7
assert: improve deepEqual Set and Map worst case
BridgeAR Jul 15, 2017
451e643
test: remove --no-crankshaft
MylesBorins Jul 28, 2017
15b9aa1
test: improve error logging for inspector test
Trott Jul 27, 2017
7b6a774
test: remove disabled tests directory
Trott Jul 26, 2017
1a5927f
repl: do not consider `...` as a REPL command
shivanth Jul 23, 2017
8fea174
test: add DISABLED_ prefix to commented out test
danbev Jul 17, 2017
5844691
net: fix bytesWritten during writev
brendanashworth Jul 13, 2017
2c364ab
buffer: remove a wrongly added attribute specifier
hujiajie Jul 24, 2017
ddd97fe
test: fix error when foo in path to git clone
SwimmingSage Jul 26, 2017
4e2493a
doc: fix minor typos in net.md
darai0512 Jul 26, 2017
9dd9760
doc: update url.origin IDNA behavior
TimothyGu Jun 23, 2017
92b0555
doc: various small revisions in url
TimothyGu Jun 26, 2017
d90a5e0
src: replace deprecated ForceSet() method
fhinkel Jul 24, 2017
b41ae98
path: fix win32 volume-relative paths
TimothyGu Jul 24, 2017
fa8c5f4
tools: remove legacy indentation linting
Trott Jul 27, 2017
19a0e06
linkedlist: correct grammar in comments
alexbostock Jul 30, 2017
fffd8f5
doc: document napi_finalize() signature
cjihrig Jul 14, 2017
37e55bf
readline: remove max limit of crlfDelay
Azard Jun 6, 2017
0cf1e22
benchmark: remove unused parameters
mnalsup Jul 28, 2017
cfed48e
doc, url: add changelog metadata for url.format
TimothyGu Jul 30, 2017
3225942
url: update sort() behavior with no params
TimothyGu Jul 24, 2017
f40b906
test: add check on an addon that does not register
ezequielgarcia Jun 28, 2017
9f50db2
test: refactor test-vm-new-script-new-context
Trott Jul 29, 2017
7b96944
build,win: fix python detection script
jasongin Jul 31, 2017
106a23b
src,dns: refactor cares_wrap to avoid global state
addaleax Jul 27, 2017
69e41dc
dns: enable usage of independent cares resolvers
addaleax Jul 27, 2017
0982810
dns: add channel.cancel()
addaleax Jul 27, 2017
32b30d5
dns: name generated functions
addaleax Jul 31, 2017
ce9e3cf
test: refactor test/sequential/test-fs-watch.js
Trott Jul 29, 2017
b1fef05
test: improvements to various http tests
jasnell Jul 14, 2017
e529914
zlib: fix interaction of flushing and needDrain
addaleax Jul 28, 2017
f593960
util: refactor util module
jasnell Jun 19, 2017
9a3fc10
util: implement WHATWG Encoding Standard API
jasnell Jun 12, 2017
b6bd3cf
doc: cross-link util.TextDecoder and intl.md
vsemozhetbyt Jul 25, 2017
87e1080
build: fix build without icu
MSLaguana Jul 28, 2017
51c1afa
crypto: change segmentation faults to CHECKs
tniessen Jul 30, 2017
fa3aa2e
src: return MaybeLocal in AsyncWrap::MakeCallback
tniessen Jul 31, 2017
44ad55d
deps: update V8 to 6.0.286.52
MylesBorins Aug 1, 2017
160e2f0
deps: limit regress/regress-crbug-514081 v8 test
mhdawson May 9, 2016
357873d
v8: fix stack overflow in recursive method
bnoordhuis Apr 17, 2017
efd297a
deps: fix addons compilation with VS2013
bzoz May 23, 2017
2dbf95d
deps: backport c0f1ff2 from upstream V8
targos Jun 20, 2017
997204a
src: fix new V8 compiler warnings
targos Jun 30, 2017
e2b306c
deps: backport rehash strings after deserialization
hashseed Jul 18, 2017
8a3bc87
src: fix process.abort() interaction with V8
addaleax Jun 29, 2017
342f4cc
doc: change `child` to `subprocess`
Trott Aug 1, 2017
91b7843
doc: add entry for subprocess.killed property
Trott Aug 3, 2017
9c1199e
console: add console.count() and console.clear()
jasnell Apr 26, 2017
5094f2c
test: refactor test-domain-abort-on-uncaught
Trott Jul 30, 2017
9f319d5
tools: replace assert-throw-arguments custom lint
Trott Jul 30, 2017
8c80e91
doc: fix typo in writing-and-running-benchmarks.md
hiroppy Aug 2, 2017
255b9bf
console,test: make message test more accurate
addaleax Aug 1, 2017
767644d
tools: simplify no-unescaped-regexp-dot rule
Trott Aug 1, 2017
dd586c6
doc: erase unneeded eslint-plugin-markdown comment
vsemozhetbyt Aug 2, 2017
636ba8c
test: support odd value for kStringMaxLength
targos Jul 25, 2017
28b9c7a
test: fix test-readline-position w/o ICU
TimothyGu Jul 26, 2017
deea68c
inspector: fix console with inspector disabled
TimothyGu Aug 2, 2017
3c46ef4
test: explain sloppy mode for test-global
Trott Aug 2, 2017
8c5cd14
src: avoid dereference without existence check
TimothyGu Aug 5, 2017
c0f0c38
build: enable C++ linting for src/*/*
Jeyanthinath Jul 26, 2017
3c6b5e5
src: properly manage timer in cares ChannelWrap
addaleax Aug 4, 2017
4b01d8c
src: replace assert with CHECK_LE in node_api.cc
bnoordhuis Jul 27, 2017
eb068a0
src: remove unused Connection::ClearError()
bnoordhuis Jul 27, 2017
6ae6469
src: use existing strings over creating new ones
addaleax Aug 2, 2017
264e434
src: reuse 'ondone' string in node_crypto.cc
tniessen Aug 2, 2017
1f16c43
child_process: fix handle passing w large payloads
addaleax Aug 2, 2017
a813294
zlib: fix crash when initializing failed
addaleax Aug 7, 2017
e813cfa
querystring: avoid indexOf when parsing
mcollina Aug 8, 2017
ad901ed
doc: add gabrielschulhof to collaborators
Aug 8, 2017
fb88fa1
2017-08-09, Version 8.3.0 (Current)
addaleax Aug 2, 2017
281cd64
chakrashim: updating platform shim
kfarnung Jul 6, 2017
c98e0ce
[Merge Microsoft/Chakracore@b5ebc92dbc] [1.6>1.7] [MERGE #3417 @MikeH…
chakrabot Jul 25, 2017
ea57ed7
[Merge Microsoft/Chakracore@804093ebc3] [1.6>1.7] [MERGE #3338 @MikeH…
chakrabot Jul 25, 2017
6226730
[Merge Microsoft/Chakracore@1b75f1bb64] [MERGE #3391 @kfarnung] Repor…
chakrabot Jul 25, 2017
55746ee
[Merge Microsoft/Chakracore@3c659bbe63] [1.6>1.7] [MERGE #3414 @curti…
chakrabot Jul 25, 2017
f389099
[Merge Microsoft/Chakracore@8fb31110c6] [1.6>1.7] [MERGE #3415 @akros…
chakrabot Jul 26, 2017
ab2781a
[Merge Microsoft/Chakracore@10d2f118ed] [1.6>1.7] [MERGE #3413 @atulk…
chakrabot Jul 26, 2017
dfc1581
[Merge Microsoft/Chakracore@5af1a8131b] [1.6>1.7] [MERGE #3425 @Cellu…
chakrabot Jul 26, 2017
68380ca
[Merge Microsoft/Chakracore@a9c6c2dc41] [1.6>1.7] [MERGE #3416 @curti…
chakrabot Jul 26, 2017
0a29c27
[Merge Microsoft/Chakracore@a9d2418d41] [MERGE #3199 @obastemur] jsrt…
chakrabot Jul 26, 2017
60ce06f
[Merge Microsoft/Chakracore@78b3208be5] [MERGE #3353 @obastemur] Debu…
chakrabot Jul 27, 2017
d294e16
[Merge Microsoft/Chakracore@55a0eb1825] [MERGE #3432 @MSLaguana] Fixi…
chakrabot Jul 27, 2017
3088134
[Merge Microsoft/Chakracore@39b89da350] [1.6>1.7] [MERGE #3436 @agarw…
chakrabot Jul 27, 2017
2adcecb
[Merge Microsoft/Chakracore@1ffb64cb4d] [1.6>1.7] [MERGE #3429 @atulk…
chakrabot Jul 27, 2017
470b517
[Merge Microsoft/Chakracore@3c7ecf0b80] [MERGE #3433 @kunalspathak] J…
chakrabot Jul 27, 2017
f7848cb
[Merge Microsoft/Chakracore@e0fb812bc1] [1.6>1.7] [MERGE #3440 @Louis…
chakrabot Jul 28, 2017
ae3534f
chakrashim: fix build break from JsCopyString
kunalspathak Jul 28, 2017
e32bd43
[Merge Microsoft/Chakracore@76a2210a34] [1.6>1.7] [MERGE #3446 @akros…
chakrabot Jul 29, 2017
0db54b1
[Merge Microsoft/Chakracore@786f348d13] [1.6>1.7] [MERGE #3447 @dilij…
chakrabot Jul 29, 2017
8e87b75
[Merge Microsoft/Chakracore@391e601df6] [1.6>1.7] [MERGE #3428 @curti…
chakrabot Jul 29, 2017
5a30daf
[Merge Microsoft/Chakracore@0c739a73be] [1.6>1.7] [MERGE #3445 @anees…
chakrabot Jul 29, 2017
62fc612
[Merge Microsoft/Chakracore@8a61170da3] [1.6>1.7] [MERGE #3452 @akros…
chakrabot Jul 29, 2017
7cb0191
optimize StringUtf8::From
kunalspathak Jul 27, 2017
b38d766
[Merge Microsoft/Chakracore@6aeb615894] [MERGE #3437 @MSLaguana] Fixe…
chakrabot Jul 31, 2017
2e92601
[Merge Microsoft/Chakracore@a8d700f7c4] [1.6>1.7] [MERGE #3451 @rajat…
chakrabot Jul 31, 2017
65515eb
[Merge Microsoft/Chakracore@fdba5f1f9b] [1.6>1.7] [MERGE #3435 @suwc]…
chakrabot Jul 31, 2017
e309967
[Merge Microsoft/Chakracore@0eabffef38] [1.6>1.7] [MERGE #3457 @curti…
chakrabot Jul 31, 2017
5a65ad2
[Merge Microsoft/Chakracore@d43c23a9c4] [MERGE #3462 @kfarnung] Add J…
chakrabot Jul 31, 2017
19468aa
[Merge Microsoft/Chakracore@96b4d1f4a9] [1.6>1.7] [MERGE #3458 @anees…
chakrabot Aug 1, 2017
1d4d95b
[Merge Microsoft/Chakracore@79c13b4641] [1.6>1.7] [MERGE #3464 @anees…
chakrabot Aug 2, 2017
72e65da
[Merge Microsoft/Chakracore@12da6749b9] [1.6>1.7] [MERGE #3459 @sigat…
chakrabot Aug 2, 2017
4276b7e
[Merge Microsoft/Chakracore@35ade809e7] Updating Bytecode Headers
chakrabot Aug 2, 2017
2585880
[Merge Microsoft/Chakracore@d8112a6ce8] [MERGE #3443 @obastemur] Make…
chakrabot Aug 3, 2017
b6ed725
[Merge Microsoft/Chakracore@ff22ab8fa5] [MERGE #3456 @obastemur] xpla…
chakrabot Aug 3, 2017
402e13f
[Merge Microsoft/Chakracore@943277437f] [MERGE #3465 @obastemur] JSON…
chakrabot Aug 3, 2017
b8690b4
[Merge Microsoft/Chakracore@06c67e8493] [1.6>1.7] [MERGE #3426 @Cellu…
chakrabot Aug 3, 2017
9be2f71
[Merge Microsoft/Chakracore@f497760a25] [1.6>1.7] [MERGE #3460 @meg-g…
chakrabot Aug 3, 2017
8d74ab1
[Merge Microsoft/Chakracore@42b5d73e48] [1.6>1.7] [MERGE #3471 @mrkma…
chakrabot Aug 3, 2017
3e93b74
chakrashim: fix console autocomplete in VS Code
kfarnung Aug 2, 2017
d3accb0
[Merge Microsoft/Chakracore@95f497c17f] [1.6>1.7] [MERGE #3463 @ricob…
chakrabot Aug 4, 2017
c9ffb2c
[Merge Microsoft/Chakracore@f95b7cbf33] [1.6>1.7] [MERGE #3469 @Cellu…
chakrabot Aug 4, 2017
c5c5b96
[Merge Microsoft/Chakracore@1cadbb3b51] [1.6>1.7] [MERGE #3470 @tcare…
chakrabot Aug 4, 2017
461c1b9
[Merge Microsoft/Chakracore@d7fba376b7] [1.6>1.7] [MERGE #3479 @tcare…
chakrabot Aug 4, 2017
4d89f02
[Merge Microsoft/Chakracore@353d42059b] [1.6>1.7] [MERGE #3480 @jianc…
chakrabot Aug 4, 2017
f74f22e
[Merge Microsoft/Chakracore@48de84a45f] [MERGE #3473 @MSLaguana] Fixi…
chakrabot Aug 5, 2017
446526f
[Merge Microsoft/Chakracore@9c034052fa] [MERGE #3472 @obastemur] JSON…
chakrabot Aug 5, 2017
a07d1ba
[Merge Microsoft/Chakracore@ac21f6c301] [MERGE #3420 @obastemur] linu…
chakrabot Aug 5, 2017
b1db7ba
[Merge Microsoft/Chakracore@4559734d46] [MERGE #3454 @obastemur] Perf…
chakrabot Aug 5, 2017
49f40e0
[Merge Microsoft/Chakracore@5dd3ed0264] [MERGE #3466 @obastemur] ToSt…
chakrabot Aug 5, 2017
c2a86b6
[Merge Microsoft/Chakracore@1b94b578c3] [MERGE #3455 @obastemur] JSON…
chakrabot Aug 5, 2017
3ab059b
[Merge Microsoft/Chakracore@895f892129] [MERGE #3489 @obastemur] Conv…
chakrabot Aug 8, 2017
11c68c9
[Merge Microsoft/Chakracore@c19c1c0b33] [1.6>1.7] [MERGE #3424 @rajat…
chakrabot Aug 8, 2017
bf0b020
[Merge Microsoft/Chakracore@be5c231aae] [1.6>1.7] [MERGE #3485 @agarw…
chakrabot Aug 9, 2017
569128f
[Merge Microsoft/Chakracore@177a7beaae] [1.6>1.7] [MERGE #3496 @MikeH…
chakrabot Aug 9, 2017
a1a64d1
[Merge Microsoft/Chakracore@e0141fb48b] [MERGE #3503 @sigatrev] Fix I…
chakrabot Aug 10, 2017
39553e7
[Merge Microsoft/Chakracore@992b1d7a50] [1.6>1.7] [MERGE #3491 @Cellu…
chakrabot Aug 10, 2017
3d822ec
[Merge Microsoft/Chakracore@f2b5bb29b9] [1.6>1.7] [MERGE #3468 @Cellu…
chakrabot Aug 10, 2017
4d1aff1
[Merge Microsoft/Chakracore@d08f260e7e] [1.6>1.7] [MERGE #3509 @pleat…
chakrabot Aug 10, 2017
78d5a93
[Merge Microsoft/Chakracore@f092881abe] [MERGE #3506 @Cellule] Defaul…
chakrabot Aug 10, 2017
c7283aa
[Merge Microsoft/Chakracore@b1e30e38a9] [MERGE #3487 @Cellule] WASM -…
chakrabot Aug 10, 2017
73ed2f0
[Merge Microsoft/Chakracore@e2e415d467] [MERGE #3511 @MSLaguana] Prep…
chakrabot Aug 10, 2017
263686a
Merge tag 'v8.3.0' into 8.3.0-proposal
Aug 11, 2017
2679098
test: fix chakracore test failures
kfarnung Aug 11, 2017
fef55b4
n-api: update error functions for JSRT
kfarnung Jul 17, 2017
39876b5
n-api: implement DataView APIs for ChakraCore
kfarnung Jul 31, 2017
d934b66
test: fixed test case for v8
kunalspathak Aug 2, 2017
a41c632
src: fix node-v8 build
kunalspathak Aug 2, 2017
f11801b
test: update `areAllValuesEqual` to use strings
kfarnung Jul 25, 2017
5ce6297
test: cleanup with upstream
kfarnung Aug 11, 2017
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ lib/internal/v8_prof_polyfill.js
lib/punycode.js
test/addons/??_*/
test/fixtures
test/disabled
test/tmp*/
tools/eslint
node_modules
Expand Down
26 changes: 13 additions & 13 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,13 @@ rules:
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}]
indent-legacy: [error, 2, {ArrayExpression: first,
CallExpression: {arguments: first},
MemberExpression: 1,
ObjectExpression: first,
SwitchCase: 1}]
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]
Expand All @@ -124,6 +119,12 @@ rules:
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 Down Expand Up @@ -167,7 +168,6 @@ rules:
template-curly-spacing: error

# Custom rules in tools/eslint-rules
assert-throws-arguments: [error, { requireTwo: true }]
no-unescaped-regexp-dot: error

# Global scoped method and vars
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.2.1">8.2.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.3.0">8.3.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.2.1">8.2.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.2.0">8.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.4">8.1.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.3">8.1.3</a><br/>
Expand Down
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ $(PKG): release-only
--release-urlbase=$(RELEASE_URLBASE) \
$(CONFIG_FLAGS) $(BUILD_RELEASE_FLAGS)
$(MAKE) install V=$(V) DESTDIR=$(PKGDIR)
SIGN="$(CODESIGN_CERT)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh
SIGN="$(CODESIGN_CERT)" PKGDIR="$(PKGDIR)/usr/local" bash \
tools/osx-codesign.sh
cat tools/osx-pkg.pmdoc/index.xml.tmpl \
| sed -E "s/\\{nodeversion\\}/$(FULLVERSION)/g" \
| sed -E "s/\\{npmversion\\}/$(NPMVERSION)/g" \
Expand Down Expand Up @@ -807,6 +808,9 @@ $(BINARYTAR): release-only
cp README.md $(BINARYNAME)
cp LICENSE $(BINARYNAME)
cp CHANGELOG.md $(BINARYNAME)
ifeq ($(OSTYPE),darwin)
SIGN="$(CODESIGN_CERT)" PKGDIR="$(BINARYNAME)" bash tools/osx-codesign.sh
endif
tar -cf $(BINARYNAME).tar $(BINARYNAME)
$(RM) -r $(BINARYNAME)
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz
Expand Down Expand Up @@ -887,11 +891,16 @@ CPPLINT_EXCLUDE += src/queue.h
CPPLINT_EXCLUDE += src/tree.h
CPPLINT_EXCLUDE += $(wildcard test/addons/??_*/*.cc test/addons/??_*/*.h)
CPPLINT_EXCLUDE += $(wildcard test/addons-napi/??_*/*.cc test/addons-napi/??_*/*.h)
# These files were copied more or less verbatim from V8.
CPPLINT_EXCLUDE += src/tracing/trace_event.h src/tracing/trace_event_common.h

CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \
src/*.c \
src/*.cc \
src/*.h \
src/*/*.c \
src/*/*.cc \
src/*/*.h \
test/addons/*/*.cc \
test/addons/*/*.h \
test/cctest/*.cc \
Expand Down
13 changes: 0 additions & 13 deletions benchmark/.eslintrc.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions benchmark/_benchmark_progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class BenchmarkProgress {
this.updateProgress();
}

completeConfig(data) {
completeConfig() {
this.completedConfig++;
this.updateProgress();
}

completeRun(job) {
completeRun() {
this.completedRuns++;
this.updateProgress();
}
Expand Down Expand Up @@ -108,7 +108,7 @@ class BenchmarkProgress {
`${caption} `;
}

updateProgress(finished) {
updateProgress() {
if (!process.stderr.isTTY || process.stdout.isTTY) {
return;
}
Expand Down
123 changes: 123 additions & 0 deletions benchmark/assert/deepequal-map.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
'use strict';

/* eslint-disable no-restricted-properties */

const common = require('../common.js');
const assert = require('assert');

const bench = common.createBenchmark(main, {
n: [5e2],
len: [5e2],
method: [
'deepEqual_primitiveOnly',
'deepStrictEqual_primitiveOnly',
'deepEqual_objectOnly',
'deepStrictEqual_objectOnly',
'deepEqual_mixed',
'deepStrictEqual_mixed',
'deepEqual_looseMatches',
'notDeepEqual_primitiveOnly',
'notDeepStrictEqual_primitiveOnly',
'notDeepEqual_objectOnly',
'notDeepStrictEqual_objectOnly',
'notDeepEqual_mixed',
'notDeepStrictEqual_mixed',
'notDeepEqual_looseMatches',
]
});

function benchmark(method, n, values, values2) {
const actual = new Map(values);
// Prevent reference equal elements
const deepCopy = JSON.parse(JSON.stringify(values2 ? values2 : values));
const expected = new Map(deepCopy);
bench.start();
for (var i = 0; i < n; ++i) {
method(actual, expected);
}
bench.end(n);
}

function main(conf) {
const n = +conf.n;
const len = +conf.len;

const array = Array(len).fill(1);
var values, values2;

switch (conf.method) {
case 'deepEqual_primitiveOnly':
values = array.map((_, i) => [`str_${i}`, 123]);
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_primitiveOnly':
values = array.map((_, i) => [`str_${i}`, 123]);
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_objectOnly':
values = array.map((_, i) => [[`str_${i}`, 1], 123]);
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_objectOnly':
values = array.map((_, i) => [[`str_${i}`, 1], 123]);
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_mixed':
values = array.map((_, i) => [i % 2 ? [`str_${i}`, 1] : `str_${i}`, 123]);
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_mixed':
values = array.map((_, i) => [i % 2 ? [`str_${i}`, 1] : `str_${i}`, 123]);
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_looseMatches':
values = array.map((_, i) => [i, i]);
values2 = values.slice().map((v) => [String(v[0]), String(v[1])]);
benchmark(assert.deepEqual, n, values, values2);
break;
case 'notDeepEqual_primitiveOnly':
values = array.map((_, i) => [`str_${i}`, 123]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = ['w00t', 123];
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_primitiveOnly':
values = array.map((_, i) => [`str_${i}`, 123]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = ['w00t', 123];
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_objectOnly':
values = array.map((_, i) => [[`str_${i}`, 1], 123]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = [['w00t'], 123];
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_objectOnly':
values = array.map((_, i) => [[`str_${i}`, 1], 123]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = [['w00t'], 123];
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_mixed':
values = array.map((_, i) => [i % 2 ? [`str_${i}`, 1] : `str_${i}`, 123]);
values2 = values.slice(0);
values2[0] = ['w00t', 123];
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_mixed':
values = array.map((_, i) => [i % 2 ? [`str_${i}`, 1] : `str_${i}`, 123]);
values2 = values.slice(0);
values2[0] = ['w00t', 123];
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_looseMatches':
values = array.map((_, i) => [i, i]);
values2 = values.slice().map((v) => [String(v[0]), String(v[1])]);
values2[len - 1] = [String(len + 1), String(len + 1)];
benchmark(assert.notDeepEqual, n, values, values2);
break;
default:
throw new Error('Unsupported method');
}
}
132 changes: 132 additions & 0 deletions benchmark/assert/deepequal-set.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
'use strict';

/* eslint-disable no-restricted-properties */

const common = require('../common.js');
const assert = require('assert');

const bench = common.createBenchmark(main, {
n: [5e2],
len: [5e2],
method: [
'deepEqual_primitiveOnly',
'deepStrictEqual_primitiveOnly',
'deepEqual_objectOnly',
'deepStrictEqual_objectOnly',
'deepEqual_mixed',
'deepStrictEqual_mixed',
'deepEqual_looseMatches',
'notDeepEqual_primitiveOnly',
'notDeepStrictEqual_primitiveOnly',
'notDeepEqual_objectOnly',
'notDeepStrictEqual_objectOnly',
'notDeepEqual_mixed',
'notDeepStrictEqual_mixed',
'notDeepEqual_looseMatches',
]
});

function benchmark(method, n, values, values2) {
const actual = new Set(values);
// Prevent reference equal elements
const deepCopy = JSON.parse(JSON.stringify(values2 ? values2 : values));
const expected = new Set(deepCopy);
bench.start();
for (var i = 0; i < n; ++i) {
method(actual, expected);
}
bench.end(n);
}

function main(conf) {
const n = +conf.n;
const len = +conf.len;

const array = Array(len).fill(1);

var values, values2;

switch (conf.method) {
case 'deepEqual_primitiveOnly':
values = array.map((_, i) => `str_${i}`);
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_primitiveOnly':
values = array.map((_, i) => `str_${i}`);
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_objectOnly':
values = array.map((_, i) => [`str_${i}`, null]);
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_objectOnly':
values = array.map((_, i) => [`str_${i}`, null]);
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_mixed':
values = array.map((_, i) => {
return i % 2 ? [`str_${i}`, null] : `str_${i}`;
});
benchmark(assert.deepEqual, n, values);
break;
case 'deepStrictEqual_mixed':
values = array.map((_, i) => {
return i % 2 ? [`str_${i}`, null] : `str_${i}`;
});
benchmark(assert.deepStrictEqual, n, values);
break;
case 'deepEqual_looseMatches':
values = array.map((_, i) => i);
values2 = values.slice().map((v) => String(v));
benchmark(assert.deepEqual, n, values, values2);
break;
case 'notDeepEqual_primitiveOnly':
values = array.map((_, i) => `str_${i}`);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = 'w00t';
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_primitiveOnly':
values = array.map((_, i) => `str_${i}`);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = 'w00t';
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_objectOnly':
values = array.map((_, i) => [`str_${i}`, null]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = ['w00t'];
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_objectOnly':
values = array.map((_, i) => [`str_${i}`, null]);
values2 = values.slice(0);
values2[Math.floor(len / 2)] = ['w00t'];
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_mixed':
values = array.map((_, i) => {
return i % 2 ? [`str_${i}`, null] : `str_${i}`;
});
values2 = values.slice();
values2[0] = 'w00t';
benchmark(assert.notDeepEqual, n, values, values2);
break;
case 'notDeepStrictEqual_mixed':
values = array.map((_, i) => {
return i % 2 ? [`str_${i}`, null] : `str_${i}`;
});
values2 = values.slice();
values2[0] = 'w00t';
benchmark(assert.notDeepStrictEqual, n, values, values2);
break;
case 'notDeepEqual_looseMatches':
values = array.map((_, i) => i);
values2 = values.slice().map((v) => String(v));
values2[len - 1] = String(len + 1);
benchmark(assert.notDeepEqual, n, values, values2);
break;
default:
throw new Error('Unsupported method');
}
}
Loading