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

[pull] main from nodejs:main #1562

Open
wants to merge 225 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
9b63b5f
Blog: v23.1.0 release post (#7140)
aduh95 Oct 24, 2024
d0ca997
feat(blog): enable events (#7137)
AugustinMauroy Oct 25, 2024
0a4a99f
fix: remove unused i18n key (#7138)
AugustinMauroy Oct 26, 2024
32fd063
content/chore(learn): give visibility to the status page (#7139)
AugustinMauroy Oct 27, 2024
3d144f7
hotfix: fix prettier:fix script to pass --write argument
bmuenzenmeyer Oct 28, 2024
ccfd4b3
Improve npm documentation for dependency management (#7146)
Makena-Wambui Oct 28, 2024
89ff7a3
Meta: adding docs about how to add/modify learn page (#7116)
AugustinMauroy Oct 28, 2024
90afad3
Blog: v22.11.0 release post (#7152)
richardlau Oct 29, 2024
63e12e7
Docs: add .mjs example to WebAssembly usage section (#7147)
Makena-Wambui Oct 31, 2024
d97bede
test: release data coverage (7130) (#7150)
rakeshkumar1019 Oct 31, 2024
f64f547
style: make sidebars sticky (#7132)
arthurjdam Oct 31, 2024
1756a08
meta: bump actions/cache from 4.1.0 to 4.1.2 (#7162)
dependabot[bot] Nov 1, 2024
33c6599
meta: bump actions/checkout from 4.2.1 to 4.2.2 (#7163)
dependabot[bot] Nov 1, 2024
fcff96f
refactor: Moving the version support button to the footer (#7156)
canerakdas Nov 1, 2024
5b51d17
meta: bump thollander/actions-comment-pull-request from 2.5.0 to 3.0.…
dependabot[bot] Nov 1, 2024
6fccb38
meta: bump actions/upload-artifact from 4.4.1 to 4.4.3 (#7161)
dependabot[bot] Nov 1, 2024
c3efd76
meta: bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#7160)
dependabot[bot] Nov 1, 2024
e430fa1
meta: bump the testing group with 2 updates (#7168)
dependabot[bot] Nov 3, 2024
e5936be
meta: bump shiki from 1.17.7 to 1.22.2 (#7175)
dependabot[bot] Nov 3, 2024
e2e6c33
meta: bump @types/node from 20.16.5 to 20.17.5 (#7174)
dependabot[bot] Nov 3, 2024
cd077a1
meta: bump typescript from 5.5.4 to 5.6.3 (#7172)
dependabot[bot] Nov 3, 2024
914b960
meta: bump actions/setup-node from 4.0.4 to 4.1.0 (#7165)
dependabot[bot] Nov 3, 2024
845a142
content(learn): Profiling a Node.js application (#7158)
Makena-Wambui Nov 3, 2024
8cf21b0
meta: bump @types/react from 18.3.11 to 18.3.12 in the react group (#…
dependabot[bot] Nov 3, 2024
ac593bd
meta: bump @eslint/js from 9.10.0 to 9.14.0 (#7173)
dependabot[bot] Nov 5, 2024
30619f6
meta: bump github/codeql-action from 3.26.12 to 3.27.0 (#7159)
dependabot[bot] Nov 5, 2024
cb43b64
meta: bump the storybook group with 6 updates (#7167)
dependabot[bot] Nov 5, 2024
9017bea
fix: Consistent color transitions and Tailwind updates (#7179)
canerakdas Nov 6, 2024
18ab585
meta: bump @sentry/nextjs from 8.35.0 to 8.36.0 (#7171)
dependabot[bot] Nov 6, 2024
270a37a
chore: Update dependabot lint group to include @eslint/* packages (#7…
mikeesto Nov 7, 2024
edfa6fc
fix: Select component highlighted text color (#7196)
canerakdas Nov 7, 2024
f5db266
Fix typo: Update anatomy-of-an-http-transaction.md (#7182)
sazk07 Nov 9, 2024
9ad96f4
content(learn): Add TypeScript transform docs (#7202)
tchetwin Nov 10, 2024
344da5b
chore: Upgrade `next-intl` to 3.24, migrate deprecated APIs (#7177)
amannn Nov 11, 2024
2db91dc
Blog: v23.2.0 release post (#7213)
aduh95 Nov 11, 2024
37290ad
Update CODEOWNERS (#7216)
bmuenzenmeyer Nov 11, 2024
4f13306
chore: fix typo (to see if Copilot Review works) (#7212)
Nov 12, 2024
4f5fbae
docs: fixing a random typo to see if copilot triggers on the PR (#7211)
bmuenzenmeyer Nov 12, 2024
24925de
Blog: v18.20.5 release post (#7221)
aduh95 Nov 13, 2024
fa6fbd9
Revert "chore: Upgrade `next-intl` to 3.24, migrate deprecated APIs" …
ovflowd Nov 14, 2024
7f751fd
chore: upgrade to next 15 (#7155)
ovflowd Nov 16, 2024
7cef2d5
Update remaining logo (#7227)
AugustinMauroy Nov 16, 2024
6b39bb1
feat: add Bluesky social icon and update footer navigation (#7218)
TenzDelek Nov 16, 2024
37c7da1
meta: link status page in issue contact links (#7225)
flakey5 Nov 16, 2024
d67507e
fix the inconsistency in Development start command between Contributi…
TenzDelek Nov 16, 2024
83081ef
content: clarify `process.nextTick()` timing (#7204)
KunalKumar-1 Nov 16, 2024
bc3b2a9
feat: Introducing avatar tooltip (#7143)
canerakdas Nov 18, 2024
55ac283
fix: Credit link changes from X to LinkedIn for Angela Angelini (#7236)
TenzDelek Nov 19, 2024
4fcdd93
content: synchronize contribute page with GOVERNANCE.md (#7238)
joyeecheung Nov 19, 2024
c5345f5
chore: update dependencies (#7234)
Nov 19, 2024
52e04b0
chore: use `toUpperCase` in `detectOS` (#7241)
CodingRule Nov 19, 2024
6be3b25
fix: download button pointing to an incorrect binary on Windows arm64…
wojtekmaj Nov 19, 2024
8e05ee8
fix: Links for changelog and blog post do not meet accessibility crit…
TenzDelek Nov 20, 2024
635f2b3
Blog: v20.18.1 release post (#7254)
marco-ippolito Nov 20, 2024
78c14bd
fix: Unoptimized SVG images (#7244)
canerakdas Nov 20, 2024
a895bc0
infra: add `@oramacloud/*` to dependabot (#7253)
Nov 20, 2024
e733345
meta: bump step-security/harden-runner from 2.10.1 to 2.10.2 (#7258)
dependabot[bot] Nov 20, 2024
a6a1660
meta: bump github/codeql-action from 3.27.0 to 3.27.5 (#7257)
dependabot[bot] Nov 20, 2024
881afd4
Blog: v23.3.0 release post (#7268)
RafaelGSS Nov 20, 2024
fd3c538
fix(cache): remove cache rules from fetch() (#7270)
Nov 21, 2024
28f885e
content(blog/events): Dublin collab summit 2024 (#7215)
AugustinMauroy Nov 22, 2024
762362c
fix: align mdx (#7276)
ovflowd Nov 23, 2024
aef62a1
meta: bump @heroicons/react from 2.1.5 to 2.2.0 (#7265)
dependabot[bot] Nov 23, 2024
3e5a133
meta: bump prettier-plugin-tailwindcss from 0.6.8 to 0.6.9 in the tai…
dependabot[bot] Nov 23, 2024
02a65e6
meta: bump husky from 9.1.6 to 9.1.7 (#7264)
dependabot[bot] Nov 23, 2024
68671a9
meta: bump @vercel/analytics from 1.4.0 to 1.4.1 in the next-js group…
dependabot[bot] Nov 23, 2024
f5e10ac
meta: bump the lint group with 4 updates (#7256)
dependabot[bot] Nov 23, 2024
a197243
meta: bump @radix-ui/react-tooltip from 1.1.3 to 1.1.4 (#7263)
dependabot[bot] Nov 23, 2024
d50d114
meta: bump the storybook group with 6 updates (#7259)
dependabot[bot] Nov 23, 2024
c17fccb
chore: simplified storybook/next config (#7280)
ovflowd Nov 24, 2024
fbd443d
meta: upgrade to node v22 (#7282)
ovflowd Nov 25, 2024
9202c36
meta: skip lighthouse CI when no vercel preview detected (#7266)
Nov 27, 2024
c747084
fix: markdown link fix
ovflowd Nov 28, 2024
b2046cf
refactor(downloadreleasestable): added module version back to the rel…
benhalverson Nov 29, 2024
116848f
hotfix: only one og (#7291)
ovflowd Nov 29, 2024
65c98af
feat(AvatarGroup): update overflow (#7273)
AugustinMauroy Nov 29, 2024
b12daaa
hotfix: turbo config for i18n
ovflowd Nov 29, 2024
16629a4
meta: bump the lint group with 4 updates (#7298)
dependabot[bot] Dec 3, 2024
3cd3009
meta: bump prettier from 3.3.3 to 3.4.1 (#7305)
dependabot[bot] Dec 3, 2024
71701a7
Blog: v22.12.0 release post (#7308)
ruyadorno Dec 3, 2024
15ef66d
meta: bump next-intl from 3.25.1 to 3.25.3 in the next-js group (#7300)
dependabot[bot] Dec 3, 2024
d1c5b4c
meta: bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#7297)
dependabot[bot] Dec 3, 2024
d8d6c0a
meta: bump the storybook group with 6 updates (#7299)
dependabot[bot] Dec 4, 2024
62ce001
Add contribute link to navbar (#7274)
bmuenzenmeyer Dec 4, 2024
7a62f60
meta: bump turbo from 2.3.0 to 2.3.3 (#7304)
dependabot[bot] Dec 4, 2024
8ad9d39
meta: bump shiki from 1.23.1 to 1.24.0 (#7306)
dependabot[bot] Dec 4, 2024
32546f8
meta: bump @types/node from 22.9.3 to 22.10.1 (#7303)
dependabot[bot] Dec 4, 2024
7c1e4db
feat(banner): add cyber week (#7311)
AugustinMauroy Dec 5, 2024
f571d25
meta: bump typescript from 5.6.3 to 5.7.2 (#7302)
dependabot[bot] Dec 5, 2024
a904f8e
Automated, scheduled crowdin sync (#7272)
bmuenzenmeyer Dec 5, 2024
39855a7
hotfix: fix typos, trigger crowdin sync
bmuenzenmeyer Dec 5, 2024
3013c3b
hotfix: add preserve_hierarchy to crowdin
bmuenzenmeyer Dec 5, 2024
18af3db
hotfix: trigger crowdin one more time
bmuenzenmeyer Dec 5, 2024
7f3f338
fix: include npm audit reference link (#7309)
RafaelGSS Dec 5, 2024
c109a38
meta: add security-wg as owners of security practices (#7310)
RafaelGSS Dec 6, 2024
a81fb3d
hotfix: allow a workflow to trigger another workflow
bmuenzenmeyer Dec 6, 2024
16cc391
hotfix: remove ci-skip
bmuenzenmeyer Dec 6, 2024
91be9ec
hotfix: provide proper context to workflow
bmuenzenmeyer Dec 6, 2024
be8ad11
hotfix: don't warn on workflow_run events
bmuenzenmeyer Dec 6, 2024
9f77ab9
hotfix: move i18n formatting to sync workflow
bmuenzenmeyer Dec 7, 2024
89370ac
hotfix: crowdin action needs the config
bmuenzenmeyer Dec 7, 2024
1980d89
hotfix: wat on completion of first job
bmuenzenmeyer Dec 7, 2024
0496afe
hotfix: assign job output
bmuenzenmeyer Dec 7, 2024
05e0359
hotfix: reference job correctly
bmuenzenmeyer Dec 7, 2024
02b7307
hotfix: specify branch name
bmuenzenmeyer Dec 7, 2024
14737ec
chore: remove vestigial commitizen references (#7317)
bmuenzenmeyer Dec 9, 2024
8496897
update hardcoded nvm version (#7323)
ljharb Dec 9, 2024
e9a289e
[automated]: crowdin sync, enables korean (#7321)
github-actions[bot] Dec 10, 2024
44e24fa
Blog: v23.4.0 release post (#7325)
aduh95 Dec 10, 2024
f60d063
[automated]: crowdin sync (#7329)
github-actions[bot] Dec 13, 2024
19047d0
Fix: whitespace between the main content and progressive sidebar (#7271)
amyy2 Dec 13, 2024
56fbf91
Add CSS structure for country-specific style overrides (#7326) (#7327)
mpruser Dec 14, 2024
173fa23
[automated]: crowdin sync (#7330)
github-actions[bot] Dec 14, 2024
d572121
feat(search): implements Orama searchbox (#6908)
micheleriva Dec 15, 2024
3c274ba
Fix button focus (#7287)
faridomarAf Dec 16, 2024
ee92479
meta: bump @oramacloud/client from 1.3.16 to 2.1.4 in the orama group…
dependabot[bot] Dec 16, 2024
60a2c14
[automated]: crowdin sync (#7332)
github-actions[bot] Dec 17, 2024
23508d5
Enable spanish (#7334)
bmuenzenmeyer Dec 18, 2024
169cbdc
docs: fix typos in wasm mjs example (#7333)
stanley2058 Dec 19, 2024
ed481ac
Blog: v23.5.0 release post (#7341)
aduh95 Dec 19, 2024
53ce0b3
docs: Removed and redirected how-to-install-nodejs to downloads page …
Bgregg93 Dec 20, 2024
d3584a1
feat: use localName in dropdown (#7337)
bmuenzenmeyer Dec 20, 2024
d41673c
meta(codeowners): add typescript to learn section (#7338)
AugustinMauroy Dec 20, 2024
d687927
feat(learn): add Package Configuration article (#7229)
JakobJingleheimer Dec 21, 2024
56cdefb
content(learn cli): make up to date (#7307)
AugustinMauroy Dec 23, 2024
e56edcc
feat(InfoBox): introduce (#7352)
AugustinMauroy Dec 24, 2024
8b643f6
feat: download snippet generation (#7351)
ovflowd Dec 24, 2024
094fa47
feat(button): introduce `size` variant (#7348)
AugustinMauroy Dec 24, 2024
f261e77
hotfix: attempt to fix vercel region (access fetch during initial bui…
ovflowd Dec 24, 2024
d252e0b
feat(icons): introduce package manager (#7354)
AugustinMauroy Dec 24, 2024
077e07e
feat: IBM AIX Icon added (#7356)
canerakdas Dec 25, 2024
2226f7a
chore: document what we will/won’t translate (#7350)
AugustinMauroy Dec 26, 2024
3cddcc8
chore: fix lighthouse workflow (#7361)
avivkeller Dec 27, 2024
68c3996
download: restore preamble in download snippets (#7360)
ljharb Dec 27, 2024
1ef006f
feat: introduced new downloads page (#7357)
ovflowd Dec 28, 2024
fa9d844
chore: remove express example (#7359)
ovflowd Dec 28, 2024
c8e604f
fix: compatibility engine should run even on initial state (#7366)
ovflowd Dec 28, 2024
53591f9
chore: Minor changes on download page (#7367)
canerakdas Dec 28, 2024
c9b01b5
fix: numerous minor improvements and fixes for downloads page (#7368)
ovflowd Dec 28, 2024
060f050
feat: add streams guide (#7123)
Ceres6 Dec 29, 2024
27c8deb
docs: Fix 'Down the rabbit-hole' link on 'Publishing a package' page …
yuyokk Jan 2, 2025
e23598d
meta: bump @types/node from 22.10.1 to 22.10.3 (#7381)
dependabot[bot] Jan 2, 2025
3e1c9cd
meta: bump @testing-library/react from 16.0.1 to 16.1.0 in the testin…
dependabot[bot] Jan 2, 2025
e20a801
chore: add more unit tests (#7371)
ovflowd Jan 3, 2025
8790770
fix: breadcrumb overflow on mobile resolution (#7372)
canerakdas Jan 3, 2025
d8240d1
meta: bump lint-staged from 15.2.10 to 15.3.0 (#7379)
dependabot[bot] Jan 4, 2025
6db0c9c
meta: bump the lint group with 7 updates (#7375)
dependabot[bot] Jan 4, 2025
baae0f1
meta: bump prettier from 3.4.1 to 3.4.2 (#7380)
dependabot[bot] Jan 4, 2025
6093af9
Visually differentiate table of content heading levels (#7385)
bmuenzenmeyer Jan 6, 2025
4b710a9
fix: ensure code elements within links display correct link styling (…
mpruser Jan 6, 2025
fef1932
chore: reduce Searchbox button layout shift (#7358)
rjborba Jan 6, 2025
20e35b7
[automated]: crowdin sync (#7384)
github-actions[bot] Jan 6, 2025
5a69946
blog: add Upcoming CVE for EOL Versions post (#7328)
RafaelGSS Jan 6, 2025
b417a64
feat: official vs community and instructions for downloads page (#7365)
ovflowd Jan 7, 2025
90719ac
chore: bump @storybook/addon-webpack5-compiler-swc from 1.0.5 to 2.0.…
mikeesto Jan 7, 2025
7a20bd2
Blog: v23.6.0 release post (#7392)
marco-ippolito Jan 7, 2025
6cd9e13
Blog: v22.13.0 release post (#7393)
ruyadorno Jan 7, 2025
8fc5765
hot fix: fixed i18n and i18n types (#7394)
ovflowd Jan 8, 2025
d61ffd8
7342 edit this translation (#7389)
bmuenzenmeyer Jan 8, 2025
1b10adc
Update event-loop-timers-and-nexttick.md (#7364)
saeid1994 Jan 10, 2025
0cd47e1
docs: add Devbox as commumity download option (#7370)
mootoday Jan 13, 2025
2e31313
[automated]: crowdin sync (#7398)
github-actions[bot] Jan 13, 2025
68f6154
docs: Updated a string in array of code example (#7402)
AjayBains Jan 14, 2025
e7532b7
Blog: add security pre-release announcement (#7404)
RafaelGSS Jan 14, 2025
a2af16a
Blog: change sec release to vulnerability folder (#7405)
RafaelGSS Jan 14, 2025
a21e72b
chore: make fnm an official installation method (#7400)
ovflowd Jan 16, 2025
1e4fc38
upgrade orama searchbox to 0.3.2 (#7408)
rjborba Jan 18, 2025
02f5a3e
CI: Static export locale (#7409)
canerakdas Jan 18, 2025
c6df7d2
Use console.error() for errors consistently (#7411)
dragunovartem99 Jan 20, 2025
95047b1
doc: update typescript docs (#7412)
khaosdoctor Jan 21, 2025
5f194a1
January Security Release (#7414)
RafaelGSS Jan 21, 2025
d95d1fb
Blog: add cve to eol mention in last sec release (#7415)
RafaelGSS Jan 21, 2025
dc6fede
[automated]: crowdin sync (#7410)
github-actions[bot] Jan 23, 2025
bad2b2f
fix(blog): fix pubdate of upcoming-cve-for-eol-versions (#7403)
myakura Jan 24, 2025
8c3512f
Introduce notify-on-force-push workflow (#7322)
bmuenzenmeyer Jan 26, 2025
71b4258
Update anatomy-of-an-http-transaction.md (#7424)
amochuko Jan 26, 2025
1e51ef6
fix: add additional favicon redirect (#7422)
bmuenzenmeyer Jan 26, 2025
42d2a3c
fix: Button accessibility (#7420)
canerakdas Jan 26, 2025
99842cb
hotfix: url on downloads page (current)
ovflowd Jan 26, 2025
6f7fb81
hotfix: url on downloads page (lts)
ovflowd Jan 26, 2025
047eb04
hotfix: remove force-push condition from notification
bmuenzenmeyer Jan 26, 2025
71763ed
hotfix: label action
bmuenzenmeyer Jan 26, 2025
1ede5d0
specify the message
bmuenzenmeyer Jan 26, 2025
ee2c808
fix: remove GlowingBackdrop from accessibility tree (#7429)
aduh95 Jan 27, 2025
febfdb8
[automated]: crowdin sync (#7418)
github-actions[bot] Jan 27, 2025
3dce440
Update notify-on-push.yml (#7430)
bmuenzenmeyer Jan 28, 2025
c119197
Remove reference-style markdown links from translated content (#7426)
bmuenzenmeyer Jan 28, 2025
6fed09a
Fix: nodejs.org/about/* leads to 404 (#7432)
lextm Jan 28, 2025
7efa770
chore: better links for source (#7428)
ovflowd Jan 29, 2025
70f5a9f
feat: create markdown snippets linter (#7431)
araujogui Jan 29, 2025
8746984
Blog: v23.7.0 release post (#7435)
aduh95 Jan 30, 2025
72131a7
download: fix nvm instructions (#7434)
ljharb Feb 1, 2025
c4ea16e
Revert "download: fix nvm instructions" (#7444)
ovflowd Feb 1, 2025
317dce6
fix: accessibility of the mobile nav bar (#7427)
aduh95 Feb 1, 2025
837a461
feat(learn): add section for dynamically generating test cases (#7387)
JakobJingleheimer Feb 2, 2025
1f27135
[automated]: crowdin sync (#7436)
github-actions[bot] Feb 3, 2025
6b0c683
Update transpile.md (#7473)
gabrielpereira3 Feb 4, 2025
4a6d2ff
meta: bump actions/setup-node from 4.1.0 to 4.2.0 (#7462)
dependabot[bot] Feb 4, 2025
dcdd2a6
meta: bump actions/cache from 4.1.2 to 4.2.0 (#7461)
dependabot[bot] Feb 4, 2025
021bf3c
feat(learn): add article for publishing a typescript package (#7279)
JakobJingleheimer Feb 5, 2025
0d128a7
content(learn/typescript): revise introduction (#7470)
AugustinMauroy Feb 5, 2025
de63103
meta: bump actions/upload-artifact from 4.4.3 to 4.6.0 (#7459)
dependabot[bot] Feb 5, 2025
b4695f6
meta: bump github/codeql-action from 3.27.5 to 3.28.8 (#7460)
dependabot[bot] Feb 5, 2025
16f5b79
meta: bump step-security/harden-runner from 2.10.1 to 2.10.4 (#7457)
dependabot[bot] Feb 5, 2025
d230a45
meta: bump stefanzweifel/git-auto-commit-action from 5.0.1 to 5.1.0 (…
dependabot[bot] Feb 5, 2025
20384c2
meta: bump crowdin/github-action from 2.3.0 to 2.5.2 (#7458)
dependabot[bot] Feb 5, 2025
082d905
meta: bump shiki from 1.24.4 to 2.2.0 (#7455)
dependabot[bot] Feb 6, 2025
1be29bf
meta: bump the storybook group with 6 updates (#7447)
dependabot[bot] Feb 7, 2025
d2661f5
meta: bump semver from 7.6.3 to 7.7.1 (#7475)
dependabot[bot] Feb 7, 2025
cde2cba
feat(learn/typescript): polish, wordsmith, and add caveat (#7479)
JakobJingleheimer Feb 8, 2025
a90d199
meta: bump the next-js group with 3 updates (#7449)
dependabot[bot] Feb 8, 2025
b0b777e
meta: bump @radix-ui/react-toast from 1.2.4 to 1.2.5 (#7452)
dependabot[bot] Feb 9, 2025
372a36a
meta: bump @radix-ui/react-tooltip from 1.1.6 to 1.1.8 (#7483)
dependabot[bot] Feb 9, 2025
b546ff5
Blog: v20.18.3 release post (#7485)
marco-ippolito Feb 10, 2025
882daf6
style: code fallback font (#7480)
arthurjdam Feb 10, 2025
c72e35a
meta: bump the testing group with 2 updates (#7448)
dependabot[bot] Feb 11, 2025
a6c0ad9
Blog: v22.14.0 release post (#7488)
aduh95 Feb 11, 2025
2bbe0fe
fix: remove confusing close label for navigation menu (#7463)
aduh95 Feb 11, 2025
c474e82
Update run.md (#7466)
justnixx Feb 11, 2025
94933af
fix(snippets): update nvm instructions (#7467)
ljharb Feb 11, 2025
e52e6db
fix(diagnostics): Updated flamegraph tutorial to use better tools (#7…
wesleytodd Feb 11, 2025
e10c6af
Blog: v23.8.0 release post (#7496)
targos Feb 13, 2025
10c21c4
docs: corrected example code of fetch API mocking in test runner. (#7…
bilalshareef Feb 17, 2025
6fcbf5b
docs: Added streams example to reading-files-with-nodejs (#7500)
benhalverson Feb 18, 2025
0b2e7b6
feat: Added volta to package manager download dropdown (#7497)
benhalverson Feb 18, 2025
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Node.js Status Page
url: https://status.nodejs.org
about: 'Need to check if there is any ongoing incidents?'
- name: Report an API Docs Issue on the Node.js Website
url: https://github.com/nodejs/node/issues/new?assignees=&labels=doc&template=3-api-ref-docs-problem.yml
about: 'Is something wrong with the API Docs? Did you face a bug with the API Docs?'
Expand Down
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ updates:
- 'eslint'
- 'typescript-eslint'
- 'eslint-*'
- '@eslint/*'
- 'stylelint'
- 'stylelint-*'
exclude-patterns:
Expand Down Expand Up @@ -69,6 +70,7 @@ updates:
orama:
patterns:
- '@orama/*'
- '@oramacloud/*'
ignore:
# Manually update major versions of @types/node with the version specified within .nvmrc
- dependency-name: '@types/node'
Expand Down
34 changes: 27 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

Expand All @@ -65,7 +65,7 @@ jobs:
run: echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"

- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
Expand All @@ -76,7 +76,7 @@ jobs:
# regardless of having code changes or not
fetch-depth: 1

- uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
Expand All @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-

- name: Set up Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand All @@ -114,11 +114,29 @@ jobs:
# Used for API requests that require GitHub API scopes
NEXT_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}

- name: Build Next.js (Static)
# We only run full static builds within Pull Requests. As they're not needed on `merge_group` or `push` events
- name: Build Next.js (Static All Locales)
# We only run full static builds within Pull Requests. This step is also used to export
# static output in all languages, and it only works on `push` events.
if: github.event_name == 'push'
# We want to enforce that the actual `turbo@latest` package is used instead of a possible hijack from the user
# the `${{ steps.turborepo_arguments.outputs.turbo_args }}` is a string substitution coming from a previous step
run: npx --package=turbo@latest -- turbo deploy ${{ steps.turborepo_arguments.outputs.turbo_args }}
env:
# We want to ensure we have enough RAM allocated to the Node.js process
# this should be a last resort in case by any chances the build memory gets too high
# but in general this should never happen
NODE_OPTIONS: '--max_old_space_size=4096'
# Used for API requests that require GitHub API scopes
NEXT_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
# We want to ensure that static exports for all locales are triggered only on `push` events to save resources
# and time.
NEXT_PUBLIC_STATIC_EXPORT_LOCALE: true

- name: Build Next.js (Static Default Locale)
# We want to generate static output in the default language within Pull Requests
# in order to reduce source wastages and build times.
# Note that we skip full static builds on Crowdin-based Pull Requests as these PRs should only contain translation changes
if: |
(github.event_name == 'push') ||
(github.event_name == 'pull_request_target' &&
github.event.pull_request.head.ref != 'chore/crowdin')
# We want to enforce that the actual `turbo@latest` package is used instead of a possible hijack from the user
Expand All @@ -131,6 +149,8 @@ jobs:
NODE_OPTIONS: '--max_old_space_size=4096'
# Used for API requests that require GitHub API scopes
NEXT_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
# We want to ensure that static exports for all locales do not occur on `pull_request_target` events
NEXT_PUBLIC_STATIC_EXPORT_LOCALE: false

- name: Sync Orama Cloud
# We only want to sync the Orama Cloud production indexes on `push` events.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -60,7 +60,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -73,6 +73,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
category: '/language:${{matrix.language}}'
6 changes: 3 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Review Dependencies
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
63 changes: 40 additions & 23 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,45 +27,62 @@ permissions:
pull-requests: write

jobs:
lighthouse-ci:
get-vercel-preview:
# We want to skip our lighthouse analysis on Dependabot PRs
if: |
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
github.event.label.name == 'github_actions:pull-request'
name: Get Vercel Preview
runs-on: ubuntu-latest
outputs:
deployment_found: ${{ steps.set_outputs.outputs.deployment_found }}
url: ${{ steps.set_outputs.outputs.url }}
steps:
- name: Capture Vercel Preview
id: check_deployment
uses: patrickedqvist/wait-for-vercel-preview@06c79330064b0e6ef7a2574603b62d3c98789125 # v1.3.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 300 # timeout after 5 minutes
check_interval: 10 # check every 10 seconds
continue-on-error: true
- name: Set Outputs
if: always()
id: set_outputs
run: |
if [[ -z "${{ steps.check_deployment.outputs.url }}" ]]; then
echo "deployment_found=false" >> $GITHUB_OUTPUT
else
echo "deployment_found=true" >> $GITHUB_OUTPUT
echo "url=${{ steps.check_deployment.outputs.url }}" >> $GITHUB_OUTPUT
fi

lighthouse-ci:
needs: get-vercel-preview
if: needs.get-vercel-preview.outputs.deployment_found == 'true'
name: Lighthouse Report
runs-on: ubuntu-latest

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}

- name: Add Comment to PR
# Signal that a lighthouse run is about to start
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
with:
message: |
Running Lighthouse audit...
# Used later to edit the existing comment
comment_tag: 'lighthouse_audit'

- name: Capture Vercel Preview
uses: patrickedqvist/wait-for-vercel-preview@06c79330064b0e6ef7a2574603b62d3c98789125 # v1.3.2
id: vercel_preview_url
with:
token: ${{ secrets.GITHUB_TOKEN }}
# timeout after 5 minutes
max_timeout: 300
# check every 10 seconds
check_interval: 10
comment-tag: 'lighthouse_audit'

- name: Audit Preview URL with Lighthouse
# Conduct the lighthouse audit
Expand All @@ -76,11 +93,11 @@ jobs:
configPath: './.lighthouserc.json'
# These URLS capture critical pages / site functionality.
urls: |
${{ steps.vercel_preview_url.outputs.url }}/en
${{ steps.vercel_preview_url.outputs.url }}/en/about
${{ steps.vercel_preview_url.outputs.url }}/en/about/previous-releases
${{ steps.vercel_preview_url.outputs.url }}/en/download
${{ steps.vercel_preview_url.outputs.url }}/en/blog
${{ needs.get-vercel-preview.outputs.url }}/en
${{ needs.get-vercel-preview.outputs.url }}/en/about
${{ needs.get-vercel-preview.outputs.url }}/en/about/previous-releases
${{ needs.get-vercel-preview.outputs.url }}/en/download
${{ needs.get-vercel-preview.outputs.url }}/en/blog
uploadArtifacts: true # save results as a action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage

Expand All @@ -93,7 +110,7 @@ jobs:
# see https://github.com/actions/github-script#use-env-as-input
LIGHTHOUSE_RESULT: ${{ steps.lighthouse_audit.outputs.manifest }}
LIGHTHOUSE_LINKS: ${{ steps.lighthouse_audit.outputs.links }}
VERCEL_PREVIEW_URL: ${{ steps.vercel_preview_url.outputs.url }}
VERCEL_PREVIEW_URL: ${{ needs.get-vercel-preview.outputs.url }}
with:
# Run as a separate file so we do not have to inline all of our formatting logic.
# See https://github.com/actions/github-script#run-a-separate-file for more info.
Expand All @@ -103,9 +120,9 @@ jobs:

- name: Add Comment to PR
# Replace the previous message with our formatted lighthouse results
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
with:
# Reference the previously created comment
comment_tag: 'lighthouse_audit'
comment-tag: 'lighthouse_audit'
message: |
${{ steps.format_lighthouse_score.outputs.comment }}
18 changes: 9 additions & 9 deletions .github/workflows/lint-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

Expand Down Expand Up @@ -65,18 +65,18 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}

- name: Restore Lint Cache
uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
.turbo/cache
Expand All @@ -95,7 +95,7 @@ jobs:
cache-lint-

- name: Set up Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
(github.event_name == 'pull_request_target' &&
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
github.event.pull_request.head.ref != 'chore/crowdin')
uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
.turbo/cache
Expand Down Expand Up @@ -159,12 +159,12 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Provides the Pull Request commit SHA or the GitHub merge group ref
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
Expand All @@ -173,7 +173,7 @@ jobs:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
# We want to ensure that the Node.js version running here respects our supported versions
node-version-file: '.nvmrc'
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/notify-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- main

name: Notify on Push
permissions:
contents: read

jobs:
notify_on_push:
name: Notify on any direct push to `main`
if: >
github.repository == 'nodejs/nodejs.org' &&
github.actor != 'github-merge-queue[bot]'
runs-on: ubuntu-latest
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
env:
SLACK_COLOR: '#DE512A'
SLACK_ICON: https://github.com/nodejs.png?size=48
SLACK_TITLE: ${{ github.actor }} directly pushed to ${{ github.ref }}
SLACK_MESSAGE: |
A commit was directly pushed to <https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}|${{ github.repository }}@${{ github.ref_name }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>

Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
SLACK_USERNAME: nodejs-bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

Expand Down
Loading
Loading