@go-to-k/cdkd 0.283.9 → 0.283.11
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/{asg-provider-D5ZBSgh2.js → asg-provider-C7weaxqp.js} +2 -2
- package/dist/{asg-provider-D5ZBSgh2.js.map → asg-provider-C7weaxqp.js.map} +1 -1
- package/dist/cli.js +1179 -241
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CWt7h7Nc.js → deploy-engine-DculbwzR.js} +26 -7
- package/dist/deploy-engine-DculbwzR.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-CWt7h7Nc.js.map +0 -1
|
@@ -5492,6 +5492,28 @@ var AssetModeResolver = class {
|
|
|
5492
5492
|
}
|
|
5493
5493
|
};
|
|
5494
5494
|
|
|
5495
|
+
//#endregion
|
|
5496
|
+
//#region src/utils/regexp.ts
|
|
5497
|
+
/**
|
|
5498
|
+
* Escape a literal string for embedding in a RegExp.
|
|
5499
|
+
*
|
|
5500
|
+
* Lives here because the same four-line helper was spelled THREE times — in
|
|
5501
|
+
* `src/utils/ecr-uri.ts`, `src/cli/commands/gc.ts` and
|
|
5502
|
+
* `src/assets/asset-redirect.ts` — each interpolating a user-controlled name
|
|
5503
|
+
* (an AWS region, a bootstrap-marker asset bucket / container repo, an ECR host
|
|
5504
|
+
* label) into a pattern. Copies of a security-shaped helper are exactly the
|
|
5505
|
+
* shape that drifts: the escaped set is what stops a `.` in an interpolated
|
|
5506
|
+
* literal matching ANY character, and in `gc.ts` a widened match decides which
|
|
5507
|
+
* live assets are treated as referenced.
|
|
5508
|
+
*
|
|
5509
|
+
* The character set is the union every JS engine treats as special in a
|
|
5510
|
+
* non-`u` pattern. `-` is deliberately absent: it is only special INSIDE a
|
|
5511
|
+
* character class, and no caller embeds into one.
|
|
5512
|
+
*/
|
|
5513
|
+
function escapeRegExp(value) {
|
|
5514
|
+
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5495
5517
|
//#endregion
|
|
5496
5518
|
//#region src/assets/asset-redirect.ts
|
|
5497
5519
|
/**
|
|
@@ -5519,9 +5541,6 @@ function isDefaultBootstrapBucketName(name, accountId, region) {
|
|
|
5519
5541
|
function isDefaultBootstrapRepoName(name, accountId, region) {
|
|
5520
5542
|
return new RegExp(`^cdk-[a-z0-9]+-container-assets-${accountId}-${escapeRegExp(region)}$`).test(name);
|
|
5521
5543
|
}
|
|
5522
|
-
function escapeRegExp(s) {
|
|
5523
|
-
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
5524
|
-
}
|
|
5525
5544
|
/**
|
|
5526
5545
|
* Build the §6 asset-location mapping table from a stack's asset manifest.
|
|
5527
5546
|
*
|
|
@@ -13994,7 +14013,7 @@ var CloudControlProvider = class {
|
|
|
13994
14013
|
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);
|
|
13995
14014
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
13996
14015
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
13997
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
14016
|
+
const { ASGProvider } = await import("./asg-provider-C7weaxqp.js").then((n) => n.n);
|
|
13998
14017
|
return await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
|
|
13999
14018
|
}
|
|
14000
14019
|
const isProtectedEc2Instance = context?.removeProtection === true && resourceType === "AWS::EC2::Instance";
|
|
@@ -21048,7 +21067,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
21048
21067
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
21049
21068
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
21050
21069
|
function getCdkdVersion() {
|
|
21051
|
-
return "0.283.
|
|
21070
|
+
return "0.283.11";
|
|
21052
21071
|
}
|
|
21053
21072
|
/**
|
|
21054
21073
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -23264,5 +23283,5 @@ var DeployEngine = class {
|
|
|
23264
23283
|
};
|
|
23265
23284
|
|
|
23266
23285
|
//#endregion
|
|
23267
|
-
export { coerceCfnBoolean as $,
|
|
23268
|
-
//# sourceMappingURL=deploy-engine-
|
|
23286
|
+
export { coerceCfnBoolean as $, resolveStateBucketWithDefault as $t, cyan as A, MissingCdkCliError as An, AssetModeResolver as At, findSilentDropProperties as B, formatError as Bn, getDockerCmd as Bt, makeCanonicalizePropertiesFn as C, ConfigError as Cn, stringifyValue as Ct, renderStatefulReason as D, LocalMigrateError as Dn, loadPublishableAssetManifest as Dt, isStatefulRecreateTargetSync as E, LocalInvokeBuildError as En, createAssetRedirectResolver as Et, IAMRoleProvider as F, ResourceUpdateNotSupportedError as Fn, validateAssetBucketName as Ft, IntrinsicFunctionResolver as G, isRetryableTransientError as Gn, Synthesizer as Gt, slowCcOperationTimeoutMs as H, normalizeAwsError as Hn, runDockerStreaming as Ht, collectInlinePolicyNamesManagedBySiblings as I, StackHasActiveImportsError as In, validateContainerRepoName as It, refStateLookupFromResource as J, __exportAll as Jn, getLegacyStateBucketName as Jt, cfnRefValueFromPhysicalId as K, isThrottlingError as Kn, synthesisStatusMessage as Kt, clearOnUpdateRemoval as L, StackTerminationProtectionError as Ln, buildDenyExternalAccessPolicy as Lt, green as M, PartialFailureError as Mn, ensureAssetStorage as Mt, red as N, ProvisioningError as Nn, getBootstrapMarkerKey as Nt, formatResourceLine as O, LocalStartServiceError as On, rewriteTemplateAssetReferences as Ot, yellow as P, ResourceTimeoutError as Pn, parseBootstrapMarker as Pt, assertRegionMatch as Q, resolveSkipPrefix as Qt, ProviderRegistry as R, StateError as Rn, buildDockerImage as Rt, unsupportedFinalSnapshotError as S, CdkdError as Sn, AssetPublisher as St, MULTI_REGION_RECREATE_BLOCKED_TYPES as T, DeployCancelledError as Tn, buildAssetRedirectMap as Tt, disableInstanceApiTermination as U, withErrorHandling as Un, AssetManifestLoader as Ut, CloudControlProvider as V, isCdkdError as Vn, runDockerForeground as Vt, isTerminationProtectionPropagationError as W, isMarkedNonRetryable as Wn, getDockerImageBySourceHash as Wt, normalizeAwsTagsToCfn as X, resolveAutoAssetStorage as Xt, WAFv2WebACLProvider as Y, resolveApp as Yt, resolveExplicitPhysicalId as Z, resolveCaptureObservedState as Zt, buildFinalSnapshotIdentifier as _, AwsClients as _n, TemplateParser as _t, DeploymentEventsStore as a, CFN_TEMPLATE_URL_LIMIT as an, requireConfigObject as at, isFinalSnapshotError as b, setAwsClients as bn, rebuildClientForBucketRegion as bt, replayFailedOperations as c, uploadCfnTemplate as cn, s3BucketDomainName as ct, deleteSkipReason as d, canonicalizeRegion as dn, s3BucketWebsiteUrl as dt, resolveStateBucketWithDefaultAndSource as en, configBooleanRefusal as et, withResourceDeadline as f, derivePartitionAndUrlSuffix as fn, applyRoleArnIfSet as ft, PRE_DELETE_SNAPSHOT_TYPES as g, resolveBucketRegion as gn, DagBuilder as gt, ATOMIC_FINAL_SNAPSHOT_TYPES as h, clearBucketRegionCache as hn, withRetry as ht, DeploymentEventsReader as i, CFN_TEMPLATE_BODY_LIMIT as in, requireConfigArray as it, gray as j, NestedStackChildDirectDestroyError as jn, BOOTSTRAP_MARKER_PREFIX as jt, bold as k, LockError as kn, escapeRegExp as kt, replayRollback as l, expectedOwnerParam as ln, s3BucketDualStackDomainName as lt, computeImplicitDeleteEdges as m, processStackMessages as mn, describeTypeWithThrottleRetry as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, stateBucketExistenceConfirmed as nn, readConfigString as nt, planFailedOps as o, MIGRATE_TMP_PREFIX as on, requireConfigString as ot, IMPLICIT_DELETE_DEPENDENCIES as p, AssemblyReader as pn, DiffCalculator as pt, getAccountInfo as q, markNonRetryable as qn, getDefaultStateBucketName as qt, DeployEngine as r, warnDeprecatedNoPrefixCliFlag as rn, replayWarn as rt, planRollback as s, findLargeInlineResources as sn, s3BucketArn as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, resolveUseCdkBootstrapAssets as tn, configStringRefusal as tt, UNSPECIFIED_SKIP_REASON as u, PARTITION_TABLE as un, s3BucketRegionalDomainName as ut, ccRoutedFinalSnapshotError as v, getAwsClients as vn, LockManager as vt, extractDeploymentEventError as w, DependencyError as wn, WorkGraph as wt, refusesFinalSnapshot as x, AssetError as xn, shouldRetainResource as xt, createPreDeleteFinalSnapshot as y, resetAwsClients as yn, S3StateBackend as yt, findActionableSilentDrops as z, SynthesisError as zn, formatDockerLoginError as zt };
|
|
23287
|
+
//# sourceMappingURL=deploy-engine-DculbwzR.js.map
|