@aws-cdk/cloud-assembly-schema 48.20.0 → 49.1.0

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 CHANGED
@@ -9,14 +9,14 @@
9
9
  },
10
10
  "bundled": {
11
11
  "jsonschema": "~1.4.1",
12
- "semver": "^7.7.2"
12
+ "semver": "^7.7.3"
13
13
  },
14
14
  "description": "Schema for the protocol between CDK framework and CDK CLI",
15
15
  "docs": {
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "5.9.10 (build 0e9cf43)",
19
+ "jsiiVersion": "5.9.14 (build 9fc28bd)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -6000,6 +6000,6 @@
6000
6000
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
6001
6001
  }
6002
6002
  },
6003
- "version": "48.20.0",
6004
- "fingerprint": "qDuG1SbFUFyOfbq+SDdu4FmfGds3H+U6jj9pbEf4ZNc="
6003
+ "version": "49.1.0",
6004
+ "fingerprint": "59OhXu1cxSnCkYc8aNCJDPTVAcJY6BH+Pmr+3wjzdTY="
6005
6005
  }
package/.jsii.tabl.json CHANGED
@@ -1 +1 @@
1
- {"version":"2","toolVersion":"5.9.12","snippets":{"33a997f3b80c5a7b85d876d8c34171c602c0cab4ef93ece45859e3c7119441ac":{"translations":{"python":{"source":"from aws_cdk.cloud_assembly_schema import CcApiContextQuery\n\n\nx = CcApiContextQuery(\n type_name=\"AWS::Some::Type\",\n expected_match_count=\"exactly-one\",\n properties_to_return=[\"SomeProp\"],\n account=\"11111111111\",\n region=\"us-east-1\"\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.CloudAssembly.Schema;\n\n\nvar x = new CcApiContextQuery {\n TypeName = \"AWS::Some::Type\",\n ExpectedMatchCount = \"exactly-one\",\n PropertiesToReturn = new [] { \"SomeProp\" },\n Account = \"11111111111\",\n Region = \"us-east-1\"\n};","version":"1"},"java":{"source":"import software.amazon.awscdk.cloudassembly.schema.CcApiContextQuery;\n\n\nCcApiContextQuery x = CcApiContextQuery.builder()\n .typeName(\"AWS::Some::Type\")\n .expectedMatchCount(\"exactly-one\")\n .propertiesToReturn(List.of(\"SomeProp\"))\n .account(\"11111111111\")\n .region(\"us-east-1\")\n .build();","version":"1"},"go":{"source":"import \"github.com/cdklabs/cloud-assembly-schema-go/awscdkcloudassemblyschema\"\n\n\nx := &CcApiContextQuery{\n\tTypeName: jsii.String(\"AWS::Some::Type\"),\n\tExpectedMatchCount: jsii.String(\"exactly-one\"),\n\tPropertiesToReturn: []*string{\n\t\tjsii.String(\"SomeProp\"),\n\t},\n\tAccount: jsii.String(\"11111111111\"),\n\tRegion: jsii.String(\"us-east-1\"),\n}","version":"1"},"$":{"source":"import { CcApiContextQuery } from '@aws-cdk/cloud-assembly-schema';\n\nconst x: CcApiContextQuery = {\n typeName: 'AWS::Some::Type',\n expectedMatchCount: 'exactly-one',\n propertiesToReturn: ['SomeProp'],\n account: '11111111111',\n region: 'us-east-1',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.CcApiContextQuery"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloud-assembly-schema.CcApiContextQuery"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport { CcApiContextQuery } from '@aws-cdk/cloud-assembly-schema';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst x: CcApiContextQuery = {\n typeName: 'AWS::Some::Type',\n expectedMatchCount: 'exactly-one',\n propertiesToReturn: ['SomeProp'],\n account: '11111111111',\n region: 'us-east-1',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":6,"80":8,"184":1,"210":1,"211":1,"244":1,"261":1,"262":1,"273":1,"274":1,"276":1,"277":1,"304":5,"308":1},"fqnsFingerprint":"f5f66a2137c7e3039ff9787fb4c05a533e42ab9052cd67e5fdfc69454e9bcfe4"},"ed50ccafc79acf82c002383b64b4a7674dd3fb7feced40b7886b0ea45d7a2f53":{"translations":{"python":{"source":"\"registry\"","version":"2"},"csharp":{"source":"\"registry\";","version":"1"},"java":{"source":"\"registry\";","version":"1"},"go":{"source":"\"registry\"","version":"1"},"$":{"source":"'registry'","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetCacheOption","memberName":"type"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n'registry'\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"245":1,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"74f6e3d3bc59ec8004507cb82fdf5644924846e87e5d795dc7dec654f80ecfa8":{"translations":{"python":{"source":"# branch: str\n\n\nparams = {\n \"ref\": f\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\",\n \"mode\": \"max\"\n}","version":"2"},"csharp":{"source":"string branch;\n\n\nIDictionary<string, object> params = new Dictionary<string, object> {\n { \"ref\", $\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\" },\n { \"mode\", \"max\" }\n};","version":"1"},"java":{"source":"String branch;\n\n\nMap<String, Object> params = Map.of(\n \"ref\", String.format(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s\", branch),\n \"mode\", \"max\");","version":"1"},"go":{"source":"var branch string\n\n\nparams := map[string]interface{}{\n\t\"ref\": fmt.Sprintf(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%v\", branch),\n\t\"mode\": jsii.String(\"max\"),\n}","version":"1"},"$":{"source":"declare const branch: string;\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetCacheOption","memberName":"params"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const branch: string;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"16":1,"18":1,"80":5,"138":1,"154":1,"211":1,"229":1,"240":1,"244":2,"261":2,"262":2,"304":2,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"5abfd7af60ba3b85920714aeeadeb2c1e4082c4d0ded3511ee41a643079af611":{"translations":{"python":{"source":"entry = {\n \"packaging\": \"container-image\",\n \"repository_name\": \"repository-name\",\n \"image_tag\": \"tag\"\n}","version":"2"},"csharp":{"source":"IDictionary<string, string> entry = new Dictionary<string, string> {\n { \"packaging\", \"container-image\" },\n { \"repositoryName\", \"repository-name\" },\n { \"imageTag\", \"tag\" }\n};","version":"1"},"java":{"source":"Map<String, String> entry = Map.of(\n \"packaging\", \"container-image\",\n \"repositoryName\", \"repository-name\",\n \"imageTag\", \"tag\");","version":"1"},"go":{"source":"entry := map[string]*string{\n\t\"packaging\": jsii.String(\"container-image\"),\n\t\"repositoryName\": jsii.String(\"repository-name\"),\n\t\"imageTag\": jsii.String(\"tag\"),\n}","version":"1"},"$":{"source":"const entry = {\n packaging: 'container-image',\n repositoryName: 'repository-name',\n imageTag: 'tag',\n}","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\nconst entry = {\n packaging: 'container-image',\n repositoryName: 'repository-name',\n imageTag: 'tag',\n}\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":3,"80":4,"211":1,"244":1,"261":1,"262":1,"304":3,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"8ca73f17168cfe977e2e7f7d640aea4e78b5dc022a16bf4e187251525ec88255":{"translations":{"python":{"source":"\"registry\"","version":"2"},"csharp":{"source":"\"registry\";","version":"1"},"java":{"source":"\"registry\";","version":"1"},"go":{"source":"\"registry\"","version":"1"},"$":{"source":"'registry'","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.DockerCacheOption","memberName":"type"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n'registry'\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"245":1,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"089525294f3dfb3bb6d7687a2ebd219fc6d219c96d08c082e3e3c9a5a39f04bc":{"translations":{"python":{"source":"# branch: str\n\n\nparams = {\n \"ref\": f\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\",\n \"mode\": \"max\"\n}","version":"2"},"csharp":{"source":"string branch;\n\n\nIDictionary<string, object> params = new Dictionary<string, object> {\n { \"ref\", $\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\" },\n { \"mode\", \"max\" }\n};","version":"1"},"java":{"source":"String branch;\n\n\nMap<String, Object> params = Map.of(\n \"ref\", String.format(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s\", branch),\n \"mode\", \"max\");","version":"1"},"go":{"source":"var branch string\n\n\nparams := map[string]interface{}{\n\t\"ref\": fmt.Sprintf(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%v\", branch),\n\t\"mode\": jsii.String(\"max\"),\n}","version":"1"},"$":{"source":"declare const branch: string;\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.DockerCacheOption","memberName":"params"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const branch: string;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"16":1,"18":1,"80":5,"138":1,"154":1,"211":1,"229":1,"240":1,"244":2,"261":2,"262":2,"304":2,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"82a0fc5ca89d11e2a7e67427d70fec66670ed3a10a83efa087f4b2df94d6be57":{"translations":{"python":{"source":"entry = {\n \"packaging\": \"file\",\n \"s3_bucket_parameter\": \"bucket-parameter\",\n \"s3_key_paramenter\": \"key-parameter\",\n \"artifact_hash_parameter\": \"hash-parameter\"\n}","version":"2"},"csharp":{"source":"IDictionary<string, string> entry = new Dictionary<string, string> {\n { \"packaging\", \"file\" },\n { \"s3BucketParameter\", \"bucket-parameter\" },\n { \"s3KeyParamenter\", \"key-parameter\" },\n { \"artifactHashParameter\", \"hash-parameter\" }\n};","version":"1"},"java":{"source":"Map<String, String> entry = Map.of(\n \"packaging\", \"file\",\n \"s3BucketParameter\", \"bucket-parameter\",\n \"s3KeyParamenter\", \"key-parameter\",\n \"artifactHashParameter\", \"hash-parameter\");","version":"1"},"go":{"source":"entry := map[string]*string{\n\t\"packaging\": jsii.String(\"file\"),\n\t\"s3BucketParameter\": jsii.String(\"bucket-parameter\"),\n\t\"s3KeyParamenter\": jsii.String(\"key-parameter\"),\n\t\"artifactHashParameter\": jsii.String(\"hash-parameter\"),\n}","version":"1"},"$":{"source":"const entry = {\n packaging: 'file',\n s3BucketParameter: 'bucket-parameter',\n s3KeyParamenter: 'key-parameter',\n artifactHashParameter: 'hash-parameter',\n}","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.FileAssetMetadataEntry"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\nconst entry = {\n packaging: 'file',\n s3BucketParameter: 'bucket-parameter',\n s3KeyParamenter: 'key-parameter',\n artifactHashParameter: 'hash-parameter',\n}\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":4,"80":5,"211":1,"244":1,"261":1,"262":1,"304":4,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
1
+ {"version":"2","toolVersion":"5.9.15","snippets":{"33a997f3b80c5a7b85d876d8c34171c602c0cab4ef93ece45859e3c7119441ac":{"translations":{"python":{"source":"from aws_cdk.cloud_assembly_schema import CcApiContextQuery\n\n\nx = CcApiContextQuery(\n type_name=\"AWS::Some::Type\",\n expected_match_count=\"exactly-one\",\n properties_to_return=[\"SomeProp\"],\n account=\"11111111111\",\n region=\"us-east-1\"\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.CloudAssembly.Schema;\n\n\nvar x = new CcApiContextQuery {\n TypeName = \"AWS::Some::Type\",\n ExpectedMatchCount = \"exactly-one\",\n PropertiesToReturn = new [] { \"SomeProp\" },\n Account = \"11111111111\",\n Region = \"us-east-1\"\n};","version":"1"},"java":{"source":"import software.amazon.awscdk.cloudassembly.schema.CcApiContextQuery;\n\n\nCcApiContextQuery x = CcApiContextQuery.builder()\n .typeName(\"AWS::Some::Type\")\n .expectedMatchCount(\"exactly-one\")\n .propertiesToReturn(List.of(\"SomeProp\"))\n .account(\"11111111111\")\n .region(\"us-east-1\")\n .build();","version":"1"},"go":{"source":"import \"github.com/cdklabs/cloud-assembly-schema-go/awscdkcloudassemblyschema\"\n\n\nx := &CcApiContextQuery{\n\tTypeName: jsii.String(\"AWS::Some::Type\"),\n\tExpectedMatchCount: jsii.String(\"exactly-one\"),\n\tPropertiesToReturn: []*string{\n\t\tjsii.String(\"SomeProp\"),\n\t},\n\tAccount: jsii.String(\"11111111111\"),\n\tRegion: jsii.String(\"us-east-1\"),\n}","version":"1"},"$":{"source":"import { CcApiContextQuery } from '@aws-cdk/cloud-assembly-schema';\n\nconst x: CcApiContextQuery = {\n typeName: 'AWS::Some::Type',\n expectedMatchCount: 'exactly-one',\n propertiesToReturn: ['SomeProp'],\n account: '11111111111',\n region: 'us-east-1',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.CcApiContextQuery"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloud-assembly-schema.CcApiContextQuery"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport { CcApiContextQuery } from '@aws-cdk/cloud-assembly-schema';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst x: CcApiContextQuery = {\n typeName: 'AWS::Some::Type',\n expectedMatchCount: 'exactly-one',\n propertiesToReturn: ['SomeProp'],\n account: '11111111111',\n region: 'us-east-1',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":6,"80":8,"184":1,"210":1,"211":1,"244":1,"261":1,"262":1,"273":1,"274":1,"276":1,"277":1,"304":5,"308":1},"fqnsFingerprint":"f5f66a2137c7e3039ff9787fb4c05a533e42ab9052cd67e5fdfc69454e9bcfe4"},"ed50ccafc79acf82c002383b64b4a7674dd3fb7feced40b7886b0ea45d7a2f53":{"translations":{"python":{"source":"\"registry\"","version":"2"},"csharp":{"source":"\"registry\";","version":"1"},"java":{"source":"\"registry\";","version":"1"},"go":{"source":"\"registry\"","version":"1"},"$":{"source":"'registry'","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetCacheOption","memberName":"type"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n'registry'\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"245":1,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"74f6e3d3bc59ec8004507cb82fdf5644924846e87e5d795dc7dec654f80ecfa8":{"translations":{"python":{"source":"# branch: str\n\n\nparams = {\n \"ref\": f\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\",\n \"mode\": \"max\"\n}","version":"2"},"csharp":{"source":"string branch;\n\n\nIDictionary<string, object> params = new Dictionary<string, object> {\n { \"ref\", $\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\" },\n { \"mode\", \"max\" }\n};","version":"1"},"java":{"source":"String branch;\n\n\nMap<String, Object> params = Map.of(\n \"ref\", String.format(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s\", branch),\n \"mode\", \"max\");","version":"1"},"go":{"source":"var branch string\n\n\nparams := map[string]interface{}{\n\t\"ref\": fmt.Sprintf(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%v\", branch),\n\t\"mode\": jsii.String(\"max\"),\n}","version":"1"},"$":{"source":"declare const branch: string;\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetCacheOption","memberName":"params"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const branch: string;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"16":1,"18":1,"80":5,"138":1,"154":1,"211":1,"229":1,"240":1,"244":2,"261":2,"262":2,"304":2,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"5abfd7af60ba3b85920714aeeadeb2c1e4082c4d0ded3511ee41a643079af611":{"translations":{"python":{"source":"entry = {\n \"packaging\": \"container-image\",\n \"repository_name\": \"repository-name\",\n \"image_tag\": \"tag\"\n}","version":"2"},"csharp":{"source":"IDictionary<string, string> entry = new Dictionary<string, string> {\n { \"packaging\", \"container-image\" },\n { \"repositoryName\", \"repository-name\" },\n { \"imageTag\", \"tag\" }\n};","version":"1"},"java":{"source":"Map<String, String> entry = Map.of(\n \"packaging\", \"container-image\",\n \"repositoryName\", \"repository-name\",\n \"imageTag\", \"tag\");","version":"1"},"go":{"source":"entry := map[string]*string{\n\t\"packaging\": jsii.String(\"container-image\"),\n\t\"repositoryName\": jsii.String(\"repository-name\"),\n\t\"imageTag\": jsii.String(\"tag\"),\n}","version":"1"},"$":{"source":"const entry = {\n packaging: 'container-image',\n repositoryName: 'repository-name',\n imageTag: 'tag',\n}","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\nconst entry = {\n packaging: 'container-image',\n repositoryName: 'repository-name',\n imageTag: 'tag',\n}\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":3,"80":4,"211":1,"244":1,"261":1,"262":1,"304":3,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"8ca73f17168cfe977e2e7f7d640aea4e78b5dc022a16bf4e187251525ec88255":{"translations":{"python":{"source":"\"registry\"","version":"2"},"csharp":{"source":"\"registry\";","version":"1"},"java":{"source":"\"registry\";","version":"1"},"go":{"source":"\"registry\"","version":"1"},"$":{"source":"'registry'","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.DockerCacheOption","memberName":"type"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n'registry'\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"245":1,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"089525294f3dfb3bb6d7687a2ebd219fc6d219c96d08c082e3e3c9a5a39f04bc":{"translations":{"python":{"source":"# branch: str\n\n\nparams = {\n \"ref\": f\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\",\n \"mode\": \"max\"\n}","version":"2"},"csharp":{"source":"string branch;\n\n\nIDictionary<string, object> params = new Dictionary<string, object> {\n { \"ref\", $\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:{branch}\" },\n { \"mode\", \"max\" }\n};","version":"1"},"java":{"source":"String branch;\n\n\nMap<String, Object> params = Map.of(\n \"ref\", String.format(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%s\", branch),\n \"mode\", \"max\");","version":"1"},"go":{"source":"var branch string\n\n\nparams := map[string]interface{}{\n\t\"ref\": fmt.Sprintf(\"12345678.dkr.ecr.us-west-2.amazonaws.com/cache:%v\", branch),\n\t\"mode\": jsii.String(\"max\"),\n}","version":"1"},"$":{"source":"declare const branch: string;\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/cloud-assembly-schema.DockerCacheOption","memberName":"params"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const branch: string;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\n\n\nconst params = {\n ref: `12345678.dkr.ecr.us-west-2.amazonaws.com/cache:${branch}`,\n mode: \"max\",\n};\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":1,"16":1,"18":1,"80":5,"138":1,"154":1,"211":1,"229":1,"240":1,"244":2,"261":2,"262":2,"304":2,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"82a0fc5ca89d11e2a7e67427d70fec66670ed3a10a83efa087f4b2df94d6be57":{"translations":{"python":{"source":"entry = {\n \"packaging\": \"file\",\n \"s3_bucket_parameter\": \"bucket-parameter\",\n \"s3_key_paramenter\": \"key-parameter\",\n \"artifact_hash_parameter\": \"hash-parameter\"\n}","version":"2"},"csharp":{"source":"IDictionary<string, string> entry = new Dictionary<string, string> {\n { \"packaging\", \"file\" },\n { \"s3BucketParameter\", \"bucket-parameter\" },\n { \"s3KeyParamenter\", \"key-parameter\" },\n { \"artifactHashParameter\", \"hash-parameter\" }\n};","version":"1"},"java":{"source":"Map<String, String> entry = Map.of(\n \"packaging\", \"file\",\n \"s3BucketParameter\", \"bucket-parameter\",\n \"s3KeyParamenter\", \"key-parameter\",\n \"artifactHashParameter\", \"hash-parameter\");","version":"1"},"go":{"source":"entry := map[string]*string{\n\t\"packaging\": jsii.String(\"file\"),\n\t\"s3BucketParameter\": jsii.String(\"bucket-parameter\"),\n\t\"s3KeyParamenter\": jsii.String(\"key-parameter\"),\n\t\"artifactHashParameter\": jsii.String(\"hash-parameter\"),\n}","version":"1"},"$":{"source":"const entry = {\n packaging: 'file',\n s3BucketParameter: 'bucket-parameter',\n s3KeyParamenter: 'key-parameter',\n artifactHashParameter: 'hash-parameter',\n}","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloud-assembly-schema.FileAssetMetadataEntry"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture intentionally empty\n\n// Code snippet begins after !show marker below\n/// !show\nconst entry = {\n packaging: 'file',\n s3BucketParameter: 'bucket-parameter',\n s3KeyParamenter: 'key-parameter',\n artifactHashParameter: 'hash-parameter',\n}\n/// !hide\n// Code snippet ended before !hide marker above\n","syntaxKindCounter":{"11":4,"80":5,"211":1,"244":1,"261":1,"262":1,"304":4,"308":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
package/cli-version.json CHANGED
@@ -1 +1 @@
1
- {"version":"2.1033.0"}
1
+ {"version":"2.1100.0"}
package/lib/manifest.js CHANGED
@@ -269,7 +269,7 @@ class Manifest {
269
269
  }
270
270
  exports.Manifest = Manifest;
271
271
  _a = JSII_RTTI_SYMBOL_1;
272
- Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "48.20.0" };
272
+ Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "49.1.0" };
273
273
  function mapValues(xs, fn) {
274
274
  if (!xs) {
275
275
  return undefined;
@@ -255,6 +255,7 @@ const isSatisfiable = (comparators, options) => {
255
255
  // already replaced the hyphen ranges
256
256
  // turn into a set of JUST comparators.
257
257
  const parseComparator = (comp, options) => {
258
+ comp = comp.replace(re[t.BUILD], '')
258
259
  debug('comp', comp, options)
259
260
  comp = replaceCarets(comp, options)
260
261
  debug('caret', comp)
@@ -111,11 +111,25 @@ class SemVer {
111
111
  other = new SemVer(other, this.options)
112
112
  }
113
113
 
114
- return (
115
- compareIdentifiers(this.major, other.major) ||
116
- compareIdentifiers(this.minor, other.minor) ||
117
- compareIdentifiers(this.patch, other.patch)
118
- )
114
+ if (this.major < other.major) {
115
+ return -1
116
+ }
117
+ if (this.major > other.major) {
118
+ return 1
119
+ }
120
+ if (this.minor < other.minor) {
121
+ return -1
122
+ }
123
+ if (this.minor > other.minor) {
124
+ return 1
125
+ }
126
+ if (this.patch < other.patch) {
127
+ return -1
128
+ }
129
+ if (this.patch > other.patch) {
130
+ return 1
131
+ }
132
+ return 0
119
133
  }
120
134
 
121
135
  comparePre (other) {
@@ -2,6 +2,10 @@
2
2
 
3
3
  const numeric = /^[0-9]+$/
4
4
  const compareIdentifiers = (a, b) => {
5
+ if (typeof a === 'number' && typeof b === 'number') {
6
+ return a === b ? 0 : a < b ? -1 : 1
7
+ }
8
+
5
9
  const anum = numeric.test(a)
6
10
  const bnum = numeric.test(b)
7
11
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semver",
3
- "version": "7.7.2",
3
+ "version": "7.7.3",
4
4
  "description": "The semantic version parser used by npm.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@npmcli/eslint-config": "^5.0.0",
18
- "@npmcli/template-oss": "4.24.3",
18
+ "@npmcli/template-oss": "4.25.1",
19
19
  "benchmark": "^2.1.4",
20
20
  "tap": "^16.0.0"
21
21
  },
@@ -52,7 +52,7 @@
52
52
  "author": "GitHub Inc.",
53
53
  "templateOSS": {
54
54
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55
- "version": "4.24.3",
55
+ "version": "4.25.1",
56
56
  "engines": ">=10",
57
57
  "distPaths": [
58
58
  "classes/",
package/package.json CHANGED
@@ -58,20 +58,20 @@
58
58
  "jest": "^29.7.0",
59
59
  "jest-junit": "^16",
60
60
  "jsii": "5.9",
61
- "jsii-diff": "^1.118.0",
62
- "jsii-pacmak": "^1.118.0",
61
+ "jsii-diff": "^1.121.0",
62
+ "jsii-pacmak": "^1.121.0",
63
63
  "jsii-rosetta": "5.9",
64
64
  "license-checker": "^25.0.1",
65
65
  "mock-fs": "^5.5.0",
66
66
  "prettier": "^2.8",
67
- "ts-jest": "^29.4.4",
68
- "tsx": "^4.20.5",
67
+ "ts-jest": "^29.4.6",
68
+ "tsx": "^4.21.0",
69
69
  "typescript": "5.9",
70
- "typescript-json-schema": "^0.65.1"
70
+ "typescript-json-schema": "^0.67.1"
71
71
  },
72
72
  "dependencies": {
73
73
  "jsonschema": "~1.4.1",
74
- "semver": "^7.7.2"
74
+ "semver": "^7.7.3"
75
75
  },
76
76
  "bundledDependencies": [
77
77
  "jsonschema",
@@ -90,7 +90,7 @@
90
90
  "publishConfig": {
91
91
  "access": "public"
92
92
  },
93
- "version": "48.20.0",
93
+ "version": "49.1.0",
94
94
  "types": "lib/index.d.ts",
95
95
  "stability": "stable",
96
96
  "jsii": {
@@ -1095,7 +1095,7 @@
1095
1095
  },
1096
1096
  "propertyMatch": {
1097
1097
  "description": "Returns any resources matching these properties, using `ListResources`.\n\nBy default, specifying propertyMatch will successfully return 0 or more\nresults. To throw an error if the number of results is unexpected (and\nprevent the query results from being committed to context), specify\n`expectedMatchCount`.\n\n## Notes on property completeness\n\nCloudControl API's `ListResources` may return fewer properties than\n`GetResource` would, depending on the resource implementation.\n\nThe resources that `propertyMatch` matches against will *only ever* be the\nproperties returned by the `ListResources` call. (Default - Either exactIdentifier or propertyMatch should be specified.)",
1098
- "$ref": "#/definitions/Record<string,unknown>"
1098
+ "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E"
1099
1099
  },
1100
1100
  "propertiesToReturn": {
1101
1101
  "description": "This is a set of properties returned from CC API that we want to return from ContextQuery.\n\nIf any properties listed here are absent from the target resource, an error will be thrown.\n\nThe returned object will always include the key `Identifier` with the CC-API returned\nfield `Identifier`.\n\n## Notes on property completeness\n\nCloudControl API's `ListResources` may return fewer properties than\n`GetResource` would, depending on the resource implementation.\n\nThe returned properties here are *currently* selected from the response\nobject that CloudControl API returns to the CDK CLI.\n\nHowever, if we find there is need to do so, we may decide to change this\nbehavior in the future: we might change it to perform an additional\n`GetResource` call for resources matched by `propertyMatch`.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaHash": "4755f1d1fcb2dc25dd6bff0494afa7d86c517274ffebdf2ac2dcb90ad4b899c4",
2
+ "schemaHash": "e20bc1d07ab1a891372f40a6d2d8a8eb8e12f828b2b5b90d86b270dcb881ad74",
3
3
  "$comment": "Do not hold back the version on additions: jsonschema validation of the manifest by the consumer will trigger errors on unexpected fields.",
4
- "revision": 48
4
+ "revision": 49
5
5
  }