@go-to-k/cdkd 0.259.0 → 0.259.1

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.
package/dist/cli.js CHANGED
@@ -1901,7 +1901,7 @@ const FLUSH_INTERVAL_MS = 2e3;
1901
1901
  const FLUSH_EVENT_THRESHOLD = 50;
1902
1902
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
1903
1903
  function getCdkdVersion() {
1904
- return "0.259.0";
1904
+ return "0.259.1";
1905
1905
  }
1906
1906
  /**
1907
1907
  * Generate a time-sortable unique run id, e.g.
@@ -8516,13 +8516,13 @@ var LambdaFunctionProvider = class {
8516
8516
  Role: properties["Role"],
8517
8517
  Handler: properties["Handler"],
8518
8518
  Runtime: properties["Runtime"],
8519
- Timeout: properties["Timeout"],
8520
- MemorySize: properties["MemorySize"],
8521
- Description: properties["Description"],
8522
- Environment: properties["Environment"],
8523
- Layers: properties["Layers"],
8524
- TracingConfig: properties["TracingConfig"],
8525
- EphemeralStorage: properties["EphemeralStorage"],
8519
+ Timeout: this.clearOnUpdateRemoval(properties["Timeout"], previousProperties["Timeout"], 3),
8520
+ MemorySize: this.clearOnUpdateRemoval(properties["MemorySize"], previousProperties["MemorySize"], 128),
8521
+ Description: this.clearOnUpdateRemoval(properties["Description"], previousProperties["Description"], ""),
8522
+ Environment: this.clearOnUpdateRemoval(properties["Environment"], previousProperties["Environment"], { Variables: {} }),
8523
+ Layers: this.clearOnUpdateRemoval(properties["Layers"], previousProperties["Layers"], []),
8524
+ TracingConfig: this.clearOnUpdateRemoval(properties["TracingConfig"], previousProperties["TracingConfig"], { Mode: "PassThrough" }),
8525
+ EphemeralStorage: this.clearOnUpdateRemoval(properties["EphemeralStorage"], previousProperties["EphemeralStorage"], { Size: 512 }),
8526
8526
  VpcConfig: this.buildVpcConfigForUpdate(properties["VpcConfig"], previousProperties["VpcConfig"]),
8527
8527
  DeadLetterConfig: this.clearOnUpdateRemoval(properties["DeadLetterConfig"], previousProperties["DeadLetterConfig"], { TargetArn: "" }),
8528
8528
  KMSKeyArn: this.clearOnUpdateRemoval(properties["KmsKeyArn"], previousProperties["KmsKeyArn"], ""),
@@ -8677,9 +8677,12 @@ var LambdaFunctionProvider = class {
8677
8677
  * `UpdateFunctionConfiguration` treats an absent field as "no change", so
8678
8678
  * passing `undefined` for a field the user just dropped from the template
8679
8679
  * leaves the old value live on AWS — the update reports success while the
8680
- * field silently persists. For fields that support an explicit reset value
8681
- * (DeadLetterConfig `{TargetArn:''}`, KMSKeyArn `''`, FileSystemConfigs `[]`,
8682
- * ImageConfig `{}`, SnapStart `{ApplyOn:'None'}`) we send that reset when the
8680
+ * field silently persists. For every optional config field we send its
8681
+ * CFn-default / explicit reset value (e.g. Timeout `3`, MemorySize `128`,
8682
+ * Environment `{Variables:{}}`, Layers `[]`, TracingConfig
8683
+ * `{Mode:'PassThrough'}`, EphemeralStorage `{Size:512}`, DeadLetterConfig
8684
+ * `{TargetArn:''}`, KMSKeyArn `''`, FileSystemConfigs `[]`, ImageConfig `{}`,
8685
+ * SnapStart `{ApplyOn:'None'}`, LoggingConfig `{LogFormat:'Text'}`) when the
8683
8686
  * field was present before and is now absent. Mirrors `buildVpcConfigForUpdate`.
8684
8687
  */
8685
8688
  clearOnUpdateRemoval(newValue, previousValue, clearValue) {
@@ -61284,7 +61287,7 @@ function createMigrateCommand() {
61284
61287
  */
61285
61288
  function buildProgram() {
61286
61289
  const program = new Command();
61287
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.259.0");
61290
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.259.1");
61288
61291
  program.addCommand(createBootstrapCommand());
61289
61292
  program.addCommand(createSynthCommand());
61290
61293
  program.addCommand(createListCommand());