@go-to-k/cdkd 0.280.2 → 0.280.3

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.
@@ -9353,24 +9353,15 @@ function requireConfigString(value, fallback, path, options) {
9353
9353
  function replayWarn(logger, context) {
9354
9354
  return context?.replayingState === true ? { onUnusable: (message) => logger.warn(message) } : {};
9355
9355
  }
9356
- /**
9357
- * Refuse a present-but-non-ARRAY value where a CFn LIST block belongs.
9358
- *
9359
- * The list-shaped sibling of {@link readConfigString}, for the container one
9360
- * level up from a per-item mapper. Without it a truthy non-array
9361
- * (`SecondarySources: 'GITHUB'`) reaches `.map` and dies with a raw
9362
- * `TypeError: … .map is not a function`, and a FALSY one (`''`) is silently
9363
- * dropped by the truthiness gate that usually guards these — the same class
9364
- * `readConfigString` exists for, one level up (issue #1493 review).
9365
- *
9366
- * Callers keep the ABSENT case themselves (`== null ? undefined : …`), because
9367
- * an absent list block legitimately means "no entries" and the caller's own
9368
- * `undefined` is what the SDK expects.
9369
- *
9370
- * @throws Error when the value is not an array.
9371
- */
9372
- function requireConfigArray(value, path) {
9373
- if (!Array.isArray(value)) throw new Error(`${path} must be an array (got ${describe(value)}) — check for an unresolved intrinsic or a mis-nested template value`);
9356
+ function requireConfigArray(value, path, options) {
9357
+ if (!Array.isArray(value)) {
9358
+ const detail = `(got ${describe(value)}) — check for an unresolved intrinsic or a mis-nested template value`;
9359
+ if (options?.onUnusable) {
9360
+ options.onUnusable(`${path} must be an array ${detail}. Leaving this configuration unapplied here; the same value is REFUSED on a template-path create`);
9361
+ return;
9362
+ }
9363
+ throw new Error(`${path} must be an array ${detail}`);
9364
+ }
9374
9365
  return value;
9375
9366
  }
9376
9367
  /**
@@ -12753,7 +12744,7 @@ var CloudControlProvider = class {
12753
12744
  if (context?.finalSnapshotIdentifier !== void 0) throw new ProvisioningError(`${logicalId} (${resourceType}) requires a final snapshot (DeletionPolicy: Snapshot), but the Cloud Control API delete route has no final-snapshot parameter. Re-run with --skip-final-snapshot after snapshotting manually, or retain the resource.`, resourceType, logicalId, physicalId);
12754
12745
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
12755
12746
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
12756
- const { ASGProvider } = await import("./asg-provider-CwKNCS78.js").then((n) => n.n);
12747
+ const { ASGProvider } = await import("./asg-provider-C-Mym0XH.js").then((n) => n.n);
12757
12748
  await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
12758
12749
  return;
12759
12750
  }
@@ -19247,7 +19238,7 @@ const FLUSH_INTERVAL_MS = 2e3;
19247
19238
  const FLUSH_EVENT_THRESHOLD = 50;
19248
19239
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
19249
19240
  function getCdkdVersion() {
19250
- return "0.280.2";
19241
+ return "0.280.3";
19251
19242
  }
19252
19243
  /**
19253
19244
  * Generate a time-sortable unique run id, e.g.
@@ -21359,4 +21350,4 @@ var DeployEngine = class {
21359
21350
 
21360
21351
  //#endregion
21361
21352
  export { DiffCalculator as $, resolveBucketRegion as $t, red as A, getDockerImageBySourceHash as At, isTerminationProtectionPropagationError as B, resolveStateBucketWithDefaultAndSource as Bt, isStatefulRecreateTargetSync as C, formatError as Cn, validateContainerRepoName as Ct, cyan as D, __exportAll as Dn, runDockerForeground as Dt, bold as E, withErrorHandling as En, getDockerCmd as Et, ProviderRegistry as F, resolveApp as Ft, normalizeAwsTagsToCfn as G, CFN_TEMPLATE_URL_LIMIT as Gt, cfnRefValueFromPhysicalId as H, stateBucketExistenceConfirmed as Ht, findActionableSilentDrops as I, resolveAutoAssetStorage as It, readConfigString as J, uploadCfnTemplate as Jt, resolveExplicitPhysicalId as K, MIGRATE_TMP_PREFIX as Kt, CloudControlProvider as L, resolveCaptureObservedState as Lt, IAMRoleProvider as M, synthesisStatusMessage as Mt, collectInlinePolicyNamesManagedBySiblings as N, getDefaultStateBucketName as Nt, gray as O, runDockerStreaming as Ot, clearOnUpdateRemoval as P, getLegacyStateBucketName as Pt, applyRoleArnIfSet as Q, clearBucketRegionCache as Qt, slowCcOperationTimeoutMs as R, resolveSkipPrefix as Rt, MULTI_REGION_RECREATE_BLOCKED_TYPES as S, SynthesisError as Sn, validateAssetBucketName as St, formatResourceLine as T, normalizeAwsError as Tn, formatDockerLoginError as Tt, refStateLookupFromResource as U, warnDeprecatedNoPrefixCliFlag as Ut, IntrinsicFunctionResolver as V, resolveUseCdkBootstrapAssets as Vt, WAFv2WebACLProvider as W, CFN_TEMPLATE_BODY_LIMIT as Wt, requireConfigArray as X, AssemblyReader as Xt, replayWarn as Y, expectedOwnerParam as Yt, requireConfigString as Z, processStackMessages as Zt, createPreDeleteFinalSnapshot as _, ResourceTimeoutError as _n, AssetModeResolver as _t, DeploymentEventsStore as a, CdkdError as an, TemplateParser as at, unsupportedFinalSnapshotError as b, StackTerminationProtectionError as bn, getBootstrapMarkerKey as bt, replayFailedOperations as c, DeployCancelledError as cn, rebuildClientForBucketRegion as ct, IMPLICIT_DELETE_DEPENDENCIES as d, LocalStartServiceError as dn, stringifyValue as dt, AwsClients as en, describeTypeWithThrottleRetry as et, computeImplicitDeleteEdges as f, LockError as fn, WorkGraph as ft, ccRoutedFinalSnapshotError as g, ProvisioningError as gn, rewriteTemplateAssetReferences as gt, buildFinalSnapshotIdentifier as h, PartialFailureError as hn, loadPublishableAssetManifest as ht, DeploymentEventsReader as i, AssetError as in, DagBuilder as it, yellow as j, Synthesizer as jt, green as k, AssetManifestLoader as kt, replayRollback as l, LocalInvokeBuildError as ln, shouldRetainResource as lt, PRE_DELETE_SNAPSHOT_TYPES as m, NestedStackChildDirectDestroyError as mn, createAssetRedirectResolver as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, resetAwsClients as nn, isRetryableTransientError as nt, planFailedOps as o, ConfigError as on, LockManager as ot, ATOMIC_FINAL_SNAPSHOT_TYPES as p, MissingCdkCliError as pn, buildAssetRedirectMap as pt, assertRegionMatch as q, findLargeInlineResources as qt, DeployEngine as r, setAwsClients as rn, isThrottlingError as rt, planRollback as s, DependencyError as sn, S3StateBackend as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, getAwsClients as tn, withRetry as tt, withResourceDeadline as u, LocalMigrateError as un, AssetPublisher as ut, isFinalSnapshotError as v, ResourceUpdateNotSupportedError as vn, BOOTSTRAP_MARKER_PREFIX as vt, renderStatefulReason as w, isCdkdError as wn, buildDockerImage as wt, extractDeploymentEventError as x, StateError as xn, parseBootstrapMarker as xt, refusesFinalSnapshot as y, StackHasActiveImportsError as yn, ensureAssetStorage as yt, disableInstanceApiTermination as z, resolveStateBucketWithDefault as zt };
21362
- //# sourceMappingURL=deploy-engine-DK0y5OP8.js.map
21353
+ //# sourceMappingURL=deploy-engine-Ca5ywZ1L.js.map