sst 2.23.5 → 2.23.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -634,6 +634,7 @@ export declare class Function extends CDKFunction implements SSTConstruct {
634
634
  type: "Function";
635
635
  data: {
636
636
  arn: string;
637
+ runtime: "container" | "rust" | "nodejs12.x" | "nodejs14.x" | "nodejs16.x" | "nodejs18.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "dotnetcore3.1" | "dotnet6" | "java8" | "java11" | "java17" | "go1.x" | "go" | undefined;
637
638
  handler: string | undefined;
638
639
  localId: string;
639
640
  secrets: string[];
@@ -348,6 +348,7 @@ export class Function extends CDKFunction {
348
348
  type: "Function",
349
349
  data: {
350
350
  arn: this.functionArn,
351
+ runtime: this.props.runtime,
351
352
  handler: this.props.handler,
352
353
  localId: this.node.addr,
353
354
  secrets: this.allBindings
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.23.5",
4
+ "version": "2.23.7",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
package/stacks/synth.js CHANGED
@@ -14,13 +14,15 @@ export async function synth(opts) {
14
14
  const { useRustHandler } = await import("../runtime/handlers/rust.js");
15
15
  const { usePythonHandler } = await import("../runtime/handlers/python.js");
16
16
  const { useJavaHandler } = await import("../runtime/handlers/java.js");
17
- useNodeHandler();
18
- useGoHandler();
19
- useContainerHandler();
20
- usePythonHandler();
21
- useJavaHandler();
22
- useDotnetHandler();
23
- useRustHandler();
17
+ if (opts.mode !== "remove") {
18
+ useNodeHandler();
19
+ useGoHandler();
20
+ useContainerHandler();
21
+ usePythonHandler();
22
+ useJavaHandler();
23
+ useDotnetHandler();
24
+ useRustHandler();
25
+ }
24
26
  const cxapi = await import("@aws-cdk/cx-api");
25
27
  const { Configuration } = await import("sst-aws-cdk/lib/settings.js");
26
28
  const project = useProject();