Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require (
github.com/cloudflare/cloudflare-go v0.115.0
github.com/creack/pty v1.1.21
github.com/eclipse/paho.mqtt.golang v1.4.3
github.com/evanw/esbuild v0.21.5
github.com/evanw/esbuild v0.27.2
github.com/fatih/color v1.17.0
github.com/fsnotify/fsnotify v1.7.0
github.com/gdamore/tcell/v2 v2.7.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ github.com/elazarl/goproxy v1.2.3 h1:xwIyKHbaP5yfT6O9KIeYJR5549MXRQkoQMRXGztz8YQ
github.com/elazarl/goproxy v1.2.3/go.mod h1:YfEbZtqP4AetfO6d40vWchF3znWX7C7Vd6ZMfdL8z64=
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
github.com/evanw/esbuild v0.21.5 h1:oShm8TT5QUhf6vM7teg0nmd14eHu64dPmVluC2f4DMg=
github.com/evanw/esbuild v0.21.5/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48=
github.com/evanw/esbuild v0.27.2 h1:3xBEws9y/JosfewXMM2qIyHAi+xRo8hVx475hVkJfNg=
github.com/evanw/esbuild v0.27.2/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
Expand Down
1 change: 1 addition & 0 deletions pkg/runtime/node/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var forceExternal = []string{
}

var targetMap = map[string]esbuild.Target{
"nodejs24.x": esbuild.ES2024,
"nodejs22.x": esbuild.ES2023,
"nodejs20.x": esbuild.ES2023,
"nodejs18.x": esbuild.ES2022,
Expand Down
3 changes: 2 additions & 1 deletion platform/src/components/aws/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,15 @@ export interface FunctionArgs {
* @example
* ```js
* {
* runtime: "nodejs22.x"
* runtime: "nodejs24.x"
* }
* ```
*/
runtime?: Input<
| "nodejs18.x"
| "nodejs20.x"
| "nodejs22.x"
| "nodejs24.x"
| "go"
| "rust"
| "provided.al2023"
Expand Down
4 changes: 2 additions & 2 deletions platform/src/components/aws/ssr-site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ export interface SsrSiteArgs extends BaseSsrSiteArgs {
* ```js
* {
* server: {
* runtime: "nodejs22.x"
* runtime: "nodejs24.x"
* }
* }
* ```
*/
runtime?: Input<"nodejs18.x" | "nodejs20.x" | "nodejs22.x">;
runtime?: Input<"nodejs18.x" | "nodejs20.x" | "nodejs22.x" | "nodejs24.x">;
/**
* The maximum amount of time the server function can run.
*
Expand Down