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

v12.16.2 proposal #32313

Merged
merged 389 commits into from Apr 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
4e40c77
benchmark: add MessagePort benchmark
addaleax Jan 29, 2020
356e505
doc: clarify socket.setNoDelay() explanation
rustyconover Jan 27, 2020
351c863
doc: fix numbering
Nef10 Jan 30, 2020
0eb2dbb
test: mark additional tests as flaky on Windows
addaleax Feb 1, 2020
5e19c4a
src: fix console debug output on Windows
lundibundi Jan 30, 2020
79a6872
src: remove duplicate field env in CryptoJob class
ConorDavenport Jan 28, 2020
944f1a3
test: simplify test-https-simple.js
sam-github May 29, 2019
7f828a4
benchmark: clean up config resolution in multiple benchmarks
lundibundi Jan 30, 2020
7e52e39
src: change Fill() to use ParseArrayIndex()
ConorDavenport Jan 30, 2020
d2fbe80
test: unset NODE_OPTIONS for cctest
addaleax Jan 31, 2020
d366996
fs: set path when mkdir recursive called on file
bcoe Feb 2, 2020
0d30546
net: track state of setNoDelay() and prevent unnecessary system calls
rustyconover Jan 28, 2020
753db6a
src: remove unused `Worker::child_port_` member
addaleax Feb 1, 2020
2cdd57a
src: fix inspecting `MessagePort` from `init` async hook
addaleax Feb 1, 2020
06d5a9c
doc: add example to fs.promises.readdir
conoro Jan 28, 2020
afeaec7
doc: ask more questions in the bug report template
joyeecheung Feb 2, 2020
c892d41
meta: fix collaborator list errors in README.md
jasnell Feb 6, 2020
02c2396
test: fix flaky test-http2-stream-destroy-event-order
addaleax Feb 1, 2020
8f75c74
doc,assert: rename "mode" to "assertion mode"
Trott Feb 4, 2020
08e09ec
n-api: free instance data as reference
Feb 4, 2020
297fb67
test: add test-dns-promises-lookupService
Trott Feb 4, 2020
55c7b9f
doc: correct getting an ArrayBuffer's length
tsabolov Feb 4, 2020
76b5002
doc: remove .github/ISSUE_TEMPLATE.md in favor of the template folder
joyeecheung Feb 6, 2020
cb75ca1
doc: update TSC name in "Release Process"
tniessen Feb 5, 2020
5e68a13
src: various minor improvements to node_url
jasnell Feb 5, 2020
28657cc
doc: clarify Worker exit/message event ordering
addaleax Feb 5, 2020
57d1d73
src: fix OOB reads in process.title getter
bnoordhuis Feb 4, 2020
c34672a
src: remove fixed-size GetHumanReadableProcessName
bnoordhuis Feb 4, 2020
795a21d
test: fix flaky test-inspector-connect-main-thread
addaleax Feb 4, 2020
bdd1133
test: fix test-benchmark-http
Trott Feb 7, 2020
0697f65
worker: reset `Isolate` stack limit after entering `Locker`
addaleax Jan 31, 2020
6e3e158
src: remove dead code in InternalMakeCallback
Flarna Feb 3, 2020
959fa8f
doc: simplify async_hooks overview
Trott Feb 6, 2020
4f36bf7
build: add configure option to debug only Node.js part of the binary
addaleax Feb 5, 2020
bf729d0
src: modernized unique_ptr construction
Feb 5, 2020
708aff9
doc: consolidate introductory text
Trott Feb 6, 2020
a305ae2
benchmark: check for and fix multiple end()
mscdex Feb 3, 2020
19fbe55
benchmark: refactor helper into a class
BridgeAR Jan 16, 2020
c18cec7
benchmark: remove special test entries
BridgeAR Jan 20, 2020
f756c80
assert: align character indicators properly
BridgeAR Jan 20, 2020
61e534b
test: stricter assert color test
BridgeAR Jan 20, 2020
fbc0bd9
tty: do not end in an infinite warning recursion
BridgeAR Jan 20, 2020
99cfab2
test,dns: add coverage for dns exception
Trott Feb 7, 2020
8f9f92f
doc,net: reword Unix domain path paragraph in net.md
Trott Feb 7, 2020
844f893
doc,util: revise util.md introductory paragraph
Trott Feb 7, 2020
249a0fe
src: fix compile warnings in node_url.cc
addaleax Feb 7, 2020
59eba11
test: improve assertion message in test-dns-any
Trott Feb 8, 2020
ca6fce0
test: add debugging output to test-net-listen-after-destroy-stdin
Trott Feb 8, 2020
7d71465
test: fix flaky test-fs-stat-bigint
duncanhealy Nov 12, 2019
3f6805f
test: remove flaky designation for test-fs-stat-bigint
Trott Feb 9, 2020
aadd8ca
doc: improve strict assertion mode color text
Trott Feb 9, 2020
1db85aa
doc: revise deepEqual() legacy assertion mode text
Trott Feb 9, 2020
c9fa2d1
util: throw if unreachable code is reached
Trott Feb 9, 2020
4c5c340
doc: reword section title in addons.md
Trott Feb 10, 2020
4c65d0a
doc: reword possessive form of Node.js in repl.md
Trott Feb 10, 2020
d3201d7
doc: reword possessive form of Node.js in modules.md
Trott Feb 10, 2020
165047a
doc: reword possessive form of Node.js in zlib.md
Trott Feb 10, 2020
b657df4
tools: update Markdown linter to be cross-platform
DerekNonGeneric Jan 20, 2020
28289ea
src: allow to reuse env options handling
lundibundi Feb 9, 2020
30dbc84
worker: properly handle env and NODE_OPTIONS in workers
lundibundi Feb 9, 2020
01da656
src: add ExclusiveAccess class
bnoordhuis Feb 13, 2020
7597100
src: wrap HostPort in ExclusiveAccess
bnoordhuis Feb 13, 2020
785417a
util: add coverage for util.inspect.colors alias setter
Trott Feb 11, 2020
f4e5404
util: throw if unreachable TypedArray checking code is reached
Trott Feb 11, 2020
ca52b5b
meta: move calvinmetcalf to emeritus
Trott Feb 11, 2020
3e7e9fd
meta: move vkurchatkin to emeritus
Trott Feb 11, 2020
c222d56
meta: move princejwesley to emeritus
Trott Feb 11, 2020
236943a
doc: update foundation name in onboarding
tniessen Feb 10, 2020
dbe2da6
doc: expand C++ README with information about exception handling
addaleax Feb 10, 2020
448fe39
doc: add directions to mark a release line as lts
Feb 10, 2020
3f43c5f
test: improve test-fs-stat-bigint
Trott Feb 11, 2020
86686cc
doc: fix default server timeout description for https
puzpuzpuz Feb 8, 2020
d4c1a8c
doc: update contact email for @ryzokuken
ryzokuken Feb 7, 2020
a7a6261
doc: fix typo on fs docs
juanarbol Feb 3, 2020
9f8d315
worker: add support for .cjs extension
aduh95 Feb 6, 2020
01ec722
doc: add prerequisites information for Arch
ryzokuken Feb 7, 2020
7173b28
benchmark: swap var for let in benchmarks
RamirezAlex Jul 31, 2019
0b75790
benchmark: use let instead of var
dnlup Jan 31, 2020
b84fd94
crypto: fix performance regression
ronag Feb 11, 2020
82defc0
doc: add glossary.md
gengjiawen May 1, 2019
aa5afd0
test: mark test-fs-stat-bigint flaky on FreeBSD
Trott Feb 11, 2020
98640f7
src: use hex not decimal in IsArrayIndex
codebytere Feb 12, 2020
de275d0
doc: guide - using valgrind to debug memory leaks
mhdawson Jan 24, 2020
e6debf5
src: prefer 3-argument Array::New()
addaleax Feb 13, 2020
ea989e1
worker: unroll file extension regexp
addaleax Feb 13, 2020
38d3f56
doc: fix typos in doc/api/https.md
Jeff-Tian Feb 14, 2020
e65c1c2
doc: move @Fishrock123 to a previous releaser
Fishrock123 Feb 10, 2020
b3d0795
doc: move @Fishrock123 to TSC Emeriti
Fishrock123 Feb 10, 2020
88a6d9b
doc: pronouns for @Fishrock123
Fishrock123 Feb 10, 2020
aebaead
doc: move gireeshpunathil to TSC emeritus
gireeshpunathil Feb 13, 2020
1109124
test: add known issue test for sync writable callback
jasnell Feb 12, 2020
b8d2997
doc: reword possessive form of Node.js in debugger.md
Trott Feb 12, 2020
d034eb4
doc: reword possessive form of Node.js in process.md
Trott Feb 12, 2020
648f831
doc: reword possessive form of Node.js in http.md
Trott Feb 12, 2020
17882ac
doc: reword possessive form of Node.js in adding-new-napi-api.md
Trott Feb 12, 2020
d172cc1
test: remove common.PORT from test-net-timeout
Trott Feb 12, 2020
33d3ccc
test: remove common.PORT from test-net-throttle
Trott Feb 12, 2020
61de609
test: remove common.PORT from test-tls-server-large-request
Trott Feb 12, 2020
7092563
test: remove common.PORT from test-net-pause
Trott Feb 12, 2020
76a0ba6
http2: make compat finished match http/1
ronag Nov 13, 2018
2a4d31a
meta: move eljefedelrodeodeljefe to emeritus
Trott Feb 11, 2020
e83af20
doc: add note in BUILDING.md about running `make distclean`
swagatata Jan 28, 2020
65729f9
worker: emit runtime error on loop creation failure
HarshithaKP Feb 3, 2020
c386f75
test: remove common.PORT from test-net-write-callbacks.js
Trott Feb 18, 2020
bde5a9b
test: remove flaky designation for test-net-connect-options-port
Trott Feb 18, 2020
6b1a551
tools: update lint-md task to lint for possessives of Node.js
Trott Feb 19, 2020
911dfc5
doc: add note about ssh key to releases
codebytere Feb 18, 2020
aa8a435
tools: sync gyp code base with node-gyp repo
targos Nov 20, 2019
9251307
meta: move julianduque to emeritus
Trott Feb 19, 2020
c6bbae4
crypto: fix ieee-p1363 for createVerify
tniessen Feb 20, 2020
fd5aa41
doc,crypto: re-document oaepLabel option
bnoordhuis Feb 17, 2020
3deee05
test: remove common.PORT from assorted pummel tests
Trott Feb 21, 2020
70dc1ce
cli: --perf-prof only works on Linux
codebytere Feb 21, 2020
fd5c3a7
meta: move Glen Keane to Collaborator Emeritus
Trott Feb 28, 2020
a75aa93
meta: move maclover7 to Emeritus
Trott Feb 28, 2020
a44fb3f
meta: move jbergstroem to emeritus
Trott Feb 28, 2020
553d62c
meta: move aqrln to emeritus
Trott Feb 28, 2020
041408d
src: don't run bootstrapper in CreateEnvironment
codebytere Feb 22, 2020
06bc2de
buffer: improve from() performance
mscdex Feb 2, 2020
ab735d0
doc: update assert.rejects() docs with a validation function example
MadLittleMods Jan 9, 2020
9ab4a7e
src: move BaseObject subclass dtors/ctors out of node_crypto.h
addaleax Dec 6, 2019
3b2bbbd
src: allow unique_ptrs with custom deleter in memory tracker
addaleax Oct 1, 2019
370653f
doc: update releases guide re pushing tags
MylesBorins Feb 18, 2020
bd92243
src: elevate v8 namespaces
HarshithaKP Feb 21, 2020
1060a2b
tools: add NODE_TEST_NO_INTERNET to the doc builder
joyeecheung Feb 18, 2020
ed86854
doc: updated YAML version representation in readline.md
Trott Feb 23, 2020
ae9f58c
meta: move not-an-aardvark to emeritus
Trott Feb 24, 2020
0c6fdfc
test: fix typo in common/index.js
Trott Feb 24, 2020
c2ffef8
test: add documentation for common.enoughTestCpu
Trott Feb 24, 2020
0b327bd
src: enable `StreamPipe` for generic `StreamBase`s
addaleax Mar 12, 2018
a1c0d46
doc: clarify http2.connect authority details
jasnell Feb 17, 2020
1630320
doc: update zlib doc
jasnell Feb 6, 2020
086e14d
test: increase timeout in vm-timeout-escape-queuemicrotask
lundibundi Feb 26, 2020
26d9f4c
test: fix usage of invalid common properties
lundibundi Feb 24, 2020
67c3a95
test: validate common property usage
lundibundi Feb 24, 2020
b1cf56f
test: remove sequential/test-https-keep-alive-large-write.js
rustyconover Jan 27, 2020
2bf9a2d
test: change test to not be sensitive to buffer send size
rustyconover Feb 26, 2020
54395c6
tls: reduce memory copying and number of BIO buffer allocations
rustyconover Jan 24, 2020
f9113fd
crypto: turn impossible DH errors into assertions
tniessen Feb 24, 2020
d625384
test: fix flaky test-gc-net-timeout
ronag Feb 22, 2020
4dddb56
build: only lint markdown files that have changed (POSIX-only)
Trott Feb 23, 2020
9161b7e
doc: add link to sem-ver info
rosaxxny Feb 27, 2020
3574116
test: fix flaky test-dns-any.js
Trott Feb 29, 2020
df54a19
doc: revise --zero-fill-buffers text in buffer.md
Trott Feb 29, 2020
78d9a50
deps: openssl: cherry-pick 4dcb150ea30f
AdamMajer Feb 28, 2020
5521462
test: move test-inspector-module to parallel
Trott Feb 29, 2020
1318662
test: add WASI test for path_link()
cjihrig Mar 6, 2020
96c7226
test: remove common.port from test-tls-securepair-client
Trott Feb 29, 2020
a6a41f4
src: add node_crypto_common and refactor
jasnell Feb 29, 2020
224a17e
doc: improve doc/markdown file organization coherence
ConorDavenport Feb 14, 2020
05fbc80
doc: visibility of Worker threads cli options
HarshithaKP Jan 16, 2020
808379c
src: Handle bad callback in asyc_wrap
HarshithaKP Feb 25, 2020
c20f2cd
doc: update maintaining-V8.md
kenzo-spaulding Jan 25, 2020
047bd9d
doc: update email address in authors
yaelhe Feb 29, 2020
a6f56bb
meta: move thefourtheye to TSC Emeritus
Trott Mar 3, 2020
35f107d
benchmark: remove problematic tls params
mscdex Feb 16, 2020
400083b
events: fix removeListener for Symbols
fuxingZhang Feb 18, 2020
256bc44
test: update tests for larger Buffers
jakobkummerow Jan 20, 2020
8a0b0a7
build: enable backtrace when V8 is built for PPC and S390x
targos Oct 29, 2019
f365e5c
test: apply camelCase in test-net-reconnect-error
Trott Mar 6, 2020
eaf6157
doc: fix broken links in benchmark README
Trott Mar 6, 2020
df8d51b
doc: document fs.watchFile() bigint option
cjihrig Mar 6, 2020
e2c40cc
deps: V8: backport f7771e5b0cc4
mmarchini Feb 26, 2020
f820ce6
doc: add AsyncResource + Worker pool example
addaleax Feb 1, 2020
2582083
test: remove superfluous checks in test-net-reconnect-error
Trott Mar 6, 2020
3f1b916
doc: document self-referencing a package name
giltayar Feb 7, 2020
de5d162
fs: fix valid id range on chown, lchown, fchown
himself65 Feb 9, 2020
b4c407f
test: allow EAI_FAIL in test-net-dns-error.js
Feb 13, 2020
efd20f0
doc: link setRawMode() from signal docs
addaleax Mar 4, 2020
6605bba
build: allow passing multiple libs to pkg_config
andred Mar 2, 2020
36ae81a
build: allow use of system-installed brotli
andred Mar 2, 2020
03aa2e1
test: changed function to arrow function
ProdipRoy89 Mar 2, 2020
1470457
test: use index.js if package.json "main" is empty
bnoordhuis Mar 2, 2020
7a14ddf
test: increase test timeout to prevent flakiness
BridgeAR Feb 10, 2020
908f634
src: discard tasks posted to platform TaskRunner during shutdown
addaleax Feb 18, 2020
4de1afd
deps: upgrade openssl sources to 1.1.1e
hassaanp Mar 17, 2020
e96e8af
deps: adjust openssl configuration for 1.1.1e
hassaanp Mar 18, 2020
260bd81
deps: update archs files for OpenSSL-1.1.1e
hassaanp Mar 18, 2020
f4bd01c
test: discard data received by client
hassaanp Mar 19, 2020
7c8a7b4
test: end tls connection with some data
sam-github Mar 20, 2020
19f3c0a
src: make aliased_buffer.h self-contained
joyeecheung Feb 20, 2020
b95e8ea
src: refactor debug category parsing
joyeecheung Feb 20, 2020
b5c6230
src: implement per-process native Debug() printer
joyeecheung Feb 20, 2020
61d54e7
tools: use per-process native Debug() printer in mkcodecache
joyeecheung Feb 20, 2020
bb947ce
test: improve test-debug-usage
Trott Mar 8, 2020
17e10dd
src: use C++ style for struct with initializers
sam-github Mar 7, 2020
7123c0f
test: always skip vm-timeout-escape-queuemicrotask
lundibundi Feb 27, 2020
d577190
tools: only fetch previous versions when necessary
richardlau Mar 27, 2020
dca3d29
tools: update icu to 65.1
albertyw Nov 3, 2019
4ee41c5
module: drop support for extensionless main entry points in esm
GeoffreyBooth Jan 20, 2020
aec2226
cli: allow --jitless V8 flag in NODE_OPTIONS
andrewdotn Mar 4, 2020
6f50b60
test: add test-worker-prof to the SLOW list for debug
MylesBorins Mar 31, 2020
e4f9360
test: mark test-http2-reset-flood flaky on bsd
MylesBorins Apr 1, 2020
d568efc
test: refactor common.expectsError
BridgeAR Dec 25, 2019
c60780f
src: introduce custom smart pointers for `BaseObject`s
addaleax Sep 28, 2019
4745ac4
http2: use custom BaseObject smart pointers
addaleax Sep 28, 2019
6db84d3
src: use BaseObjectPtr for keeping channel alive in dns bindings
addaleax Nov 12, 2019
e17d314
src: remove keep alive option from SetImmediate()
addaleax Nov 12, 2019
5f95e69
src: remove HandleWrap instances from list once closed
addaleax Oct 11, 2019
7647bfe
src: keep object alive in stream_pipe code
addaleax Nov 26, 2019
51230f7
src: add more `can_call_into_js()` guards
addaleax Nov 26, 2019
5b65348
src: no SetImmediate from destructor in stream_pipe code
addaleax Nov 26, 2019
2625244
src: run native immediates during Environment cleanup
addaleax Nov 26, 2019
5df9698
src: better encapsulate native immediate list
addaleax Dec 16, 2019
aafb224
src: exclude C++ SetImmediate() from count
addaleax Jan 15, 2020
748a530
src: add a threadsafe variant of SetImmediate()
addaleax Jan 15, 2020
7c2c068
src: remove AsyncRequest
addaleax Jan 15, 2020
22bf867
src: add interrupts to Environments/Workers
addaleax Jan 16, 2020
c2176e1
src: move MemoryInfo() for worker code to .cc files
addaleax Jan 16, 2020
87cfbb2
report: add support for Workers
addaleax Jan 16, 2020
cb16aab
src: simplify native immediate queue running
addaleax Jan 25, 2020
c5de212
worker: move JoinThread() back into exit callback
addaleax Jan 22, 2020
56a4509
src: harden running native `SetImmediate()`s slightly
addaleax Jan 22, 2020
fbd5be6
src: delete BaseObjectWeakPtr data when pointee is gone
addaleax Mar 20, 2020
17217a5
deps: upgrade npm to 6.14.1
isaacs Feb 27, 2020
c419cd2
deps: update npm to 6.14.3
MylesBorins Mar 19, 2020
f55d071
deps: remove *.pyc files from deps/npm
bnoordhuis Mar 20, 2020
652ffa5
deps: update term-size with signed version
rvagg Jan 30, 2020
6db190b
deps: upgrade npm to 6.14.4
ruyadorno Mar 26, 2020
7d3910d
build: macOS package notarization
rvagg Jan 22, 2020
885c88e
doc: official macOS builds now on 10.15 + Xcode 11
rvagg Mar 4, 2020
12253f8
stream: sync stream unpipe resume
ronag Jan 5, 2020
f58594b
doc: update releaser list in README.md
MylesBorins Mar 31, 2020
784df12
deps: revert whitespace changes on V8
mmarchini Apr 1, 2020
a83fc49
deps: V8: cherry-pick cb1c2b0fbfe7
Flarna Feb 24, 2020
eee587b
test: fix test-http2-reset-flood flakiness
addaleax Apr 2, 2020
32c0449
util: use a global symbol for `util.promisify.custom`
ExE-Boss Feb 7, 2020
782f5db
src: add build Github Action
gengjiawen Jan 2, 2020
d190ee0
build: add GitHub actions to run linters
richardlau Jan 12, 2020
df701f3
build: fix step name in GitHub Actions workflow
richardlau Jan 12, 2020
ad12c82
build: fix macos runner type in GitHub Action
himself65 Jan 12, 2020
46f83df
build: do not use setup-node in build workflows
richardlau Jan 14, 2020
c42cb79
build: build docs in GitHub Actions CI workflow
richardlau Jan 24, 2020
a506489
build: annotate markdown lint failures in pull requests
richardlau Mar 20, 2020
fae680f
build: drop Travis in favor of Actions
cclauss Sep 5, 2019
c0e6e60
tools: update minimist@1.2.5
Trott Mar 14, 2020
05091d4
esm: import.meta.resolve with nodejs: builtins
guybedford Dec 19, 2019
c537afb
module: package "exports" error refinements
guybedford Feb 3, 2020
0e513b2
esm: remove unused parameter on module.instantiate
himself65 Mar 8, 2020
62b5bd4
module: add hook for global preload code
jkrems Mar 3, 2020
8b96134
doc: import clarifications with links to MDN
aldeed Mar 18, 2020
d8e17bf
doc: improve wording in esm.md
Trott Mar 22, 2020
61f44c9
doc: fix lint warning in doc/api/esm.md
richardlau Mar 24, 2020
7e56e3d
doc: remove unnecessary "obvious(ly)" modifiers in esm.md
Trott Mar 24, 2020
45d05e1
build: add mjs extension to lint-js
nschonni Mar 8, 2020
155a6c3
doc: update conditional exports recommendations
guybedford Mar 4, 2020
e88960d
doc: esm spec bug
MylesBorins Apr 2, 2020
a1be327
deps: V8: backport 07ee86a5a28b
Apr 2, 2020
e685f12
test: restore --jitless test on AIX
richardlau Apr 2, 2020
3443e3a
2020-04-08 Version 12.16.2 (LTS)
codebytere Mar 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
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.
4 changes: 4 additions & 0 deletions .eslintrc.js
Expand Up @@ -244,6 +244,10 @@ module.exports = {
selector: "CallExpression[callee.property.name='strictEqual'][arguments.0.type='Literal']:not([arguments.1.type='Literal']):not([arguments.1.type='ObjectExpression']):not([arguments.1.type='ArrayExpression']):not([arguments.1.type='UnaryExpression'])",
message: 'The first argument should be the `actual`, not the `expected` value.',
},
{
selector: "CallExpression[callee.name='isNaN']",
message: 'Use Number.isNaN() instead of the global isNaN() function.',
},
],
/* eslint-enable max-len */
'no-return-await': 'error',
Expand Down
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

41 changes: 34 additions & 7 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Expand Up @@ -5,20 +5,47 @@ about: Create a report to help us improve
---

<!--
Thank you for reporting a possible bug in Node.js.
Thank you for reporting an issue.

Please fill in as much of the template below as you can.
This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help
repo. https://github.com/nodejs/help


Please fill in as much of the template below as you're able.

Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify the affected core module name

If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
Subsystem: if known, please specify affected core module name
-->

* **Version**:
* **Platform**:
* **Subsystem**:

<!-- Please provide more details below this comment. -->
### What steps will reproduce the bug?

<!--
Enter details about your bug, preferably a simple code snippet that can be
run using `node` directly without installing third-party dependencies.
-->

### How often does it reproduce? Is there a required condition?

### What is the expected behavior?

<!--
If possible please provide textual output instead of screenshots.
-->

### What do you see instead?

<!--
If possible please provide textual output instead of screenshots.
-->

### Additional information

<!--
Tell us anything else you think we should know.
-->
23 changes: 23 additions & 0 deletions .github/workflows/build-windows.yml
@@ -0,0 +1,23 @@
name: build-windows

on: [push, pull_request]

env:
PYTHON_VERSION: 2.7
FLAKY_TESTS: dontcare

jobs:
build-windows:
runs-on: windows-2016
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
run: choco install nasm
- name: Environment Information
run: npx envinfo
- name: Build
run: ./vcbuild.bat
73 changes: 73 additions & 0 deletions .github/workflows/linters.yml
@@ -0,0 +1,73 @@
name: linters

on: [push, pull_request]

env:
PYTHON_VERSION: 3.8
NODE_VERSION: 10.x

jobs:
lint-addon-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint addon docs
run: NODE=$(which node) make lint-addon-docs
lint-cpp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint C/C++ files
run: make lint-cpp
lint-md:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint docs
run: |
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
NODE=$(which node) make lint-md
lint-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint JavaScript files
run: NODE=$(which node) make lint-js
lint-py:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint Python
run: |
make lint-py-build || true
NODE=$(which node) make lint lint-py
24 changes: 24 additions & 0 deletions .github/workflows/misc.yml
@@ -0,0 +1,24 @@
name: misc

on: [push, pull_request]

env:
NODE_VERSION: 12.x

jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: NODE=$(which node) make doc-only
- uses: actions/upload-artifact@v1
with:
name: docs
path: out/doc
33 changes: 33 additions & 0 deletions .github/workflows/pythonpackage.yml
@@ -0,0 +1,33 @@
name: Python 3 testing

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 1
matrix:
python-version: [3.8] # [2.7, 3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Compile Node.js
run: |
python ./configure.py
make -j2 V=1
- name: Test JS Suites
run: |
python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare default
- name: Test C++ Suites
run: |
make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api
- name: Make lint
run: |
make lint-py-build || true
NODE=$(which node) make lint lint-py
22 changes: 22 additions & 0 deletions .github/workflows/remark-lint-problem-matcher.json
@@ -0,0 +1,22 @@
{
"problemMatcher": [
{
"owner": "remark-lint",
"pattern": [
{
"regexp": "^(?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)*$",
"file": 1
},
{
"regexp": "^\\s+(?:\\d+:\\d+-)?(\\d+):(\\d+)\\s+\\S*(error|warning|info)\\S*\\s+(.+)\\s+(\\S+)\\s+(?:\\S+)$",
"line": 1,
"column": 2,
"severity": 3,
"message": 4,
"code": 5,
"loop": true
}
]
}
]
}
23 changes: 23 additions & 0 deletions .github/workflows/test-linux.yml
@@ -0,0 +1,23 @@
name: test-linux

on: [push, pull_request]

env:
PYTHON_VERSION: 2.7
FLAKY_TESTS: dontcare

jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1
23 changes: 23 additions & 0 deletions .github/workflows/test-macos.yml
@@ -0,0 +1,23 @@
name: test-macOS

on: [push, pull_request]

env:
PYTHON_VERSION: 2.7
FLAKY_TESTS: dontcare

jobs:
test-macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j8 V=1
- name: Test
run: make run-ci -j8 V=1
6 changes: 3 additions & 3 deletions .gitignore
Expand Up @@ -19,7 +19,6 @@
!.gitkeep
!.mailmap
!.nycrc
!.travis.yml
!.eslintrc.yaml
!.cpplint

Expand All @@ -33,6 +32,7 @@
/doc/api.xml
/node
/node_g
/gon-config.json
/*.exe
/*.swp
/out
Expand All @@ -45,8 +45,8 @@
/config_fips.gypi

# === Rules for MSVS artifacts ===
/Debug
/Release
Debug/
Release/
*.sln
*.suo
*.vcxproj*
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Expand Up @@ -423,6 +423,7 @@ Wilson Lin <wla80@sfu.ca>
Wyatt Preul <wpreul@gmail.com> geek <wpreul@gmail.com>
Xavier J Ortiz <xavier.ortiz.ch@gmail.com>
xiaoyu <306766053@qq.com> Poker <306766053@qq.com>
Yael Hermon <yaelherm@gmail.com> <yaelhe@wix.com>
Yazhong Liu <yorkiefixer@gmail.com> Yazhong Liu <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <yorkiefixer@gmail.com>
Expand Down