STK-15Avoid
Running software that is out of support
Running a runtime, framework or tool in production or in the build after its makers stopped fixing it. That covers a Node.js or Python version past its end-of-life date and a Node.js line that is not yet LTS. It also covers retired tools such as Create React App, AngularJS, Karma, Protractor and TSLint.
Review by
2027-04-30
How to do it
Software out of support gets no security fixes, so every new hole stays open. Node.js 20 reached end of life on 30 April 2026. Node.js 25 reached it on 1 June 2026. Python 3.10 reached it on 1 October 2026. Odd-numbered Node.js lines up to 25 got six months of support and were never LTS. From Node.js 27, each line spends six months as Current before it becomes LTS. Create React App was deprecated by the React team on 14 February 2025, and its last release, 5.0.1, was in April 2022. Move to Vite or a framework such as Next.js. AngularJS support ended in January 2022, and its last release, 1.8.3, was in April 2022. Move to React or Angular one screen at a time. Karma's own page says it is deprecated and takes only critical security fixes. Protractor's last release was 7.0.0 in May 2020, and its repository was archived in July 2024. TSLint was deprecated in favour of ESLint, with its last release in July 2020. Move Karma to Vitest or Jest, Protractor to Playwright and TSLint to ESLint. Agents still suggest these tools from old training data, so name the replacements in the instructions file. Each fails Pick software that still ships releases. Plan each upgrade before the date, with the help of Update dependencies in small automatic steps.
Examples
JavaScript example
const RETIRED = { 'react-scripts': 'vite', karma: 'vitest', protractor: '@playwright/test', tslint: 'eslint' };
export const toReplace = deps => Object.keys(RETIRED).filter(name => name in deps)
.concat(/^[~^]?1\./.test(deps.angular ?? '') ? ['angular'] : []);
Python example
from datetime import date
END_OF_LIFE = {"node 20": date(2026, 4, 30), "node 25": date(2026, 6, 1), "python 3.10": date(2026, 10, 1)}
def past_end_of_life(runtime: str, today: date) -> bool:
return runtime in END_OF_LIFE and today > END_OF_LIFE[runtime]
How to check
Every runtime version in the Dockerfile, version files and CI configuration is supported on the official release schedule today. No production Node.js version is a Current or Alpha line. A search of every package.json and bower.json finds no react-scripts, karma, protractor or tslint dependency and no angular package at a 1.x version.
Sources
Related rules
- ENG-71 Keep one list of support end dates in Engineering
- INF-60 Upgrade managed engines before standard support ends in Infrastructure and environments
- STK-2 Pick software that still ships releases in Software choices
- ENG-18 Update dependencies in small automatic steps in Engineering
- DEV-12 Publish a support matrix in Developer tools, SDKs and CLIs
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/stack/languages-and-runtimes/end-of-life-runtimes">Agent Wranglers software choices playbook</a>. In code you write, add a comment next to it with the same link.