@go-to-k/cdkd 0.284.9 → 0.284.10
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-B09ceB1r.js → asg-provider-ChVCjyK2.js} +2 -2
- package/dist/{asg-provider-B09ceB1r.js.map → asg-provider-ChVCjyK2.js.map} +1 -1
- package/dist/cli.js +241 -10
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CY2fx4K1.js → deploy-engine-DGuaeWaV.js} +12 -4
- package/dist/deploy-engine-DGuaeWaV.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-CY2fx4K1.js.map +0 -1
|
@@ -10234,6 +10234,14 @@ function clearRecordedSecretExpressions() {
|
|
|
10234
10234
|
* value is still masked at the exact leaf where it was the WHOLE value (handled
|
|
10235
10235
|
* by the caller), but is not scanned for as a substring. Real secrets are far
|
|
10236
10236
|
* longer than this, so the bound only excludes degenerate cases.
|
|
10237
|
+
*
|
|
10238
|
+
* EXPORTED because a caller assembling its own secrets bag may need the same
|
|
10239
|
+
* bound on the WHOLE-VALUE arm, which this module deliberately does not apply
|
|
10240
|
+
* (the no-source arm below matches a whole value at ANY length, which is right
|
|
10241
|
+
* for a POSITION-SCOPED bag). `cdkd scrub`'s cross-resource union has no
|
|
10242
|
+
* position source at all, so it filters itself here before scanning — see
|
|
10243
|
+
* `allRecordedSecrets` in `src/cli/commands/scrub.ts`. Read-only: no behavior
|
|
10244
|
+
* in this module changes with the export.
|
|
10237
10245
|
*/
|
|
10238
10246
|
const MIN_NEEDLE_LENGTH = 4;
|
|
10239
10247
|
function escapeRegExp(value) {
|
|
@@ -10245,7 +10253,7 @@ function escapeRegExp(value) {
|
|
|
10245
10253
|
* `undefined` when there is nothing worth scanning for.
|
|
10246
10254
|
*/
|
|
10247
10255
|
function buildNeedleRegex(values) {
|
|
10248
|
-
const needles = Array.from(new Set(values)).filter((v) => v.length >=
|
|
10256
|
+
const needles = Array.from(new Set(values)).filter((v) => v.length >= 4).sort((a, b) => b.length - a.length);
|
|
10249
10257
|
if (needles.length === 0) return void 0;
|
|
10250
10258
|
return new RegExp(needles.map(escapeRegExp).join("|"), "g");
|
|
10251
10259
|
}
|
|
@@ -16045,7 +16053,7 @@ var CloudControlProvider = class {
|
|
|
16045
16053
|
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);
|
|
16046
16054
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
16047
16055
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
16048
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
16056
|
+
const { ASGProvider } = await import("./asg-provider-ChVCjyK2.js").then((n) => n.n);
|
|
16049
16057
|
return await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
|
|
16050
16058
|
}
|
|
16051
16059
|
const isProtectedEc2Instance = context?.removeProtection === true && resourceType === "AWS::EC2::Instance";
|
|
@@ -23623,7 +23631,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
23623
23631
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
23624
23632
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
23625
23633
|
function getCdkdVersion() {
|
|
23626
|
-
return "0.284.
|
|
23634
|
+
return "0.284.10";
|
|
23627
23635
|
}
|
|
23628
23636
|
/**
|
|
23629
23637
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -26092,4 +26100,4 @@ var DeployEngine = class {
|
|
|
26092
26100
|
|
|
26093
26101
|
//#endregion
|
|
26094
26102
|
export { IntrinsicFunctionResolver as $, StackHasActiveImportsError as $n, validateContainerRepoName as $t, formatResourceLine as A, AssemblyReader as An, describeTypeWithThrottleRetry as At, isExportAliasCollision as B, ConfigError as Bn, WorkGraph as Bt, refusesFinalSnapshot as C, MIGRATE_TMP_PREFIX as Cn, s3BucketDomainName as Ct, MULTI_REGION_RECREATE_BLOCKED_TYPES as D, PARTITION_TABLE as Dn, applyRoleArnIfSet as Dt, extractDeploymentEventError as E, expectedOwnerParam as En, s3BucketWebsiteUrl as Et, red as F, getAwsClients as Fn, S3StateBackend as Ft, clearOnUpdateRemoval as G, LocalStartServiceError as Gn, escapeRegExp$1 as Gt, stateKeySecretExposure as H, DeployCancelledError as Hn, createAssetRedirectResolver as Ht, yellow as I, resetAwsClients as In, rebuildClientForBucketRegion as It, findSilentDropProperties as J, NestedStackChildDirectDestroyError as Jn, BOOTSTRAP_MARKER_PREFIX as Jt, ProviderRegistry as K, LockError as Kn, stripControlChars as Kt, collectDeclaredOutputNames as L, setAwsClients as Ln, shouldRetainResource as Lt, cyan as M, clearBucketRegionCache as Mn, DagBuilder as Mt, gray as N, resolveBucketRegion as Nn, TemplateParser as Nt, isStatefulRecreateTargetSync as O, canonicalizeRegion as On, DiffCalculator as Ot, green as P, AwsClients as Pn, LockManager as Pt, isTerminationProtectionPropagationError as Q, ResourceUpdateNotSupportedError as Qn, validateAssetBucketName as Qt, collectPublishedOutputNames as R, AssetError as Rn, AssetPublisher as Rt, isFinalSnapshotError as S, CFN_TEMPLATE_URL_LIMIT as Sn, s3BucketArn as St, makeCanonicalizePropertiesFn as T, uploadCfnTemplate as Tn, s3BucketRegionalDomainName as Tt, IAMRoleProvider as U, LocalInvokeBuildError as Un, loadPublishableAssetManifest as Ut, secretBearingStateKeyWarning as V, DependencyError as Vn, buildAssetRedirectMap as Vt, collectInlinePolicyNamesManagedBySiblings as W, LocalMigrateError as Wn, rewriteTemplateAssetReferences as Wt, slowCcOperationTimeoutMs as X, ProvisioningError as Xn, getBootstrapMarkerKey as Xt, CloudControlProvider as Y, PartialFailureError as Yn, ensureAssetStorage as Yt, disableInstanceApiTermination as Z, ResourceTimeoutError as Zn, parseBootstrapMarker as Zt, ATOMIC_FINAL_SNAPSHOT_TYPES as _, resolveStateBucketWithDefaultAndSource as _n, TEMPLATE_SOURCED_RULES as _t, DeploymentEventsStore as a, runDockerStreaming as an, normalizeAwsError as ar, resolveExplicitPhysicalId as at, ccRoutedFinalSnapshotError as b, warnDeprecatedNoPrefixCliFlag as bn, redactSecretsForState as bt, replayFailedOperations as c, Synthesizer as cn, isRetryableTransientError as cr, configBooleanRefusal as ct, updatePartialReason as d, getLegacyStateBucketName as dn, __exportAll as dr, replayWarn as dt, buildDenyExternalAccessPolicy as en, StackTerminationProtectionError as er, cfnRefValueFromPhysicalId as et, UNSPECIFIED_SKIP_REASON as f, resolveApp as fn, requireConfigArray as ft, computeImplicitDeleteEdges as g, resolveStateBucketWithDefault as gn, STATE_SOURCED_READBACK_RULES as gt, IMPLICIT_DELETE_DEPENDENCIES as h, resolveSkipPrefix as hn, STATE_SOURCED_CROSS_GENERATION_RULES as ht, DeploymentEventsReader as i, runDockerForeground as in, isCdkdError as ir, normalizeAwsTagsToCfn as it, bold as j, processStackMessages as jn, withRetry as jt, renderStatefulReason as k, derivePartitionAndUrlSuffix as kn, INTRINSIC_KEYS as kt, replayRollback as l, synthesisStatusMessage as ln, isThrottlingError as lr, configStringRefusal as lt, withResourceDeadline as m, resolveCaptureObservedState as mn, requireConfigString as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, formatDockerLoginError as nn, SynthesisError as nr, refStateLookupFromResource as nt, planFailedOps as o, AssetManifestLoader as on, withErrorHandling as or, assertRegionMatch as ot, deleteSkipReason as p, resolveAutoAssetStorage as pn, requireConfigObject as pt, findActionableSilentDrops as q, MissingCdkCliError as qn, AssetModeResolver as qt, DeployEngine as r, getDockerCmd as rn, formatError as rr, WAFv2WebACLProvider as rt, planRollback as s, getDockerImageBySourceHash as sn, isMarkedNonRetryable as sr, coerceCfnBoolean as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, buildDockerImage as tn, StateError as tr, getAccountInfo as tt, updatePartialMessage as u, getDefaultStateBucketName as un, markNonRetryable as ur, readConfigString as ut, PRE_DELETE_SNAPSHOT_TYPES as v, resolveUseCdkBootstrapAssets as vn, createSecretMasker as vt, unsupportedFinalSnapshotError as w, findLargeInlineResources as wn, s3BucketDualStackDomainName as wt, createPreDeleteFinalSnapshot as x, CFN_TEMPLATE_BODY_LIMIT as xn, scrubResourceRecord as xt, buildFinalSnapshotIdentifier as y, stateBucketExistenceConfirmed as yn, maskSecretsInText as yt, exportAliasCollisionScrubWarning as z, CdkdError as zn, stringifyValue as zt };
|
|
26095
|
-
//# sourceMappingURL=deploy-engine-
|
|
26103
|
+
//# sourceMappingURL=deploy-engine-DGuaeWaV.js.map
|