@aws-cdk/cloud-assembly-schema 1.175.0 → 1.177.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.3.7"
12
+ "semver": "^7.3.8"
13
13
  },
14
14
  "description": "Cloud Assembly Schema",
15
15
  "docs": {
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "1.67.0 (build 2c027f5)",
19
+ "jsiiVersion": "1.69.0 (build f656c31)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -5469,6 +5469,6 @@
5469
5469
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
5470
5470
  }
5471
5471
  },
5472
- "version": "1.175.0",
5472
+ "version": "1.177.0",
5473
5473
  "fingerprint": "**********"
5474
5474
  }
package/.jsii.tabl.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.67.0",
3
+ "toolVersion": "1.69.0",
4
4
  "snippets": {
5
5
  "cecc4b6be0cf4accc3e46f1670579b731439bd3e3b6efffdbd431eb0130d724c": {
6
6
  "translations": {
package/.warnings.jsii.js CHANGED
@@ -35,10 +35,14 @@ function _aws_cdk_cloud_assembly_schema_AssemblyManifest(p) {
35
35
  return;
36
36
  visitedObjects.add(p);
37
37
  try {
38
- if (!visitedObjects.has(p.artifacts))
39
- _aws_cdk_cloud_assembly_schema_ArtifactManifest(p.artifacts);
40
- if (!visitedObjects.has(p.missing))
41
- _aws_cdk_cloud_assembly_schema_MissingContext(p.missing);
38
+ if (p.artifacts != null)
39
+ for (const o of Object.values(p.artifacts))
40
+ if (!visitedObjects.has(o))
41
+ _aws_cdk_cloud_assembly_schema_ArtifactManifest(o);
42
+ if (p.missing != null)
43
+ for (const o of p.missing)
44
+ if (!visitedObjects.has(o))
45
+ _aws_cdk_cloud_assembly_schema_MissingContext(o);
42
46
  if (!visitedObjects.has(p.runtime))
43
47
  _aws_cdk_cloud_assembly_schema_RuntimeInfo(p.runtime);
44
48
  }
@@ -109,8 +113,10 @@ function _aws_cdk_cloud_assembly_schema_LoadBalancerFilter(p) {
109
113
  try {
110
114
  if (!visitedObjects.has(p.loadBalancerType))
111
115
  _aws_cdk_cloud_assembly_schema_LoadBalancerType(p.loadBalancerType);
112
- if (!visitedObjects.has(p.loadBalancerTags))
113
- _aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
116
+ if (p.loadBalancerTags != null)
117
+ for (const o of p.loadBalancerTags)
118
+ if (!visitedObjects.has(o))
119
+ _aws_cdk_cloud_assembly_schema_Tag(o);
114
120
  }
115
121
  finally {
116
122
  visitedObjects.delete(p);
@@ -123,8 +129,10 @@ function _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery(p) {
123
129
  try {
124
130
  if (!visitedObjects.has(p.loadBalancerType))
125
131
  _aws_cdk_cloud_assembly_schema_LoadBalancerType(p.loadBalancerType);
126
- if (!visitedObjects.has(p.loadBalancerTags))
127
- _aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
132
+ if (p.loadBalancerTags != null)
133
+ for (const o of p.loadBalancerTags)
134
+ if (!visitedObjects.has(o))
135
+ _aws_cdk_cloud_assembly_schema_Tag(o);
128
136
  }
129
137
  finally {
130
138
  visitedObjects.delete(p);
@@ -141,8 +149,10 @@ function _aws_cdk_cloud_assembly_schema_LoadBalancerListenerContextQuery(p) {
141
149
  _aws_cdk_cloud_assembly_schema_LoadBalancerListenerProtocol(p.listenerProtocol);
142
150
  if (!visitedObjects.has(p.loadBalancerType))
143
151
  _aws_cdk_cloud_assembly_schema_LoadBalancerType(p.loadBalancerType);
144
- if (!visitedObjects.has(p.loadBalancerTags))
145
- _aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
152
+ if (p.loadBalancerTags != null)
153
+ for (const o of p.loadBalancerTags)
154
+ if (!visitedObjects.has(o))
155
+ _aws_cdk_cloud_assembly_schema_Tag(o);
146
156
  }
147
157
  finally {
148
158
  visitedObjects.delete(p);
@@ -159,10 +169,14 @@ function _aws_cdk_cloud_assembly_schema_AssetManifest(p) {
159
169
  return;
160
170
  visitedObjects.add(p);
161
171
  try {
162
- if (!visitedObjects.has(p.dockerImages))
163
- _aws_cdk_cloud_assembly_schema_DockerImageAsset(p.dockerImages);
164
- if (!visitedObjects.has(p.files))
165
- _aws_cdk_cloud_assembly_schema_FileAsset(p.files);
172
+ if (p.dockerImages != null)
173
+ for (const o of Object.values(p.dockerImages))
174
+ if (!visitedObjects.has(o))
175
+ _aws_cdk_cloud_assembly_schema_DockerImageAsset(o);
176
+ if (p.files != null)
177
+ for (const o of Object.values(p.files))
178
+ if (!visitedObjects.has(o))
179
+ _aws_cdk_cloud_assembly_schema_FileAsset(o);
166
180
  }
167
181
  finally {
168
182
  visitedObjects.delete(p);
@@ -173,8 +187,10 @@ function _aws_cdk_cloud_assembly_schema_DockerImageAsset(p) {
173
187
  return;
174
188
  visitedObjects.add(p);
175
189
  try {
176
- if (!visitedObjects.has(p.destinations))
177
- _aws_cdk_cloud_assembly_schema_DockerImageDestination(p.destinations);
190
+ if (p.destinations != null)
191
+ for (const o of Object.values(p.destinations))
192
+ if (!visitedObjects.has(o))
193
+ _aws_cdk_cloud_assembly_schema_DockerImageDestination(o);
178
194
  if (!visitedObjects.has(p.source))
179
195
  _aws_cdk_cloud_assembly_schema_DockerImageSource(p.source);
180
196
  }
@@ -191,8 +207,10 @@ function _aws_cdk_cloud_assembly_schema_FileAsset(p) {
191
207
  return;
192
208
  visitedObjects.add(p);
193
209
  try {
194
- if (!visitedObjects.has(p.destinations))
195
- _aws_cdk_cloud_assembly_schema_FileDestination(p.destinations);
210
+ if (p.destinations != null)
211
+ for (const o of Object.values(p.destinations))
212
+ if (!visitedObjects.has(o))
213
+ _aws_cdk_cloud_assembly_schema_FileDestination(o);
196
214
  if (!visitedObjects.has(p.source))
197
215
  _aws_cdk_cloud_assembly_schema_FileSource(p.source);
198
216
  }
@@ -227,8 +245,10 @@ function _aws_cdk_cloud_assembly_schema_IntegManifest(p) {
227
245
  return;
228
246
  visitedObjects.add(p);
229
247
  try {
230
- if (!visitedObjects.has(p.testCases))
231
- _aws_cdk_cloud_assembly_schema_TestCase(p.testCases);
248
+ if (p.testCases != null)
249
+ for (const o of Object.values(p.testCases))
250
+ if (!visitedObjects.has(o))
251
+ _aws_cdk_cloud_assembly_schema_TestCase(o);
232
252
  }
233
253
  finally {
234
254
  visitedObjects.delete(p);
package/lib/manifest.js CHANGED
@@ -255,7 +255,7 @@ class Manifest {
255
255
  }
256
256
  exports.Manifest = Manifest;
257
257
  _a = JSII_RTTI_SYMBOL_1;
258
- Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "1.175.0" };
258
+ Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "1.177.0" };
259
259
  function mapValues(xs, fn) {
260
260
  if (!xs) {
261
261
  return undefined;
@@ -252,6 +252,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
252
252
  // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
253
253
  // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
254
254
  // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
255
+ // ~0.0.1 --> >=0.0.1 <0.1.0-0
255
256
  const replaceTildes = (comp, options) =>
256
257
  comp.trim().split(/\s+/).map((c) => {
257
258
  return replaceTilde(c, options)
@@ -291,6 +292,8 @@ const replaceTilde = (comp, options) => {
291
292
  // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
292
293
  // ^1.2.3 --> >=1.2.3 <2.0.0-0
293
294
  // ^1.2.0 --> >=1.2.0 <2.0.0-0
295
+ // ^0.0.1 --> >=0.0.1 <0.0.2-0
296
+ // ^0.1.0 --> >=0.1.0 <0.2.0-0
294
297
  const replaceCarets = (comp, options) =>
295
298
  comp.trim().split(/\s+/).map((c) => {
296
299
  return replaceCaret(c, options)
@@ -1,48 +1,88 @@
1
1
  // just pre-load all the stuff that index.js lazily exports
2
2
  const internalRe = require('./internal/re')
3
+ const constants = require('./internal/constants')
4
+ const SemVer = require('./classes/semver')
5
+ const identifiers = require('./internal/identifiers')
6
+ const parse = require('./functions/parse')
7
+ const valid = require('./functions/valid')
8
+ const clean = require('./functions/clean')
9
+ const inc = require('./functions/inc')
10
+ const diff = require('./functions/diff')
11
+ const major = require('./functions/major')
12
+ const minor = require('./functions/minor')
13
+ const patch = require('./functions/patch')
14
+ const prerelease = require('./functions/prerelease')
15
+ const compare = require('./functions/compare')
16
+ const rcompare = require('./functions/rcompare')
17
+ const compareLoose = require('./functions/compare-loose')
18
+ const compareBuild = require('./functions/compare-build')
19
+ const sort = require('./functions/sort')
20
+ const rsort = require('./functions/rsort')
21
+ const gt = require('./functions/gt')
22
+ const lt = require('./functions/lt')
23
+ const eq = require('./functions/eq')
24
+ const neq = require('./functions/neq')
25
+ const gte = require('./functions/gte')
26
+ const lte = require('./functions/lte')
27
+ const cmp = require('./functions/cmp')
28
+ const coerce = require('./functions/coerce')
29
+ const Comparator = require('./classes/comparator')
30
+ const Range = require('./classes/range')
31
+ const satisfies = require('./functions/satisfies')
32
+ const toComparators = require('./ranges/to-comparators')
33
+ const maxSatisfying = require('./ranges/max-satisfying')
34
+ const minSatisfying = require('./ranges/min-satisfying')
35
+ const minVersion = require('./ranges/min-version')
36
+ const validRange = require('./ranges/valid')
37
+ const outside = require('./ranges/outside')
38
+ const gtr = require('./ranges/gtr')
39
+ const ltr = require('./ranges/ltr')
40
+ const intersects = require('./ranges/intersects')
41
+ const simplifyRange = require('./ranges/simplify')
42
+ const subset = require('./ranges/subset')
3
43
  module.exports = {
44
+ parse,
45
+ valid,
46
+ clean,
47
+ inc,
48
+ diff,
49
+ major,
50
+ minor,
51
+ patch,
52
+ prerelease,
53
+ compare,
54
+ rcompare,
55
+ compareLoose,
56
+ compareBuild,
57
+ sort,
58
+ rsort,
59
+ gt,
60
+ lt,
61
+ eq,
62
+ neq,
63
+ gte,
64
+ lte,
65
+ cmp,
66
+ coerce,
67
+ Comparator,
68
+ Range,
69
+ satisfies,
70
+ toComparators,
71
+ maxSatisfying,
72
+ minSatisfying,
73
+ minVersion,
74
+ validRange,
75
+ outside,
76
+ gtr,
77
+ ltr,
78
+ intersects,
79
+ simplifyRange,
80
+ subset,
81
+ SemVer,
4
82
  re: internalRe.re,
5
83
  src: internalRe.src,
6
84
  tokens: internalRe.t,
7
- SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,
8
- SemVer: require('./classes/semver'),
9
- compareIdentifiers: require('./internal/identifiers').compareIdentifiers,
10
- rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,
11
- parse: require('./functions/parse'),
12
- valid: require('./functions/valid'),
13
- clean: require('./functions/clean'),
14
- inc: require('./functions/inc'),
15
- diff: require('./functions/diff'),
16
- major: require('./functions/major'),
17
- minor: require('./functions/minor'),
18
- patch: require('./functions/patch'),
19
- prerelease: require('./functions/prerelease'),
20
- compare: require('./functions/compare'),
21
- rcompare: require('./functions/rcompare'),
22
- compareLoose: require('./functions/compare-loose'),
23
- compareBuild: require('./functions/compare-build'),
24
- sort: require('./functions/sort'),
25
- rsort: require('./functions/rsort'),
26
- gt: require('./functions/gt'),
27
- lt: require('./functions/lt'),
28
- eq: require('./functions/eq'),
29
- neq: require('./functions/neq'),
30
- gte: require('./functions/gte'),
31
- lte: require('./functions/lte'),
32
- cmp: require('./functions/cmp'),
33
- coerce: require('./functions/coerce'),
34
- Comparator: require('./classes/comparator'),
35
- Range: require('./classes/range'),
36
- satisfies: require('./functions/satisfies'),
37
- toComparators: require('./ranges/to-comparators'),
38
- maxSatisfying: require('./ranges/max-satisfying'),
39
- minSatisfying: require('./ranges/min-satisfying'),
40
- minVersion: require('./ranges/min-version'),
41
- validRange: require('./ranges/valid'),
42
- outside: require('./ranges/outside'),
43
- gtr: require('./ranges/gtr'),
44
- ltr: require('./ranges/ltr'),
45
- intersects: require('./ranges/intersects'),
46
- simplifyRange: require('./ranges/simplify'),
47
- subset: require('./ranges/subset'),
85
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
86
+ compareIdentifiers: identifiers.compareIdentifiers,
87
+ rcompareIdentifiers: identifiers.rcompareIdentifiers,
48
88
  }
@@ -1,24 +1,20 @@
1
1
  {
2
2
  "name": "semver",
3
- "version": "7.3.7",
3
+ "version": "7.3.8",
4
4
  "description": "The semantic version parser used by npm.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "tap",
8
8
  "snap": "tap",
9
- "preversion": "npm test",
10
- "postversion": "npm publish",
11
- "postpublish": "git push origin --follow-tags",
12
9
  "lint": "eslint \"**/*.js\"",
13
10
  "postlint": "template-oss-check",
14
11
  "lintfix": "npm run lint -- --fix",
15
- "prepublishOnly": "git push origin --follow-tags",
16
12
  "posttest": "npm run lint",
17
13
  "template-oss-apply": "template-oss-apply --force"
18
14
  },
19
15
  "devDependencies": {
20
16
  "@npmcli/eslint-config": "^3.0.1",
21
- "@npmcli/template-oss": "3.3.2",
17
+ "@npmcli/template-oss": "4.4.4",
22
18
  "tap": "^16.0.0"
23
19
  },
24
20
  "license": "ISC",
@@ -31,6 +27,7 @@
31
27
  },
32
28
  "files": [
33
29
  "bin/",
30
+ "lib/",
34
31
  "classes/",
35
32
  "functions/",
36
33
  "internal/",
@@ -41,7 +38,11 @@
41
38
  ],
42
39
  "tap": {
43
40
  "check-coverage": true,
44
- "coverage-map": "map.js"
41
+ "coverage-map": "map.js",
42
+ "nyc-arg": [
43
+ "--exclude",
44
+ "tap-snapshots/**"
45
+ ]
45
46
  },
46
47
  "engines": {
47
48
  "node": ">=10"
@@ -52,17 +53,18 @@
52
53
  "author": "GitHub Inc.",
53
54
  "templateOSS": {
54
55
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55
- "version": "3.3.2",
56
+ "version": "4.4.4",
56
57
  "engines": ">=10",
58
+ "content": "./scripts",
57
59
  "ciVersions": [
58
60
  "10.0.0",
59
61
  "10.x",
60
62
  "12.x",
61
63
  "14.x",
62
- "16.x"
64
+ "16.x",
65
+ "18.x"
63
66
  ],
64
67
  "distPaths": [
65
- "bin/",
66
68
  "classes/",
67
69
  "functions/",
68
70
  "internal/",
@@ -70,6 +72,15 @@
70
72
  "index.js",
71
73
  "preload.js",
72
74
  "range.bnf"
75
+ ],
76
+ "allowPaths": [
77
+ "/classes/",
78
+ "/functions/",
79
+ "/internal/",
80
+ "/ranges/",
81
+ "/index.js",
82
+ "/preload.js",
83
+ "/range.bnf"
73
84
  ]
74
85
  }
75
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/cloud-assembly-schema",
3
- "version": "1.175.0",
3
+ "version": "1.177.0",
4
4
  "description": "Cloud Assembly Schema",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "license": "Apache-2.0",
62
62
  "devDependencies": {
63
- "@aws-cdk/cdk-build-tools": "1.175.0",
64
- "@aws-cdk/pkglint": "1.175.0",
63
+ "@aws-cdk/cdk-build-tools": "1.177.0",
64
+ "@aws-cdk/pkglint": "1.177.0",
65
65
  "@types/jest": "^27.5.2",
66
66
  "@types/mock-fs": "^4.13.1",
67
67
  "@types/semver": "^7.3.12",
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "dependencies": {
94
94
  "jsonschema": "^1.4.1",
95
- "semver": "^7.3.7"
95
+ "semver": "^7.3.8"
96
96
  },
97
97
  "awscdkio": {
98
98
  "announce": false