Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update v14 and v12 changelogs in v15.x release line #37767

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f93d03d
node-api: define version 8
gabrielschulhof Mar 7, 2021
5ff4959
crypto: add optional callback to crypto.sign and crypto.verify
panva Feb 24, 2021
1c62f2d
deps: V8: cherry-pick 1648e050cade
cjihrig Mar 9, 2021
7fd2a69
test: fixup flaky test-crypto-x509
panva Mar 11, 2021
7530873
doc: crypto esm examples
jasnell Mar 3, 2021
4f892af
src: fix variable name of OnCloseReceived callback
tniessen Feb 26, 2021
4233d6c
doc: use sentence case in README.md headers
marsonya Mar 6, 2021
6ef1d33
crypto: add internal error codes
RaisinTen Mar 7, 2021
bb1967c
module: refactor NativeModule to avoid unsafe array iteration
aduh95 Feb 12, 2021
71150ee
doc: fix typo in description of close event
tniessen Mar 8, 2021
756328a
stream,util: fix "the the" typo in comments
lpinca Mar 9, 2021
5d12de3
lib: fix typo in lib/internal/http2/core.js
marsonya Mar 10, 2021
ce0350d
doc: fix link to googletest fixtures
tniessen Mar 10, 2021
28e827f
crypto: reconcile duplicated code
jasnell Mar 11, 2021
2577f10
test,crypto: ensure promises resolve in webcrypto tests
aduh95 Mar 8, 2021
77c5c2f
http: refactor to avoid unsafe array iteration
aduh95 Feb 12, 2021
311ddc9
tls: refactor to avoid unsafe array iteration
aduh95 Feb 12, 2021
e556215
fs: improve fsPromises writeFile performance
Linkgoron Mar 5, 2021
ea10155
benchmark: add benchmark for fsPromises.writeFile
Linkgoron Mar 5, 2021
ce8ac4d
assert,util: fix commutativity edge case
BridgeAR Mar 11, 2021
efd14a9
deps: upgrade npm to 7.6.3
ruyadorno Mar 11, 2021
3acba1d
events: remove return value on addEventListener
jasnell Mar 10, 2021
e4667eb
http2: make res.req a normal property
cjihrig Mar 11, 2021
8c084d9
lib: use AbortError consistently
jasnell Mar 11, 2021
0563260
doc: recommend checking abortSignal.aborted first
jasnell Mar 11, 2021
8fdc4a5
util: inspect __proto__ key as written in object literal
addaleax Mar 11, 2021
e6e2112
test: address flaky wpt/test-timers
Trott Mar 13, 2021
8d0af3e
deps: switch openssl to quictls/openssl
jasnell Mar 4, 2021
53b9805
deps: update archs files for OpenSSL-1.1.1+quic
jasnell Mar 4, 2021
345af4d
test: fixup test to account for quic openssl version
jasnell Mar 4, 2021
faffb61
doc: update maintaining-openssl guide
jasnell Mar 4, 2021
b62c08b
worker: add setEnvironmentData/getEnvironmentData
jasnell Feb 23, 2021
a4e9edb
lib: implement AbortSignal.abort()
jasnell Mar 10, 2021
ba5a0d9
test: update dom/abort tests
jasnell Mar 15, 2021
fb46d03
doc: add hints to http.request() options
lpinca Mar 13, 2021
35b0395
errors: remove experimental from --enable-source-maps
bcoe Mar 13, 2021
dba24b3
tools: use bundled npm in update scripts
ruyadorno Mar 4, 2021
bcbdcfc
src,test: support dynamically linking OpenSSL 3.0
danbev Oct 26, 2020
9fad821
doc: add marsonya as a triager
marsonya Mar 9, 2021
8a94870
doc: update v14 and v12 changelogs
danielleadams Mar 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ module.exports = {
},
globals: {
AbortController: 'readable',
AbortSignal: 'readable',
Atomics: 'readable',
BigInt: 'readable',
BigInt64Array: 'readable',
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ The Node.js project uses an [open governance model](./GOVERNANCE.md). The
# Table of contents

* [Support](#support)
* [Release Types](#release-types)
* [Release types](#release-types)
* [Download](#download)
* [Current and LTS Releases](#current-and-lts-releases)
* [Nightly Releases](#nightly-releases)
* [API Documentation](#api-documentation)
* [Verifying Binaries](#verifying-binaries)
* [Current and LTS releases](#current-and-lts-releases)
* [Nightly releases](#nightly-releases)
* [API documentation](#api-documentation)
* [Verifying binaries](#verifying-binaries)
* [Building Node.js](#building-nodejs)
* [Security](#security)
* [Contributing to Node.js](#contributing-to-nodejs)
* [Current Project Team Members](#current-project-team-members)
* [Current project team members](#current-project-team-members)
* [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
* [Collaborators](#collaborators)
* [Release Keys](#release-keys)
* [Release keys](#release-keys)
* [License](#license)

## Support
Expand Down Expand Up @@ -591,6 +591,8 @@ maintaining the Node.js project.

### Triagers

* [marsonya](https://github.com/marsonya) -
**Akhil Marsonya** <[email protected]> (he/him)
* [PoojaDurgad](https://github.com/PoojaDurgad) -
**Pooja Durgad** <[email protected]>
* [RaisinTen](https://github.com/RaisinTen) -
Expand Down
76 changes: 76 additions & 0 deletions benchmark/fs/writefile-promises.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// Call fs.promises.writeFile over and over again really fast.
// Then see how many times it got called.
// Yes, this is a silly benchmark. Most benchmarks are silly.
'use strict';

const path = require('path');
const common = require('../common.js');
const fs = require('fs');
const assert = require('assert');
const tmpdir = require('../../test/common/tmpdir');

tmpdir.refresh();
const filename = path.resolve(tmpdir.path,
`.removeme-benchmark-garbage-${process.pid}`);
let filesWritten = 0;
const bench = common.createBenchmark(main, {
duration: [5],
encodingType: ['buf', 'asc', 'utf'],
size: [2, 1024, 65535, 1024 * 1024],
concurrent: [1, 10]
});

function main({ encodingType, duration, concurrent, size }) {
let encoding;
let chunk;
switch (encodingType) {
case 'buf':
chunk = Buffer.alloc(size, 'b');
break;
case 'asc':
chunk = 'a'.repeat(size);
encoding = 'ascii';
break;
case 'utf':
chunk = 'ü'.repeat(Math.ceil(size / 2));
encoding = 'utf8';
break;
default:
throw new Error(`invalid encodingType: ${encodingType}`);
}

let writes = 0;
let benchEnded = false;
bench.start();
setTimeout(() => {
benchEnded = true;
bench.end(writes);
for (let i = 0; i < filesWritten; i++) {
try { fs.unlinkSync(`${filename}-${i}`); } catch { }
}
process.exit(0);
}, duration * 1000);

function write() {
fs.promises.writeFile(`${filename}-${filesWritten++}`, chunk, encoding)
.then(() => afterWrite())
.catch((err) => afterWrite(err));
}

function afterWrite(er) {
if (er) {
if (er.code === 'ENOENT') {
// Only OK if unlinked by the timer from main.
assert.ok(benchEnded);
return;
}
throw er;
}

writes++;
if (!benchEnded)
write();
}

while (concurrent--) write();
}
9 changes: 0 additions & 9 deletions deps/npm/.licensee.json

This file was deleted.

77 changes: 0 additions & 77 deletions deps/npm/.mailmap

This file was deleted.

10 changes: 10 additions & 0 deletions deps/npm/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,18 @@ node_modules/npm-registry-mock
/coverage/

# don't need these in the npm package.
Makefile
.licensee.json
.mailmap
changelogs/*
configure
make.bat
scripts
html/*.png
docs/nav.yml
docs/config.json
docs/dockhand.js
docs/template.html

# don't ignore .npmignore files
# these are used in some tests.
Expand Down
2 changes: 2 additions & 0 deletions deps/npm/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -757,3 +757,5 @@ kumavis <[email protected]>
Christof Lemke <[email protected]>
Nathan Shively-Sanders <[email protected]>
Bjørn Johansen <[email protected]>
Fraqe <[email protected]>
Edward Grech <[email protected]>
45 changes: 45 additions & 0 deletions deps/npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
## v7.6.3 (2021-03-11)

### DOCUMENTATION

* [`8c44e999b`](https://github.com/npm/cli/commit/8c44e999bdf7639893535c55beebf7996da2c47f)
[#2855](https://github.com/npm/cli/issues/2855)
Correct "npm COMMAND help" to "npm help COMMAND"
([@dwardu](https://github.com/dwardu))

### DEPENDENCIES

* [`57ed390d6`](https://github.com/npm/cli/commit/57ed390d64a44ae0a1b2c4afd79d690170b194ec)
`@npmcli/[email protected]`
* Respect link deps when calculating peerDep sets

## v7.6.2 (2021-03-09)

### BUG FIXES

* [`e0a3a5218`](https://github.com/npm/cli/commit/e0a3a5218cac7ca5850930aaaad8a939ddf75d4d)
[#2831](https://github.com/npm/cli/issues/2831)
Fix cb() never called in search with --json option
([@fraqe](https://github.com/fraqe))
* [`85a8694dd`](https://github.com/npm/cli/commit/85a8694dd9b4a924a474ba75261914511a216868)
[#2795](https://github.com/npm/cli/issues/2795)
fix(npm.output): make output go through npm.output
([@wraithgar](https://github.com/wraithgar))
* [`9fe0df5b5`](https://github.com/npm/cli/commit/9fe0df5b5d7606e5841288d9931be6c04767c9ca)
[#2821](https://github.com/npm/cli/issues/2821)
fix(usage): clean up usage declarations
([@wraithgar](https://github.com/wraithgar))

### DEPENDENCIES

* [`7f470b5c2`](https://github.com/npm/cli/commit/7f470b5c25d544e36d97b28e28ae20dfa1d4ab31)
`@npmcli/[email protected]`
* fix(install): Do not revert a file: dep to version on bare name re-install
* [`e9b7fc275`](https://github.com/npm/cli/commit/e9b7fc275a0bdf8f00dbcf5dd2283675776fc459)
`[email protected]`
* fix(diff): Gracefully handle packages with prepare script
* [`c7314aa62`](https://github.com/npm/cli/commit/c7314aa62195b7f0d8886776692e8a2c892413ed)
`[email protected]`
* [`864f48d43`](https://github.com/npm/cli/commit/864f48d4327269f521161cf89888ea2b6db5fdab)
`[email protected]`

## v7.6.1 (2021-03-04)

### BUG FIXES
Expand Down
100 changes: 0 additions & 100 deletions deps/npm/Makefile

This file was deleted.

Loading