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
This commit add SetUpTestCase and TearDownTestCase functions that will
be called once per test c...
Initial set of fs.promises APIs with documentation and one
benchmark.
PR-URL: https://github.co...
329fc78e4919231bf76771797878f7b0db0f73ac authored almost 7 years ago
The `node::fs::FileHandle` object wraps a file descriptor
and will close it on garbage collectio...
PR-URL: https://github.com/nodejs/node/pull/18297
Reviewed-By: Anna Henningsen <[email protected]...
PR-URL: https://github.com/nodejs/node/pull/18297
Reviewed-By: Anna Henningsen <[email protected]...
PR-URL: https://github.com/nodejs/node/pull/18542
Reviewed-By: Michael Dawson <michael_dawson@ca...
Add support for the following methods;
napi_open_callback_scope
napi_close_callback_scope
T...
a5553971859366c1171e86e8ef52d61017a3eb67 authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18555
Reviewed-By: Colin Ihrig <[email protected]>
R...
Add reference to strategic initiatives on core README.md
in order to ensure broarder visibility....
We avoid using 'you' in the documentation based on our
guidelines. Remove usage in the n-api doc...
AsyncHooks have a few subtleties with being able to track promises.
This commit adds a section t...
Make CHECK_ENV() safe to use in the following context:
if (condition)
CHECK_ENV(env);...
PR-URL: https://github.com/nodejs/node/pull/18522
Refs: https://github.com/v8/v8/compare/6.4.388...
This PR makes sure the object emitted as the 'unpipe'
event in the destination stream is not sha...
This commit removes the destructor from node_test_fixture.h which calls
the TearDown function ca...
PR-URL: https://github.com/nodejs/node/pull/18530
Reviewed-By: James M Snell <[email protected]>...
PR-URL: https://github.com/nodejs/node/pull/18569
Reviewed-By: Anna Henningsen <[email protected]...
This commit fixes up some issues in #18394.
* Switch vm.Module internals to use the new link me...
b0f114ddb08a289dcef4a2ec68a598d31fc36f0c authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18561
Reviewed-By: Colin Ihrig <[email protected]>
R...
Pass in Timer.now() as an argument of kOnTimeout instead of always
re-entering C++ to get it. Al...
PR-URL: https://github.com/nodejs/node/pull/18486
Reviewed-By: James M Snell <[email protected]>...
When an interval takes as long or longer to run as its timeout setting
and the roundtrip from re...
Instead of using nextTick to process failed lists, just attempt to
process them again from C++ i...
Instead of calling stop + start from the refresh method
of Timeout, instead just call start as l...
Non-ASCII characters in /lib get compiled into the node binary,
and may bloat the binary size un...
x86_64 is a standard arch descriptor on Linux, allow it as an alias for
our preferred descriptor...
Useful for executing in a shell because it accepts arguments as
an array instead of a string as ...
PR-URL: https://github.com/nodejs/node/pull/18289
Reviewed-By: James M Snell <[email protected]>...
Like #17614, but for the `intl-none` option.
Refs: https://github.com/nodejs/node/pull/17614
PR...
Add libuv and zlib into node executable and shared lib. Also fix an
issue that openssl is not fu...
Useful for executing in a shell because it accepts arguments as
an array instead of a string as ...
PR-URL: https://github.com/nodejs/node/pull/18439
Reviewed-By: James M Snell <[email protected]>...
It is no longer necessary to explicitly set the handle
to inherit the Timeout domain.
PR-URL: h...
fc96743454db30fbf9b4c4dc9fda0f260f8d35a6 authored almost 7 years ago
Due to some changes to async tracking of http and also
in how domains are handled, it's no longe...
PR-URL: https://github.com/nodejs/node/pull/18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewa...
The specifier parameter is deemed to be more essential than
referencingModule. Flipping the para...
The encoding is already handled by `Writable.prototype.write()`.
PR-URL: https://github.com/nod...
f8fda0d5ada6e391941b328f98e429e51a05ffda authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18311
Reviewed-By: Anna Henningsen <[email protected]...
In implementation of `stream.Writable`, `writable._write()` is
always called with a callback tha...
This resets the StringDecoder's state after calling `#end`. Further
writes to the decoder will a...
This was never a Very Good API, and generally just left so many open
ends for inconsistent behav...
This commit includes deps/v8/tools/arguments.js, which is
needed by the profiler.
PR-URL: https...
42258d7e54a4772dda3b3253c4b7cbca7175d360 authored almost 7 years ago
Using `assert.fail()` with more than one argument is not intuitive
to use and has no benefit ove...
Shorten text that is duplicated from website and supply link.
PR-URL: https://github.com/nodejs...
89dd21a8ad7725b7a495160feed8e642241b1f00 authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18448
Reviewed-By: Daniel Bevenius <daniel.bevenius@...
Add stack_trace_posix to 'sources' as well.
Fixes https://github.com/nodejs/node/issues/15784
F...
Up until now, Node did not clear the current error code
attempting to read environment variables...
Docs-only deprecate the getter/setter crypto.fips and replace
with crypto.setFips() and crypto.g...
After adding the node_lib target in node.gyp, most of the node source
files are moved to that ta...
`state.corkedRequestsFree` of a writable stream is always not null.
PR-URL: https://github.com/...
fca1c557ac426c10215b9a834236a10ea96ecb2c authored almost 7 years ago
In `Writable.prototype.end()`, `state.ending` is true after calling
`endWritable()` and it doesn...
PR-URL: https://github.com/nodejs/node/pull/18482
Reviewed-By: Colin Ihrig <[email protected]>
R...
With some of the recent work, some of the comments were no longer
representative of the code, or...
This test is consistently failing and making CI red.
PR-URL: https://github.com/nodejs/node/pul...
a36b47b7d3bed94f1a3312cc3c2484856569eb95 authored almost 7 years agoMissed when landing the original PRs
PR-URL: https://github.com/nodejs/node/pull/18492
Reviewed...
Benchmark comparing `util._extend()`, `Object.assign()`,
and the spread operator for object assi...
Implement the C++ callback that is required to configure the
`import.meta` object and add one pr...
Highlights:
* Using a random port works (`node inspect --port=0 script.js`)
* `takeHeapSnapshot...
PR-URL: https://github.com/nodejs/node/pull/17600
Reviewed-By: Richard Lau <[email protected]>
R...
A former commit changed the tmpDir behavior and that broke this test.
PR-URL: https://github.co...
4372185ef8fddf19ab628c10b4d5279528a9be75 authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18412
Reviewed-By: Anna Henningsen <[email protected]...
PR-URL: https://github.com/nodejs/node/pull/18426
Refs: https://github.com/nodejs/node/commit/71...
Shorten the config name in check_invalid_header_char so it would
not result in long lines that m...
If getTTYfd returns 0, and stdin is not writable (like on Windows),
trying to create WriteStream...
Shows the result of the wasPending in the error message if the
assertion fails.
PR-URL: https:/...
0c16b1804302046082ce5322b65e09a30172d606 authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/18421
Reviewed-By: James M Snell <[email protected]>...
This test had some unnecessary timeouts that made it run for a
much longer time than necessary (...
PR-URL: https://github.com/nodejs/node/pull/18375
Reviewed-By: Jon Moss <[email protected]>
Rev...
PR-URL: https://github.com/nodejs/node/pull/18379
Reviewed-By: Jon Moss <[email protected]>
Rev...
1. Extends tests
2. Refactors code
3. Adds fixer
Refs: #16636
PR-URL: https://github.com/nodej...
2d6912a46bf6f56a4f7b1d354680ad318cc7a153 authored almost 7 years ago
PR-URL: https://github.com/nodejs/node/pull/16878
Fixes: https://github.com/nodejs/node/issues/9...
Problem:
Node implements fs.readFile as:
- a call to stat, then
- a C++ -> libuv request to rea...
Fixes: https://github.com/nodejs/node/issues/18302
PR-URL: https://github.com/nodejs/node/pull/...
36fd25fa0572403ff32645611e1993de25422182 authored almost 7 years agoMove functions that deal with `BufferList` to `BufferList.prototype`.
PR-URL: https://github.co...
ccf64e5f222a51349d5d81784c869ab2b940c4d1 authored almost 7 years ago
Instead of passing along the handle object, just set it as a
property on the stream handle objec...
Instead of setting individual callbacks on streams and tracking
stream ownership through a boole...
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <[email protected]>
Due to the destructuring the outer variables were not set anymore.
PR-URL: https://github.com/n...
f951c9a9f02e1193e2843497e3cfed1b263c9721 authored almost 7 years agoIt should say `win32` and not `posix`.
PR-URL: https://github.com/nodejs/node/pull/18320
Review...
This commit updates node_crypto to use the non-deprecated Set functions
that return a v8::Maybe<...
Added tests to clarify the implicit behaviour of array header setting vs
object header setting
...
4404c7619b27c203cad74791108aeaac7d5f7e13 authored almost 7 years ago
Under some conditions, the error received from getaddrinfo might
actually be EAGAIN, meaning the...
I mistakenly introduced user defined variables using uppercase
characters, reading the gyp docum...
Right now it is not documentated that WeakMap entries are not
compared. This might result in som...
Returns the promises created by link so that they can be awaited to get
rid of race conditions w...
In case no arguments are passed to `assert.ok` it should just
use a default message. Otherwise `...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18...