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: introduce SetUpTestCase/TearDownTestCase

This commit add SetUpTestCase and TearDownTestCase functions that will
be called once per test c...

c64e130913a4c1a65b35253fcacf942fc5389223 authored almost 7 years ago
fs: add initial set of fs.promises APIs

Initial set of fs.promises APIs with documentation and one
benchmark.

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

329fc78e4919231bf76771797878f7b0db0f73ac authored almost 7 years ago
fs: add FileHandle object fd wrapper

The `node::fs::FileHandle` object wraps a file descriptor
and will close it on garbage collectio...

85b37db68465c0947dca78749e8fc01926e3cdfe authored almost 7 years ago
fs: add FSReqPromise

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

7154bc097cc6bdcb686d3a0217a3af8a8371c0bf authored almost 7 years ago
src: handle exceptions in env->SetImmediates

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

df3402995cfdb40da8f997b2f7c627aef41474a2 authored almost 7 years ago
n-api: remove extra reference from test

PR-URL: https://github.com/nodejs/node/pull/18542
Reviewed-By: Michael Dawson <michael_dawson@ca...

d379db31fda166b61dc6e0dfbca57576d578fbb3 authored almost 7 years ago
n-api: add methods to open/close callback scope

Add support for the following methods;
napi_open_callback_scope
napi_close_callback_scope

T...

a5553971859366c1171e86e8ef52d61017a3eb67 authored almost 7 years ago
doc: small typo in n-api.md

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

c2b9048ac8934d205d53d5a194cf9428987acfe3 authored almost 7 years ago
doc: add section for strategic initiatives

Add reference to strategic initiatives on core README.md
in order to ensure broarder visibility....

46b02c1932f1f1bf4f969d45a12c1d476e073d09 authored almost 7 years ago
doc: remove usage of you in n-api doc

We avoid using 'you' in the documentation based on our
guidelines. Remove usage in the n-api doc...

629a4476f0e0a919c27594ca1f3121a7ee5e4fa9 authored almost 7 years ago
doc: expand on promises and async_hooks

AsyncHooks have a few subtleties with being able to track promises.
This commit adds a section t...

d4b605b9903f261c2cadbec3d04822b0de4e14e2 authored almost 7 years ago
n-api: wrap control flow macro in do/while

Make CHECK_ENV() safe to use in the following context:

if (condition)
CHECK_ENV(env);...

47f664ee88eab74f2173acdad7abfd285235de54 authored almost 7 years ago
deps: patch V8 to 6.4.388.41

PR-URL: https://github.com/nodejs/node/pull/18522
Refs: https://github.com/v8/v8/compare/6.4.388...

1f7648272eded182a4276a14083ac618902866e8 authored almost 7 years ago
stream: cleanup() when unpiping all streams.

This PR makes sure the object emitted as the 'unpipe'
event in the destination stream is not sha...

a52b7a2794a47b9c19968d729856fdaa1597c0eb authored almost 7 years ago
test: remove destructor from node_test_fixture

This commit removes the destructor from node_test_fixture.h which calls
the TearDown function ca...

83c93158fb0e979dbffb4a776d237da0db8f7b08 authored almost 7 years ago
test: fix cctest -Wunused-variable warning

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

b9a873e044045a68104d2c046a272cc87b954301 authored almost 7 years ago
tools: add .mjs linting for Windows

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

9974d6a84df96d3a86c576c2a4ec8be9da86e86b authored almost 7 years ago
loader: fix up #18394

This commit fixes up some issues in #18394.

* Switch vm.Module internals to use the new link me...

b0f114ddb08a289dcef4a2ec68a598d31fc36f0c authored almost 7 years ago
doc: fix `REPLACEME` in changelog PR URLs

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

05e702d9f16f6808e83f6a47cfa4294dea3f7343 authored almost 7 years ago
timers: re-enter C++ less frequently

Pass in Timer.now() as an argument of kOnTimeout instead of always
re-entering C++ to get it. Al...

a986158cbf931da9d62eed0c921c105e29b76eda authored almost 7 years ago
timers: use const as appropriate

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

71c0d0370a98c50c4b49659bd6ece3359437902c authored almost 7 years ago
timers: prevent event loop blocking

When an interval takes as long or longer to run as its timeout setting
and the roundtrip from re...

47a984ada005d4db150b3d0ebd71b560411e7470 authored almost 7 years ago
timers: refactor error handling

Instead of using nextTick to process failed lists, just attempt to
process them again from C++ i...

9b8e1c2e4f0a4254b295316b10136a28cc36db4c authored almost 7 years ago
timers: use start instead of stop + start

Instead of calling stop + start from the refresh method
of Timeout, instead just call start as l...

d7894f3969fd3932eef57d9759f01282c7d76aa5 authored almost 7 years ago
tools: non-Ascii linter for /lib only

Non-ASCII characters in /lib get compiled into the node binary,
and may bloat the binary size un...

c45afe819840d2915823df55f24574f0da139dcc authored almost 7 years ago
build: allow x86_64 as a dest_cpu alias for x64

x86_64 is a standard arch descriptor on Linux, allow it as an alias for
our preferred descriptor...

591a8adeae9a4a366db87320d5ef373ceaa5c966 authored almost 7 years ago
doc: shell option for the execFile and execFileSync functions

Useful for executing in a shell because it accepts arguments as
an array instead of a string as ...

95eb02dc74a209cbb53a5e50f023303d7498d5b0 authored almost 7 years ago
doc: improve http.request documentation

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

27ee08363b0465e2a4fbe1833f31b049a42f90a0 authored almost 7 years ago
win, build: fix intl-none option

Like #17614, but for the `intl-none` option.

Refs: https://github.com/nodejs/node/pull/17614
PR...

c9ce5c33dc1e7dce0acfb4f78b26629779733442 authored almost 7 years ago
build: include the libuv and zlib into node

Add libuv and zlib into node executable and shared lib. Also fix an
issue that openssl is not fu...

d161625c004827a4c09c560a193bcd499a68a28a authored almost 7 years ago
test: verify the shell option works properly on execFile

Useful for executing in a shell because it accepts arguments as
an array instead of a string as ...

6f8de31cde682f9d90455433e8ee72fffa27a101 authored almost 7 years ago
doc: remove removed apis from http2 docs

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

71b15e8c7b935ba58838afdbe3ac114908edcb08 authored almost 7 years ago
timers: remove domain specific code

It is no longer necessary to explicitly set the handle
to inherit the Timeout domain.

PR-URL: h...

fc96743454db30fbf9b4c4dc9fda0f260f8d35a6 authored almost 7 years ago
http: remove domain specific code

Due to some changes to async tracking of http and also
in how domains are handled, it's no longe...

7020bc6e0791e513d6a8e17311fe65b2c18652c0 authored almost 7 years ago
test: add test for tls benchmarks

PR-URL: https://github.com/nodejs/node/pull/18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewa...

5c2c412f21f40bb4bb60f9e260a7c0f26aa28baa authored almost 7 years ago
vm: flip Module#link's signature

The specifier parameter is deemed to be more essential than
referencingModule. Flipping the para...

6d84ecefcd7da51ee5f9613f745ba5d0a9818726 authored almost 7 years ago
net: remove redundant code from _writeGeneric()

The encoding is already handled by `Writable.prototype.write()`.

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

f8fda0d5ada6e391941b328f98e429e51a05ffda authored almost 7 years ago
n-api: implement wrapping using private properties

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

1286923cc05e3e7a726fc682be54212ccfc66812 authored almost 7 years ago
stream: delete unused code

In implementation of `stream.Writable`, `writable._write()` is
always called with a callback tha...

f0b2dd31cebceca42b0e41ba2ecf843b3578bf87 authored almost 7 years ago
string_decoder: reset decoder on end

This resets the StringDecoder's state after calling `#end`. Further
writes to the decoder will a...

d2a6110d3fa78ef6680a9ef5faa279a4f35f486c authored almost 7 years ago
timers: runtime-deprecate {un}enroll()

This was never a Very Good API, and generally just left so many open
ends for inconsistent behav...

68783ae0b823c584f625c045a134bfff63f4d1b3 authored almost 7 years ago
lib: include missing profiler file

This commit includes deps/v8/tools/arguments.js, which is
needed by the profiler.

PR-URL: https...

42258d7e54a4772dda3b3253c4b7cbca7175d360 authored almost 7 years ago
assert: deprecate assert.fail partially

Using `assert.fail()` with more than one argument is not intuitive
to use and has no benefit ove...

70dcacd7101be14321b8a1c05de75a78b4656704 authored almost 7 years ago
doc: streamline README intro

Shorten text that is duplicated from website and supply link.

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

89dd21a8ad7725b7a495160feed8e642241b1f00 authored almost 7 years ago
build: add cflags for OpenBSD, remove stray comma.

PR-URL: https://github.com/nodejs/node/pull/18448
Reviewed-By: Daniel Bevenius <daniel.bevenius@...

68d9f63347914f7e5ba166b9609dd82a209a72ac authored almost 7 years ago
v8: add missing ',' in OpenBSD's 'sources' section.

Add stack_trace_posix to 'sources' as well.

Fixes https://github.com/nodejs/node/issues/15784
F...

eb82b21138488f8893b80592cc245daa5a43de29 authored almost 7 years ago
process: fix reading zero-length env vars on win32

Up until now, Node did not clear the current error code
attempting to read environment variables...

6acb1a3df59222ae44e2848b76c91a72f7942360 authored almost 7 years ago
crypto: docs-only deprecate crypto.fips, replace

Docs-only deprecate the getter/setter crypto.fips and replace
with crypto.setFips() and crypto.g...

6e7992e8b89b55253e43181b4910e6cdbd01318f authored almost 7 years ago
build: fix coverage build

After adding the node_lib target in node.gyp, most of the node source
files are moved to that ta...

a89d215b79cc1aa300e25be13aa2489a2322f1ad authored almost 7 years ago
stream: delete redundant code

`state.corkedRequestsFree` of a writable stream is always not null.

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

fca1c557ac426c10215b9a834236a10ea96ecb2c authored almost 7 years ago
stream: delete redundant code

In `Writable.prototype.end()`, `state.ending` is true after calling
`endWritable()` and it doesn...

ce83099d3e6f6d7be0e533c19cd7f905bba4ea2a authored almost 7 years ago
doc: move Brian White to TSC Emeriti list

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

caa26cbf135fbf7d0f3306a880762b10ff9cf299 authored almost 7 years ago
async_hooks: clean up comments

With some of the recent work, some of the comments were no longer
representative of the code, or...

ad94be84f969f0d95e8dec9994ca51c19c3ccf28 authored almost 7 years ago
test: mark test-inspector-stop-profile-after-done flaky

This test is consistently failing and making CI red.

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

a36b47b7d3bed94f1a3312cc3c2484856569eb95 authored almost 7 years ago
crypto,doc: fix unassignd deprecation codes

Missed when landing the original PRs

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

2ac66582968f5117c88e6b95623ca5e3087a0d9d authored almost 7 years ago
benchmark: spread operator benchmark

Benchmark comparing `util._extend()`, `Object.assign()`,
and the spread operator for object assi...

84cc8329f71dc8d468923a98dcf6906583b568e4 authored almost 7 years ago
src,lib: implement import.meta

Implement the C++ callback that is required to configure the
`import.meta` object and add one pr...

9e1a6f8cb1e8b9cd596c42542a9ce6ded3734b1b authored almost 7 years ago
deps: update node-inspect to 1.11.3

Highlights:

* Using a random port works (`node inspect --port=0 script.js`)
* `takeHeapSnapshot...

02b3bbc5e20e0d663c9e16d1617d78af10950905 authored almost 7 years ago
src: allow --perf-(basic-)?prof in NODE_OPTIONS

PR-URL: https://github.com/nodejs/node/pull/17600
Reviewed-By: Richard Lau <[email protected]>
R...

7ff4888ed2d99a7ea412b3dee46286a8754956c4 authored almost 7 years ago
test: fix builds

A former commit changed the tmpDir behavior and that broke this test.

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

4372185ef8fddf19ab628c10b4d5279528a9be75 authored almost 7 years ago
util: add bigint formatting to util.inspect

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

39dc947409c7df19ac4f9502df8cb0d4a1b2829a authored almost 7 years ago
lib: remove debugger dead code

PR-URL: https://github.com/nodejs/node/pull/18426
Refs: https://github.com/nodejs/node/commit/71...

e4fc6d44c55324ac29d3a6ed92d50ff7336e8d3d authored almost 7 years ago
benchmark: shorten config name in http benchmark

Shorten the config name in check_invalid_header_char so it would
not result in long lines that m...

d3841ec8727cbc69d520fccbd3b95c90a4a6661b authored almost 7 years ago
test: fix test-tty-get-color-depth

If getTTYfd returns 0, and stdin is not writable (like on Windows),
trying to create WriteStream...

ef2861961c3d9e9ed6972e1e84d969683b25cf95 authored almost 7 years ago
test: show pending exception error in napi tests

Shows the result of the wasPending in the error message if the
assertion fails.

PR-URL: https:/...

0c16b1804302046082ce5322b65e09a30172d606 authored almost 7 years ago
lib: extract validation functions

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

b0b204571b69ebf69be06ed5f2bb10da90f18c0e authored almost 7 years ago
test: speed up parallel/test-tls-session-cache

This test had some unnecessary timeouts that made it run for a
much longer time than necessary (...

3206e20af65ec289c30b398d50cacb980809e897 authored almost 7 years ago
doc: improve stream documentation

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

3ca79350d942e88aea64faf64555beec35e22ad2 authored almost 7 years ago
benchmark: cut down http benchmark run time

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

54b3a685c198a7b2c277c2a223041ec203375358 authored almost 7 years ago
tools: auto fix custom eslint rule

1. Extends tests
2. Refactors code
3. Adds fixer

Refs: #16636

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

2d6912a46bf6f56a4f7b1d354680ad318cc7a153 authored almost 7 years ago
doc: deprecate top-level `this`

PR-URL: https://github.com/nodejs/node/pull/16878
Fixes: https://github.com/nodejs/node/issues/9...

300f5ce3461f01daa994a4a4f78546f164d28ca8 authored almost 7 years ago
fs: partition readFile against pool exhaustion

Problem:

Node implements fs.readFile as:
- a call to stat, then
- a C++ -> libuv request to rea...

67a4ce1c6e230508ba307502e0937a63a7e07482 authored almost 7 years ago
src: free memory before re-setting URLHost value

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

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

36fd25fa0572403ff32645611e1993de25422182 authored almost 7 years ago
stream: augment BufferList.prototype

Move functions that deal with `BufferList` to `BufferList.prototype`.

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

ccf64e5f222a51349d5d81784c869ab2b940c4d1 authored almost 7 years ago
src: simplify handles for libuv streams

Instead of passing along the handle object, just set it as a
property on the stream handle objec...

5898dc3d0c071a8e5135ba0a80565dd19d49cb32 authored almost 7 years ago
src: refactor stream callbacks and ownership

Instead of setting individual callbacks on streams and tracking
stream ownership through a boole...

7c4b09b24bbe7d6a8cbad256f47b30a101a909ea authored almost 7 years ago
benchmark: refactor

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

1b6cb947611de5865641d1a6780ee6930a4e1d69 authored almost 7 years ago
benchmark: (http(2)) refactor

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

1178670cca16a268162aaf39afeb933779988d22 authored almost 7 years ago
benchmark: (timers) refactor

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

c713f079f1bd1c575487c693f3f9244bed460ee1 authored almost 7 years ago
benchmark: (es) refactor

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

2072f343ad5c7f8a74e480c625b5b4df3d071bf1 authored almost 7 years ago
benchmark: (url) refactor

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

1a8ed225b2ce66451ec34705f0d96438671e0f70 authored almost 7 years ago
benchmark: (crypto) refactor

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

39ae0b98009e8d235ee7c6d885fd9702a49949ee authored almost 7 years ago
benchmark: (buffer) refactor

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

794e489eeadbe40fec7928ed9b8f25d7019d795e authored almost 7 years ago
benchmark: (assert) refactor

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

cd7b2c434c8e0936e8305d7aa3baab874ad1f0dc authored almost 7 years ago
benchmark: fix variables not being set

Due to the destructuring the outer variables were not set anymore.

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

f951c9a9f02e1193e2843497e3cfed1b263c9721 authored almost 7 years ago
benchmark: fix platform in basename-win32

It should say `win32` and not `posix`.

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

d4015b899538278ae7cf9af8a49c05203755ffe7 authored almost 7 years ago
crypto: use non-deprecated v8::Object::Set

This commit updates node_crypto to use the non-deprecated Set functions
that return a v8::Maybe<...

ff21fb16243a2097a6f96f05b1845fd1f3c42c45 authored almost 7 years ago
http: process headers after setting up agent

Added tests to clarify the implicit behaviour of array header setting vs
object header setting

...

4404c7619b27c203cad74791108aeaac7d5f7e13 authored almost 7 years ago
test: fix flaky test-http-dns-error

Under some conditions, the error received from getaddrinfo might
actually be EAGAIN, meaning the...

7d4b7724ec53cbec08b51033b2406f927d5548eb authored almost 7 years ago
build: make gyp user defined variables lowercase

I mistakenly introduced user defined variables using uppercase
characters, reading the gyp docum...

ac7f1e339c8043870d6af29191f1bcd3515fc091 authored almost 7 years ago
doc: document asserts Weak(Map|Set) behavior

Right now it is not documentated that WeakMap entries are not
compared. This might result in som...

936eea5099bb5ab31b76ef22fcf15baed0cdf5ab authored almost 7 years ago
src, lib: return promises from link

Returns the promises created by link so that they can be awaited to get
rid of race conditions w...

edbcf7c8442d96aabeb564ba1121dad2ff4321a0 authored almost 7 years ago
assert: use a default message in assert

In case no arguments are passed to `assert.ok` it should just
use a default message. Otherwise `...

3cd7977a425d4ef6d2e9b6d535763bc5633789bf authored almost 7 years ago
fs: throw errors from fs.unlinkSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

776f6cdfc4d7f8b3e0eaff6bd71571ebd937609b authored almost 7 years ago
fs: throw errors from fs.fsyncSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

eca93e631f4c080ca72a762bfa3b214aef3af48a authored almost 7 years ago
fs: throw errors from fs.fdatasyncSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

f5e287ba208b8d9eed3c850577ff9a46d9935d9a authored almost 7 years ago
fs: throw errors from fs.ftruncateSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

b3a7df7c6dddcc4aaf2106d569a2a4c017e9699c authored almost 7 years ago
fs: throw errors from fs.renameSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

5583981c5296be0383c934caf0c0ddd5e6bda379 authored almost 7 years ago
fs: throw errors from fs.readlinkSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

09da11e5e1a5578d583df3e7f18ecd9b6dd5caab authored almost 7 years ago
fs: throw errors from fs.linkSync in JS

PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...

167e22937c612e18678e45e73a89dcc27e72fdc5 authored almost 7 years ago