Skip to content

Commit d47ca88

Browse files
authored
Merge branch 'main' into docs/inject-scrollintoview-script
2 parents 6643d19 + d7e4108 commit d47ca88

File tree

14,259 files changed

+2762954
-387957
lines changed

Some content is hidden

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

14,259 files changed

+2762954
-387957
lines changed

.cpplint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
set noparent
2-
filter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint,-readability/braces
2+
filter=-build/c++17,-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint,-readability/braces,-whitespace/indent_namespace
33
linelength=80
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "Node.js Dev Container",
3+
"image": "nodejs/devcontainer:nightly",
4+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/developer/nodejs/node,type=bind,consistency=cached",
5+
"workspaceFolder": "/home/developer/nodejs/node",
6+
"remoteUser": "developer",
7+
"mounts": [
8+
"source=node-devcontainer-cache,target=/home/developer/nodejs/node/out,type=volume"
9+
],
10+
"postCreateCommand": "git restore-mtime"
11+
}

.devcontainer/devcontainer.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/doc/contributing/**/* @nodejs/tsc
1919
/GOVERNANCE.md @nodejs/tsc
2020
/SECURITY.md @nodejs/tsc
21+
/BUILDING.md @nodejs/build @nodejs/tsc
2122
/LICENSE @nodejs/tsc
2223
/onboarding.md @nodejs/tsc
2324

@@ -157,8 +158,7 @@
157158
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
158159
/src/node_sea* @nodejs/single-executable
159160
/test/fixtures/postject-copy @nodejs/single-executable
160-
/test/parallel/test-single-executable-* @nodejs/single-executable
161-
/test/sequential/test-single-executable-* @nodejs/single-executable
161+
/test/sea @nodejs/single-executable
162162
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
163163

164164
# Permission Model
@@ -223,3 +223,15 @@
223223
/lib/internal/inspector/* @nodejs/inspector
224224
/lib/internal/inspector_* @nodejs/inspector
225225
/lib/inspector.js @nodejs/inspector
226+
227+
# path
228+
/lib/path.js @nodejs/path
229+
/lib/path/* @nodejs/path
230+
/test/parallel/test-path-* @nodejs/path
231+
232+
# userland-migrations
233+
/doc/api/deprecations.md @nodejs/userland-migrations
234+
235+
# dev container
236+
/.devcontainer/* @nodejs/devcontainer
237+
/doc/contributing/using-devcontainer.md @nodejs/devcontainer
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Install Clang
2+
description: Installs a specific Clang version. Useful if the GitHub runner does not have it by default.
3+
inputs:
4+
clang-version:
5+
description: The Clang major version to install
6+
required: true
7+
8+
runs:
9+
using: composite
10+
steps:
11+
- name: Install Clang
12+
shell: bash
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install -y clang-${{ inputs.clang-version }}

.github/dependabot.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ updates:
88
interval: monthly
99
commit-message:
1010
prefix: meta
11-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
11+
open-pull-requests-limit: 10
1212

1313
- package-ecosystem: npm
1414
directory: /tools/eslint
1515
schedule:
1616
interval: monthly
17+
cooldown:
18+
semver-major-days: 5
19+
semver-minor-days: 5
20+
semver-patch-days: 5
1721
commit-message:
1822
prefix: tools
19-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
23+
open-pull-requests-limit: 10
2024
groups:
2125
eslint:
2226
applies-to: version-updates
@@ -27,11 +31,32 @@ updates:
2731
directory: /tools/lint-md
2832
schedule:
2933
interval: monthly
34+
cooldown:
35+
semver-major-days: 5
36+
semver-minor-days: 5
37+
semver-patch-days: 5
3038
commit-message:
3139
prefix: tools
32-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
40+
open-pull-requests-limit: 10
3341
groups:
3442
lint-md:
3543
applies-to: version-updates
3644
patterns:
3745
- '*'
46+
47+
- package-ecosystem: npm
48+
directory: /tools/doc
49+
schedule:
50+
interval: weekly
51+
cooldown:
52+
semver-major-days: 5
53+
semver-minor-days: 5
54+
semver-patch-days: 5
55+
commit-message:
56+
prefix: tools
57+
open-pull-requests-limit: 10
58+
groups:
59+
doc:
60+
applies-to: version-updates
61+
patterns:
62+
- '*'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545
if: needs.get-prs-for-ci.outputs.numbers != ''
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4949
with:
5050
persist-credentials: false
5151

5252
- name: Install Node.js
53-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
53+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656

.github/workflows/build-tarball.yml

Lines changed: 71 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,69 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- .mailmap
87
- '**.md'
9-
- AUTHORS
8+
- '**.nix'
9+
- eslint.config.mjs
10+
- '**/eslint.config_partial.mjs'
11+
- android-configure
12+
- android-configure.py
13+
- android-patches/**
14+
- benchmarks/**
15+
- codecov.yml
1016
- doc/**
11-
- .github/**
17+
- pyproject.yml
18+
- tsconfig.json
19+
- test/internet/**
20+
- tools/actions/**
21+
- tools/bootstrap/**
22+
- tools/dep_updaters/**
23+
- tools/doc/**
24+
- tools/eslint-rules/**
25+
- tools/eslint/**
26+
- tools/lint-md/**
27+
- typings/**
28+
- vcbuild.bat
29+
- .**
1230
- '!.github/workflows/build-tarball.yml'
1331
push:
1432
branches:
1533
- main
1634
- v[0-9]+.x-staging
1735
- v[0-9]+.x
1836
paths-ignore:
19-
- .mailmap
2037
- '**.md'
21-
- AUTHORS
38+
- '**.nix'
39+
- eslint.config.mjs
40+
- '**/eslint.config_partial.mjs'
41+
- android-configure
42+
- android-configure.py
43+
- android-patches/**
44+
- benchmarks/**
45+
- codecov.yml
2246
- doc/**
23-
- .github/**
47+
- pyproject.yml
48+
- tsconfig.json
49+
- test/internet/**
50+
- tools/actions/**
51+
- tools/bootstrap/**
52+
- tools/dep_updaters/**
53+
- tools/doc/**
54+
- tools/eslint-rules/**
55+
- tools/eslint/**
56+
- tools/lint-md/**
57+
- typings/**
58+
- vcbuild.bat
59+
- .**
2460
- '!.github/workflows/build-tarball.yml'
2561

2662
concurrency:
2763
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2864
cancel-in-progress: true
2965

3066
env:
31-
PYTHON_VERSION: '3.12'
67+
PYTHON_VERSION: '3.14'
3268
FLAKY_TESTS: keep_retrying
33-
CC: sccache clang
34-
CXX: sccache clang++
35-
SCCACHE_GHA_ENABLED: 'true'
69+
CLANG_VERSION: '19'
3670

3771
permissions:
3872
contents: read
@@ -42,67 +76,66 @@ jobs:
4276
if: github.event.pull_request.draft == false
4377
runs-on: ubuntu-24.04
4478
steps:
45-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
79+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4680
with:
4781
persist-credentials: false
4882
- name: Set up Python ${{ env.PYTHON_VERSION }}
49-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
83+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5084
with:
5185
python-version: ${{ env.PYTHON_VERSION }}
52-
- name: Set up sccache
53-
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
54-
with:
55-
version: v0.10.0
86+
allow-prereleases: true
5687
- name: Environment Information
5788
run: npx envinfo
5889
- name: Make tarball
5990
run: |
6091
export DISTTYPE=nightly
61-
export DATESTRING=`date "+%Y-%m-%d"`
92+
export DATESTRING=$(date "+%Y-%m-%d")
6293
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
63-
./configure && make tar -j8 SKIP_XZ=1
64-
mkdir tarballs
65-
mv *.tar.gz tarballs
94+
./configure && make tar -j4 SKIP_XZ=1
6695
- name: Upload tarball artifact
67-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
96+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6897
with:
6998
name: tarballs
70-
path: tarballs
99+
path: '*.tar.gz'
100+
compression-level: 0
71101
test-tarball-linux:
72102
needs: build-tarball
73103
runs-on: ubuntu-24.04
104+
env:
105+
CC: sccache clang-19
106+
CXX: sccache clang++-19
107+
SCCACHE_GHA_ENABLED: 'true'
74108
steps:
75-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
76110
with:
77111
persist-credentials: false
112+
sparse-checkout: .github/actions/install-clang
113+
sparse-checkout-cone-mode: false
114+
- name: Install Clang ${{ env.CLANG_VERSION }}
115+
uses: ./.github/actions/install-clang
116+
with:
117+
clang-version: ${{ env.CLANG_VERSION }}
78118
- name: Set up Python ${{ env.PYTHON_VERSION }}
79-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
119+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
80120
with:
81121
python-version: ${{ env.PYTHON_VERSION }}
122+
allow-prereleases: true
82123
- name: Set up sccache
83124
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
84125
with:
85-
version: v0.10.0
126+
version: v0.12.0
86127
- name: Environment Information
87128
run: npx envinfo
88129
- name: Download tarball
89-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
130+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
90131
with:
91132
name: tarballs
92133
path: tarballs
93134
- name: Extract tarball
94135
run: |
95-
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
96-
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
97-
- name: Copy directories needed for testing
98-
run: |
99-
cp -r tools/eslint $TAR_DIR/tools
100-
cp -r tools/eslint-rules $TAR_DIR/tools
136+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
137+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
101138
- name: Build
102-
run: |
103-
cd $TAR_DIR
104-
make build-ci -j4 V=1
139+
run: make -C "$TAR_DIR" build-ci -j4 V=1
105140
- name: Test
106-
run: |
107-
cd $TAR_DIR
108-
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
141+
run: make -C "$TAR_DIR" test-ci -j1 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: github.repository == 'nodejs/node'
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
44+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
4545
with:
4646
repo-token: ${{ secrets.GITHUB_TOKEN }}
4747
days-before-stale: 180

.github/workflows/close-stalled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'nodejs/node'
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
23+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
2424
with:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
days-before-close: 30

0 commit comments

Comments
 (0)