@cdklabs/cdk-ecs-codedeploy 0.0.433 → 0.0.434
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/.jsii +3 -3
- package/.jsii.tabl.json +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +15 -15
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +14 -14
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +82 -20
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -3
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +9 -2
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +1 -1
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +12 -6
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/tests/strnum_test.js +3 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/tests/temp.js +8 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/path-expression-matcher/README.md +98 -13
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +188 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +2 -2
- package/node_modules/path-expression-matcher/src/Matcher.js +84 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +152 -0
- package/package.json +4 -4
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.github/SECURITY.md +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.vscode/launch.json +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/algo.stflow +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/tests/infinity_test.js +0 -0
|
@@ -188,6 +188,153 @@ export interface MatcherSnapshot {
|
|
|
188
188
|
siblingStacks: Map<string, number>[];
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* ReadOnlyMatcher - A safe, read-only view over a {@link Matcher} instance.
|
|
193
|
+
*
|
|
194
|
+
* Returned by {@link Matcher.readOnly}. Exposes all query and inspection
|
|
195
|
+
* methods but **throws a `TypeError`** if any state-mutating method is called
|
|
196
|
+
* (`push`, `pop`, `reset`, `updateCurrent`, `restore`). Direct property
|
|
197
|
+
* writes are also blocked.
|
|
198
|
+
*
|
|
199
|
+
* Pass this to consumers that only need to inspect or match the current path
|
|
200
|
+
* so they cannot accidentally corrupt the parser state.
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* ```typescript
|
|
204
|
+
* const matcher = new Matcher();
|
|
205
|
+
* matcher.push("root", {});
|
|
206
|
+
* matcher.push("users", {});
|
|
207
|
+
* matcher.push("user", { id: "123" });
|
|
208
|
+
*
|
|
209
|
+
* const ro: ReadOnlyMatcher = matcher.readOnly();
|
|
210
|
+
*
|
|
211
|
+
* ro.matches(expr); // ✓ works
|
|
212
|
+
* ro.getCurrentTag(); // ✓ "user"
|
|
213
|
+
* ro.getDepth(); // ✓ 3
|
|
214
|
+
* ro.push("child", {}); // ✗ TypeError: Cannot call 'push' on a read-only Matcher
|
|
215
|
+
* ro.reset(); // ✗ TypeError: Cannot call 'reset' on a read-only Matcher
|
|
216
|
+
* ```
|
|
217
|
+
*/
|
|
218
|
+
export interface ReadOnlyMatcher {
|
|
219
|
+
/**
|
|
220
|
+
* Default path separator (read-only)
|
|
221
|
+
*/
|
|
222
|
+
readonly separator: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Current path stack (each node is a frozen copy)
|
|
226
|
+
*/
|
|
227
|
+
readonly path: ReadonlyArray<Readonly<PathNode>>;
|
|
228
|
+
|
|
229
|
+
// ── Query methods ───────────────────────────────────────────────────────────
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Get current tag name
|
|
233
|
+
* @returns Current tag name or undefined if path is empty
|
|
234
|
+
*/
|
|
235
|
+
getCurrentTag(): string | undefined;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Get current namespace
|
|
239
|
+
* @returns Current namespace or undefined if not present or path is empty
|
|
240
|
+
*/
|
|
241
|
+
getCurrentNamespace(): string | undefined;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Get current node's attribute value
|
|
245
|
+
* @param attrName - Attribute name
|
|
246
|
+
* @returns Attribute value or undefined
|
|
247
|
+
*/
|
|
248
|
+
getAttrValue(attrName: string): any;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Check if current node has an attribute
|
|
252
|
+
* @param attrName - Attribute name
|
|
253
|
+
*/
|
|
254
|
+
hasAttr(attrName: string): boolean;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Get current node's sibling position (child index in parent)
|
|
258
|
+
* @returns Position index or -1 if path is empty
|
|
259
|
+
*/
|
|
260
|
+
getPosition(): number;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Get current node's repeat counter (occurrence count of this tag name)
|
|
264
|
+
* @returns Counter value or -1 if path is empty
|
|
265
|
+
*/
|
|
266
|
+
getCounter(): number;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Get current node's sibling index (alias for getPosition for backward compatibility)
|
|
270
|
+
* @returns Index or -1 if path is empty
|
|
271
|
+
* @deprecated Use getPosition() or getCounter() instead
|
|
272
|
+
*/
|
|
273
|
+
getIndex(): number;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Get current path depth
|
|
277
|
+
* @returns Number of nodes in the path
|
|
278
|
+
*/
|
|
279
|
+
getDepth(): number;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Get path as string
|
|
283
|
+
* @param separator - Optional separator (uses default if not provided)
|
|
284
|
+
* @param includeNamespace - Whether to include namespace in output
|
|
285
|
+
* @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user")
|
|
286
|
+
*/
|
|
287
|
+
toString(separator?: string, includeNamespace?: boolean): string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Get path as array of tag names
|
|
291
|
+
* @returns Array of tag names
|
|
292
|
+
*/
|
|
293
|
+
toArray(): string[];
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Match current path against an Expression
|
|
297
|
+
* @param expression - The expression to match against
|
|
298
|
+
* @returns True if current path matches the expression
|
|
299
|
+
*/
|
|
300
|
+
matches(expression: Expression): boolean;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Create a snapshot of current state
|
|
304
|
+
* @returns State snapshot that can be restored later
|
|
305
|
+
*/
|
|
306
|
+
snapshot(): MatcherSnapshot;
|
|
307
|
+
|
|
308
|
+
// ── Blocked mutating methods ────────────────────────────────────────────────
|
|
309
|
+
// These are present in the type so callers get a compile-time error with a
|
|
310
|
+
// helpful message instead of a silent "property does not exist" error.
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
314
|
+
*/
|
|
315
|
+
push(tagName: string, attrValues?: Record<string, any> | null, namespace?: string | null): never;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
319
|
+
*/
|
|
320
|
+
pop(): never;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
324
|
+
*/
|
|
325
|
+
updateCurrent(attrValues: Record<string, any>): never;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
329
|
+
*/
|
|
330
|
+
reset(): never;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
334
|
+
*/
|
|
335
|
+
restore(snapshot: MatcherSnapshot): never;
|
|
336
|
+
}
|
|
337
|
+
|
|
191
338
|
/**
|
|
192
339
|
* Matcher - Tracks current path in XML/JSON tree and matches against Expressions
|
|
193
340
|
*
|
|
@@ -353,6 +500,11 @@ export class Matcher {
|
|
|
353
500
|
* @param snapshot - State snapshot from previous snapshot() call
|
|
354
501
|
*/
|
|
355
502
|
restore(snapshot: MatcherSnapshot): void;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Return a read-only view of this matcher.
|
|
506
|
+
*/
|
|
507
|
+
readOnly(): ReadOnlyMatcher;
|
|
356
508
|
}
|
|
357
509
|
|
|
358
510
|
/**
|
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"cdklabs-projen-project-types": "^0.3.7",
|
|
89
89
|
"commit-and-tag-version": "^12",
|
|
90
90
|
"constructs": "10.0.5",
|
|
91
|
-
"esbuild": "^0.27.
|
|
91
|
+
"esbuild": "^0.27.4",
|
|
92
92
|
"eslint": "^9",
|
|
93
93
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
94
94
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"jsii-diff": "^1.127.0",
|
|
99
99
|
"jsii-docgen": "^10.5.0",
|
|
100
100
|
"jsii-pacmak": "^1.127.0",
|
|
101
|
-
"jsii-rosetta": "^5.9.
|
|
101
|
+
"jsii-rosetta": "^5.9.36",
|
|
102
102
|
"lambda-tester": "^4.0.1",
|
|
103
103
|
"projen": "0.98.34",
|
|
104
104
|
"ts-jest": "^27",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"constructs": "^10.0.5"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
113
|
+
"@aws-sdk/client-codedeploy": "^3.1014.0",
|
|
114
114
|
"jmespath": "^0.16.0"
|
|
115
115
|
},
|
|
116
116
|
"bundledDependencies": [
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"publishConfig": {
|
|
129
129
|
"access": "public"
|
|
130
130
|
},
|
|
131
|
-
"version": "0.0.
|
|
131
|
+
"version": "0.0.434",
|
|
132
132
|
"jest": {
|
|
133
133
|
"coverageProvider": "v8",
|
|
134
134
|
"testMatch": [
|
/package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.github/SECURITY.md
RENAMED
|
File without changes
|
/package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.vscode/launch.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/tests/infinity_test.js
RENAMED
|
File without changes
|