Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
lambda-runtimes
Advanced tools
Canonical list of AWS Lambda runtime identifiers and corresponding CPU architectures
npm i lambda-runtimes
// esm
import {
runtimes,
runtimeVersions,
runtimeList,
runtimesByArchitecture,
architecturesByRuntime,
aliases,
retiredRuntimes,
} from 'lambda-runtimes'
// cjs
let {
runtimes,
runtimeVersions,
runtimeList,
runtimesByArchitecture,
architecturesByRuntime,
aliases,
retiredRuntimes,
} = require('lambda-runtimes')
lambda-runtimes
exports seven items:
runtimes
(object) - Lambda runtime strings, organized by runtime name
runtimes.node[0]
→ nodejs20.x
runtimes.node
=== runtimes.nodejs
=== runtimes.['node.js']
runtimeVersions
(object) - Semver representations of each Lambda runtime
runtimeVersions['nodejs20.x']
returns an object with major: '20'
, minor: null
, patch: null
, and wildcard: '20.*.*'
propertiesruntimeList
(array) - list of all Lambda runtime strings (order not necessarily guaranteed)runtimesByArchitecture
(object) - list of Lambda runtimes supported by each CPU architecture
runtimesByArchitecture.arm64[0]
→ nodejs20.x
)architecturesByRuntime
(object) - list of Lambda CPU architectures supported by each runtime
architecturesByRuntime['nodejs20.x']
→ [ 'arm64', 'x86_64' ]
)aliases
(object) - shorthand or alternate names for runtime aliases (e.g. py
for python
)retiredRuntimes
(object) - retired / EOL Lambda runtime strings, organized by runtime name
retiredRuntimes.node[0]
→ nodejs10.x
Example:
{
runtimes: {
node: [ 'nodejs20.x', 'nodejs18.x' ],
...
},
runtimeVersions: {
'nodejs20.x': { major: '20', minor: null, patch: null, wildcard: '20.*.*' },
...
},
runtimeList: [ 'nodejs20.x', 'nodejs18.x', ... ],
runtimesByArchitecture: {
arm64: [ 'nodejs20.x', 'nodejs18.x', ... ],
x86_64: [ 'nodejs20.x', 'nodejs18.x', ... ]
},
architecturesByRuntime: {
'nodejs20.x': [ 'arm64', 'x86_64' ],
'nodejs18.x': [ 'arm64', 'x86_64' ],
...
},
aliases: {
nodejs: 'node',
...
},
retiredRuntimes: {
node: [ 'nodejs10.x', ... ],
...
},
}
[1.1.7] 2023-12-13
nodejs14.x
(deprecated 2023-11-27)python3.7
(deprecated 2023-11-27)ruby2.7
(deprecated 2023-12-07)
ruby3.2
FAQs
Canonical list of AWS Lambda runtime identifiers and corresponding CPU architectures
The npm package lambda-runtimes receives a total of 3,093 weekly downloads. As such, lambda-runtimes popularity was classified as popular.
We found that lambda-runtimes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.