Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2022-10-11tools: increase timeout of running WPTJoyee Cheung
We run all WPT from one subset in the same process using workers. As the number of the tests grow, it can take longer to run some of the subsets, but it's still overall faster than running them in different processes. This patch increases the timeout for WPT to prevent the test from failing because it takes longer to run (even though it would still complete at some point). Refs: https://github.com/nodejs/reliability/issues/371 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> PR-URL: https://github.com/nodejs/node/pull/44574 Backport-PR-URL: https://github.com/nodejs/node/pull/44872
2022-10-11test: update WPT runnerFilip Skokan
PR-URL: https://github.com/nodejs/node/pull/43455 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Backport-PR-URL: https://github.com/nodejs/node/pull/44872
2022-10-11tools: refactor deprecated format in no-unescaped-regexp-dotMadhuri
PR-URL: https://github.com/nodejs/node/pull/44763 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-10-11tools: update eslint-check.js to object styleandiemontoyeah
Updated rule from deprecated function-style format to object-style format. Refs: https://eslint.org/docs/latest/developer-guide/working-with-rules PR-URL: https://github.com/nodejs/node/pull/44706 Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-10-11tools: update eslint to 8.24.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44778 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.79.1Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44776 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2022-10-11gyp: libnode for ios app embeddingchexiongsheng
PR-URL: https://github.com/nodejs/node/pull/44210 Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
2022-10-11tools: add update-llhttp.shPaolo Insogna
PR-URL: https://github.com/nodejs/node/pull/44652 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Tobias Nießen <tniessen@tnie.de> Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
2022-10-11tools: fix typo in update-nghttp2.shLuigi Pinca
PR-URL: https://github.com/nodejs/node/pull/44664 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2022-10-11tools: add timezone update workflowLenvin Gonsalves
Fixes: https://github.com/nodejs/node/issues/43134 PR-URL: https://github.com/nodejs/node/pull/43988 Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
2022-10-11tools: update eslint to 8.23.1Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44639 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-10-11tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.1.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44638 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2022-10-11tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.0.1Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44590 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-10-11tools: increase timeout of running WPTJoyee Cheung
We run all WPT from one subset in the same process using workers. As the number of the tests grow, it can take longer to run some of the subsets, but it's still overall faster than running them in different processes. This patch increases the timeout for WPT to prevent the test from failing because it takes longer to run (even though it would still complete at some point). PR-URL: https://github.com/nodejs/node/pull/44574 Refs: https://github.com/nodejs/reliability/issues/371 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-10-11tools: fix shebang to use python3 by defaultHimself65
PR-URL: https://github.com/nodejs/node/pull/44531 Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-10-11build: add --libdir flag to configureStephen Gallagher
This will allow distribution packages to select an alternative location for the unofficial libnode.so. For example, on Fedora it will install into /usr/lib64 on 64-bit systems. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com> PR-URL: https://github.com/nodejs/node/pull/44361 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.79.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44510 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Feng Yu <F3n67u@outlook.com>
2022-10-11tools: don't use f-strings in test.pySantiago Gimeno
PR #43954 introduced the use of f-strings to `test.py` making the script only work with python versions >= 3.6. Remove that use to make it compatible again with older python versions. PR-URL: https://github.com/nodejs/node/pull/44407 Reviewed-By: Darshan Sen <raisinten@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>
2022-10-11tools: update doc to unist-util-visit@4.1.1Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44370 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2022-10-11tools: update eslint to 8.23.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44419 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.78.1Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44320 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-10-11tools: update ESLint to 8.22.0Luigi Pinca
PR-URL: https://github.com/nodejs/node/pull/44243 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.78.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44244 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.77.3Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44230 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-10-11tools: update eslint to 8.21.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44162 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2022-10-11tools: update lint-md-dependencies to @rollup/plugin-commonjs@22.0.2Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44160 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-10-11tools: update undici CPE in vuln checking scriptFacundo Tuesca
This changes the search method for `undici` on the NVD database. Before, since `undici` did not have a CPE assigned, the search was by keyword. Now that a CPE was assigned, it is used to query for new vulnerabilities. PR-URL: https://github.com/nodejs/node/pull/44128 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2022-10-11tools: update lint-md-dependencies to rollup@2.77.2Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/44064 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
2022-10-11lib: add `Promise` methods to `avoid-prototype-pollution` lint ruleAntoine du Hamel
PR-URL: https://github.com/nodejs/node/pull/43849 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
2022-10-11tools: add verbose flag to find-inactive-collaboratorsRich Trott
PR-URL: https://github.com/nodejs/node/pull/43964 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-09-23deps,src: use SIMD for normal base64 encodingBrian White
PR-URL: https://github.com/nodejs/node/pull/39775 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-08-02events: add `CustomEvent`Daeyeon Jeong
This implements the Web API `CustomEvent` in `internal/event_target`. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: https://github.com/nodejs/node/pull/43514 Backport-PR-URL: https://github.com/nodejs/node/pull/44082 Refs: https://github.com/nodejs/node/issues/40678 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2022-08-02tools,doc: add guards against prototype pollution when creating proxiesAntoine du Hamel
PR-URL: https://github.com/nodejs/node/pull/43391 Backport-PR-URL: https://github.com/nodejs/node/pull/44081 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
2022-08-02tools: report unsafe string and regex primordials as lint errorsAntoine du Hamel
| The string method | looks up the property | | ----------------------------- | --------------------- | | `String.prototype.match` | `Symbol.match` | | `String.prototype.matchAll` | `Symbol.matchAll` | | `String.prototype.replace` | `Symbol.replace` | | `String.prototype.replaceAll` | `Symbol.replace` | | `String.prototype.search` | `Symbol.search` | | `String.prototype.split` | `Symbol.split` | Functions that lookup the `exec` property on the prototype chain: * `RegExp.prototype[Symbol.match]` * `RegExp.prototype[Symbol.matchAll]` * `RegExp.prototype[Symbol.replace]` * `RegExp.prototype[Symbol.search]` * `RegExp.prototype[Symbol.split]` * `RegExp.prototype.test` `RegExp.prototype[Symbol.replace]` and `RegExp.prototype[Symbol.split]` are still allowed for a lack of a better solution. PR-URL: https://github.com/nodejs/node/pull/43393 Backport-PR-URL: https://github.com/nodejs/node/pull/44081 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
2022-08-02tools: add `avoid-prototype-pollution` lint ruleAntoine du Hamel
PR-URL: https://github.com/nodejs/node/pull/43308 Backport-PR-URL: https://github.com/nodejs/node/pull/44081 Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-08-01tools: add more options to track flaky testsAntoine du Hamel
Refs: https://github.com/nodejs/node/pull/43929#issuecomment-1193104729 PR-URL: https://github.com/nodejs/node/pull/43954 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Feng Yu <F3n67u@outlook.com>
2022-08-01deps: update hast-util-rawMoshe Atlow
PR-URL: https://github.com/nodejs/node/pull/43927 Fixes: https://github.com/nodejs/node/issues/43864 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
2022-08-01tools: add verbose flag to inactive TSC finderRich Trott
Refs: https://github.com/nodejs/node/pull/43897#issuecomment-1189682369 PR-URL: https://github.com/nodejs/node/pull/43913 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
2022-08-01tools: add support for using API key to vuln checking scriptFacundo Tuesca
This change adds a new parameter `--nvd-key` to `dep_checker`, which allows the user to specify a NVD API key with which to query the National Vulnerability Database. This increases the rate at which we are allowed to query the database, which speeds up the running time of the script. PR-URL: https://github.com/nodejs/node/pull/43909 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
2022-08-01tools: support versioned node shared libs on z/OSalexcfyung
The shared libraries will now be stores in lib.target as opposed to obj.target, libnode.version.so, libnode.x (for npm backwards compat and testing), and libnode.version.x (for builds). The install will also include libnode.so link that points to libnode.version.so (this will be used by native npms for backwards compat). PR-URL: https://github.com/nodejs/node/pull/42256 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Co-authored-by: Gaby Baghdadi <baghdadi@ca.ibm.com> Co-authored-by: Wayne Zhang <shuowang.zhang@ibm.com>
2022-08-01tools: update doc to highlight.js@11.6.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/43870 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-07-31tools: update lint-md-dependencies to rollup@2.77.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/43871 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-07-31tools: update eslint to 8.20.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/43873 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
2022-07-31tools: add script for vulnerability checkingFacundo Tuesca
This change adds a new script that queries vulnerability databases in order to find if any of Node's dependencies is vulnerable. The `deps/` directory of Node's repo is scanned to gather the currently used version of each dependency, and if any vulnerability is found for that version a message is printed out with its ID and a link to a description of the issue. Refs: nodejs/security-wg#802 PR-URL: https://github.com/nodejs/node/pull/43362 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2022-07-31tools: remove rpm build scriptsBen Noordhuis
I added these in 2013 but I don't think anyone uses them and I'm not even sure they still produce a working package. I move to remove them because that makes subsequent cleanup a little easier. PR-URL: https://github.com/nodejs/node/pull/43647 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
2022-07-31tools: update lint-md-dependencies to rollup@2.76.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/43749 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2022-07-31tools: refactor `tools/license2rtf` to ESMFeng Yu
This reverts commit 331088f4a450e29f3ea8a28a9f98ccc9f8951386. PR-URL: https://github.com/nodejs/node/pull/43232 Refs: https://github.com/nodejs/node/issues/43213 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Michaël Zasso <targos@protonmail.com>
2022-07-31tools: update eslint to 8.19.0Node.js GitHub Bot
PR-URL: https://github.com/nodejs/node/pull/43662 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
2022-07-31tools: update lint-md-dependenciesNode.js GitHub Bot
Update to @rollup/plugin-commonjs@22.0.1 and rollup@2.75.7. PR-URL: https://github.com/nodejs/node/pull/43572 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2022-07-31tools: fix CJS/ESM toggle on small screensAntoine du Hamel
PR-URL: https://github.com/nodejs/node/pull/43506 Co-authored-by: Moshe Atlow <moshe@atlow.co.il> Fixes: https://github.com/nodejs/node/issues/43468 Reviewed-By: LiviaMedeiros <livia@cirno.name>