@pgarbe/cdk-ecr-sync 0.5.25 → 0.5.26

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.
Files changed (134) hide show
  1. package/.jsii +147 -4
  2. package/.projenrc.ts +1 -1
  3. package/CHANGELOG.md +1 -1
  4. package/lib/ecr-sync.d.ts +4 -22
  5. package/lib/ecr-sync.js +3 -10
  6. package/lib/image.d.ts +5 -8
  7. package/lib/image.js +1 -1
  8. package/node_modules/aws-sdk/CHANGELOG.md +69 -1
  9. package/node_modules/aws-sdk/README.md +1 -1
  10. package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +3 -1
  11. package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +11 -11
  12. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +677 -237
  13. package/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +7 -1
  14. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +171 -15
  15. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
  16. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +43 -30
  17. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
  18. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
  19. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
  20. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +167 -79
  21. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +408 -133
  22. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +12 -0
  23. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +122 -43
  24. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  25. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
  26. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +125 -49
  27. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +136 -30
  28. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
  29. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +212 -6
  30. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +5 -0
  31. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +4 -1
  32. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
  33. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
  34. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +80 -55
  35. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +0 -1
  36. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +148 -127
  37. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +79 -51
  38. package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
  39. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +125 -49
  40. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +3 -0
  41. package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +135 -45
  42. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +152 -52
  43. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +131 -123
  44. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +15 -10
  45. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +47 -33
  46. package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +11 -3
  47. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +44 -40
  48. package/node_modules/aws-sdk/clients/amplify.d.ts +7 -7
  49. package/node_modules/aws-sdk/clients/appconfig.d.ts +13 -13
  50. package/node_modules/aws-sdk/clients/appconfigdata.d.ts +18 -18
  51. package/node_modules/aws-sdk/clients/appflow.d.ts +611 -3
  52. package/node_modules/aws-sdk/clients/apprunner.d.ts +179 -12
  53. package/node_modules/aws-sdk/clients/athena.d.ts +31 -8
  54. package/node_modules/aws-sdk/clients/auditmanager.d.ts +2 -2
  55. package/node_modules/aws-sdk/clients/cloudformation.d.ts +407 -264
  56. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +6 -5
  57. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +287 -287
  58. package/node_modules/aws-sdk/clients/comprehend.d.ts +138 -0
  59. package/node_modules/aws-sdk/clients/connect.d.ts +327 -10
  60. package/node_modules/aws-sdk/clients/costexplorer.d.ts +17 -17
  61. package/node_modules/aws-sdk/clients/dynamodb.d.ts +5 -5
  62. package/node_modules/aws-sdk/clients/ebs.d.ts +6 -6
  63. package/node_modules/aws-sdk/clients/ec2.d.ts +124 -10
  64. package/node_modules/aws-sdk/clients/efs.d.ts +131 -4
  65. package/node_modules/aws-sdk/clients/elasticache.d.ts +3 -3
  66. package/node_modules/aws-sdk/clients/emr.d.ts +14 -14
  67. package/node_modules/aws-sdk/clients/es.d.ts +97 -0
  68. package/node_modules/aws-sdk/clients/eventbridge.d.ts +8 -8
  69. package/node_modules/aws-sdk/clients/fis.d.ts +142 -22
  70. package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
  71. package/node_modules/aws-sdk/clients/fsx.d.ts +15 -11
  72. package/node_modules/aws-sdk/clients/glue.d.ts +7 -7
  73. package/node_modules/aws-sdk/clients/guardduty.d.ts +309 -44
  74. package/node_modules/aws-sdk/clients/iot.d.ts +1 -1
  75. package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
  76. package/node_modules/aws-sdk/clients/kendra.d.ts +95 -59
  77. package/node_modules/aws-sdk/clients/lakeformation.d.ts +1 -1
  78. package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
  79. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +40 -6
  80. package/node_modules/aws-sdk/clients/mediatailor.d.ts +11 -0
  81. package/node_modules/aws-sdk/clients/opensearch.d.ts +97 -0
  82. package/node_modules/aws-sdk/clients/personalize.d.ts +7 -3
  83. package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
  84. package/node_modules/aws-sdk/clients/rds.d.ts +17 -17
  85. package/node_modules/aws-sdk/clients/robomaker.d.ts +30 -30
  86. package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
  87. package/node_modules/aws-sdk/clients/s3control.d.ts +137 -10
  88. package/node_modules/aws-sdk/clients/sagemaker.d.ts +27 -7
  89. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +62 -48
  90. package/node_modules/aws-sdk/clients/securityhub.d.ts +15 -0
  91. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +1 -1
  92. package/node_modules/aws-sdk/clients/synthetics.d.ts +15 -5
  93. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +6 -0
  94. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +35 -28
  95. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +73 -66
  96. package/node_modules/aws-sdk/dist/aws-sdk.js +1048 -371
  97. package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
  98. package/node_modules/aws-sdk/lib/core.js +1 -1
  99. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  100. package/node_modules/aws-sdk/lib/param_validator.js +2 -0
  101. package/node_modules/aws-sdk/package.json +2 -2
  102. package/node_modules/jmespath/jmespath.js +32 -27
  103. package/node_modules/jmespath/package.json +2 -7
  104. package/package.json +3 -3
  105. package/releasetag.txt +1 -1
  106. package/version.txt +1 -1
  107. package/node_modules/jmespath/.eslintrc +0 -10
  108. package/node_modules/jmespath/.npmignore +0 -1
  109. package/node_modules/jmespath/.travis.yml +0 -6
  110. package/node_modules/jmespath/BASELINE +0 -15
  111. package/node_modules/jmespath/Gruntfile.js +0 -36
  112. package/node_modules/jmespath/g.sh +0 -5
  113. package/node_modules/jmespath/index.html +0 -93
  114. package/node_modules/jmespath/james.html +0 -7
  115. package/node_modules/jmespath/l.js +0 -189
  116. package/node_modules/jmespath/perf.js +0 -33
  117. package/node_modules/jmespath/reservedWords.json +0 -4
  118. package/node_modules/jmespath/test/compliance/basic.json +0 -96
  119. package/node_modules/jmespath/test/compliance/boolean.json +0 -257
  120. package/node_modules/jmespath/test/compliance/current.json +0 -25
  121. package/node_modules/jmespath/test/compliance/escape.json +0 -46
  122. package/node_modules/jmespath/test/compliance/filters.json +0 -468
  123. package/node_modules/jmespath/test/compliance/functions.json +0 -825
  124. package/node_modules/jmespath/test/compliance/identifiers.json +0 -1377
  125. package/node_modules/jmespath/test/compliance/indices.json +0 -346
  126. package/node_modules/jmespath/test/compliance/literal.json +0 -190
  127. package/node_modules/jmespath/test/compliance/multiselect.json +0 -393
  128. package/node_modules/jmespath/test/compliance/pipe.json +0 -131
  129. package/node_modules/jmespath/test/compliance/slice.json +0 -187
  130. package/node_modules/jmespath/test/compliance/syntax.json +0 -616
  131. package/node_modules/jmespath/test/compliance/unicode.json +0 -38
  132. package/node_modules/jmespath/test/compliance/wildcard.json +0 -460
  133. package/node_modules/jmespath/test/compliance.js +0 -56
  134. package/node_modules/jmespath/test/jmespath.js +0 -217
@@ -1,217 +0,0 @@
1
- var assert = require('assert');
2
- var jmespath = require('../jmespath');
3
- var tokenize = jmespath.tokenize;
4
- var compile = jmespath.compile;
5
- var strictDeepEqual = jmespath.strictDeepEqual;
6
-
7
-
8
- describe('tokenize', function() {
9
- it('should tokenize unquoted identifier', function() {
10
- assert.deepEqual(tokenize('foo'),
11
- [{type: "UnquotedIdentifier",
12
- value: "foo",
13
- start: 0}]);
14
- });
15
- it('should tokenize unquoted identifier with underscore', function() {
16
- assert.deepEqual(tokenize('_underscore'),
17
- [{type: "UnquotedIdentifier",
18
- value: "_underscore",
19
- start: 0}]);
20
- });
21
- it('should tokenize unquoted identifier with numbers', function() {
22
- assert.deepEqual(tokenize('foo123'),
23
- [{type: "UnquotedIdentifier",
24
- value: "foo123",
25
- start: 0}]);
26
- });
27
- it('should tokenize dotted lookups', function() {
28
- assert.deepEqual(
29
- tokenize('foo.bar'),
30
- [{type: "UnquotedIdentifier", value: "foo", start: 0},
31
- {type: "Dot", value: ".", start: 3},
32
- {type: "UnquotedIdentifier", value: "bar", start: 4},
33
- ]);
34
- });
35
- it('should tokenize numbers', function() {
36
- assert.deepEqual(
37
- tokenize('foo[0]'),
38
- [{type: "UnquotedIdentifier", value: "foo", start: 0},
39
- {type: "Lbracket", value: "[", start: 3},
40
- {type: "Number", value: 0, start: 4},
41
- {type: "Rbracket", value: "]", start: 5},
42
- ]);
43
- });
44
- it('should tokenize numbers with multiple digits', function() {
45
- assert.deepEqual(
46
- tokenize("12345"),
47
- [{type: "Number", value: 12345, start: 0}]);
48
- });
49
- it('should tokenize negative numbers', function() {
50
- assert.deepEqual(
51
- tokenize("-12345"),
52
- [{type: "Number", value: -12345, start: 0}]);
53
- });
54
- it('should tokenize quoted identifier', function() {
55
- assert.deepEqual(tokenize('"foo"'),
56
- [{type: "QuotedIdentifier",
57
- value: "foo",
58
- start: 0}]);
59
- });
60
- it('should tokenize quoted identifier with unicode escape', function() {
61
- assert.deepEqual(tokenize('"\\u2713"'),
62
- [{type: "QuotedIdentifier",
63
- value: "✓",
64
- start: 0}]);
65
- });
66
- it('should tokenize literal lists', function() {
67
- assert.deepEqual(tokenize("`[0, 1]`"),
68
- [{type: "Literal",
69
- value: [0, 1],
70
- start: 0}]);
71
- });
72
- it('should tokenize literal dict', function() {
73
- assert.deepEqual(tokenize("`{\"foo\": \"bar\"}`"),
74
- [{type: "Literal",
75
- value: {"foo": "bar"},
76
- start: 0}]);
77
- });
78
- it('should tokenize literal strings', function() {
79
- assert.deepEqual(tokenize("`\"foo\"`"),
80
- [{type: "Literal",
81
- value: "foo",
82
- start: 0}]);
83
- });
84
- it('should tokenize json literals', function() {
85
- assert.deepEqual(tokenize("`true`"),
86
- [{type: "Literal",
87
- value: true,
88
- start: 0}]);
89
- });
90
- it('should not requiring surrounding quotes for strings', function() {
91
- assert.deepEqual(tokenize("`foo`"),
92
- [{type: "Literal",
93
- value: "foo",
94
- start: 0}]);
95
- });
96
- it('should not requiring surrounding quotes for numbers', function() {
97
- assert.deepEqual(tokenize("`20`"),
98
- [{type: "Literal",
99
- value: 20,
100
- start: 0}]);
101
- });
102
- it('should tokenize literal lists with chars afterwards', function() {
103
- assert.deepEqual(
104
- tokenize("`[0, 1]`[0]"), [
105
- {type: "Literal", value: [0, 1], start: 0},
106
- {type: "Lbracket", value: "[", start: 8},
107
- {type: "Number", value: 0, start: 9},
108
- {type: "Rbracket", value: "]", start: 10}
109
- ]);
110
- });
111
- it('should tokenize two char tokens with shared prefix', function() {
112
- assert.deepEqual(
113
- tokenize("[?foo]"),
114
- [{type: "Filter", value: "[?", start: 0},
115
- {type: "UnquotedIdentifier", value: "foo", start: 2},
116
- {type: "Rbracket", value: "]", start: 5}]
117
- );
118
- });
119
- it('should tokenize flatten operator', function() {
120
- assert.deepEqual(
121
- tokenize("[]"),
122
- [{type: "Flatten", value: "[]", start: 0}]);
123
- });
124
- it('should tokenize comparators', function() {
125
- assert.deepEqual(tokenize("<"),
126
- [{type: "LT",
127
- value: "<",
128
- start: 0}]);
129
- });
130
- it('should tokenize two char tokens without shared prefix', function() {
131
- assert.deepEqual(
132
- tokenize("=="),
133
- [{type: "EQ", value: "==", start: 0}]
134
- );
135
- });
136
- it('should tokenize not equals', function() {
137
- assert.deepEqual(
138
- tokenize("!="),
139
- [{type: "NE", value: "!=", start: 0}]
140
- );
141
- });
142
- it('should tokenize the OR token', function() {
143
- assert.deepEqual(
144
- tokenize("a||b"),
145
- [
146
- {type: "UnquotedIdentifier", value: "a", start: 0},
147
- {type: "Or", value: "||", start: 1},
148
- {type: "UnquotedIdentifier", value: "b", start: 3}
149
- ]
150
- );
151
- });
152
- it('should tokenize function calls', function() {
153
- assert.deepEqual(
154
- tokenize("abs(@)"),
155
- [
156
- {type: "UnquotedIdentifier", value: "abs", start: 0},
157
- {type: "Lparen", value: "(", start: 3},
158
- {type: "Current", value: "@", start: 4},
159
- {type: "Rparen", value: ")", start: 5}
160
- ]
161
- );
162
- });
163
- });
164
-
165
-
166
- describe('parsing', function() {
167
- it('should parse field node', function() {
168
- assert.deepEqual(compile('foo'),
169
- {type: 'Field', name: 'foo'});
170
- });
171
- });
172
-
173
- describe('strictDeepEqual', function() {
174
- it('should compare scalars', function() {
175
- assert.strictEqual(strictDeepEqual('a', 'a'), true);
176
- });
177
- it('should be false for different types', function() {
178
- assert.strictEqual(strictDeepEqual('a', 2), false);
179
- });
180
- it('should be false for arrays of different lengths', function() {
181
- assert.strictEqual(strictDeepEqual([0, 1], [1, 2, 3]), false);
182
- });
183
- it('should be true for identical arrays', function() {
184
- assert.strictEqual(strictDeepEqual([0, 1], [0, 1]), true);
185
- });
186
- it('should be true for nested arrays', function() {
187
- assert.strictEqual(
188
- strictDeepEqual([[0, 1], [2, 3]], [[0, 1], [2, 3]]), true);
189
- });
190
- it('should be true for nested arrays of strings', function() {
191
- assert.strictEqual(
192
- strictDeepEqual([["a", "b"], ["c", "d"]],
193
- [["a", "b"], ["c", "d"]]), true);
194
- });
195
- it('should be false for different arrays of the same length', function() {
196
- assert.strictEqual(strictDeepEqual([0, 1], [1, 2]), false);
197
- });
198
- it('should handle object literals', function() {
199
- assert.strictEqual(strictDeepEqual({a: 1, b: 2}, {a: 1, b: 2}), true);
200
- });
201
- it('should handle keys in first not in second', function() {
202
- assert.strictEqual(strictDeepEqual({a: 1, b: 2}, {a: 1}), false);
203
- });
204
- it('should handle keys in second not in first', function() {
205
- assert.strictEqual(strictDeepEqual({a: 1}, {a: 1, b: 2}), false);
206
- });
207
- it('should handle nested objects', function() {
208
- assert.strictEqual(
209
- strictDeepEqual({a: {b: [1, 2]}},
210
- {a: {b: [1, 2]}}), true);
211
- });
212
- it('should handle nested objects that are not equal', function() {
213
- assert.strictEqual(
214
- strictDeepEqual({a: {b: [1, 2]}},
215
- {a: {b: [1, 4]}}), false);
216
- });
217
- });