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

n-api: re-use napi_env between modules

Store the `napi_env` on the global object at a private key. This gives
us one `napi_env` per con...

9926dfebc88c22a1a9bdef55f7530c74124f63aa authored over 7 years ago
inspector: implement V8Inspector timer

This timer is currently only used by a profiler. Note that the timer
invocation will not interru...

012206e92dafa216d4082c5991d5599dc504cb50 authored over 7 years ago
test: use common.mustCall() instead of exit handle

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

2e864df6bf48cccb58e74b195b3a36f37d11f3d1 authored over 7 years ago
inspector: send messages after the Node is done

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

bd65767afda836f9a5bbea7c63701d209fa81d03 authored over 7 years ago
test: changed error message validator

Replaced TypeError with RegEx to match the exact error message in file
test/addons-napi/test_pro...

7849b528108d724faf4b0177d176aafa0b0c6890 authored over 7 years ago
doc: fix typo in using-internal-errors.md

Change "messasge" to "message".

PR-URL: https://github.com/nodejs/node/pull/14429
Reviewed-By: ...

c9e494c1f30aed1770238f5a97aea2735b18ad5c authored over 7 years ago
http: reset stream to unconsumed in `unconsume()`

Reset the underlying socket of an HTTP stream to be marked as
unconsume after the HTTP parser no...

29353e5a992c1e7f92fafa4d1429e0f8dd494155 authored over 7 years ago
net,child_process: improve naming in internal code

All of this code is internal-only, and the changed variables/methods
are not generally useful to...

75a19fb379c2d936c6945e63de7c4a28e93eb17d authored over 7 years ago
n-api: directly create Local from Persistent

The `v8::PersistentBase<T>.Get` method didn't exist in node 4 and it's
just a helper which creat...

e59987c39ebc7d9455c4c81a5028fb0e7c09d6e2 authored over 7 years ago
test: fix flaky test-force-repl

test/parallel/test-force-repl.js has an unnecessary timer that makes the
test flaky under load. ...

8f0102564e2110dc6a4a43fa9de29e9ead1e9cac authored over 7 years ago
test: increase coverage for path.parse

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

f7f590c9a9fe7bb31719f7fb7427e4de1a0d9edc authored over 7 years ago
path: remove unnecessary string copies

As the length of `path` is known at this point, there is no point in
making an exact copy using ...

2ac0aff2839a75aecd2c0c0166ea26c317ef4438 authored over 7 years ago
test: replace concatenation with template literal

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

cf253244763a9401b110dc67133fcb348dfee837 authored over 7 years ago
test: replace concatenation with template literal

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

66a6a15561e50cfc61a101cbe226a476919ef5b3 authored over 7 years ago
test: convert table in test doc to markdown table

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

85939bd251bc12e7e376fdafde1ce644f8a8013c authored over 7 years ago
http: disable OutgoingMessage pipe method

OutgoingMessage should be a write-only stream, and it shouldn't
be piped. This commit disables t...

156549d8ffa8ec3d5015ce81574c6119bfdc9934 authored over 7 years ago
tools: update to ESLint 4.3.0

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

c49adbff6395654634d5c89661419696ce14352b authored over 7 years ago
lib: modify destructuring for indentation

ESLint 4.3.0 flags an extra indentation issue that affects two of our
destructuring assignments ...

50f45fffc1951c90bc87a0e22ca5a9990b653a8d authored over 7 years ago
test: fix flaky http(s)-set-server-timeout tests

The tests include a callback that might not be invoked but is wrapped in
common.mustCall(). Remo...

c5bed4cfc7b64a50fbba4d249bd5a183729d6e7e authored over 7 years ago
test: replace CRLF by LF in a fixture

test/fixtures/test-error-first-line-offset.js is used in the
test/sequential/test-module-loading...

44bb140734a23bf57005dc39f34c707ed7e22469 authored over 7 years ago
doc: add docs for module.paths

PR-URL: https://github.com/nodejs/node/pull/14435
Refs: https://github.com/nodejs/node/issues/14...

9ab3172e5d058c47725fdd91e2722bfe1461a4fb authored over 7 years ago
test: fix test-async-wrap-getasyncid flakyness

The test used to assume that if the client successfully writes data to
the server and closes the...

2da1af0a9320d613ca0107ed39087e23b9719369 authored over 7 years ago
test: replace concatenation with template literals

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

c24a73d23c098e5cde7e55ce0c97f6daa11facc9 authored over 7 years ago
http: check for handle before running asyncReset()

If an uninitialized or user supplied Socket is in the freeSockets list
of the Agent it would aut...

93f47b11546b2117b555695b38f505ed2779b5c3 authored over 7 years ago
test: improvements to various http tests

* Add common/countdown utility
* Numerous improvements to http tests

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

b0a8a7c6baccea746da10e01bfb3dec18c0d723e authored over 7 years ago
util: implement WHATWG Encoding Standard API

Provide an (initially experimental) implementation of the WHATWG Encoding
Standard API (`TextDec...

ed21cb1774d3e146f84a94400db0008a940656c3 authored over 7 years ago
tools: enable stricter linting in lib directory

Enable ESLint 4.x linting and disable legacy linting in the lib
directory.

While doing this, so...

7f5a745e35bec2bde067c2922f6a9146beed99e6 authored over 7 years ago
lib: adjust indentation for impending lint change

ESLint 4.x provides stricter indentation linting than previous versions.
In preparation for enab...

8cccdd96f597a62ff1ef1c695211707cad1cddb8 authored over 7 years ago
doc: update experimental status to reflect use

* Update the experimental status to reflect actual common use.
* Also make a few formatting fixe...

5c2d1af310349e5476c3ce92ba7e965d43f0e7c5 authored over 7 years ago
n-api: add fast paths for integer getters

Ref: https://github.com/nodejs/node/issues/14379
PR-URL: https://github.com/nodejs/node/pull/143...

57a4cebbd50c7ee5fc4d7aea08bc56d612ebe34d authored over 7 years ago
lib: include cached modules in module.children

`module.children` is supposed to be the list of modules included by this
module but lib/module.j...

c83d9bbffbe879f9d67f72c14213139616ec4302 authored over 7 years ago
buffer: refactor module.exports, imports

* Move to more efficient module.exports pattern
* Refactor requires
* Eliminate circular depende...

355523fcfb3314f1ebc7e57342fb7b22c506f3fd authored over 7 years ago
repl: improve require() autocompletion

Currently REPL supports autocompletion for core modules and those found
in node_modules. This c...

45b730ec42e5dc16ef4c76529a6ec0e979bfc83b authored over 7 years ago
test: improve test-util-inspect

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

fe14f9b3d315f7bc0953c59706eb61959180ec29 authored over 7 years ago
errors: migrate dns to use internal/errors

PR-URL: https://github.com/nodejs/node/pull/14212
Refs: https://github.com/nodejs/node/issues/11...

9cb390d8991978ceeaee4c7a80289f56a030aa00 authored over 7 years ago
test: replace concatenation with template literals

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

3566195196b81390d8dc1a7ccbca9a2c118df624 authored over 7 years ago
util: refactor util module

* refactor util exports
* early capture of prototype methods
* use template strings and args con...

b1355ba6faa112c587571bf426bea35e2d37c68f authored over 7 years ago
doc: fix some links

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

4d1e0862ced8134b1b4e57480bbd46ca14e61d0f authored over 7 years ago
deps: cherry-pick 18ea996 from c-ares upstream

Original commit message:

ares_parse_naptr_reply: make buffer length check more accurate

...

e76c49de339747a1326369c772d7bf6de9158841 authored over 7 years ago
test: add non-internet resolveAny tests

This is a bit of a check to see how people feel about having this kind
of test.

Ref: https://gi...

69f653dff902bf385dfa0ed0e89be3d0e1f57391 authored over 7 years ago
test: replace concatenation with template literals

Replace string concatenation in test/async-hooks/test-signalwrap.js
with template literals.

PR-...

651fc55b6e35da544f3547f762a2076571336ac8 authored over 7 years ago
doc: describe labelling process for backports

Based on discussion from the first backporting team meeting.

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

b440e8e4e480e71d43eee3f1fadcf4e07886296b authored over 7 years ago
readline: name some anonymous functions

PR-URL: https://github.com/nodejs/node/pull/14297
Refs: https://github.com/nodejs/node/issues/89...

f37e3b143ae9c4de54cdb7e606f83a75cec4ae58 authored over 7 years ago
test: replace concatenation with template literals

* test/parallel/test-stdout-close-catch.js

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

a5352d9f1f399a1a4d4a2f445ce08fb88da66695 authored over 7 years ago
lib: tweak use of internal/errors

In addition refactor common.throws to common.expectsError

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

095357e26efc366b1cca389306e0780cc1fa81d9 authored over 7 years ago
tools: skip workaround for newer llvm

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

8979b4fc9face199099a53f32dfeb14a1203ad57 authored over 7 years ago
tools: always include llvm_version in config

Also used in common.gypi to check whether a flag is needed or not
based on llvm version.

PR-URL...

fc544d4c0075c645762682326aa10e9c890f8533 authored over 7 years ago
test: move timing-dependent tests to sequential

Move test-http-server-keep-alive-timeout-slow-server and
test-http-server-keep-alive-timeout-slo...

239ebf02440412df56b18b8d9e973ad6ab7af2f8 authored over 7 years ago
doc: error message are still major

PR-URL: https://github.com/nodejs/node/pull/14375
Refs: https://github.com/nodejs/node/issues/13...

ac8126749cc643cf4ec73a41fddd8e10b55fd77c authored over 7 years ago
tools: enforce consistent spacing inside braces

PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmai...

6add5b31fcc4ae45a8603f886477c544a99e0188 authored over 7 years ago
lib,src: fix consistent spacing inside braces

PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmai...

bb294059040def8e8c0b1719cc17f6537ab5cb39 authored over 7 years ago
doc, lib, test: do not re-require needlessly

PR-URL: https://github.com/nodejs/node/pull/14244
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail....

4f875222445b07016a8294fa5a5bf7418c735489 authored over 7 years ago
test: fix flaky test-net-write-after-close

Replace 250ms timer with event-based logic to make test robust.

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

43bd47c352a368db6051b1017225abace015d3c9 authored over 7 years ago
test: delete obsolete test-sendfd.js

This test was disabled in 2011 and is no longer useful without
modifications.

PR-URL: https://g...

27343cc051e05023f79db980fefb365fa29af37c authored over 7 years ago
test: improve fs.exists coverage

By adding a test case using a path with illegal protocol

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

201e756ef147a760064f43fd587c4467e1dbe52e authored over 7 years ago
readline: remove the caching variable

Line 486 and 525 contain for loops where a length property is cached in
a variable (for example,...

97c4033ebf2cf0e67c2ad0ad5dd50ea627d0efae authored over 7 years ago
test: replace string concatenation with template

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

438c877fc7e27b48e33f5d412a34d2526dea5842 authored over 7 years ago
errors: migrate socket_list to internal/errors

PR-URL: https://github.com/nodejs/node/pull/11356
Refs: https://github.com/nodejs/node/issues/11...

a03d8cee1f0cf7a95af01932b5c4356918476e60 authored over 7 years ago
test: use path.join in async-hooks/test-tlswrap.js

PR-URL: https://github.com/nodejs/node/pull/14319
Reviewed-By: Tobias Nießen <[email protected]>
...

d8eb30ac1068664491de0a5a462e3e37163dab45 authored over 7 years ago
doc: fix typo in stream.md

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

4d5ae3022c96d6e3f23788fe0ad4cb1333763bcf authored over 7 years ago
2017-07-20, Version 8.2.1 (Current)

Notable changes

* http: Writes no longer abort if the Socket is missing.
* process, async_hooks...

6a5bdfb97e5316f39ffdfc38ac0fd5837b10e570 authored over 7 years ago
test: add comments for whatwg-url tests

Added comments to whatwg-url tests that they should not be changed until
modifications are merge...

9e4ab6c2065229c5f79b6cc663d554f9de16f703 authored over 7 years ago
http: do not abort if socket is missing

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

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

69fdb47e207f9201f36593ba72440e122d193743 authored over 7 years ago
process: triggerAsyncId can be undefined

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

107db33fb9afc0ecbc1207c0587f517b9beba8a3 authored over 7 years ago
process: improve hrtime() error message

Change error message from the form this format:

The "time" array must have a length of 2. Rec...

43e105f6453d50bb667a028d8e85d1882818d16a authored over 7 years ago
doc: fixes default shell in child_process.md

Clarifies the default shell in Windows is process.env.ComSpec
and that cmd.exe is only used as a...

7fdcb68dc3db6e2765f06ad3e43af34c51a6bb70 authored over 7 years ago
doc: add XadillaX to collaborators

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

56441ff774baa7f3f2ab25691a753d6f701a2b6c authored over 7 years ago
test: move test-fs-largefile to pummel

test-fs-largefile was disabled. It was fixed in bbf74fb but left in
disabled because it generate...

9d9c9c1e77e3449fe648e6008120202e310f3c21 authored over 7 years ago
benchmark: add assert map and set benchmarks

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

462b58e581f0e6a0f621bd478290d4c427fc8d37 authored over 7 years ago
assert: improve deepEqual Set and Map worst case

This change improves the algorithm for the worst case from O(n^2)
to O(n log n) by using a lazil...

5203bb0b1695f5cc2ea68c0c2e87b857c2c713f3 authored over 7 years ago
test: use path.join for long path concatenation

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

8ddb725f4f70f452decebcdeed67900ee0b608e1 authored over 7 years ago
test: replace string concatenation with path.join

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

97008a7b0d7beee598bf53f2a1db0be14380d98b authored over 7 years ago
2017-07-19, Version 8.2.0 (Current)

Big thanks to @addaleax who prepared the vast majority of this release.

Notable changes:

* **A...

65eefa01053ebec32c35565be4c2fd1426f50506 authored over 7 years ago
errors: migrate tls_wrap to use internal/errors

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

f67aa566a6eb43c5ea508ad8cf65c2e6fb9ad9da authored over 7 years ago
build: codesign tarball binary on macOS

Previously, we were signing the binary that was released in the .pkg,
but not the binary release...

e36166bd18add8e6f5727a2173c5e5405bf382ef authored over 7 years ago
build,tools: do not force codesign prefix

Allow passing the prefix in via the PKGDIR env var. This will allow us
to use this same script t...

2309f3aaa6bd54bac70ea35c6da46981cfc52129 authored over 7 years ago
test: replace string concat in test-child-process-constructor

replace string concatenation in test/parallel/test-child-process-constructor.js
with template li...

b923b9dee1262363b95a6b41aaf3c6761f6f2c50 authored over 7 years ago
test: replace string concatenation with template

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

01eddd97f733148b70d753129c612ef09db3493b authored over 7 years ago
docs: add note about fs.rmdir()

fs.rmdir() on the file (not directory) results in different errors on
Windows to everything else...

bd7735e8f7819902f8ba78f2deab24dba3854313 authored over 7 years ago
test: replace string concat in test-fs-watchfile.js

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

6a587ad043052dce2862cdf3c0a7375545368d87 authored over 7 years ago
assert: show thrown message in doesNotThrow()

assert.doesNotThrow() should show actual error message instead
of "Got unwanted exception" which...

c53db1e8e9bb65779d791046daa39ed88c8f1045 authored over 7 years ago
test: validate more properties in expectsError

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

2a621d40517b8ec17d6b6b15e31bdc6e5d34e768 authored over 7 years ago
lib: improve lazy requires

* internal/errors - assert should already be in place when calling any
of the message generati...

b55ab01b456645bcd7fce5c394f2722112080c6b authored over 7 years ago
doc: replace dead link in v8 module

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

7bc666be1752fbb18fdfb67c46dc4995f6eb5f0a authored over 7 years ago
zlib: check if the stream is destroyed before push

If the stream is destroyed while the transform is still being
applied, push() should not be call...

aa496f4beef402b1d666d2f0dd26283aa22b5402 authored over 7 years ago
repl: don't terminate on null thrown

Previous behavior was to assume an error is a proper error in the
repl module. A check was added...

030a0285d88a03b0051ada736aabdb490f6479c9 authored over 7 years ago
doc,stream: _transform happens one at a time

Add a note to the stream docs specifying that at most a single
call to _transform can happen, an...

0e5283b7eda5b22d73c21620a02ac5337f9de9f1 authored over 7 years ago
test: replace concatenation with template literals

Use template literals instead of string concatenation in
test/parallel/test-http-extra-response....

d112f5982c9bdb03c4e94262d7d64f67f58d87b2 authored over 7 years ago
errors: port internal/fs errors to internal/errors

* Assign codes to errors reported by internal/fs.js

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

b61cab2234b3d9bf7265980f9286a136af20365b authored over 7 years ago
doc: fix minor typo in cluster.md

Adds a missing `'` in code example.

PR-URL: https://github.com/nodejs/node/pull/14353
Fixes: ht...

c5521fa6176377e0be958621102cad29be39a290 authored over 7 years ago
test: fix error handling test-http-full-response

The way it is currently written, test-http-full-response will fail if
there is a problem with sp...

23662f36e34bf07bea013861d082c4cf5affe0b1 authored over 7 years ago
doc: fix inspectPort documentation in cluster.md

- Add missing `changes:` entry
- Use full sentences
- Use proper indentation

Ref: https://githu...

a3365c6ae91953f404b4e030b9dfba872ce9c77d authored over 7 years ago
tls: migrate tls.js to use internal/errors.js

Migrate tls.js to use internal/errors.js as per
https://github.com/nodejs/node/issues/11273

PR-...

3ccfeb483df5a6402da9b40346a7eb33cfb4b70a authored over 7 years ago
test: add test for http outgoing internal headers

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

f406a7ebaee09c00b6dec330e17897924096c30d authored over 7 years ago
test: use regex error check in test-crypto-random

Replace constructor in assert.throws() to a regular expression to check
the error thrown in a te...

c3cb0edd8d4202270d59c94083be5007f7870416 authored over 7 years ago
test: check error with regex in test-signal-safety

Change TypeError to a regular expression in assert.throws() in
test/parallel/test-signal-safety....

610669460d4eacc0688e8df715e62118264853a6 authored over 7 years ago
lib: update indentation of ternaries

In preparation for stricter indentation linting and to increase code
clarity, update indentation...

d14c13238b554be335bbf66a315f855e49fdd52e authored over 7 years ago
doc: add guidance on testing new errors

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

9ab63d61f8f8d65b0e0643c83dd7936c4cf0a309 authored over 7 years ago
src: fix memory leak in DH key setters

Fix a memory leak in dh.setPublicKey() and dh.setPrivateKey() where the
old keys weren't freed.
...

aa1c8c00437ae2bf5aa0bc980b027013b8dd7e39 authored over 7 years ago
src: reduce allocations in exportPublicKey()

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

58926d407574338688077a37d8832a585dcc8503 authored over 7 years ago