summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix color contrast on <kbd> elementsAntoine du Hamel2021-02-021-1/+1
| | | | | | PR-URL: https://github.com/nodejs/node/pull/37185 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* deps: upgrade npm to 7.5.1Ruy Adorno2021-02-02104-198/+1027
| | | | | | PR-URL: https://github.com/nodejs/node/pull/37177 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
* src: expose BaseObject::kInternalFieldCount in post-mortem metadataJoyee Cheung2021-02-022-3/+16
| | | | | | | | | | | So that the debugger does not have to hard-code the number of internal fields of BaseObjects. PR-URL: https://github.com/nodejs/node/pull/37111 Refs: https://github.com/nodejs/node/pull/36943 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: fix list format in Developer's Certificate of OriginAkash Negi2021-02-021-21/+21
| | | | | | | | | | This corresponds to the format at https://developercertificate.org/. PR-URL: https://github.com/nodejs/node/pull/37138 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
* async_hooks: refactor to avoid unsafe array iterationAntoine du Hamel2021-02-022-10/+9
| | | | | | PR-URL: https://github.com/nodejs/node/pull/37125 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
* doc,test: fix prime generation descriptionTobias Nießen2021-02-022-16/+50
| | | | | | | | | | The previous description incorrectly explained the behavior of options.add and options.rem for primes that are not safe. PR-URL: https://github.com/nodejs/node/pull/37085 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* fs: read full size if known in promises.readFileAnna Henningsen2021-02-021-5/+6
| | | | | | | | | | | | | | | | | If we have an estimate of the file size available from the previous stat call, use that for the size of the first chunk to be read. This increases performance by reading more data (and, most likely, all data) at once without incurring memory overhead in most situations. PR-URL: https://github.com/nodejs/node/pull/37127 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* fs: only use Buffer.concat in promises.readFile when necessaryAnna Henningsen2021-02-021-1/+1
| | | | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37127 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: fix markup and alphabetization in errors.mdRich Trott2021-02-021-8/+8
| | | | | | | | | | | | | | | Change `<a id"...` to `<a id="...` (missing equal sign) and move entry to correct location in alphabetical order. PR-URL: https://github.com/nodejs/node/pull/37144 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
* doc: clarify ERR_INVALID_REPL_INPUT usageRich Trott2021-02-021-2/+2
| | | | | | | | | | The REPL documentation does not list prohibited inputs, but it does explain the conditions under which ERR_INVALID_REPL_INPUT is used. Update the error doc to indicate that. PR-URL: https://github.com/nodejs/node/pull/37143 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* http: refactor to avoid unsafe array iterationAntoine du Hamel2021-02-023-13/+21
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/37124 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* doc: clarify repl exception conditionsRich Trott2021-02-021-20/+11
| | | | | | | | | | The sample code demonstrating ERR_INVALID_REPL_INPUT is confusing, I think. This simplifies and clarifies it a bit, I hope. PR-URL: https://github.com/nodejs/node/pull/37142 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* doc: add example for test structureTurner Jabbour2021-02-021-0/+15
| | | | | | PR-URL: https://github.com/nodejs/node/pull/35046 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
* doc: remove TOC summary for pages with no TOCRich Trott2021-02-023-12/+17
| | | | | | | | Remove the table of contents summary for pages with no table of contents. Currently, this affects at least index.html. PR-URL: https://github.com/nodejs/node/pull/37043 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* esm: update to correct deprecation codecjihrig2021-02-021-2/+2
| | | | | | | | | | | | https://github.com/nodejs/node/pull/36918 landed with references to DEP0150, which is already used for a different deprecation. This commit updates the code to use DEP0151. PR-URL: https://github.com/nodejs/node/pull/37147 Refs: https://github.com/nodejs/node/pull/36918 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: add missing deprecation codecjihrig2021-02-021-1/+1
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37147 Refs: https://github.com/nodejs/node/pull/36918 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* deps: update openssl configJames M Snell2021-02-02268-1816/+141
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* quic: remove quicJames M Snell2021-02-02234-83440/+16
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* Revert "deps: various quic patches from akamai/openssl"James M Snell2021-02-0235-1532/+33
| | | | | | | | | | | This reverts commit 06c5b5315a241f9db7f0c50c4a859c02d2c7d110. PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* Revert "deps: re-enable OPENSSL_NO_QUIC guards"James M Snell2021-02-022-8/+0
| | | | | | | | | | | This reverts commit b0d5bfe73dd58f9bdd8a010cf924a98b5566226c. PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* Revert "deps: update patch and docs for openssl update"James M Snell2021-02-022-1981/+336
| | | | | | | | | | | This reverts commit 548790ab827de190fc407dfe9ca714839f984ea0. PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* esm: deprecate legacy main lookup for modulesGuy Bedford2021-02-028-36/+95
| | | | | PR-URL: https://github.com/nodejs/node/pull/36918 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* doc: update Buffer encoding option countDave Cardwell2021-02-021-1/+1
| | | | | | | | | | | | | | | | | | https://github.com/nodejs/node/pull/36952 added the `base64url` encoding option. Easier to just remove the count of options so it doesn’t need to be updated to four, five, etc. in the future. PR-URL: https://github.com/nodejs/node/pull/37102 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* deps: upgrade npm to 7.5.0Ruy Adorno2021-02-02133-3491/+12630
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/37117 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
* src: fix dead code in RandomPrimeTraitsTobias Nießen2021-02-021-4/+2
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/37083 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* util: add internal createDeferredPromise()cjihrig2021-02-023-18/+16
| | | | | | | | | | | | | | The pattern of resolving/rejecting a Promise from outside of its executor happens numerous times throughout the codebase (more than what is updated here in fact). This commit abstracts that logic into an internal utility function. PR-URL: https://github.com/nodejs/node/pull/37095 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* readline: replace _questionCancel with a symbolcjihrig2021-02-021-2/+3
| | | | | | | | | | | This commit avoids exposing a new underscored property on readline Interface instances. PR-URL: https://github.com/nodejs/node/pull/37094 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* readline: check for null input in question()cjihrig2021-02-021-2/+2
| | | | | | | | | | | question() checks for objects passed as the recently added options argument. This commit improves that logic to also check for null. PR-URL: https://github.com/nodejs/node/pull/37089 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
* tools: remove commented code from stability.jscjihrig2021-02-021-1/+1
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37092 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: update BUILDING.md previous versions linksRichard Lau2021-02-021-2/+1
| | | | | | | | | | | | | | Remove links to End-of-Life versions of the BUILDING.md document. Add a link to the version for Node.js 14.x. PR-URL: https://github.com/nodejs/node/pull/37082 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* test: add tests for `bound apply` variants of varargs `primordials`ExE Boss2021-02-024-3/+81
| | | | | | PR-URL: https://github.com/nodejs/node/pull/37005 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* lib: add `bound apply` variants of varargs `primordials`ExE Boss2021-02-023-10/+60
| | | | | | | | Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/37005 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* lib: refactor to use validateObjectZiJian Liu2021-02-0217-79/+72
| | | | | | | | | | | Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/37028 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* benchmark: add benchmark for NODE_V8_COVERAGEbcoe2021-02-022-0/+147
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36972 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
* fs: add validatePosition and use in read and readSyncDarshan Sen2021-02-022-28/+22
| | | | | | PR-URL: https://github.com/nodejs/node/pull/37051 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
* test: increase inspect coverageEmil Sivervik2021-02-021-0/+17
| | | | | | | | | | | | | 1. Truncate output for Primitives with 1 character left Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/util/inspect.js.html#L1359 2. Truncate output for ArrayBuffers using plural or singular bytes Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/util/inspect.js.html#L1465 PR-URL: https://github.com/nodejs/node/pull/36755 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
* test: skip tests consistently in parallel.statusRich Trott2021-02-021-2/+2
| | | | | | | | | | | | | | Some tests are marked SKIP,FLAKY (resulting in yellow/unstable CI when they fail) and others are marked SKIP (which means the results don't affect CI at all). There doesn't seem to be any reason for the difference. Mark them all as SKIP as IBM i for consistency and to have the luxury of a green daily CI. We'll want these to be at least SKIP,FLAKY (and preferably not skipped at all) before IBM i is supported. PR-URL: https://github.com/nodejs/node/pull/37035 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
* lib: refactor to use validateFunctionZiJian Liu2021-02-0215-79/+79
| | | | | | | | | | | add validateFunction and refactor to use validateFunction PR-URL: https://github.com/nodejs/node/pull/37045 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* test: increase read file abort coverageMoshe vilner2021-02-021-0/+8
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36716 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* crypto: fix encrypted private -> public importTobias Nießen2021-02-023-3/+19
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37056 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* crypto: generateKeyPair('ec') should not support NODE-ED* and NODE-X*Filip Skokan2021-02-025-14/+55
| | | | | | | | | Fixes https://github.com/nodejs/node/issues/37055 PR-URL: https://github.com/nodejs/node/pull/37063 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
* doc: mention adding Fixes to collaborator onboarding PRJoyee Cheung2021-02-021-3/+6
| | | | | | | | | | Also update the example to include the Fixes url. PR-URL: https://github.com/nodejs/node/pull/37097 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com>
* lib: refactor to avoid unsafe array iterationAntoine du Hamel2021-02-021-15/+13
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/37029 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
* buffer: avoid creating the backing store in the threadJames M Snell2021-02-021-2/+2
| | | | | | | | | Fixes: https://github.com/nodejs/node/issues/37030 PR-URL: https://github.com/nodejs/node/pull/37052 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* test: update to improve terminologyMichael Dawson2021-02-025-5/+15
| | | | | | | | | | | | | | | Update common section in wpt to incorporate improved terminology fixed upstream in https://github.com/web-platform-tests/wpt/pull/27152 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/37011 Reviewed-By: Milad Fa <mfarazma@redhat.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* test: increase coverage for assert/calltrackerZiJian Liu2021-02-021-0/+14
| | | | | | | | | | | 1. test calls fn parameter is number Refs: https://coverage.nodejs.org/coverage-51b43675067fafaa/lib/internal/assert/calltracker.js.html#L30 2. test calls fn parameter is undefined Refs: https://coverage.nodejs.org/coverage-51b43675067fafaa/lib/internal/assert/calltracker.js.html#L33 PR-URL: https://github.com/nodejs/node/pull/36728 Reviewed-By: Rich Trott <rtrott@gmail.com>
* tools: enable object-curly-newline in ESLint rulesRich Trott2021-02-021-0/+1
| | | | | | | | | | | | | | I saw a PR review comment about newlines in desructured assignments, and this would be the rule to enforce these kinds of nits. Start by just enabling the rule. We can incrementally adjust it to be more strict. Refs: https://eslint.org/docs/rules/object-curly-newline Refs: https://github.com/nodejs/node/pull/37028#pullrequestreview-574744497 PR-URL: https://github.com/nodejs/node/pull/37040 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* test,doc,lib: adjust object literal newlines for lint ruleRich Trott2021-02-0233-181/+159
| | | | | | | | | | | Before enabling object-curly-newline for our ESLint rules, adjust files to comply with it. Refs: https://eslint.org/docs/rules/object-curly-newline PR-URL: https://github.com/nodejs/node/pull/37040 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* crypto: add generatePrime/checkPrimeJames M Snell2021-02-029-0/+769
| | | | | | | | | APIs for generating and checking pseudo-random primes Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36997 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* doc: add Zijian Liu to collaboratorsZiJian Liu2021-02-021-0/+2
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/37075 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>