24 Pull Requests
nodejs

nodejs/node

Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:
JavaScript
View on GitHub https://nodejs.org
feature
documentation
beginner
good first issue
Contribulator score: 44 Last scored 2023-11-07 14:34:13 UTC
Contributors (35)
  • a0viedo
  • aprilwebster
  • bmeck
  • calvinmetcalf
  • chasestarr
  • devsnek
  • emanuelbuholzer
  • fossamagna
  • indutny
  • jasnell
  • jonahsnider
  • julianduque
  • Leko
  • LEQADA
  • ljharb
  • maclover7
  • mbarinov
  • mcollina
  • outsideris
  • pimterry
  • romankl
  • samshull
  • seishun
  • shobhitchittora
  • sk9331657
  • styfle
  • sup
  • thefourtheye
  • TimeForJakob
  • tomgco
  • Trott
  • vdemedes
  • WesTyler
  • Xavier-J-Ortiz
  • ZYSzys

Pull requests (258)

Trott

benchmark: make temp file path configurable to nodejs/node 2017-12-21 23:08:06 UTC

In three fs benchmarks, a temp file is created in the source tree. For
tests, allow the location to be configurable so it gets written to the
test temp directory instead.

Additionally, shave about a second off the test running time …

Trott

test: do not open fixture files for writing to nodejs/node 2017-12-21 22:52:51 UTC

Use temp directory for open with O_DSYNC (which indicates a write may
occur) rather than fixtures directory. Additionally, test can be run
on macOS so allow that in addition to Linux.

<!–
Thank you for your pull request. Pleas…

Trott

test: do not open fixture files for writing to nodejs/node 2017-12-21 22:45:14 UTC

test-fs-fsync makes a copy of a fixture file, but then doesn't do
anything with it and instead operates on the original fixture file. This
appears to be in error, and this change fixes that.

<!–
Thank you for your pull request. Pl…

seishun

build,win: replace find-python subroutine with PYTHON variable to nodejs/node 2017-12-21 12:17:23 UTC

A subroutine does not work as a replacement for the python command
since one cannot use a subroutine call in a for /F loop.

Similarly to https://github.com/nodejs/node/pull/17298 and https://github.com/nodejs/node/pull/17015, thi…

Trott

test: refactor test-repl-definecommand to nodejs/node 2017-12-20 20:37:56 UTC

The test was writing to both REPL input and output but only checking
output. Sending output to both streams seems like it was an error.

/cc @bmeck
<!–
Thank you for your pull request. Please provide a description above and review…

Trott

test: fix typo in test-inspector-cluster-port-clash.js to nodejs/node 2017-12-20 06:31:43 UTC

<!–
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/no…

Trott

Remove uncommon functions from common module to nodejs/node 2017-12-20 06:29:27 UTC

In an effort to make the common module slightly less of a monolith and junk drawer, and to reduce the needed parsing/loading of some function from around 2000 times per test run to just 1, this PR removes functions that are only used o…

Trott

[v6.x backport] test: remove hidden use of common.PORT in parallel tests to nodejs/node 2017-12-20 00:47:18 UTC

Backport of https://github.com/nodejs/node/pull/17466

common.hasMultiLocalhost() uses common.PORT under the hood. This is
problematic in parallel tests because another test using port 0 to
get an arbitrary open port may end up getti…

Trott

[8.x backport] test: remove common.fixturesDir to nodejs/node 2017-12-20 00:41:43 UTC

Backport of https://github.com/nodejs/node/pull/17400

Remove common.fixturesDir. All tests now use the the common/fixtures
module instead.

<!–
Thank you for your pull request. Please provide a description above and review
the…

Trott

[v6.x backport] test,doc: do not indicate that non-functions "return" values to nodejs/node 2017-12-20 00:27:26 UTC

Backport of https://github.com/nodejs/node/pull/17267

Update documentation for test common module so that properties that
are not functions do not specify a return type and functions that do
return values specify the type.

PR-U…

Trott

[v8.x backport] test,doc: do not indicate that non-functions "return" values to nodejs/node 2017-12-20 00:14:42 UTC

Update documentation for test common module so that properties that
are not functions do not specify a return type and functions that do
return values specify the type.

PR-URL: https://github.com/nodejs/node/pull/17267
Reviewed-B…

Trott

[v8.x backport] doc: make error descriptions more concise to nodejs/node 2017-12-19 23:14:24 UTC

Backport of https://github.com/nodejs/node/pull/16954

Remove the practice of starting most error descriptions with "Used when"
or wordier variations.

Change errors of the form:

> Used when the type of an asynchronous resource i…

Trott

[v8.x backport] prepare for markdown linting for prohibited strings to nodejs/node 2017-12-19 22:46:34 UTC

Backport of https://github.com/nodejs/node/pull/17163

<!–
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests and possibly benchm…

Xavier-J-Ortiz

tls: comment about old-style errors to nodejs/node 2017-12-19 16:32:49 UTC

Old style errors are being migrated to internal/errors.js, however, due to depreciation of _tls_legacy.js, it isn't worth the effort to migrate and potentially force users to update their code for this error change.

<!–
Thank you fo…

mcollina

stream: added experimental support for for-await to nodejs/node 2017-12-19 12:36:12 UTC

Adds support for Symbol.asyncIterator into the Readable class.

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

Checklist

<!– Remove items that do not apply. For completed items, change [ ] to [x]. –>

  • `make -j4 …
maclover7

doc: remove unused link definition to nodejs/node 2017-12-18 21:04:16 UTC

Causing the linter job to fail on CI right now.

Checklist
  • x] make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows [commit guidelines](https://gith…
Leko

Add test cases to improve internal/crypto/pbkdf2.js to nodejs/node 2017-12-18 07:55:09 UTC

I added these tests

  • Add a test of _pbkdf2 where keylen is not a number
  • Add a test of _pbkdf2 where iterations < 0

Current coverage is here: https://coverage.nodejs.org/coverage-1fa59b4c7e575ca7/root/internal/crypto/diffiehellm…

Leko

Add tests to improve internal/crypto/diffiehellman.js to nodejs/node 2017-12-18 06:55:29 UTC

I added these tests

  • Call crypto.ECDH without new keyword
  • Call crypto.DiffieHellmanGroup without new keyword
  • Call crypto.DiffieHellman without new keyword

Current coverage is here: https://coverage.nodejs.org/coverage-1fa59b…

Trott

doc: fix typo in child_process.md to nodejs/node 2017-12-18 04:23:54 UTC

<!–
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/no…

styfle

lib: migrate errors to internal/errors to nodejs/node 2017-12-17 19:59:50 UTC

Refs: https://github.com/nodejs/node/issues/17709

cc @jasnell @joyeecheung

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is chan…
shobhitchittora

tools: auto fix custom eslint rule for lowercase-name-for-primitive.js to nodejs/node 2017-12-17 10:45:13 UTC

Refs: #16636

Checklist

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
  • modify tests

Affected core subsystem(s)

Tools

Trott

doc: edit CONTRIBUTING.md preamble to nodejs/node 2017-12-15 15:48:02 UTC

Make the preamble to CONTRIBUTING.md more concise and focused.

<!–
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests and possib…

Trott

test: fix flaky test-benchmark-misc to nodejs/node 2017-12-14 18:59:16 UTC

Allow zero results for short benchmark test.

<!–
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

…

maclover7

Extract out fs validation functions to nodejs/node 2017-12-14 14:27:26 UTC

Many different validations are repeated within fs.js, so I extracted them out to separate functions to try and DRY up the code and avoid duplicating them.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) …
aprilwebster

doc: change eventName type annotations to nodejs/node 2017-12-13 23:20:33 UTC

Change type annotations for eventName in events API doc from {any} to
{string|symbol} to be consistent with doc changes made in #17440.

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

Checklist
  • documentation is cha…
« First ‹ Prev 1 2 3 4 5 6 7 8 9 … Next › Last »
  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!