Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lambda-runtimes

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-runtimes - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

16

cjs/index.js

@@ -70,9 +70,10 @@ // Canonical runtime list: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

// Add aliases after the other stuff populated to prevent dupes
runtimes.nodejs = runtimes.node
runtimes['node.js'] = runtimes.node
runtimes.py = runtimes.python
runtimes.rb = runtimes.ruby
runtimes.golang = runtimes.go
runtimes['.net'] = runtimes.dotnet
let aliases = {
nodejs: runtimes.node,
'node.js': runtimes.node,
py: runtimes.python,
rb: runtimes.ruby,
golang: runtimes.go,
'.net': runtimes.dotnet,
}

@@ -109,3 +110,4 @@ let retiredRuntimes = {

architecturesByRuntime,
aliases,
retiredRuntimes,
}
{
"name": "lambda-runtimes",
"description": "Canonical list of AWS Lambda runtime identifiers and corresponding CPU architectures",
"version": "0.0.1",
"version": "0.0.2",
"type": "module",

@@ -6,0 +6,0 @@ "module": "./esm/index.js",

@@ -19,2 +19,3 @@ # AWS Lambda runtimes

architecturesByRuntime,
aliases,
retiredRuntimes,

@@ -31,2 +32,3 @@ } from 'lambda-runtimes'

architecturesByRuntime,
aliases,
retiredRuntimes,

@@ -45,2 +47,3 @@ } = require('lambda-runtimes')

- Example: `architecturesByRuntime['nodejs14.x']` → `[ 'arm64', 'x86_64' ]`)
- **`aliases`** (object) - shorthand or alternate names for runtime aliases (e.g. `py` for `runtimes.python`)
- **`retiredRuntimes`** (object) - retired / EOL Lambda runtime strings, organized by runtime name

@@ -67,2 +70,6 @@ - Example: `retiredRuntimes.node[0]` → `nodejs10.x`

},
aliases: {
nodejs: [ 'nodejs14.x', 'nodejs12.x' ],
...
},
retiredRuntimes: {

@@ -69,0 +76,0 @@ node: [ 'nodejs10.x', ... ],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc