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

v14.6.0 proposal #34371

Merged
merged 138 commits into from
Jul 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
3b26809
doc: use sentence-case for headings in docs
Trott Jun 14, 2020
e0206ba
util: restrict custom inspect function + vm.Context interaction
addaleax Jun 1, 2020
b8a17cc
doc: document n-api callback scope usage
Jun 16, 2020
2ca6a45
doc: mention errors thrown by methods called on an unbound dgram.Socket
mkrawczuk Jun 19, 2020
eb04ba3
doc: add dynamic source code links
aw-davidson Jun 22, 2020
70c4045
vm: add run-after-evaluate microtask mode
addaleax Jun 22, 2020
556e55d
doc: clarify require/import mutual exclusivity
guybedford Jun 10, 2020
585f3a5
doc: improve paragraph in esm.md
Trott Jun 26, 2020
4927fed
doc: make minor improvements to paragraph in child_process.md
Trott Jun 26, 2020
105d560
zlib: remove redundant variable in zlibBufferOnEnd
puzpuzpuz Jun 26, 2020
6be685a
wasi: add reactor support
devsnek Jun 25, 2020
46d183c
test: update test-child-process-spawn-loop for Python 3
richardlau Jun 26, 2020
41c80f6
stream: destroy wrapped streams on error
ronag Jun 28, 2020
b7e9b43
net: fix bufferSize
ronag Jun 27, 2020
0e1361c
net: doc deprecate bufferSize
ronag Jun 28, 2020
4dc89c6
meta: fixup CODEOWNERS so it hopefully works
jasnell Jul 1, 2020
05a69e2
doc: clarify ambiguous rdev description
Trott Jun 28, 2020
ee6ccef
doc: clarify O_EXCL text in fs.md
Trott Jun 28, 2020
64bd518
doc: clarify that APIs are no longer experimental
Trott Jun 29, 2020
9d30f05
doc: change "currently not considered public" to "not supported"
Trott Jun 29, 2020
fbcd1fa
tls: remove unnecessary close listener
ronag Jun 28, 2020
49d2d49
doc: improve text in issues.md
falguniraina Jun 19, 2020
da5fde6
doc: changed "considered experimental" to "experimental" in cli.md
Trott Jun 30, 2020
78a4d97
doc: change "considered experimental" to "experimental" in n-api.md
Trott Jun 30, 2020
26ecdf8
doc: move sam-github to TSC Emeriti
sam-github Jun 28, 2020
af9e6f6
doc: add http highlight grammar
DerekNonGeneric Jun 7, 2020
e33c09c
doc: simplify and clarify ReferenceError material in errors.md
Trott Jul 1, 2020
7fc56eb
doc: remove "considered" in errors.md
Trott Jul 1, 2020
f5691fa
test: report actual error code on failure
richardlau Jun 30, 2020
cfd4c80
crypto: move typechecking for timingSafeEqual into C++
addaleax Jun 30, 2020
bddc99e
test: skip some IBM i unsupported test cases
dmabupt Jun 29, 2020
22c1fbf
doc: simply dns.ADDRCONFIG language
Trott Jul 1, 2020
9f0bf5c
doc: improve triaging text in issues.md
Trott Jul 2, 2020
ab6b786
doc: add streams to the pipeline function signature
rickyes Jul 1, 2020
e273edf
doc: Add maxTotalSockets option to agent constructor
rickyes Jun 22, 2020
e386188
doc: clarify esm conditional exports prose
DerekNonGeneric Jun 14, 2020
e378b68
src: remove unused fields from IsolateData
addaleax Jun 30, 2020
146538d
doc: improve async_hooks asynchronous context example
lundibundi Jun 4, 2020
167a21a
doc: fix source link margin to sub-header mark
rodion-arr May 30, 2020
e818455
doc: fix entry for `napi_create_external_buffer`
Jun 29, 2020
a0cfa62
doc: clarify how to read process.stdin
anentropic Apr 22, 2019
5ae2b74
doc: use consistent naming in stream doc
Nov 16, 2019
25d310b
doc: no longer maintain a CNA structure
sam-github May 29, 2020
1558800
doc: add a reference to the list of OpenSSL flags.
mkrawczuk Jun 25, 2020
6aa0dac
doc: clarify that the ctx argument is optional
lpinca Jun 28, 2020
aaba1c0
doc: update wording in "Two reading modes"
julienp Jun 29, 2020
440642d
tools: remove lint-js.js
Trott Dec 13, 2019
8dd8b1a
doc: util.debuglog callback
bmeck Jun 12, 2020
de58eb6
meta: add N-API to codeowners coverage
mhdawson Jun 24, 2020
a2dd258
doc: remove stability from unreleased errors
Trott Jun 6, 2020
326b854
doc: remove parenthetical \r\n comment in http and http2 docs
Trott Jul 2, 2020
938de33
doc: specify how fs.WriteStream/ReadStreams are created
jasnell Jul 3, 2020
39d6ecd
doc: move gibfahn to emeritus
Trott Jul 4, 2020
59bb6d6
doc: move digitalinfinity to emeritus
Trott Jul 4, 2020
c83d986
doc: move ERR_FEATURE_UNAVAILABLE_ON_PLATFORM to current errors
Trott Jul 4, 2020
8f7ed40
src: fix unused namespace member
branisha Jul 5, 2020
ed0f569
src: fix minor comment typo in KeyObjectData
danbev Jul 2, 2020
b20e6ed
repl: fix verb conjugation in deprecation message
Trott Jul 4, 2020
09faebd
test: replace deprecated function call from test-repl-history-navigation
Trott Jul 4, 2020
2e20cd4
doc: remove errors that were never released
Trott Jul 4, 2020
abfab98
doc: replace http to https of link urls
sapics Jun 29, 2020
daf2abf
lib: replace http to https of comment link urls
sapics Jun 29, 2020
3e3d908
src: add encoding_type variable in WritePrivateKey
danbev Jul 3, 2020
280cd96
domain: fix unintentional deprecation warning
addaleax Jul 7, 2020
9c98af7
src: exit explicitly after printing V8 help
addaleax Jun 30, 2020
a38219f
test: add regression test for C++-created Buffer transfer
addaleax Jun 30, 2020
0f9bafd
test: skip an ipv6 test on IBM i
dmabupt Jul 5, 2020
38b3c2a
test: add arrayOfStreams to pipeline
rickyes Jul 1, 2020
ec9b49a
test: add known issue for fs.open() keeping event loop open
Trott Jul 6, 2020
96ebd5f
http: add note about timer unref
ronag Jun 30, 2020
a6a656a
doc: document security issues with url.parse()
jasnell Jul 6, 2020
ffe6886
doc: document behavior for once(ee, 'error')
jasnell Jul 6, 2020
431bfe1
doc: add note about multiple sync events and once
jasnell Jul 6, 2020
6f014d0
doc: document that whitespace is ignored in base64 decoding
jasnell Jul 6, 2020
25ac669
doc: add comment to example about 2xx status codes
jasnell Jul 6, 2020
9339f9f
doc: document the ready event for Http2Stream
jasnell Jul 6, 2020
7416028
doc: specify encoding in text/html examples
jasnell Jul 6, 2020
601ed8e
deps: V8: backport 2d5017a0fc02
bcoe Jul 9, 2020
1ae76bd
module: package "imports" field
guybedford Jun 28, 2020
e6776fe
doc: move kfarnung to collaborator emeriti list
Trott Jul 8, 2020
24fe558
doc: add ruyadorno to collaborators
ruyadorno Jul 10, 2020
a9ca420
deps: upgrade to libuv 1.38.1
cjihrig Jul 3, 2020
1aad61e
test: add issue ref for known_issues test
Trott Jul 8, 2020
d865be4
doc: move sebdeckers to emeritus
Trott Jul 10, 2020
ec876ee
src: add GetCipherValue function
danbev Jul 10, 2020
844bf77
src: use FromMaybe instead of ToLocal in GetCert
danbev Jul 9, 2020
a89bcf7
tls: make 'createSecureContext' honor more options
mkrawczuk Jun 19, 2020
de250c1
build: recommend Python 3.8 to build on Windows
targos Jul 3, 2020
6925ef3
test: add WASI test for file resizing
cjihrig Feb 2, 2020
d2c5894
doc: add sxa as collaborator
Jul 13, 2020
24f76cf
deps: upgrade npm to 6.14.6
claudiahdz Jul 7, 2020
d114961
doc: improve text in fs docs about omitting callbacks
Trott Jul 11, 2020
a130771
build,tools: fix cmd_regen_makefile
danbev Jul 8, 2020
afec0d7
async_hooks: improve resource stack performance
addaleax Jul 12, 2020
3ee8f53
test: add regression tests for HTTP parser crash
addaleax Jul 7, 2020
9c12e53
src: remove redundant snprintf
addaleax Jul 9, 2020
e4c7b59
src: allow embedders to disable esm loader
codebytere Jun 26, 2020
8bafba2
lib: always initialize esm loader callbackMap
codebytere Jul 1, 2020
0f6805d
src: add option to track unmanaged file descriptors
addaleax Jul 10, 2020
9e04070
worker: add option to track unmanaged file descriptors
addaleax Jul 10, 2020
060c95a
test: add n-api null checks for conversions
Jun 30, 2020
1bc4def
worker: fix nested uncaught exception handling
addaleax Jul 11, 2020
1cc6533
doc: buffer documentation improvements
jasnell Jul 6, 2020
8f8d168
meta: make issue template mobile friendly and address nits
DerekNonGeneric Jul 7, 2020
28ce378
test: fix flaky test-http2-reset-flood
Trott Jul 12, 2020
0b42e5d
doc: add danielleadams to collaborators
Jul 14, 2020
16160e6
Revert "http2: streamline OnStreamRead streamline memory accounting"
Trott Jul 11, 2020
73d6792
repl: support --loader option in builtin REPL
targos May 16, 2020
b2cd87e
src,doc,test: remove String::New default parameter
addaleax Jul 7, 2020
8d7330b
module: deprecate module.parent
aduh95 Mar 11, 2020
ef31f17
doc: sync deprecation numbers with v14.x
MylesBorins Jul 15, 2020
1dd2653
doc: reword warnings about sockets passed to subprocesses
Trott Jul 9, 2020
17174e6
doc: clarify conditional exports guidance
guybedford Jul 11, 2020
02ea320
policy: add startup benchmark and make SRI lazier
bfarias-godaddy Sep 11, 2019
58dfeac
test: use mustCall() in pummel test
Trott Jul 12, 2020
9cd523d
deps: update V8 to 8.4.371.19
targos Jul 14, 2020
f340571
build: reset embedder string to "-node.0"
targos Jul 14, 2020
51d86f4
deps: V8: un-cherry-pick bd019bd
refack Mar 27, 2019
eac35c6
deps: patch V8 to run on older XCode versions
ryzokuken Sep 14, 2019
1e37442
deps: V8: patch register-arm64.h
refack May 22, 2019
a4b71e0
deps: V8: forward declaration of `Rtl*FunctionTable`
refack May 22, 2019
eb6ded6
deps: make v8.h compatible with VS2015
joaocgreis Nov 1, 2019
355e2f2
deps: V8: silence irrelevant warnings
targos Mar 27, 2019
335e386
deps: patch V8 to run on Xcode 8
mmarchini Mar 10, 2020
f269dff
deps: V8: cherry-pick 9868b2aefa1a
targos Jun 2, 2020
01e7886
deps: V8: fix compilation on VS2017
gengjiawen Jun 2, 2020
fb180ac
deps: V8: backport 22014de00115
joyeecheung May 29, 2020
4c37837
deps: V8: cherry-pick eec10a2fd8fa
Qard Jun 6, 2020
3fa7ad3
deps: update V8 postmortem metadata script
cjihrig Jul 4, 2020
4e2fa43
tools: update V8 gypfiles for 8.4
ryzokuken Apr 17, 2020
9f886c9
deps: bump minimum icu version to 67
targos May 9, 2020
1af8943
test: remove test/v8-updates/test-postmortem-metadata.js
cjihrig Jun 29, 2020
2079fef
deps: V8: undo header change of 9dbab9bbdb979
addaleax Jul 14, 2020
447b1e8
deps: V8: re-add dummy Isolate::CheckMemoryPressure
addaleax Jul 14, 2020
2c9fd6e
deps: V8: revert de4c0042cbe6 from upstream V8
addaleax Jul 14, 2020
95afc2e
deps: V8: update headers for ABI compatibility
addaleax Jul 14, 2020
b878e32
src: add callback scope for native immediates
addaleax Jul 14, 2020
ca62c34
2020-07-21, Version 14.6.0 (Current)
MylesBorins Jul 15, 2020
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
  •  
  •  
  •  
19 changes: 13 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@

# quic

./deps/ngtcp2/* @nodejs/quic
./deps/nghttp3/* @nodejs/quic
./doc/api/quic.md @nodejs/quic
./lib/internal/quic/* @nodejs/quic
./src/node_bob* @nodejs/quic
./src/quic/* @nodejs/quic
/deps/ngtcp2/ @nodejs/quic
/deps/nghttp3/ @nodejs/quic
/doc/api/quic.md @nodejs/quic
/lib/internal/quic/ @nodejs/quic
/src/node_bob* @nodejs/quic
/src/quic/ @nodejs/quic

# modules

Expand All @@ -74,3 +74,10 @@
# ./lib/internal/modules/* @nodejs/modules
# ./lib/internal/bootstrap/loaders.js @nodejs/modules
# ./src/module_wrap* @nodejs/modules @nodejs/vm

# N-API

# /src/node_api* @nodejs/n-api
# /src/js_native_api* @nodejs/n-api
# /doc/guides/adding-new-napi-api.md @nodejs/n-api
# /doc/api/n-api.md @nodejs/n-api
59 changes: 41 additions & 18 deletions .github/ISSUE_TEMPLATE/3-api-ref-docs-problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,71 @@ labels: doc

# 📗 API Reference Docs Problem

<!------------------------------------------------------------------------------
<!--

Thank you for wanting to make nodejs.org better!

This template is for issues with the Node.js API reference docs.
This template is for issues with the Node.js API
reference documentation.

For more general support, please open an issue in
our help repo at “https://github.com/nodejs/help”.
For problems with nodejs.org beyond the API
reference documentation, please open an issue
using the issue tracker for our site repository.

For the issue title, enter a one-line summary after “doc: ”.
The “✍️” signifies a request for input. If unsure, do the best you can.
https://github.com/nodejs/nodejs.org

If you found a problem with nodejs.org beyond the API reference docs, please
open an issue in our website repo at “https://github.com/nodejs/nodejs.org”.
------------------------------------------------------------------------------->
For more general support, please open an issue
using the issue tracker for our help repository.

https://github.com/nodejs/help

---

For the issue title, please enter a one-line
summary after “doc: ” (preferably 50 characters
or less and no more than 72).

The “✍️” are placeholders signifying requests for
input. Replace them with your responses.

If you are unsure of something, do your best.

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

<!-- The output of “node --version”. -->

- **Version**: ✍️

<!-- The output of “uname -a” (UNIX) or version
and 32-bit or 64-bit (Windows). -->

- **Platform**: ✍️

<!-- The name of affected core module. -->

- **Subsystem**: ✍️

## Location

_Section of the site where the content exists_

Affected URL(s):

- https://nodejs.org/api/✍️

## Problem description
## Description

_Concise explanation of what you found to be problematic_
_Concise explanation of the problem_

<!-- If applicable, include any screenshots that may help solve the problem. -->
<!-- If applicable, include any screenshots that
may help solve the problem. -->

✍️

---

<!-- Use “[x]” to check the box below if interested in contributing. -->
<!-- Use “[x]” to check the box below if you are
interested in contributing. -->

- [ ] I would like to work on this issue and submit a pull request.
- [ ] I would like to work on this issue and
submit a pull request.
6 changes: 3 additions & 3 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
run: |
git config --global core.autocrlf true
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 2.7
python-version: 3.8
- name: Environment Information
run: npx envinfo
- name: Download tarball
Expand Down
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ to run it again before invoking `make -j4`.

##### Option 1: Manual install

* [Python 2.7](https://www.python.org/downloads/)
* [Python 3.8](https://www.python.org/downloads/)
* The "Desktop development with C++" workload from
[Visual Studio 2017 or 2019](https://visualstudio.microsoft.com/downloads/) or
the "Visual C++ build tools" workload from the
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.5.0">14.5.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.6.0">14.6.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.5.0">14.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.4.0">14.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.3.0">14.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.2.0">14.2.0</a><br/>
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,9 @@ lint-js:
jslint: lint-js
@echo "Please use lint-js instead of jslint"

run-lint-js-ci = tools/lint-js.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \
$(LINT_JS_TARGETS)
run-lint-js-ci = tools/node_modules/eslint/bin/eslint.js \
--report-unused-disable-directives --ext=.js,.mjs,.md -f tap \
-o test-eslint.tap $(LINT_JS_TARGETS)

.PHONY: lint-js-ci
# On the CI the output is emitted in the TAP format.
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ For information about the governance of the Node.js project, see
**Matheus Marchini** &lt;mat@mmarchini.me&gt;
* [MylesBorins](https://github.com/MylesBorins) -
**Myles Borins** &lt;myles.borins@gmail.com&gt; (he/him)
* [sam-github](https://github.com/sam-github) -
**Sam Roberts** &lt;vieuxtech@gmail.com&gt;
* [targos](https://github.com/targos) -
**Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him)
* [tniessen](https://github.com/tniessen) -
Expand Down Expand Up @@ -226,6 +224,8 @@ For information about the governance of the Node.js project, see
**Bert Belder** &lt;bertbelder@gmail.com&gt;
* [rvagg](https://github.com/rvagg) -
**Rod Vagg** &lt;r@va.gg&gt;
* [sam-github](https://github.com/sam-github) -
**Sam Roberts** &lt;vieuxtech@gmail.com&gt;
* [shigeki](https://github.com/shigeki) -
**Shigeki Ohtsu** &lt;ohtsu@ohtsu.org&gt; (he/him)
* [thefourtheye](https://github.com/thefourtheye) -
Expand Down Expand Up @@ -277,14 +277,14 @@ For information about the governance of the Node.js project, see
**Shelley Vohr** &lt;codebytere@gmail.com&gt; (she/her)
* [danbev](https://github.com/danbev) -
**Daniel Bevenius** &lt;daniel.bevenius@gmail.com&gt; (he/him)
* [danielleadams](https://github.com/danielleadams) -
**Danielle Adams** &lt;adamzdanielle@gmail.com&gt; (she/her)
* [davisjam](https://github.com/davisjam) -
**Jamie Davis** &lt;davisjam@vt.edu&gt; (he/him)
* [devnexen](https://github.com/devnexen) -
**David Carlier** &lt;devnexen@gmail.com&gt;
* [devsnek](https://github.com/devsnek) -
**Gus Caplan** &lt;me@gus.host&gt; (he/him)
* [digitalinfinity](https://github.com/digitalinfinity) -
**Hitesh Kanwathirtha** &lt;digitalinfinity@gmail.com&gt; (he/him)
* [edsadr](https://github.com/edsadr) -
**Adrian Estrada** &lt;edsadr@gmail.com&gt; (he/him)
* [eugeneo](https://github.com/eugeneo) -
Expand All @@ -307,8 +307,6 @@ For information about the governance of the Node.js project, see
**Jiawen Geng** &lt;technicalcute@gmail.com&gt;
* [GeoffreyBooth](https://github.com/geoffreybooth) -
**Geoffrey Booth** &lt;webmaster@geoffreybooth.com&gt; (he/him)
* [gibfahn](https://github.com/gibfahn) -
**Gibson Fahnestock** &lt;gibfahn@gmail.com&gt; (he/him)
* [gireeshpunathil](https://github.com/gireeshpunathil) -
**Gireesh Punathil** &lt;gpunathi@in.ibm.com&gt; (he/him)
* [guybedford](https://github.com/guybedford) -
Expand Down Expand Up @@ -337,8 +335,6 @@ For information about the governance of the Node.js project, see
**Juan José Arboleda** &lt;soyjuanarbol@gmail.com&gt; (he/him)
* [JungMinu](https://github.com/JungMinu) -
**Minwoo Jung** &lt;nodecorelab@gmail.com&gt; (he/him)
* [kfarnung](https://github.com/kfarnung) -
**Kyle Farnung** &lt;kfarnung@microsoft.com&gt; (he/him)
* [lance](https://github.com/lance) -
**Lance Ball** &lt;lball@redhat.com&gt; (he/him)
* [legendecas](https://github.com/legendecas) -
Expand Down Expand Up @@ -385,18 +381,16 @@ For information about the governance of the Node.js project, see
**Ron Korving** &lt;ron@ronkorving.nl&gt;
* [rubys](https://github.com/rubys) -
**Sam Ruby** &lt;rubys@intertwingly.net&gt;
* [ruyadorno](https://github.com/ruyadorno) -
**Ruy Adorno** &lt;ruyadorno@github.com&gt; (he/him)
* [rvagg](https://github.com/rvagg) -
**Rod Vagg** &lt;rod@vagg.org&gt;
* [ryzokuken](https://github.com/ryzokuken) -
**Ujjwal Sharma** &lt;ryzokuken@disroot.org&gt; (he/him)
* [saghul](https://github.com/saghul) -
**Saúl Ibarra Corretgé** &lt;saghul@gmail.com&gt;
* [sam-github](https://github.com/sam-github) -
**Sam Roberts** &lt;vieuxtech@gmail.com&gt;
* [santigimeno](https://github.com/santigimeno) -
**Santiago Gimeno** &lt;santiago.gimeno@gmail.com&gt;
* [sebdeckers](https://github.com/sebdeckers) -
**Sebastiaan Deckers** &lt;sebdeckers83@gmail.com&gt;
* [seishun](https://github.com/seishun) -
**Nikolai Vavilov** &lt;vvnicholas@gmail.com&gt;
* [shigeki](https://github.com/shigeki) -
Expand All @@ -409,6 +403,8 @@ For information about the governance of the Node.js project, see
**Steven R Loomis** &lt;srloomis@us.ibm.com&gt;
* [starkwang](https://github.com/starkwang) -
**Weijia Wang** &lt;starkwang@126.com&gt;
* [sxa](https://github.com/sxa) -
**Stewart X Addison** &lt;sxa@uk.ibm.com&gt;
* [targos](https://github.com/targos) -
**Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him)
* [thefourtheye](https://github.com/thefourtheye) -
Expand Down Expand Up @@ -456,12 +452,16 @@ For information about the governance of the Node.js project, see
**Claudio Rodriguez** &lt;cjrodr@yahoo.com&gt;
* [DavidCai1993](https://github.com/DavidCai1993) -
**David Cai** &lt;davidcai1993@yahoo.com&gt; (he/him)
* [digitalinfinity](https://github.com/digitalinfinity) -
**Hitesh Kanwathirtha** &lt;digitalinfinity@gmail.com&gt; (he/him)
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
**Robert Jefe Lindstaedt** &lt;robert.lindstaedt@gmail.com&gt;
* [estliberitas](https://github.com/estliberitas) -
**Alexander Makarenko** &lt;estliberitas@gmail.com&gt;
* [firedfox](https://github.com/firedfox) -
**Daniel Wang** &lt;wangyang0123@gmail.com&gt;
* [gibfahn](https://github.com/gibfahn) -
**Gibson Fahnestock** &lt;gibfahn@gmail.com&gt; (he/him)
* [glentiki](https://github.com/glentiki) -
**Glen Keane** &lt;glenkeane.94@gmail.com&gt; (he/him)
* [iarna](https://github.com/iarna) -
Expand All @@ -484,6 +484,8 @@ For information about the governance of the Node.js project, see
**Josh Gavant** &lt;josh.gavant@outlook.com&gt;
* [julianduque](https://github.com/julianduque) -
**Julian Duque** &lt;julianduquej@gmail.com&gt; (he/him)
* [kfarnung](https://github.com/kfarnung) -
**Kyle Farnung** &lt;kfarnung@microsoft.com&gt; (he/him)
* [kunalspathak](https://github.com/kunalspathak) -
**Kunal Pathak** &lt;kunal.pathak@microsoft.com&gt;
* [lucamaraschi](https://github.com/lucamaraschi) -
Expand Down Expand Up @@ -530,6 +532,10 @@ For information about the governance of the Node.js project, see
**Roman Klauke** &lt;romaaan.git@gmail.com&gt;
* [RReverser](https://github.com/RReverser) -
**Ingvar Stepanyan** &lt;me@rreverser.com&gt;
* [sam-github](https://github.com/sam-github) -
**Sam Roberts** &lt;vieuxtech@gmail.com&gt;
* [sebdeckers](https://github.com/sebdeckers) -
**Sebastiaan Deckers** &lt;sebdeckers83@gmail.com&gt;
* [stefanmb](https://github.com/stefanmb) -
**Stefan Budeanu** &lt;stefan@budeanu.com&gt;
* [tellnes](https://github.com/tellnes) -
Expand Down
51 changes: 51 additions & 0 deletions benchmark/policy/policy-startup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Tests the impact on eager operations required for policies affecting
// general startup, does not test lazy operations
'use strict';
const common = require('../common.js');

const configs = {
n: [1024]
};

const options = {
flags: ['--expose-internals']
};

const bench = common.createBenchmark(main, configs, options);

function main(conf) {
const hash = (str, algo) => {
const hash = require('crypto').createHash(algo);
return hash.update(str).digest('base64');
};
const resources = Object.fromEntries(
// Simulate graph of 1k modules
Array.from({ length: 1024 }, (_, i) => {
return [`./_${i}`, {
integrity: `sha256-${hash(`// ./_${i}`, 'sha256')}`,
dependencies: Object.fromEntries(Array.from({
// Average 3 deps per 4 modules
length: Math.floor((i % 4) / 2)
}, (_, ii) => {
return [`_${ii}`, `./_${i - ii}`];
})),
}];
})
);
const json = JSON.parse(JSON.stringify({ resources }), (_, o) => {
if (o && typeof o === 'object') {
Reflect.setPrototypeOf(o, null);
Object.freeze(o);
}
return o;
});
const { Manifest } = require('internal/policy/manifest');

bench.start();

for (let i = 0; i < conf.n; i++) {
new Manifest(json, 'file://benchmark/policy-relative');
}

bench.end(conf.n);
}
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.23',
'v8_embedder_string': '-node.12',

##### V8 defaults for Node.js #####

Expand Down
4 changes: 4 additions & 0 deletions deps/npm/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -695,3 +695,7 @@ Jarda Snajdr <jsnajdr@gmail.com>
Naix Geng <1308363651@qq.com>
Dylan Treisman <dylanzt@gmail.com>
mum-never-proud <abhuz@hotmail.com>
Peter Fich <peterfich@users.noreply.github.com>
Maxwell Gerber <mgerber@berkeley.edu>
Sean Poulter <sean.poulter@gmail.com>
vanishcode <vanishcode@outlook.com>
22 changes: 22 additions & 0 deletions deps/npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## 6.14.6 (2020-07-07)

### BUG FIXES
* [`a9857b8f6`](https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc) chore: remove auth info from logs ([@claudiahdz](https://github.com/claudiahdz))
* [`b7ad77598`](https://github.com/npm/cli/commit/b7ad77598112908d60195d0fbc472b3c84275fd5) [#1416](https://github.com/npm/cli/pull/1416) fix: wrong `npm doctor` command result ([@vanishcode](https://github.com/vanishcode))

### DEPENDENCIES
* [`94eca6377`](https://github.com/npm/cli/commit/94eca637756376b949edfb697e179a1fdcc231ee) `npm-registry-fetch@4.0.5` ([@claudiahdz](https://github.com/claudiahdz))
* [`c49b6ae28`](https://github.com/npm/cli/commit/c49b6ae28791ff7184288be16654f97168aa9705) [#1418](https://github.com/npm/cli/pull/1418) `spdx-license-ids@3.0.5` ([@kemitchell](https://github.com/kemitchell))

### DOCUMENTATION
* [`2e052984b`](https://github.com/npm/cli/commit/2e052984b08c09115ed75387fb2c961631d85d77)
[#1459](https://github.com/npm/cli/pull/1459)
chore(docs): fixed links to cli commands ([@claudiahdz](https://github.com/claudiahdz))
* [`0ca3509ca`](https://github.com/npm/cli/commit/0ca3509ca940865392daeeabb39192f7d5af9f5e)
[#1283](https://github.com/npm/cli/pull/1283) Update npm-link.md ([@peterfich](https://github.com/peterfich))
* [`3dd429e9a`](https://github.com/npm/cli/commit/3dd429e9aad760ce2ff9e522b34ebfebd85b460c)
[#1377](https://github.com/npm/cli/pull/1377)
Add note about dropped `*` filenames ([@maxwellgerber](https://github.com/maxwellgerber))
* [`9a2e2e797`](https://github.com/npm/cli/commit/9a2e2e797e5c91e7f4f261583a1906e2c440cc2f)
[#1429](https://github.com/npm/cli/pull/1429) Fix typo ([@seanpoulter](https://github.com/seanpoulter))

## 6.14.5 (2020-05-01)

### BUG FIXES
Expand Down
4 changes: 3 additions & 1 deletion deps/npm/bin/npm-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
var npm = require('../lib/npm.js')
var npmconf = require('../lib/config/core.js')
var errorHandler = require('../lib/utils/error-handler.js')
var replaceInfo = require('../lib/utils/replace-info.js')

var configDefs = npmconf.defs
var shorthands = configDefs.shorthands
Expand All @@ -40,7 +41,8 @@
process.argv.splice(1, 1, 'npm', '-g')
}

log.verbose('cli', process.argv)
var args = replaceInfo(process.argv)
log.verbose('cli', args)

var conf = nopt(types, shorthands)
npm.argv = conf.argv.remain
Expand Down
Loading