Commit Graph
34866 Commits
Author SHA1 Message Date
Rich Trott 5951ccc12e doc: simplify CHANGELOG.md
Remove unnecessary `<sup>` usage and lint-disabling comment.

PR-URL: https://github.com/nodejs/node/pull/40475
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2021-11-06 10:57:04 +01:00
Guy Bedford 6ae134ecb7 doc: correct esm spec scope lookup definition
PR-URL: https://github.com/nodejs/node/pull/40592
Fixes: https://github.com/nodejs/node/issues/40578
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
2021-11-06 10:57:03 +01:00
Richard Lau 09239216f6 doc: update CHANGELOG.md for Node.js 16.13.0
Update missed changes for the main CHANGELOG.md for Node.js 16.13.0.

PR-URL: https://github.com/nodejs/node/pull/40617
Refs: https://github.com/nodejs/node/pull/40536
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-11-06 10:57:02 +01:00
Luigi Pinca 716963484b tools: update ESLint to 8.1.0
PR-URL: https://github.com/nodejs/node/pull/40582
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2021-11-06 10:56:46 +01:00
Rich Trott 9cb2116608 tools: fix formatting of warning message in update-authors.js
The email already has `<` and `>` surrounding it so adding it results in
a misformatted message.

PR-URL: https://github.com/nodejs/node/pull/40600
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-11-06 10:56:46 +01:00
Michael Dawson 46ec5ac4df doc: add info on project's usage of coverity
Document project's used of coverity and how
collaborators can get access.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/40506
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-11-06 10:56:46 +01:00
Jeremiah Senkpiel d81b65ca0e meta: move Fishrock123 to emeritus
I've moved on. I do not wish to be responsible for anything here and
have been inactive for more than a year.

PR-URL: https://github.com/nodejs/node/pull/40596
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
2021-11-06 10:56:45 +01:00
Rich Trott ec02e7b68a meta: consolidate AUTHORS entries for clakech
PR-URL: https://github.com/nodejs/node/pull/40589
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
2021-11-06 10:56:45 +01:00
Luigi Pinca 7eb1a44410 doc: fix typo in changelogs
Fix typo in v12.22.7, v14.18.1, and v16.11.1 changelogs.

PR-URL: https://github.com/nodejs/node/pull/40585
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
2021-11-06 10:56:45 +01:00
Nitzan Uziely 79bf429405 dgram: fix send with out of bounds offset + length
fix Socket.prototype.send sending garbage when the message is a string,
or Buffer and offset+length is out of bounds.

Fixes: https://github.com/nodejs/node/issues/40491

PR-URL: https://github.com/nodejs/node/pull/40568
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-11-06 10:56:45 +01:00
Robert Nagy 825a683423 http: response should always emit 'close'
Fixes: https://github.com/nodejs/node/issues/40528

PR-URL: https://github.com/nodejs/node/pull/40543
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-11-06 10:56:44 +01:00
Rich Trott b320387c83 policy: fix message for invalid manifest specifier
Add test for invalid manifest specifier and fix the error message
which is missing a space ("singletrailing" instead of
"single trailing").

PR-URL: https://github.com/nodejs/node/pull/40574
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
2021-11-06 10:56:44 +01:00
Guy Bedford 075cfbf941 module: resolver & spec hardening /w refactoring
PR-URL: https://github.com/nodejs/node/pull/40510
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-11-06 10:56:44 +01:00
Rich Trott 8a00dc5add build: skip long-running Actions for README-only modifications
If the only file modified is README.md do not run test-linux or
build-windows tasks. This will help streamline onboarding sessions but
may help some other cases too.

PR-URL: https://github.com/nodejs/node/pull/40571
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-11-06 10:56:44 +01:00
Rich Trott 132f6cba05 doc: update onboarding task
Make starting Jenkins CI optional.

PR-URL: https://github.com/nodejs/node/pull/40570
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-11-06 10:56:43 +01:00
Rich Trott 08e7a2ff24 meta: consolidate AUTHORS entries for darai0512
PR-URL: https://github.com/nodejs/node/pull/40569
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-11-06 10:56:43 +01:00
Rich Trott 5e2d0ed61e doc: simplify ccache instructions
`ccache` has reasonable defaults for `max_size` and `cache_dir` so
remove instructions to set those things explicitly.

Change fenced code from `console` to `bash` for easier copy/paste.

PR-URL: https://github.com/nodejs/node/pull/40550
Fixes: https://github.com/nodejs/node/issues/40542
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-11-06 10:56:43 +01:00
Rich Trott c1c1738bfc doc: fix macOS environment variables for ccache
macOS requires `cc` and `c++` rather than `gcc` and `g++`.

Closes: https://github.com/nodejs/node/issues/40542

PR-URL: https://github.com/nodejs/node/pull/40550
Fixes: https://github.com/nodejs/node/issues/40542
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-11-06 10:56:43 +01:00
Michaël Zasso 6e3e50f2ab doc: improve async_context introduction
- Rename "Async_context" to "Asynchronous context tracking" in toc.
- Use named imports to show how `AsyncLocalStorage` and `AsyncResource`
  can be imported.

PR-URL: https://github.com/nodejs/node/pull/40560
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
2021-11-06 10:56:43 +01:00
Node.js GitHub Bot 488ee51f90 meta: update AUTHORS
PR-URL: https://github.com/nodejs/node/pull/40580
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
2021-11-06 10:56:42 +01:00
Robert Nagy bac7fe0797 stream: remove no longer necessary ComposeDuplex
PR-URL: https://github.com/nodejs/node/pull/40545
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2021-11-06 10:56:42 +01:00
npm team 841f35cc52 deps: upgrade npm to 8.1.1
PR-URL: https://github.com/nodejs/node/pull/40554
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-11-06 10:56:42 +01:00
Rich Trott 1587fe62d4 doc: use GFM footnotes in webcrypto.md
PR-URL: https://github.com/nodejs/node/pull/40477
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-11-06 10:56:42 +01:00
Rich Trott 507f1dbc8d tools: udpate doc tools to accommodate GFM footnotes
PR-URL: https://github.com/nodejs/node/pull/40477
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-11-06 10:56:41 +01:00
Cheng Zhao 9f46fca124 build: disable v8 pointer compression on 32bit archs
PR-URL: https://github.com/nodejs/node/pull/40418
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Stewart X Addison <sxa@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2021-10-23 08:54:02 +02:00
Richie Bendall a95e344fe5 tty: support more CI services in getColorDepth
PR-URL: https://github.com/nodejs/node/pull/40385
Refs: https://github.com/sindresorhus/yoctocolors/pull/5
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2021-10-23 08:54:02 +02:00
Ray Wang 305c022db4 doc: describe buffer limit of v8.serialize
PR-URL: https://github.com/nodejs/node/pull/40243
Fixes: https://github.com/nodejs/node/issues/40059
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-23 08:54:02 +02:00
Ray Wang 396342e26d src: throw error instead of assertion
PR-URL: https://github.com/nodejs/node/pull/40243
Fixes: https://github.com/nodejs/node/issues/40059
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-23 08:54:01 +02:00
Ray Wang 8d16f0d2d3 deps: V8: cherry-pick 422dc378a1da
Original commit message:

    [deserialization] Remove unnecessarily limit on buffer size

    1. Now there is no serializer/deserializer-specific buffer size limit.
    2. Update AUTHORS

    Ref: https://github.com/nodejs/node/issues/40059

    Change-Id: Iad4c6d8f68a91ef21d3c404fb7945949e69ad9e2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3170411
    Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: Clemens Backes <clemensb@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77084}

Refs: https://github.com/v8/v8/commit/422dc378a1da528b97c9d69ae71ca4c9f318c970

PR-URL: https://github.com/nodejs/node/pull/40450
Fixes: https://github.com/nodejs/node/issues/40059
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-10-23 08:54:01 +02:00
Rich Trott 6e39e0e10a doc: run license-builder
PR-URL: https://github.com/nodejs/node/pull/40540
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-23 08:37:26 +02:00
Rich Trott c2265a92c3 tools: update license-builder.sh for OpenSSL
PR-URL: https://github.com/nodejs/node/pull/40540
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-23 08:37:25 +02:00
Rich Trott 556e49ccb5 doc: use GFM footnotes in maintaining-V8.md (#40476)
PR-URL: https://github.com/nodejs/node/pull/40476
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-10-23 08:37:25 +02:00
Rich Trott 9c6a9fd5b1 doc: use GFM footnotes in BUILDING.md
PR-URL: https://github.com/nodejs/node/pull/40474
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-10-23 08:37:25 +02:00
Juan José Arboleda fd946215cc doc: fix fs.symlink code example
Fixes: https://github.com/nodejs/node/issues/40413

PR-URL: https://github.com/nodejs/node/pull/40414
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-10-23 08:37:25 +02:00
Richard Lau 404730ac1b doc: update for changed --dns-result-order default
Update documentation to match the changed `--dns-result-order` default
value in Node.js 17.

Refs: https://github.com/nodejs/node/pull/39987

PR-URL: https://github.com/nodejs/node/pull/40538
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-10-23 08:37:25 +02:00
Antoine du Hamel acc22c7c4a doc: add missing entry in globals.md
Refs: https://github.com/nodejs/node/pull/39759#issuecomment-947236795

PR-URL: https://github.com/nodejs/node/pull/40531
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-10-23 08:37:24 +02:00
Stephen Belanger 0375d958ef doc: explain backport labels
PR-URL: https://github.com/nodejs/node/pull/40520
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-10-23 08:37:24 +02:00
Rich Trott 4993d87c49 doc: fix entry for Slack channel in onboarding.md
PR-URL: https://github.com/nodejs/node/pull/40563
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
2021-10-23 08:37:24 +02:00
Rich Trott ba9a6c5d06 meta: consolidate AUTHORS entries for dfabulich
PR-URL: https://github.com/nodejs/node/pull/40527
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-10-23 08:37:24 +02:00
voltrexmaster 89b34ecffb doc: add VoltrexMaster to collaborators
Fixes: https://github.com/nodejs/node/issues/40323

PR-URL: https://github.com/nodejs/node/pull/40566
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-10-23 08:37:23 +02:00
Rich Trott 6357ef15d0 doc: document considerations for inclusion in core
Document the things that are considered when making the determination as
to whether something should or shouldn't be in core. This does not (yet,
at least) attempt to address *how* to include modules in core. (Should
it be in the Node.js code base or vendored in from a separate
repository?) It is limited to *whether* something should be in core or
not.

Closes: https://github.com/nodejs/TSC/issues/1041

PR-URL: https://github.com/nodejs/node/pull/40338
Fixes: https://github.com/nodejs/TSC/issues/1041
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-23 08:37:23 +02:00
Darshan Sen ef1ace7e88 src,crypto: use std::variant in DH params
Signed-off-by: Darshan Sen <darshan.sen@postman.com>

PR-URL: https://github.com/nodejs/node/pull/40457
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2021-10-23 08:37:23 +02:00
Lu Yahan cdf5c44d62 deps: add riscv64 config into openssl gypi
PR-URL: https://github.com/nodejs/node/pull/40473
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-10-23 08:37:23 +02:00
Rich Trott ed04827373 doc: update link in onboarding doc
PR-URL: https://github.com/nodejs/node/pull/40539
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-10-23 08:37:23 +02:00
Node.js GitHub Bot bd06e9945e meta: move one or more collaborators to emeritus
PR-URL: https://github.com/nodejs/node/pull/40464
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Yihong Wang <yh.wang@ibm.com>
2021-10-23 08:37:22 +02:00
Francesco Trotta 81cd7f3751 lib: fix regular expression to detect / and \
Fixes #40305

PR-URL: https://github.com/nodejs/node/pull/40325
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
2021-10-23 08:37:22 +02:00
Daniel Bevenius 2b9fcdfe26 deps: attempt to suppress macro-redefined warning
PR-URL: https://github.com/nodejs/node/pull/40518
Refs: https://github.com/nodejs/node/issues/40509
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
2021-10-23 08:37:22 +02:00
Daniel Bevenius d2839bfaa9 deps: regenerate OpenSSL arch files
PR-URL: https://github.com/nodejs/node/pull/40518
Refs: https://github.com/nodejs/node/issues/40509
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
2021-10-23 08:37:21 +02:00
Daniel Bevenius 5df8ce5cbe deps,build,tools: fix openssl-is-fips for ninja builds
Currently using the --openssl-is-fips configuration option in
combination with --ninja is broken.

This commit fixes two issues, one being an issue with the linker/version
script path variable. The second is that the locations of built
artifacts that differ for ninja and make.

ninja:
$ ./configure --openssl-is-fips --ninja
$ ninja -C out/Release
$ ./node --enable-fips -p 'crypto.getFips()'
1

make:
$ ./configure --openssl-is-fips
$ make -j8
$ ./node --enable-fips -p 'crypto.getFips()'
1

PR-URL: https://github.com/nodejs/node/pull/40518
Refs: https://github.com/nodejs/node/issues/40509
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
2021-10-23 08:37:21 +02:00
Michael Dawson 34e244b8e9 doc: clarify behavior of napi_extended_error_info
Fix up example and make it more explicit on how
you need to use napi_extended_error_info in order to
help people avoid what might be a common mistake that
we made in node-addon-api.

Refs: https://github.com/nodejs/node-addon-api/issues/1089

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/40458
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-10-23 08:37:21 +02:00