Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/electron/node

Node fork to make it suitable for embedding in Electron
https://github.com/electron/node

build: fix openssl link error on windows

This commit attempts to fix an issue when building on windows using the
following command line o...

1cde37576392f16c8652cde62804c248c77f70fb authored over 7 years ago by Daniel Bevenius <[email protected]>
async_wrap,src: promise hook integration

This change provides unified tracking of asynchronous promise lifecycles
for both domains and as...

920278bd3764e11cbd5dfdd70e76a75f2c976e16 authored over 7 years ago by Matt Loring <[email protected]>
async_hooks: only set up hooks if used

PR-URL: https://github.com/nodejs/node/pull/13177
Reviewed-By: James M Snell <[email protected]>...

410b1417648b5273fe80f4d910c6bbd198a00a2d authored over 7 years ago by Anna Henningsen <[email protected]>
src: allow --tls-cipher-list in NODE_OPTIONS

PR-URL: https://github.com/nodejs/node/pull/13172
Reviewed-By: Colin Ihrig <[email protected]>
R...

b659385791681fe8375d3c2ba9c6136d3e19f328 authored over 7 years ago by Sam Roberts <[email protected]>
deps: backport 6d38f89d from upstream V8

Original commit message:
[turbofan] Boost performance of Array.prototype.shift by 4x.

For s...

e51a20160923a54b796b1955fcb8e00194b4c240 authored over 7 years ago by Ali Ijaz Sheikh <[email protected]>
test: cover util.format() format placeholders

This commit adds coverage for several edge cases related to
util.format() format string placehol...

0903dcf80cbe7c9e3566a6f104cda895e106949a authored over 7 years ago by cjihrig <[email protected]>
test: add override to ServerDone function

Currently the following compiler warning is displayed when building:

../test/cctest/test_insp...

25ade76fb01258d8a789a9cd893b284542827efd authored over 7 years ago by Daniel Bevenius <[email protected]>
stream: remove dup property

PR-URL: https://github.com/nodejs/node/pull/13216
Reviewed-By: Colin Ihrig <[email protected]>
R...

155687cb7ee23d7777d1072c4c2956564bff8ac4 authored over 7 years ago by Calvin Metcalf <[email protected]>
test: refactor test-dns

* track callback invocations with common.mustCall() and
common.mustNotCall()
* remove test in ...

235cbbe4d8087ebd62dd9271a4d585458ffed45a authored over 7 years ago by Rich Trott <[email protected]>
test: fix disabled test-fs-largefile

Add `common.refreshTmpDir()` before using the tmp directory.

fs.writeSync no longer requires an...

bbf74fb87b2f8273e1d93e949f9c840b12ce4805 authored over 7 years ago by Rich Trott <[email protected]>
inspector: document bad usage for --inspect-port

Document --inspect-port, and fix the reporting for when it is misused.

The option requires an a...

3954ea9f41b187915c4812ff6f360276bc94028c authored over 7 years ago by Sam Roberts <[email protected]>
doc: add jasongin & kunalspathak to collaborators

PR-URL: https://github.com/nodejs/node/pull/13200
Reviewed-By: Anna Henningsen <[email protected]...

f5df94bf78edbf71a2fae98b8ca1ba7eb0597d9b authored over 7 years ago by Jason Ginchereau <[email protected]>
src: correct endif comment SRC_NODE_API_H__

Really minor but I could not find an open PR for anything n-api where
this could be changed, so ...

260cd411d4ec3ff0305852ea9dbdd561d015e2c0 authored over 7 years ago by Daniel Bevenius <[email protected]>
stream: add final method

Adds the ability to for write streams to have an _final method which acts
similarly to the _flus...

ba513d140c22d373ec8828e18ee85e93a7954dc8 authored over 7 years ago by Calvin Metcalf <[email protected]>
dgram: convert to using internal/errors

Covert lib/dgram.js over to using lib/internal/errors.js
for generating Errors. See
[using-inter...

e912c67d24ba42eeb47431a2b163f7f8a8532c78 authored over 7 years ago by Michael Dawson <[email protected]>
test: move stream2 test from pummel to parallel

test-stream2-basic runs in a few seconds. It can be moved to parallel.

PR-URL: https://github.c...

1aad4ba2841120d04661681cd7a60b7124912d42 authored over 7 years ago by Rich Trott <[email protected]>
test: simplify assert usage in test-stream2-basic

PR-URL: https://github.com/nodejs/node/pull/13146
Reviewed-By: Refael Ackermann <[email protected]...

7bb9fd203522cb37424629dad777f966a81dd03d authored over 7 years ago by Rich Trott <[email protected]>
test: check noop function invocations

In test/pummel/test-stream2-basic.js, check that noop functions are
called the expected number o...

bbd39c359f8a645687a001cf96f9d606240855b5 authored over 7 years ago by Rich Trott <[email protected]>
stream: fix destroy(err, cb) regression

Fixed a regression that caused the callback passed to destroy()
to not be called if the stream w...

ccd3eadbd7dae3a23d43bf490fa9d3019324370e authored over 7 years ago by Matteo Collina <[email protected]>
doc: don't use useless constructors in stream.md

PR-URL: https://github.com/nodejs/node/pull/13145
Refs: http://eslint.org/docs/rules/no-useless-...

6af72d4b037eba38d94395f57a03a498a2efef09 authored over 7 years ago by Vse Mozhet Byt <[email protected]>
doc: update code example for Windows in stream.md

PR-URL: https://github.com/nodejs/node/pull/13138
Reviewed-By: Anna Henningsen <[email protected]...

9278ce202ac6d188faeff514b67f4646786efc58 authored over 7 years ago by Vse Mozhet Byt <[email protected]>
doc: improve formatting of STYLE_GUIDE.md

* Wrap text at 80 characters.
* Use periods consistently.

PR-URL: https://github.com/nodejs/nod...

eebc2622781d62125cd37a1c5ad06f26ba0a117f authored over 7 years ago by Alexey Orlenko <[email protected]>
doc: fix incorrect keyboard shortcut

This commit fixes an incorrect keyboard shortcut in
`doc/STYLE_GUIDE.md`: entering em-dashes is ...

ef56d47f509cfe727db3fa3c842e2c66b916489d authored over 7 years ago by Alexey Orlenko <[email protected]>
test: confirm callback is invoked in fs test

Use common.mustCall() in test-fs-makeStatsCallback to confirm that the
callback is invoked.

PR-...

7c12d12ecf7fb4f0e22bc45690e123d827a0820d authored over 7 years ago by Rich Trott <[email protected]>
test: check number of message events

When a no-op message event handler is used in a test, make it clear what
is expected by using `c...

b5b6f5d6a9a5402e55f5080928d740e12e7295a4 authored over 7 years ago by Rich Trott <[email protected]>
test: increase n-api constructor coverage

Add tests to validate that properties marked as static
are available through the class as oppose...

47919b3b6f1592ce80ec3c07b0eaea64c1d7e4dc authored over 7 years ago by Michael Dawson <[email protected]>
doc: fix title/function name mismatch

Fix mismatch in title for napi_get_value_string_utf16

Fixes: https://github.com/nodejs/abi-stab...

f3ef9719b5c18775fcfdb12dd62aaeef8caeb94a authored over 7 years ago by Michael Dawson <[email protected]>
vm: fix race condition with timeout param

This fixes a race condition in the watchdog timer used for vm timeouts.
The condition would term...

e018c331114c5a8e73e374cb493730e7dcc9bc91 authored over 7 years ago by Marcel Laverdet <[email protected]>
vm: fix displayErrors in runIn.. functions

This option has been broken for almost a year when used with any of the
vm.runIn.. family of fun...

3c5bfba28bc9ed244daed7e8f8234b9a4529be85 authored over 7 years ago by Marcel Laverdet <[email protected]>
src: redirect-warnings to file, not path

Use `file` as name of the argument, as the CLI documentation does.

PR-URL: https://github.com/n...

a886b17bfb48147fa2007b9968e9dce706a408a2 authored over 7 years ago by Sam Roberts <[email protected]>
doc: link to `common` docs in test writing guide

PR-URL: https://github.com/nodejs/node/pull/13118
Reviewed-By: Refael Ackermann <[email protected]...

02bf16e5aef7758900cdee51f96273c2de2b5bdf authored over 7 years ago by Anna Henningsen <[email protected]>
stream: improve readable push performance

PR-URL: https://github.com/nodejs/node/pull/13113
Reviewed-By: James M Snell <[email protected]>...

359ea2a0bd772beb25267478d4f8e3ed59021e19 authored over 7 years ago by Brian White <[email protected]>
cmd: support dash as stdin alias

PR-URL: https://github.com/nodejs/node/pull/13012
Reviewed-By: Jeremiah Senkpiel <fishrock123@ro...

594b5d7b8970a68d9cd66f629cf1862cfca68412 authored over 7 years ago by Ebrahim Byagowi <[email protected]>
build: avoid /docs/api and /docs/doc/api upload

Fixes: https://github.com/nodejs/node/issues/12833
PR-URL: https://github.com/nodejs/node/pull/1...

7a1dc1fba30eb6e883235d98aac144b39b97cf1b authored over 7 years ago by Rod Vagg <[email protected]>
crypto: remove unnecessary template class

I came across this template class but I don't understand why it is
there. It is not used in the ...

4f4184c10b90a4979424c72a568cf517de651396 authored over 7 years ago by Daniel Bevenius <[email protected]>
Revert "net: remove unnecessary process.nextTick()"

This reverts commit 571882c5a45872ac67e4e29513c4c8f23af9f781.

Removing the process.nextTick() c...

ba0dbaa1930db93a9e988ce1a525c8b2054a2970 authored over 7 years ago by Evan Lucas <[email protected]>
test: add regression test for immediate socket errors

This test ensures that a http client request with the default agent
that has a socket that is im...

2cf4882136b2c17c37aeb7b793a3040e64936b9f authored over 7 years ago by Evan Lucas <[email protected]>
inspector: JavaScript bindings for the inspector

PR-URL: https://github.com/nodejs/node/pull/12263
Reviewed-By: Anna Henningsen <[email protected]...

60390cd7fb674865d9c8af89d5a2fecdae1c7ec0 authored over 7 years ago by Eugene Ostroukhov <[email protected]>
deps: upgrade npm beta to 5.0.0-beta.56

PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <[email protected]>

c0d858f8bb8ba5212548da2fba6a7bc02db0462b authored over 7 years ago by Kat Marchán <[email protected]>
tools: update test-npm.sh paths

PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <[email protected]>

994617370e8e66f3ea9488fec32fd912e7902396 authored over 7 years ago by Kat Marchán <[email protected]>
errors: AssertionError moved to internal/error

AssertionError class is moved to interna/error
in reference to the TODO in assert.js. This was
s...

425aba4f3630ca06e08c55a14de3e7a553e3c34d authored over 7 years ago by Faiz Halde <[email protected]>
lib: lazy instantiation of fs.Stats dates

The method used has code duplication but is the most performant

PR-URL: https://github.com/node...

9836cf571708a82396218957cacb3ed1ed468d05 authored over 7 years ago by Daniel Pihlstrom <[email protected]>
test: add hasCrypto check to async-wrap-GH13045

This test currently fails if node was configured --without-ssl. This
commit adds crypto check an...

485be99e684f5e296c2aba28a401d5ef42fc3cb4 authored over 7 years ago by Daniel Bevenius <[email protected]>
http: fix IPv6 Host header check

PR-URL: https://github.com/nodejs/node/pull/13122
Reviewed-By: James M Snell <[email protected]>...

3774c99f668173175c35f64c92499c93277df5f2 authored over 7 years ago by Brian White <[email protected]>
http,https: avoid instanceof for WHATWG URL

PR-URL: https://github.com/nodejs/node/pull/12983
Reviewed-By: Colin Ihrig <[email protected]>
R...

ed365653f6eb74d58a1d2a1c1bdb20e4baf67fa0 authored over 7 years ago by Brian White <[email protected]>
src: fix typo

PR-URL: https://github.com/nodejs/node/pull/13085
Reviewed-By: Anna Henningsen <[email protected]...

dcc59f91c68e2bedd489aab4499ef8637c5ae419 authored over 7 years ago by Brian White <[email protected]>
src: remove unused parameters

PR-URL: https://github.com/nodejs/node/pull/13085
Reviewed-By: Anna Henningsen <[email protected]...

f529706eb0bb5dcc2222b4cf6eaa313fd14d4968 authored over 7 years ago by Brian White <[email protected]>
doc: list macOS as supporting filename argument

also added regression tests

PR-URL: https://github.com/nodejs/node/pull/13111
Fixes: https://gi...

c470f04f22eb34cf50a65b384f59d60209b1bf1d authored over 7 years ago by Chris Young <[email protected]>
inspector: fix process._debugEnd() for inspector

This change ensures that the WebSocket server can be stopped
(and restarted if needed) buy calli...

5c26378cb775526fbd71b91c2f9ad5e5fcee9d3e authored over 7 years ago by Eugene Ostroukhov <[email protected]>
test: fix sequential test-net-connect-local-error

Fixed sequential test-net-connect-local-error by swapping port
and localPort in net.connect opti...

3429c90f42c00ba3657f7c8d288843c5062a4bb5 authored over 7 years ago by Sebastian Plesciuc <[email protected]>
src: assert that uv_async_init() succeeds

This commit fixes two coverity warnings for unchecked
return values.

Refs: https://github.com/n...

06f62eb384f4f823bd224165c224da08d7dec0ab authored over 7 years ago by cjihrig <[email protected]>
stream: improve multiple callback error message

When a transform stream's callback is called more than once,
an error is emitted with a somewhat...

f8c617dbe2690735511d5e8d4e73138458d808cb authored over 7 years ago by cjihrig <[email protected]>
test: remove common.PORT from dgram test

Remove common.PORT from
test-dgram-send-callback-buffer-length-empty-address to eliminate
possib...

ad4765a32641277a91efb565e2056abaa6b6a70b authored over 7 years ago by Artur Vieira <[email protected]>
test: bind to 0 in dgram-send-callback-buffer-length

Remove common.PORT from test-dgram-send-callback-buffer-length to
eliminate possibility that a d...

dd3c22779690d2f1449d7989c8173d59c650746a authored over 7 years ago by Artur Vieira <[email protected]>
test: use dynamic port in test-dgram-send-address-types

Remove common.PORT from test-dgram-send-address-types to eliminate
possibility that a dynamic po...

281de19a8c551b7da4f7e6d6d7393e797e945962 authored over 7 years ago by Artur Vieira <[email protected]>
test: use dynamic port in test-dgram-send-callback-buffer

Replace common.PORT with available port assigned by the operating
system in test-dgram-send-call...

e00116d2c495d35d8e5115b99e6def60da4a6ebd authored over 7 years ago by Artur Vieira <[email protected]>
test: replace common.PORT in dgram test

Replace common.PORT with available port assigned by the operating
system in test-dgram-send-call...

4c847347c3e8dd3198be2d2d71728521a1f42281 authored over 7 years ago by Artur Vieira <[email protected]>
stream: add destroy and _destroy methods.

Adds destroy() and _destroy() methods to Readable, Writable, Duplex
and Transform. It also stand...

330c8d743e33a83f85389ea8a64e3d3854ea0048 authored over 7 years ago by Matteo Collina <[email protected]>
src: remove unnecessary forward declaration

I can't see that the forward declaration of class Connection is needed
and wanted to raise this ...

d54ec726cc9d0d293e61dc0dba61a09429e4cbaf authored over 7 years ago by Daniel Bevenius <[email protected]>
src: check IsConstructCall in TLSWrap constructor

Currently it is possible to call TLSWrap() without using new and the
following error message:
FA...

57f38c6732db71a6145cc5bbfec884f47bb17e16 authored over 7 years ago by Daniel Bevenius <[email protected]>
src: remove unnecessary return statement

I think the code would be a little clearer if the return statement
was removed here since End() ...

762b0358b3f5de55a74fe40403964774f80ad33d authored over 7 years ago by Daniel Bevenius <[email protected]>
src: remove unused node_buffer.h include

I can't find any usage of Buffer in this file and think the include
can be removed.

PR-URL: htt...

7a15eefbba113cd0df99b420de1718aa7a01afa8 authored over 7 years ago by Daniel Bevenius <[email protected]>
test: allow for absent nobody user in setuid test

Some isolated build or test VMs don't have a "nobody" user, causing the
parallel/test-process-se...

8e47600aabf7a9f953f269037014b1257a474095 authored over 7 years ago by Rich Trott <[email protected]>
benchmark: allow no duration in benchmark tests

Imprecision in process.hrtime() in some situations can result in a zero
duration being used as a...

c3067b56403f73ed4a285b7b21d4a30db65cf479 authored over 7 years ago by Rich Trott <[email protected]>
test: shorten test-benchmark-http

Add `--set key=""` to cut down the time it takes to run
test-benchmark-http by about a third.

A...

171a43a98685d5cca6710d2d6bf4d20008de3426 authored over 7 years ago by Rich Trott <[email protected]>
zlib: fix node crashing on invalid options

This commit fixes the Node process crashing when constructors of classes
of the zlib module are ...

9e4660b5187d4be6a1484e705dc735c0e76ffafa authored over 7 years ago by Alexey Orlenko <[email protected]>
async_hooks: add constructor check to async-hooks

This fixes the async_hooks.AsyncHook constructor such that it throws an
error when provided with...

6fb27af70a5e7f4eb074352aed578d349c81ceac authored over 7 years ago by Shadowbeetle <[email protected]>
doc: edit Error.captureStackTrace html comment

Edit to the comment in the stack trace capture, highlighting the use of
the constructorOpt argum...

ef718247406b3e890f58efb09e690a7c03fbaab9 authored over 7 years ago by Artur Vieira <[email protected]>
dns: fix `resolve` failed starts without network

Fix the bug that you start process without network at first, but it
connected lately, `dns.resol...

2b541471dbec18dd15bee5d0cc46d39ca708f5dc authored over 7 years ago by XadillaX <[email protected]>
test: port disabled readline test

Port the disabled readline test to make it runnable in our usual test
suite.

PR-URL: https://gi...

595e5e3b23a2c41a4abf01b0084b64f524a58a6a authored over 7 years ago by Rich Trott <[email protected]>
doc: remove unused/duplicated reference links

PR-URL: https://github.com/nodejs/node/pull/13066
Reviewed-By: Luigi Pinca <[email protected]...

bfade5aacd639fbac920647bf1ca4a6fb6df9e0d authored over 7 years ago by Daijiro Wachi <[email protected]>
fs: Revert throw on invalid callbacks

This reverts 4cb5f3daa350421e4eb4622dc818633d3a0659b3

Based on community feedback I think we sh...

8250bfd1e5188d5dada58aedf7a991e959d5eaa9 authored over 7 years ago by Myles Borins <[email protected]>
test: move net reconnect error test to sequential

The usage of common.PORT could cause undesired port collisions when run
in parallel. The followi...

c60a7fa7383a983a0348e8876fdd84b04c353436 authored over 7 years ago by Artur G Vieira <[email protected]>
url: update IDNA error conditions

This commit contains three separate changes:

- Always return a string from ToUnicode no matter ...

06a617aa21c434b5e607370e7ee0051d506a4793 authored over 7 years ago by Rajaram Gaunker <[email protected]>
url: fix C0 control and whitespace handling

PR-URL: https://github.com/nodejs/node/pull/12846
Fixes: https://github.com/nodejs/node/issues/1...

841bb4c61f07a5c2bf818a3b985ea0f88257210e authored over 7 years ago by Timothy Gu <[email protected]>
test: refactor test-net-GH-5504

* Improve comments describing test.
* Remove unnecessary `common.noop`
* Remove confusing scopin...

525497596a51ef2e6653b930ca525046d27c9fd5 authored over 7 years ago by Rich Trott <[email protected]>
test: refactor test-https-set-timeout-server

* Add common.mustCall() for error handlers.
* Alphabetize modules

PR-URL: https://github.com/no...

658741b9d9255c5e18fafa76f3a70876153c8d59 authored over 7 years ago by Rich Trott <[email protected]>
async_wrap: add `asyncReset` to `TLSWrap`

When using an Agent for HTTPS, `TLSSocket`s are reused and need to
have the ability to `asyncRes...

6bfdeedce5529810dbe7c61bd712fc50174a19f1 authored over 7 years ago by Refael Ackermann <[email protected]>
doc: add reference to node_api.h in docs

Realized that we don't actually point people to the file to
include in order to access N-API fun...

4a7b7e8097fcd43bd1823050607270530d05541b authored over 7 years ago by Michael Dawson <[email protected]>
n-api: Retain last code when getting error info

Unlike most N-API functions, `napi_get_last_error_info()` should not
clear the last error code w...

a63b245b0a0d15e9a494b3a4602031bfc6a51ff8 authored over 7 years ago by Jason Ginchereau <[email protected]>
doc: add additional useful ci job to list

PR-URL: https://github.com/nodejs/node/pull/13086
Reviewed-By: Gibson Fahnestock <gibfahn@gmail....

3702ae732eadd9d7c64681edcdd76cd7a30f6381 authored over 7 years ago by Michael Dawson <[email protected]>
test: add mustCallAtLeast

PR-URL: https://github.com/nodejs/node/pull/12935
Reviewed-By: Anna Henningsen <[email protected]...

fccc0bf6e68981f6225315875524e1a0b56fcc20 authored over 7 years ago by Refael Ackermann <[email protected]>
src: check if --icu-data-dir= points to valid dir

Call uc_init() after u_setDataDirectory() to find out if the data
directory is actually valid.

...

46e773c5db9ebc106823594b82f4ff14a0a004f3 authored over 7 years ago by Ben Noordhuis <[email protected]>
test: ignore spurious 'EMFILE'

According to the explanation in #3635#issuecomment-157714683
And as a continuation to #5422 we a...

6f216710eb49436f0c372fbaf6da3e65ba9578c2 authored over 7 years ago by Refael Ackermann <[email protected]>
net: add symbol to normalized connect() args

This commit attaches a Symbol to the result of
net._normalizeArgs(). This prevents normal arrays...

51664fc265bf4ce9757f18b7b78f18b34678b3e3 authored over 7 years ago by cjihrig <[email protected]>
test: use dynamic port in test-cluster-dgram-reuse

Remove common.PORT from test-cluster-dgram-reuse to eliminate
possibility that a dynamic port us...

6b1819cff59c674d03f0afca80f33369b36b3926 authored over 7 years ago by Artur Vieira <[email protected]>
doc: don't suggest setEncoding for binary streams

Removed an incorrect reference to the use of setEncoding(null) as the
proper way to handling bin...

847688018cb166eea7bfff9a9044a7295c17d5d8 authored over 7 years ago by Rick Bullotta <[email protected]>
doc: update doc of publicEncrypt method

As per https://github.com/nodejs/node/issues/12946
the crypto doc for publicEncrypt doesn't tell...

eff9252181abe6ebd19252af652f29581711e665 authored over 7 years ago by Faiz Halde <[email protected]>
doc: update doc to remove usage of "you"

As per style guide avoid the use of you, your etc.
Rational as per: http://www2.ivcc.edu/rambo/t...

ab34f9dec200490c935c179f0f3244c3fa38cc88 authored over 7 years ago by Michael Dawson <[email protected]>
test: refactor test-vm-new-script-new-context

Changed the second parameter of assert.throws to match the errors.

PR-URL: https://github.com/n...

a593c74f811c12823053e6b7093466015992e9e6 authored over 7 years ago by Akshay Iyer <[email protected]>
src: split CryptoPemCallback into two functions

Currently the function CryptoPemCallback is used for two things:
1. As a passphrase callback.
2....

29d89c98559df117bdd2d7d943a12344c72ac9fc authored over 7 years ago by Daniel Bevenius <[email protected]>
test: track callback invocations

Use `common.mustCall()` and `common.mustNotCall()` to check that
callbacks are invoked the expec...

7e5ed8bad9b135c710a6623ed34e2c78de3b53de authored over 7 years ago by Rich Trott <[email protected]>
buffer: fix indexOf for empty searches

Make searches for empty subsequences do exactly what
`String.prototype.indexOf()` does.

Fixes: ...

28ddac2ec285b950a17bc42d7c79c329c8573c9e authored over 7 years ago by Anna Henningsen <[email protected]>
dns: fix crash using dns.setServers after resolve4

The callback function in cares_query is synchronous and called before
closed. So dns.setServers ...

5a948f6f64a538dedce969b21cde454600197ded authored over 7 years ago by XadillaX <[email protected]>