Check runtime end of life
check_runtime_eolUse this when the user asks whether a runtime version or a project's runtimes are still supported, such as "is Node 18 past end of life?" or "is the Node version in our Dockerfile still supported?". Pass runtimes by name and version, such as [{"runtime": "node", "version": "18"}], or the repository's pin files with their contents: package.json, .nvmrc, .node-version, .python-version, pyproject.toml, Pipfile, runtime.txt, go.mod, .go-version, Dockerfile, compose.yaml, .tool-versions, mise.toml, .ruby-version, Gemfile, composer.json or global.json. Returns one row per pin, past end of life first: the endoflife.date release cycle, end-of-life date, whether it passed, days left, latest patch and next supported cycle. A range such as >=18 is checked at its oldest version; an image tag such as python:3.11-slim at its version, plus its Debian or Alpine base. A pin it cannot match comes back as unmatched with the reason. Data comes from endoflife.date, maintained by volunteers. Not for package vulnerabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | The repository files that pin runtime versions, each with its name and full contents: package.json, .nvmrc, .node-version, .python-version, pyproject.toml, Pipfile, runtime.txt, go.mod, .go-version, Dockerfile, compose.yaml, .tool-versions, mise.toml, .ruby-version, Gemfile, composer.json or global.json | |
| runtimes | No | Runtimes to check by name and version, when no repository files are open, such as [{"runtime": "node", "version": "18"}, {"runtime": "python", "version": "3.8"}] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | Date of the source data when it states one, otherwise the date it was read (UTC, YYYY-MM-DD) | |
| error | No | Present when status is not ok: a stable code, what went wrong and what to do next. | |
| counts | Yes | ||
| notice | No | ||
| source | Yes | Where the data comes from | |
| status | Yes | ||
| summary | Yes | One line: how many pins are past end of life, ending soon, supported and unmatched | |
| runtimes | Yes | One row per runtime pin: past end of life first, then ending soon, supported, and unmatched last | |
| truncated | Yes | True when the files held more than 60 pins and only the first 60 were checked | |
| skippedFiles | Yes |