Skip to content

Commit f85cc48

Browse files
authored
Merge branch 'main' into sandbox-compat-zerofill
2 parents 15005f5 + 986307b commit f85cc48

File tree

6,087 files changed

+270899
-237903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,087 files changed

+270899
-237903
lines changed

.eslintrc.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ module.exports = {
260260
'no-useless-concat': 'error',
261261
'no-useless-constructor': 'error',
262262
'no-useless-return': 'error',
263+
'no-var': 'error',
263264
'no-void': 'error',
264265
'no-whitespace-before-property': 'error',
265266
'object-curly-newline': 'error',
@@ -317,11 +318,29 @@ module.exports = {
317318
'node-core/no-duplicate-requires': 'error',
318319
},
319320
globals: {
321+
ByteLengthQueuingStrategy: 'readable',
322+
CompressionStream: 'readable',
323+
CountQueuingStrategy: 'readable',
320324
Crypto: 'readable',
321325
CryptoKey: 'readable',
326+
DecompressionStream: 'readable',
322327
fetch: 'readable',
323328
FormData: 'readable',
329+
ReadableStream: 'readable',
330+
ReadableStreamDefaultReader: 'readable',
331+
ReadableStreamBYOBReader: 'readable',
332+
ReadableStreamBYOBRequest: 'readable',
333+
ReadableByteStreamController: 'readable',
334+
ReadableStreamDefaultController: 'readable',
324335
Response: 'readable',
336+
TextDecoderStream: 'readable',
337+
TextEncoderStream: 'readable',
338+
TransformStream: 'readable',
339+
TransformStreamDefaultController: 'readable',
340+
ShadowRealm: 'readable',
325341
SubtleCrypto: 'readable',
342+
WritableStream: 'readable',
343+
WritableStreamDefaultWriter: 'readable',
344+
WritableStreamDefaultController: 'readable',
326345
},
327346
};

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@
107107

108108
/benchmark/misc/startup.js @nodejs/startup
109109
/src/node.cc @nodejs/startup
110-
/src/node_code_cache_stub.cc @nodejs/startup
111110
/src/node_native_module* @nodejs/startup
112111
/lib/internal/bootstrap/* @nodejs/startup
113-
/tools/code_cache/* @nodejs/startup
114112
/tools/snapshot/* @nodejs/startup
115113

116114
# V8

.github/label-pr-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ subSystemLabels:
6767
/^tools\/make-v8/: tools, v8 engine, needs-ci
6868
/^tools\/v8_gypfiles/: tools, v8 engine, needs-ci
6969
/^tools\/(code_cache|snapshot)/: needs-ci
70-
/^tools\/build-addons.js/: needs-ci
70+
/^tools\/build-addons.mjs/: needs-ci
7171
# all other tool changes should be marked as such
7272
/^tools\//: tools
7373
/^\.eslint|\.remark|\.editorconfig/: tools

.github/workflows/authors.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,18 @@ jobs:
1515
with:
1616
fetch-depth: '0' # This is required to actually get all the authors
1717
persist-credentials: false
18-
- run: tools/update-authors.js # Run the AUTHORS tool
19-
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
18+
- run: tools/update-authors.mjs # Run the AUTHORS tool
19+
- uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
20+
# Creates a PR or update the Action's existing PR, or
21+
# no-op if the base branch is already up-to-date.
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
2224
with:
2325
author: Node.js GitHub Bot <[email protected]>
2426
body: >
2527
Here are some new additions to the AUTHORS file.
2628
This is an automatically generated PR by the
27-
`authors.yml` GitHub Action, which runs `tools/update-authors.js`.
29+
`authors.yml` GitHub Action, which runs `tools/update-authors.mjs`.
2830
branch: actions/authors-update # Custom branch *just* for this Action.
2931
commit-message: 'meta: update AUTHORS'
3032
labels: meta

.github/workflows/auto-start-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242

4343
- name: Install Node.js
44-
uses: actions/setup-node@v2
44+
uses: actions/setup-node@v3
4545
with:
4646
node-version: ${{ env.NODE_VERSION }}
4747

.github/workflows/build-tarball.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
persist-credentials: false
4343
- name: Set up Python ${{ env.PYTHON_VERSION }}
44-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v3
4545
with:
4646
python-version: ${{ env.PYTHON_VERSION }}
4747
- name: Environment Information
@@ -55,7 +55,7 @@ jobs:
5555
mkdir tarballs
5656
mv *.tar.gz tarballs
5757
- name: Upload tarball artifact
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v3
5959
with:
6060
name: tarballs
6161
path: tarballs
@@ -67,13 +67,13 @@ jobs:
6767
with:
6868
persist-credentials: false
6969
- name: Set up Python ${{ env.PYTHON_VERSION }}
70-
uses: actions/setup-python@v2
70+
uses: actions/setup-python@v3
7171
with:
7272
python-version: ${{ env.PYTHON_VERSION }}
7373
- name: Environment Information
7474
run: npx envinfo
7575
- name: Download tarball
76-
uses: actions/download-artifact@v2
76+
uses: actions/download-artifact@v3
7777
with:
7878
name: tarballs
7979
path: tarballs

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
if: github.event.pull_request.draft == false
3333
strategy:
3434
matrix:
35-
windows: [windows-2019, windows-2022]
35+
windows: [windows-2019]
3636
fail-fast: false
3737
runs-on: ${{ matrix.windows }}
3838
steps:
3939
- uses: actions/checkout@v3
4040
with:
4141
persist-credentials: false
4242
- name: Set up Python ${{ env.PYTHON_VERSION }}
43-
uses: actions/setup-python@v2
43+
uses: actions/setup-python@v3
4444
with:
4545
python-version: ${{ env.PYTHON_VERSION }}
4646
- name: Install deps

.github/workflows/close-stale-feature-requests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Close stale feature requests
22
on:
33
workflow_dispatch:
4-
inputs:
5-
daysBeforeStale:
6-
description: Idle number of days before marking feature requests stale
7-
required: true
8-
default: 906
9-
type: number
4+
schedule:
5+
# Run every day at 1:00 AM UTC.
6+
- cron: 0 1 * * *
107

118
# yamllint disable rule:empty-lines
129
env:
@@ -39,7 +36,7 @@ jobs:
3936
- uses: actions/stale@v4
4037
with:
4138
repo-token: ${{ secrets.GITHUB_TOKEN }}
42-
days-before-stale: ${{ github.event.inputs.daysBeforeStale }}
39+
days-before-stale: 180
4340
days-before-close: 30
4441
stale-issue-label: stale
4542
close-issue-message: ${{ env.CLOSE_MESSAGE }}

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
persist-credentials: false
2121
- run: git reset HEAD^2
2222
- name: Install Node.js
23-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ env.NODE_VERSION }}
2626
- name: Validate commit message

.github/workflows/commit-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
# Install dependencies
5757
- name: Install Node.js
58-
uses: actions/setup-node@v2
58+
uses: actions/setup-node@v3
5959
with:
6060
node-version: ${{ env.NODE_VERSION }}
6161
- name: Install node-core-utils

0 commit comments

Comments
 (0)