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

test: make test-tls-invoke-queued use public API

`parallel/test-tls-invoke-queued` previously used the internal
`_write()` API to hook into the i...

24c71fb47cd772d4b4f8f3d55e5be24ba7a43342 authored about 7 years ago
async_hooks: use typed array stack as fast path

- Communicate the current async stack length through a
typed array field rather than a native ...

83e5215a4e8438a43b9f0002b7a43e2fd2dd37a4 authored about 7 years ago
buffer: optimize readDouble and readFloat methods

Compute the floating point number in JavaScript to avoid having to call
out to the C++ runtime. ...

df30fd586d123fc189887fc0f9c7f27808374c2e authored about 7 years ago
crypto: add ocsp_request ClientHelloParser::Reset

I noticed that ocsp_request is not being reset in
ClientHelloParser::Reset. I've not been able t...

cb3de880beff3cbe5958ce07939d41884f743b17 authored about 7 years ago
test: refactor test-tls-securepair-fiftharg

Assert the server name directly in the `SNICallback`,
since `common.mustCall()` already guarante...

b34367150ef4c92d05f0a6e5a8986f73ca90fd8b authored about 7 years ago
tls: fix SNICallback without .server option

`options.server` only needs to be set when its
contents are actually being inspected.

PR-URL: h...

46510f54bee7cecb565424aeee8beb19b0162079 authored about 7 years ago
perf_hooks: refactor internals

Refactor and simplify the perf_hooks native internals.

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

9e5ccf0313b7167d710e50c511db17ecfcdf416f authored about 7 years ago
http: add rawPacket in err of `clientError` event

The `rawPacket` is the current buffer that just parsed. Adding this
buffer to the error object o...

6c0da349056578d36254d1aed973ddbaa252ce89 authored about 7 years ago
tools: fix AttributeError: __exit__ on Python 2.6

Error occurs while dealing with Tar archives

PR-URL: https://github.com/nodejs/node/pull/17663
...

b0dd43cd6379a77a4e437f6ba1fdda7c0b4b744a authored about 7 years ago
inspector: make Coverity happy

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

c0e9cded1ec9daeec178d536b39acf944f80809c authored about 7 years ago
fs: validate path in fs.exists{Sync}

PR-URL: https://github.com/nodejs/node/pull/17852
Refs: https://github.com/nodejs/node/pull/1766...

71396a200d75b11a71af7caae18d12f3dc461d07 authored about 7 years ago
fs: validate path in fs.readFile

PR-URL: https://github.com/nodejs/node/pull/17852
Refs: https://github.com/nodejs/node/pull/1766...

9ec700b073894ad54432db4c4b540e2b61b45325 authored about 7 years ago
test: reduce scope of variable in common module

arrayBufferViews is used by only one function so scope it to that
function (in the common module...

03b8ac14e7cb535fc7a82188c666b5a2a38d00bc authored about 7 years ago
timers: make setImmediate() immune to tampering

Make setImmediate() immune to `process` global tampering by removing
the dependency on the `proc...

ad02e0d2415681de7a42c5e841ce737d7ab9d7b3 authored about 7 years ago
console: make .assert standard compliant

The standard does not throw and has no stack trace.
See https://console.spec.whatwg.org/#assert
...

15d880bcb62c628f1e7c3cc7baf659a63b312c7c authored about 7 years ago
doc: use consistent new lines

PR-URL: https://github.com/nodejs/node/pull/17722
Reviewed-By: Jon Moss <[email protected]>
Rev...

6924dac6cef7a0eae661903a17b1d35e22166c27 authored about 7 years ago
doc: use dashes instead of asterisks

PR-URL: https://github.com/nodejs/node/pull/17722
Reviewed-By: Jon Moss <[email protected]>
Rev...

9ca4ab13171f2148a986062ac564161a1f6e124f authored about 7 years ago
doc: update formatting to fit our 80 chars rule

This will also use a proper indentation as a couple of entries
had a extra indentation of two sp...

5c2901391a656a5c3b931590e39a9c182b7aecd3 authored about 7 years ago
doc: update AUTHORS list

PR-URL: https://github.com/nodejs/node/pull/17805
Reviewed-By: Michaël Zasso <targos@protonmail....

183f0724204a76d137c44cf0bf7199724fa531a1 authored about 7 years ago
tools: autofixer for lowercase-name-for-primitive

PR-URL: https://github.com/nodejs/node/pull/17715
Refs: https://github.com/nodejs/node/issues/16...

639770c8d61572576d8b431802b904ff52b037ed authored about 7 years ago
test: remove undefined function

`common.fail()` no longer exists as its functionality is now in
`assert.fail()`. Replace only tw...

8331f571edb27491161589f30e88962dfe436c2c authored about 7 years ago
test: remove ambiguous error messages from test_error

assert.strictEqual accepts 3 arguments, the last of which allows for
user-specified error messag...

094d92bb57207fbc184bf15ef83591416333f1cf authored about 7 years ago
test: fix unreliable async-hooks/test-signalwrap

Use an interval to keep the event loop open so the test does not exit
before receiving all signa...

457ceebabf9f3b82e45bba7c76be595e4d69fe4b authored about 7 years ago
async_hooks: use CHECK instead of throwing error

SetupHooks is only available via `process.binding('async_wrap')`, so
there's no reason it should...

81c2b59609b5a354219acc5cc0f376be5be86cc4 authored about 7 years ago
test: fix flaky test-benchmark-fs

test-benchmark-fs uses common.tmpDir without first insuring it exists by
calling common.refreshT...

c08f0d16e7e4701119e5dac3ac3a859ede3dcc12 authored about 7 years ago
module: print better message on esm import error

Use the same approach as a previous PR to include the offending line in
the output and underline...

359819e76052f456beeefeef9bed4062b6c9e7b0 authored about 7 years ago
benchmark: make temp file path configurable

In three fs benchmarks, a temp file is created in the source tree. For
tests, allow the location...

d610fad39018a7f21904f2f8fa496c21472f05cb authored about 7 years ago
process: refactor nextTick for clarity

Do not share unnecessary information about nextTick state
between JS & C++, instead only track w...

4444b6b9add0a202dec319471630f724a219675c authored about 7 years ago
doc: add starkwang to collaborators

PR-URL: https://github.com/nodejs/node/pull/17847
Reviewed-By: Joyee Cheung <[email protected]...

35d8ef5a85cac82e5acf8c8f50b320d62682cb68 authored about 7 years ago
lib: combine similar error codes

There two similar error codes in lib: "ERR_VALUE_OUT_OF_RANGE"
and "ERR_OUT_OF_RANGE". This chan...

d022cb1bdd20f10483cbe988a950548df2dfd48c authored about 7 years ago
test: use common module API in test-child-process-exec-stdout-stderr-data-string

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

4d74b52979c60391bc369be69a34463eba61f383 authored about 7 years ago
lib, src: use process.config instead of regex

Is safer to use a `process.binding(config)` defined boolean, than to
regex on `process.execArgv`...

1dd9c826e0f6b9d6b4df84486165e5d3aefbc348 authored about 7 years ago
doc: mark DEP0002 as end of life

The deprecated module was removed via
84a23391f60c0cbde8f78fd805b6fdef6861285f.

PR-URL: https:/...

210c761d83d29a712afea392163cff719f237a7a authored about 7 years ago
net: migrate errors to internal/errors

Throw ERR_SOCKET_CLOSED and ERR_SERVER_NOT_RUNNING
instead of the old-style errors in net.js.

P...

b98aaa312ebecd45dfe3f1a557860d1cce4028bf authored about 7 years ago
fs: migrate errors to internal/errors

Throw ERR_INVALID_ARG_TYPE when validating arguments passed to
WriteStream.prototype._write.

Re...

8599465d33b16b12da844f115fd10f9af4ad530f authored about 7 years ago
doc: require CI status indicator in PRs

Commits are often landed despite failing on one or more CI platforms.
Having a CI status indicat...

ae2bed993884573f88da906d435c992e445c3834 authored about 7 years ago
tls: migrate errors in _tls_wrap.js

This migrates the old style error in _tls_wrap.js to
the new style error ERR_TLS_RENEGOTIATION_D...

79261f3003719264bc03f6a5b54cf9eddbc8b48e authored about 7 years ago
doc: use american spelling as per style guide

PR-URL: https://github.com/nodejs/node/pull/17818
Reviewed-By: Rich Trott <[email protected]>
Rev...

0b7889582428b3cf1ea0ee48768854a2ca63478c authored about 7 years ago
vm: allow modifying context name in inspector

The `auxData` field is not exposed to JavaScript, as DevTools uses it
for its `isDefault` parame...

2cb21451627a24be2bdeaee276d47ff94b15539e authored about 7 years ago
test: do not open fixture files for writing

Use temp directory for open with `O_DSYNC` (which indicates a write may
occur) rather than `fixt...

c339931d8b3dbf3fb2a4fa4164bbf585759831c0 authored about 7 years ago
tools: fix man pages linking regex

The change to word boundary was breaking many doc pages. This reverts
the word boundary back to ...

66e6affb428efdfc8de1db4bd9d6dfd7984ebb44 authored about 7 years ago
doc: fix links in errors.md

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

4d1baf82ae0e3458d0038e0ca02d215740cdb77b authored about 7 years ago
deps: V8: cherry-pick ac0fe8ec from upstream

Original commit message:
[interpreter] Remove TryInstallOptimizedCode

Removes the interrupt...

f454e14b223b87e2fcbefbb8b9398f438d8c12ce authored about 7 years ago
http2: convert Http2Settings to an AsyncWrap

PR-URL: https://github.com/nodejs/node/pull/17763
Refs: https://github.com/nodejs/node/issues/17...

bbaea1236f9a788fcb3f76113dd0c3bae83a551b authored about 7 years ago
fs: move type checking to js

PR-URL: https://github.com/nodejs/node/pull/17667
Reviewed-By: Joyee Cheung <[email protected]...

6100e12667429acad1827b6d918e512e55a7a6a7 authored about 7 years ago
test: do not open fixture files for writing

test-fs-fsync makes a copy of a fixture file, but then doesn't do
anything with it and instead o...

92fc14a4595d460394cad8ad5a091dcc450068a5 authored about 7 years ago
repl: migrate errors to internal/errors

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

ab5a2aba38c7de995d7bb56750ab90c0c7849157 authored about 7 years ago
doc: removed extra explanation in api/buffer.md

PR-URL: https://github.com/nodejs/node/pull/17796
Reviewed-By: Anatoli Papirovski <apapirovski@m...

0b0a4fc8ecdab89074630bd814f26780a4cf9eda authored about 7 years ago
deps: patch V8 to 6.3.292.48

Refs: https://github.com/v8/v8/compare/6.3.292.46...6.3.292.48
PR-URL: https://github.com/nodejs...

b5d415311bc98d9d7c3f0bb0a22250899e33ac77 authored about 7 years ago
crypto: warn on invalid authentication tag length

PR-URL: https://github.com/nodejs/node/pull/17566
Refs: https://github.com/nodejs/node/issues/17...

1a396bbd6b60297bc6132a63ca69743ae1e37850 authored about 7 years ago
test: use valid authentication tag length

Using authentication tags of invalid length does not conform to NIST
standards.

PR-URL: https:/...

e56553451045674bf2d5d70da7b32314551f5f6f authored about 7 years ago
doc: improve module.builtinModules documentation

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

f4ab20412f459cfbfaacf14bbd5235bca13e4c57 authored about 7 years ago
tls: comment about old-style errors

Old style errors are being migrated to internal/errors.js, however, due
to depreciation of _tls_...

4dc930147eb58ab889f5788ae6977d0dbc1c2dbc authored about 7 years ago
test: improve flaky test-listen-fd-ebadf.js

Find an invalid file descriptor rather than assuming 42 will be invalid.

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

1d8789188fa156d5eb75c155f6c648c2bd96b842 authored about 7 years ago
test: refactor test-repl-definecommand

The test was writing to both REPL input and output but only checking
output. Sending output to b...

c90b10d9f2ddc6f9b57036d51d7b0d67df92389a authored about 7 years ago
src: remove redundant `JSStream::DoAfterWrite`

`Finish<WriteWrap>` already does the same thing and is
called immediately afterwards anyway.

PR...

901e9a1983e30cd3913378b80be85f703be5fbc6 authored about 7 years ago
test: fix buggy getTTYfd() implementation

PR-URL: https://github.com/nodejs/node/pull/17781
Ref: https://github.com/nodejs/node/pull/17781...

1af82f3d0e13a175c424017565189fffb2f49e83 authored about 7 years ago
test: move firstInvalidFD() out of common module

common.firstInvalidFD() is used in only one test. Move it out of the
common module and into the ...

40bab30067aaa464a03150529f652b853f58b024 authored about 7 years ago
test: remove getTTYfd() from common module

common.getTTYfd() is used in one test only. Move it's definition to that
test and out of the com...

ddf3655f2bd2199fa187c56c0bcee419b5a1e1f0 authored about 7 years ago
test: remove common.projectDir

common.projectDir is used in one test, so it's not so common. Remove
from common module to the o...

fc8e8215f659043bd91c398a516a727e3d662f1b authored about 7 years ago
doc: warn about using util.inspect/util.format

Because of the potential performance bottlenecks that may be introduced
by `util.inspect()` and ...

a4f44acd6962e470006c75774f4f0b22325a9bbb authored about 7 years ago
doc: instructions on how to make membership public

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

7a0f774bb5086dddcc36f2c3987ee602d7c9bf74 authored about 7 years ago
doc: improve fs api descriptions

This improves the api descriptions for fs.chown, fs.chmod, and fs.mkdir
along with their *Sync c...

35511c8ba11afb122c2b0ecfa7e8d7b70f295f93 authored about 7 years ago
test: refactor test-net-connect-buffer

- Use arrow functions, `common.mustCall()`
- Remove redundant `console.log()`s/turn them into as...

7352bf2f7c12f716eec2eeeb04891ea0d750e3ed authored about 7 years ago
test: increase diffie-hellman test coverage

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

410ce2164ece66a6b8467e0c0bf541c095c6ac50 authored about 7 years ago
deps: cherry-pick 50f7455 from upstream V8

Original commit message:

[inspector] added Runtime.globalLexicalScopeNames method

The ...

d1d6b54b698f964ae030414472db34ea45aecb39 authored about 7 years ago
repl: show lexically scoped vars in tab completion

Use the V8 inspector protocol, if available, to query the list of
lexically scoped variables (de...

416c0ec95267b4dd9d442bd624f5a7f64be76f2e authored about 7 years ago
test: increase pbkdf2 test coverage

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

d50e1a291694ee96890c1734e7ed9b0295d5262c authored about 7 years ago
net: remove ADDRCONFIG DNS hint on Windows

On Windows setting ADDRCONFIG causes localhost resolution to fail if there are
no network connec...

a3497b3e92a43905baaea38839bae0282d7ad535 authored about 7 years ago
util: fix custom inspect description

Using a custom inspect function on the inspected object is
deprecated. Remove the reference from...

439c18578bde4ff6380ca5ccf26a43996a6e1d32 authored about 7 years ago
util: rename util.inspect argument

util.inspect can actually receive any property and the description
was wrong so far. This fixes ...

353cc3d35af010e0593ef9977d9b451a5c295965 authored about 7 years ago
util: add util.inspect compact option

The current default formatting is not ideal and this improves
the situation by formatting the ou...

c2203cb4dd240a6644177f04d0b40f40090b4c33 authored about 7 years ago
assert: .throws accept objects

From now on it is possible to use a validation object in throws
instead of the other possibilite...

2d374916ebbaaa83aaf68577b75d41c6bb6ca9b8 authored about 7 years ago
http2: use session kUpdateTimer from kUpdateTimer

Reduces duplicated logic.

PR-URL: https://github.com/nodejs/node/pull/17704
Reviewed-By: Anna H...

fc61ee32fedd5d0bd9bc1dee2b87a41dd7ffa4dd authored about 7 years ago
http2: use actual Timeout instances

This makes `Http2Stream`s and `Http2Session`s use actual Timeout
objects in a [kTimeout] symbol ...

93eb68e6d23c66b85e8f79540500d5d9f0bbc396 authored about 7 years ago
net: use actual Timeout instance on Sockets

This makes `net.Sockets` use actual Timeout objects in a `[kTimeout]`
symbol property, rather th...

24dd92e77f9aad95ce3cae0baba75d0a5e5439cf authored about 7 years ago
timers: extract enroll() validation into a fn

This should help keep everything consistent.

PR-URL: https://github.com/nodejs/node/pull/17704
...

593941ac0b72a24eca87fb1c33eb1d7f8f841ab9 authored about 7 years ago
test: fix typo in test-inspector-cluster-port-clash.js

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

d6b1b84ca0b6465e1517d5e8380953426ace0f49 authored about 7 years ago
crypto: reuse variable instead of reevaluation

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

0298f4480e6792b507d9fe8cfca2b182b85e1d7b authored about 7 years ago
events: add off alias to removeListener

Add `off` as an alias for `removeListener`

PR-URL: https://github.com/nodejs/node/pull/17156
Re...

3bb6f07d528905d2ba6b9a4710890bc74350d7f0 authored about 7 years ago
src: remove unused async hooks methods

PR-URL: https://github.com/nodejs/node/pull/17757
Reviewed-By: Anatoli Papirovski <apapirovski@m...

482c27e13d46a574e801d21fd637ad06945b9d36 authored about 7 years ago
doc: remove old console note

This should not be important anymore in newer docs. The change is
also documented in the "change...

1e84e69eac1d09e849e22e90570f18e2794e83a2 authored about 7 years ago
console: order functions and remove \n\n

This lists all function aliases directly below the declared function.

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

5b4d5321ee6939044b52aa72de947911b0a8ec00 authored about 7 years ago
benchmark: refactor console benchmark

Fix and refactor the console benchmark. It did not test console
so it got renamed and mainly tes...

0eab49523d75235cbd14047da5b74467596ae590 authored about 7 years ago
console: make variables and checks stricter

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

1d6b729cea909769ac0bcb3aa68f5fe567c4ffb7 authored about 7 years ago
console: make error handling engine agnostic

Calling write could throw a maximum call stack size error. To make
sure this is not specific to ...

5198a5359b3aa47a7a43686fdd86c7202ebac3b2 authored about 7 years ago
http2: simplify onSelectPadding

`OnCallbackPadding` on the native side already clamps
the return value into the right range, so ...

a38941c5e7227795f4d3d6b0f5ada3d23f041cd5 authored about 7 years ago
http2: refactor outgoing write mechanism

- Only finish outgoing `WriteWrap`s once data has actually been
passed to the underlying socke...

e0e6b68c33fe59c41f3b2fbfa9c156208d7d6ff4 authored about 7 years ago
http2: remove redundant write indirection

`nghttp2_stream_write_t` was not a necessary redirection layer
and came with the cost of one add...

e3b44b6bef3c07969c91ce08cb5f5144867d302d authored about 7 years ago
tools: add number-isnan rule

PR-URL: https://github.com/nodejs/node/pull/17556
Reviewed-By: Rich Trott <[email protected]>
Rev...

e554bc8f3f09705a3f4fbd66335913a0a4c64ef5 authored about 7 years ago
async_hooks: use scope for defaultTriggerAsyncId

Previously the getter would mutate the kDefaultTriggerAsncId value. This
refactor changes the se...

3b8da4cbe8a7f36fcd8892c6676a55246ba8c3be authored about 7 years ago
async_hooks: separate missing from default context

When context is missing the executionAsyncId will be zero. For the
default triggerAsyncId the ze...

0784b0440c05464f79b857f7d8698fcc953d3fb3 authored about 7 years ago
async_hooks: rename initTriggerId

rename initTriggerId to defaultTriggerAsyncId such it matches the rest
of our naming.

PR-URL: h...

f3f1a9349afaee9a05dce8df0836dd4355836391 authored about 7 years ago
doc: improve .throws RegExp info

It was not clear why the error name is actually also tested for when
using a regular expression....

fe257ac2078676012ed6d188e63e50827fe69d27 authored about 7 years ago
assert: improve assert.throws

Throw a TypeError in case a error message is provided in the second
argument and a third argumen...

da5c7d68cdceaa70411ffab6bee16e200a703aa9 authored about 7 years ago
test: refactor common.expectsError

A combination of try catch and common.expectsError is not necessary
as the latter already does e...

dc2e266647cec8ba3e6f61d6da90001fa8c5649f authored about 7 years ago
assert: fix throws and doesNotThrow stack frames

The stack frames from .throws and .doesNotThrow got included
even though that was not intended.
...

d9171fef3fb1415344641b0ce82c5f4bc53936fc authored about 7 years ago
crypto: remove unused header in clienthello.h

This commit removes stdlib.h header as it does not seem to be used any
more.

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

85d5885f521ad5ad7a46228fbfb89fd28429f597 authored about 7 years ago
test: change callback function to arrow function

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

ed15c717bf87b99d932b146ccce6049f7e0146d4 authored about 7 years ago
src: remove nonexistent method from header file

PR-URL: https://github.com/nodejs/node/pull/17748
Reviewed-By: Anatoli Papirovski <apapirovski@m...

06033695ed0bfca505988ab922035461f282556e authored about 7 years ago