Skip to content

Commit 1a67384

Browse files
committed
Prefer EoL capitalization of EOL
1 parent 5a6d7d2 commit 1a67384

File tree

15 files changed

+35
-35
lines changed

15 files changed

+35
-35
lines changed

apps/site/components/EOL/EOLReleaseTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const EOLReleaseTable: FC = async () => {
1414
const releaseData = await provideReleaseData();
1515
const vulnerabilities = await provideVulnerabilities();
1616

17-
const eolReleases = releaseData.filter(release => release.status === 'EOL');
17+
const eolReleases = releaseData.filter(release => release.status === 'EoL');
1818

1919
const t = await getTranslations();
2020

apps/site/components/withReleaseAlertBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const WithReleaseAlertBox: FC<WithReleaseAlertBoxProps> = ({ status }) => {
1414
const t = useTranslations();
1515

1616
switch (status) {
17-
case 'EOL':
17+
case 'EoL':
1818
return (
1919
<AlertBox
2020
title={t('components.common.alertBox.warning')}

apps/site/next-data/generators/__tests__/releaseData.test.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('generateReleaseData', () => {
1919
return generateReleaseData();
2020
};
2121

22-
it('returns EOL when release is on or past EOL date', async t => {
22+
it('returns EoL when release is on or past EoL date', async t => {
2323
const result = await runWithNodevuData(t, '2024-10-18', {
2424
14: {
2525
releases: {
@@ -43,10 +43,10 @@ describe('generateReleaseData', () => {
4343
},
4444
});
4545

46-
assert.equal(result[0]?.status, 'EOL');
46+
assert.equal(result[0]?.status, 'EoL');
4747
});
4848

49-
it('returns Current when release is not EOL and latest is not LTS', async t => {
49+
it('returns Current when release is not EoL and latest is not LTS', async t => {
5050
const result = await runWithNodevuData(t, '2026-04-14', {
5151
20: {
5252
releases: {
@@ -74,7 +74,7 @@ describe('generateReleaseData', () => {
7474
assert.equal(result[0]?.status, 'Current');
7575
});
7676

77-
it('returns LTS when release is not EOL and latest is flagged as LTS', async t => {
77+
it('returns LTS when release is not EoL and latest is flagged as LTS', async t => {
7878
const result = await runWithNodevuData(t, '2026-04-14', {
7979
22: {
8080
releases: {
@@ -102,7 +102,7 @@ describe('generateReleaseData', () => {
102102
assert.equal(result[0]?.status, 'LTS');
103103
});
104104

105-
it('returns Current when release is not EOL and LTS date has passed but latest is not LTS', async t => {
105+
it('returns Current when release is not EoL and LTS date has passed but latest is not LTS', async t => {
106106
const result = await runWithNodevuData(t, '2026-04-14', {
107107
24: {
108108
releases: {

apps/site/next-data/generators/releaseData.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const getNodeReleaseStatus = (latest, eol) => {
77
const now = new Date();
88

99
if (eol && now >= new Date(eol)) {
10-
return 'EOL';
10+
return 'EoL';
1111
}
1212

1313
if (latest.lts.isLts) {

apps/site/next.constants.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export const SEVERITY_KIND_MAP = {
210210
* @type {Record<import('./types/releases').NodeReleaseStatus, import('@node-core/ui-components/Common/Badge').BadgeKind>}
211211
*/
212212
export const STATUS_KIND_MAP = {
213-
EOL: 'warning',
213+
EoL: 'warning',
214214
LTS: 'info',
215215
Current: 'default',
216216
};

apps/site/pages/en/about/eol.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: End-Of-Life
33
layout: about
4-
description: Understand Node.js End-of-Life, what it means for security, tooling, and compliance, plus EOL version details and commercial support options.
4+
description: Understand Node.js End-of-Life, what it means for security, tooling, and compliance, plus EoL version details and commercial support options.
55
---
66

7-
# End-Of-Life (EOL)
7+
# End-Of-Life (EoL)
88

99
## Why and how Node.js releases reach End-Of-Life
1010

@@ -16,29 +16,29 @@ Major versions of Node.js are released, patched, and designated End-Of-Life on a
1616
</Button>
1717
<span>or</span>
1818
<Button as="a" kind="warning" href="#commercial-support" className="flex-1">
19-
<span>Get security support for EOL versions</span>
19+
<span>Get security support for EoL versions</span>
2020
</Button>
2121
</div>
2222

2323
[View the Node.js release schedule](/about/releases/).
2424

25-
## What Happens When a Release Line Reaches EOL
25+
## What Happens When a Release Line Reaches EoL
2626

2727
When a version reaches End-Of-Life, it means that it will no longer receive updates, including security patches. This can leave applications running on these versions vulnerable to security issues and bugs that will never be fixed.
2828

29-
- **No more vulnerability fixes**: When new security releases reveal issues and patches in newer major lines, even if the same vulnerability affects EOL release lines, there will not be any new releases for them. Users still clinging on to EOL release lines and using affected code paths will be immediately vulnerable to attacks exploiting these disclosed vulnerabilities.
30-
- **Tool-chain breakage**: EOL releases may no longer dynamically link to newer versions of the shared libraries they depend on, blocking or breaking system updates.
31-
- **Ecosystem drift**: Many popular user-land packages drop support for EOL Node.js releases over time. When an application clings onto outdated packages, it may suffer from even more unfixed vulnerabilities and bugs, further drifting away from ecosystem norm.
29+
- **No more vulnerability fixes**: When new security releases reveal issues and patches in newer major lines, even if the same vulnerability affects EoL release lines, there will not be any new releases for them. Users still clinging on to EoL release lines and using affected code paths will be immediately vulnerable to attacks exploiting these disclosed vulnerabilities.
30+
- **Tool-chain breakage**: EoL releases may no longer dynamically link to newer versions of the shared libraries they depend on, blocking or breaking system updates.
31+
- **Ecosystem drift**: Many popular user-land packages drop support for EoL Node.js releases over time. When an application clings onto outdated packages, it may suffer from even more unfixed vulnerabilities and bugs, further drifting away from ecosystem norm.
3232
- **Compliance red flags**: Many industry audits forbid unmaintained runtimes.
3333

34-
## EOL Versions
34+
## EoL Versions
3535

3636
<EOLReleaseTable />
3737

3838
## Commercial Support
3939

40-
Despite the obvious downsides of using EOL releases, in practice, organizations face constraints that prevent immediate upgrades, such as legacy codebases, compliance requirements, or complex dependency chains. Through the [OpenJS Foundation Ecosystem Sustainability Program](https://openjsf.org/blog/ecosystem-sustainability-program), Node.js is supported by HeroDevs and NodeSource to provide commercial services for security fixes.
40+
Despite the obvious downsides of using EoL releases, in practice, organizations face constraints that prevent immediate upgrades, such as legacy codebases, compliance requirements, or complex dependency chains. Through the [OpenJS Foundation Ecosystem Sustainability Program](https://openjsf.org/blog/ecosystem-sustainability-program), Node.js is supported by HeroDevs and NodeSource to provide commercial services for security fixes.
4141

4242
HeroDevs provides [Never-Ending Support (NES)](https://nodejs.org/esp/herodevs) for Node.js versions past their official maintenance phase. This includes security patches, compliance assistance, and technical support to help bridge the gap while you plan your upgrade strategy.
4343

44-
Using EOL releases through commercial support should be viewed as a temporary solution—the goal should always be to upgrade to actively supported versions.
44+
Using EoL releases through commercial support should be viewed as a temporary solution—the goal should always be to upgrade to actively supported versions.

apps/site/pages/en/about/partners.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Supporters are individuals and organizations that provide financial support thro
2929

3030
## Ecosystem Sustainability Program (ESP)
3131

32-
Do you run a node.js version on End-of-Life (EOL)? The OpenJS Ecosystem Sustainability Program (ESP)
33-
is a program that helps organizations to maintain their Node.js applications on EOL versions.
32+
Do you run a node.js version on End-of-Life (EoL)? The OpenJS Ecosystem Sustainability Program (ESP)
33+
is a program that helps organizations to maintain their Node.js applications on EoL versions.
3434
The program provides access to security patches, compliance assistance, and technical support
3535
to help bridge the gap while you plan your upgrade strategy. For more information about
3636
End-Of-Life versions, please visit [End-Of-Life Node.js Releases](/about/eol)
3737

38-
> Using EOL releases through commercial support should be viewed as a temporary solution, the goal should always
38+
> Using EoL releases through commercial support should be viewed as a temporary solution, the goal should always
3939
> be to upgrade to actively supported versions.
4040
4141
<PartnersList size="large" category="esp" />

apps/site/pages/en/about/previous-releases.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Installation methods designated as “Official” must meet the following requir
4343

4444
Community installation methods included on the self-service download page (located at /download) must also adhere to a minimum set of criteria:
4545

46-
- **Version Support:** Must support all currently supported, non-End-of-Life (EOL) Node.js versions.
46+
- **Version Support:** Must support all currently supported, non-End-of-Life (EoL) Node.js versions.
4747
- **OS Compatibility:** Must function on at least one officially supported Operating System (OS).
4848
- **Broad OS Support:** Cannot be limited to a subset of OS distributions or versions.
4949
- For example, an installation method claiming compatibility with “Windows” must function on “Windows 10”, “Windows 11”, and all their editions (including server versions).

apps/site/pages/en/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ layout: home
2424
<Button kind="secondary" className="!block" href="/about/eol">
2525
<span>Get security support</span>
2626
<br />
27-
<small className="!text-xs">for EOL Node.js versions</small>
27+
<small className="!text-xs">for EoL Node.js versions</small>
2828
</Button>
2929

3030
<div className="flex justify-center ml:mt-3">

apps/site/types/releases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type NodeReleaseStatus = 'LTS' | 'Current' | 'EOL';
1+
export type NodeReleaseStatus = 'LTS' | 'Current' | 'EoL';
22

33
export type NodeReleaseSource = {
44
major: number;

0 commit comments

Comments
 (0)