@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,346 +0,0 @@
1
- [{
2
- "given":
3
- {"foo": {"bar": ["zero", "one", "two"]}},
4
- "cases": [
5
- {
6
- "expression": "foo.bar[0]",
7
- "result": "zero"
8
- },
9
- {
10
- "expression": "foo.bar[1]",
11
- "result": "one"
12
- },
13
- {
14
- "expression": "foo.bar[2]",
15
- "result": "two"
16
- },
17
- {
18
- "expression": "foo.bar[3]",
19
- "result": null
20
- },
21
- {
22
- "expression": "foo.bar[-1]",
23
- "result": "two"
24
- },
25
- {
26
- "expression": "foo.bar[-2]",
27
- "result": "one"
28
- },
29
- {
30
- "expression": "foo.bar[-3]",
31
- "result": "zero"
32
- },
33
- {
34
- "expression": "foo.bar[-4]",
35
- "result": null
36
- }
37
- ]
38
- },
39
- {
40
- "given":
41
- {"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]},
42
- "cases": [
43
- {
44
- "expression": "foo.bar",
45
- "result": null
46
- },
47
- {
48
- "expression": "foo[0].bar",
49
- "result": "one"
50
- },
51
- {
52
- "expression": "foo[1].bar",
53
- "result": "two"
54
- },
55
- {
56
- "expression": "foo[2].bar",
57
- "result": "three"
58
- },
59
- {
60
- "expression": "foo[3].notbar",
61
- "result": "four"
62
- },
63
- {
64
- "expression": "foo[3].bar",
65
- "result": null
66
- },
67
- {
68
- "expression": "foo[0]",
69
- "result": {"bar": "one"}
70
- },
71
- {
72
- "expression": "foo[1]",
73
- "result": {"bar": "two"}
74
- },
75
- {
76
- "expression": "foo[2]",
77
- "result": {"bar": "three"}
78
- },
79
- {
80
- "expression": "foo[3]",
81
- "result": {"notbar": "four"}
82
- },
83
- {
84
- "expression": "foo[4]",
85
- "result": null
86
- }
87
- ]
88
- },
89
- {
90
- "given": [
91
- "one", "two", "three"
92
- ],
93
- "cases": [
94
- {
95
- "expression": "[0]",
96
- "result": "one"
97
- },
98
- {
99
- "expression": "[1]",
100
- "result": "two"
101
- },
102
- {
103
- "expression": "[2]",
104
- "result": "three"
105
- },
106
- {
107
- "expression": "[-1]",
108
- "result": "three"
109
- },
110
- {
111
- "expression": "[-2]",
112
- "result": "two"
113
- },
114
- {
115
- "expression": "[-3]",
116
- "result": "one"
117
- }
118
- ]
119
- },
120
- {
121
- "given": {"reservations": [
122
- {"instances": [{"foo": 1}, {"foo": 2}]}
123
- ]},
124
- "cases": [
125
- {
126
- "expression": "reservations[].instances[].foo",
127
- "result": [1, 2]
128
- },
129
- {
130
- "expression": "reservations[].instances[].bar",
131
- "result": []
132
- },
133
- {
134
- "expression": "reservations[].notinstances[].foo",
135
- "result": []
136
- },
137
- {
138
- "expression": "reservations[].notinstances[].foo",
139
- "result": []
140
- }
141
- ]
142
- },
143
- {
144
- "given": {"reservations": [{
145
- "instances": [
146
- {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]},
147
- {"foo": [{"bar": 5}, {"bar": 6}, {"notbar": [7]}, {"bar": 8}]},
148
- {"foo": "bar"},
149
- {"notfoo": [{"bar": 20}, {"bar": 21}, {"notbar": [7]}, {"bar": 22}]},
150
- {"bar": [{"baz": [1]}, {"baz": [2]}, {"baz": [3]}, {"baz": [4]}]},
151
- {"baz": [{"baz": [1, 2]}, {"baz": []}, {"baz": []}, {"baz": [3, 4]}]},
152
- {"qux": [{"baz": []}, {"baz": [1, 2, 3]}, {"baz": [4]}, {"baz": []}]}
153
- ],
154
- "otherkey": {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]}
155
- }, {
156
- "instances": [
157
- {"a": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]},
158
- {"b": [{"bar": 5}, {"bar": 6}, {"notbar": [7]}, {"bar": 8}]},
159
- {"c": "bar"},
160
- {"notfoo": [{"bar": 23}, {"bar": 24}, {"notbar": [7]}, {"bar": 25}]},
161
- {"qux": [{"baz": []}, {"baz": [1, 2, 3]}, {"baz": [4]}, {"baz": []}]}
162
- ],
163
- "otherkey": {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]}
164
- }
165
- ]},
166
- "cases": [
167
- {
168
- "expression": "reservations[].instances[].foo[].bar",
169
- "result": [1, 2, 4, 5, 6, 8]
170
- },
171
- {
172
- "expression": "reservations[].instances[].foo[].baz",
173
- "result": []
174
- },
175
- {
176
- "expression": "reservations[].instances[].notfoo[].bar",
177
- "result": [20, 21, 22, 23, 24, 25]
178
- },
179
- {
180
- "expression": "reservations[].instances[].notfoo[].notbar",
181
- "result": [[7], [7]]
182
- },
183
- {
184
- "expression": "reservations[].notinstances[].foo",
185
- "result": []
186
- },
187
- {
188
- "expression": "reservations[].instances[].foo[].notbar",
189
- "result": [3, [7]]
190
- },
191
- {
192
- "expression": "reservations[].instances[].bar[].baz",
193
- "result": [[1], [2], [3], [4]]
194
- },
195
- {
196
- "expression": "reservations[].instances[].baz[].baz",
197
- "result": [[1, 2], [], [], [3, 4]]
198
- },
199
- {
200
- "expression": "reservations[].instances[].qux[].baz",
201
- "result": [[], [1, 2, 3], [4], [], [], [1, 2, 3], [4], []]
202
- },
203
- {
204
- "expression": "reservations[].instances[].qux[].baz[]",
205
- "result": [1, 2, 3, 4, 1, 2, 3, 4]
206
- }
207
- ]
208
- },
209
- {
210
- "given": {
211
- "foo": [
212
- [["one", "two"], ["three", "four"]],
213
- [["five", "six"], ["seven", "eight"]],
214
- [["nine"], ["ten"]]
215
- ]
216
- },
217
- "cases": [
218
- {
219
- "expression": "foo[]",
220
- "result": [["one", "two"], ["three", "four"], ["five", "six"],
221
- ["seven", "eight"], ["nine"], ["ten"]]
222
- },
223
- {
224
- "expression": "foo[][0]",
225
- "result": ["one", "three", "five", "seven", "nine", "ten"]
226
- },
227
- {
228
- "expression": "foo[][1]",
229
- "result": ["two", "four", "six", "eight"]
230
- },
231
- {
232
- "expression": "foo[][0][0]",
233
- "result": []
234
- },
235
- {
236
- "expression": "foo[][2][2]",
237
- "result": []
238
- },
239
- {
240
- "expression": "foo[][0][0][100]",
241
- "result": []
242
- }
243
- ]
244
- },
245
- {
246
- "given": {
247
- "foo": [{
248
- "bar": [
249
- {
250
- "qux": 2,
251
- "baz": 1
252
- },
253
- {
254
- "qux": 4,
255
- "baz": 3
256
- }
257
- ]
258
- },
259
- {
260
- "bar": [
261
- {
262
- "qux": 6,
263
- "baz": 5
264
- },
265
- {
266
- "qux": 8,
267
- "baz": 7
268
- }
269
- ]
270
- }
271
- ]
272
- },
273
- "cases": [
274
- {
275
- "expression": "foo",
276
- "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]},
277
- {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}]
278
- },
279
- {
280
- "expression": "foo[]",
281
- "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]},
282
- {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}]
283
- },
284
- {
285
- "expression": "foo[].bar",
286
- "result": [[{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}],
287
- [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]]
288
- },
289
- {
290
- "expression": "foo[].bar[]",
291
- "result": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3},
292
- {"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]
293
- },
294
- {
295
- "expression": "foo[].bar[].baz",
296
- "result": [1, 3, 5, 7]
297
- }
298
- ]
299
- },
300
- {
301
- "given": {
302
- "string": "string",
303
- "hash": {"foo": "bar", "bar": "baz"},
304
- "number": 23,
305
- "nullvalue": null
306
- },
307
- "cases": [
308
- {
309
- "expression": "string[]",
310
- "result": null
311
- },
312
- {
313
- "expression": "hash[]",
314
- "result": null
315
- },
316
- {
317
- "expression": "number[]",
318
- "result": null
319
- },
320
- {
321
- "expression": "nullvalue[]",
322
- "result": null
323
- },
324
- {
325
- "expression": "string[].foo",
326
- "result": null
327
- },
328
- {
329
- "expression": "hash[].foo",
330
- "result": null
331
- },
332
- {
333
- "expression": "number[].foo",
334
- "result": null
335
- },
336
- {
337
- "expression": "nullvalue[].foo",
338
- "result": null
339
- },
340
- {
341
- "expression": "nullvalue[].foo[].bar",
342
- "result": null
343
- }
344
- ]
345
- }
346
- ]
@@ -1,190 +0,0 @@
1
- [
2
- {
3
- "given": {
4
- "foo": [{"name": "a"}, {"name": "b"}],
5
- "bar": {"baz": "qux"}
6
- },
7
- "cases": [
8
- {
9
- "expression": "`\"foo\"`",
10
- "result": "foo"
11
- },
12
- {
13
- "comment": "Interpret escaped unicode.",
14
- "expression": "`\"\\u03a6\"`",
15
- "result": "Φ"
16
- },
17
- {
18
- "expression": "`\"✓\"`",
19
- "result": "✓"
20
- },
21
- {
22
- "expression": "`[1, 2, 3]`",
23
- "result": [1, 2, 3]
24
- },
25
- {
26
- "expression": "`{\"a\": \"b\"}`",
27
- "result": {"a": "b"}
28
- },
29
- {
30
- "expression": "`true`",
31
- "result": true
32
- },
33
- {
34
- "expression": "`false`",
35
- "result": false
36
- },
37
- {
38
- "expression": "`null`",
39
- "result": null
40
- },
41
- {
42
- "expression": "`0`",
43
- "result": 0
44
- },
45
- {
46
- "expression": "`1`",
47
- "result": 1
48
- },
49
- {
50
- "expression": "`2`",
51
- "result": 2
52
- },
53
- {
54
- "expression": "`3`",
55
- "result": 3
56
- },
57
- {
58
- "expression": "`4`",
59
- "result": 4
60
- },
61
- {
62
- "expression": "`5`",
63
- "result": 5
64
- },
65
- {
66
- "expression": "`6`",
67
- "result": 6
68
- },
69
- {
70
- "expression": "`7`",
71
- "result": 7
72
- },
73
- {
74
- "expression": "`8`",
75
- "result": 8
76
- },
77
- {
78
- "expression": "`9`",
79
- "result": 9
80
- },
81
- {
82
- "comment": "Escaping a backtick in quotes",
83
- "expression": "`\"foo\\`bar\"`",
84
- "result": "foo`bar"
85
- },
86
- {
87
- "comment": "Double quote in literal",
88
- "expression": "`\"foo\\\"bar\"`",
89
- "result": "foo\"bar"
90
- },
91
- {
92
- "expression": "`\"1\\`\"`",
93
- "result": "1`"
94
- },
95
- {
96
- "comment": "Multiple literal expressions with escapes",
97
- "expression": "`\"\\\\\"`.{a:`\"b\"`}",
98
- "result": {"a": "b"}
99
- },
100
- {
101
- "comment": "literal . identifier",
102
- "expression": "`{\"a\": \"b\"}`.a",
103
- "result": "b"
104
- },
105
- {
106
- "comment": "literal . identifier . identifier",
107
- "expression": "`{\"a\": {\"b\": \"c\"}}`.a.b",
108
- "result": "c"
109
- },
110
- {
111
- "comment": "literal . identifier bracket-expr",
112
- "expression": "`[0, 1, 2]`[1]",
113
- "result": 1
114
- }
115
- ]
116
- },
117
- {
118
- "comment": "Literals",
119
- "given": {"type": "object"},
120
- "cases": [
121
- {
122
- "comment": "Literal with leading whitespace",
123
- "expression": "` {\"foo\": true}`",
124
- "result": {"foo": true}
125
- },
126
- {
127
- "comment": "Literal with trailing whitespace",
128
- "expression": "`{\"foo\": true} `",
129
- "result": {"foo": true}
130
- },
131
- {
132
- "comment": "Literal on RHS of subexpr not allowed",
133
- "expression": "foo.`\"bar\"`",
134
- "error": "syntax"
135
- }
136
- ]
137
- },
138
- {
139
- "comment": "Raw String Literals",
140
- "given": {},
141
- "cases": [
142
- {
143
- "expression": "'foo'",
144
- "result": "foo"
145
- },
146
- {
147
- "expression": "' foo '",
148
- "result": " foo "
149
- },
150
- {
151
- "expression": "'0'",
152
- "result": "0"
153
- },
154
- {
155
- "expression": "'newline\n'",
156
- "result": "newline\n"
157
- },
158
- {
159
- "expression": "'\n'",
160
- "result": "\n"
161
- },
162
- {
163
- "expression": "'✓'",
164
- "result": "✓"
165
- },
166
- {
167
- "expression": "'𝄞'",
168
- "result": "𝄞"
169
- },
170
- {
171
- "expression": "' [foo] '",
172
- "result": " [foo] "
173
- },
174
- {
175
- "expression": "'[foo]'",
176
- "result": "[foo]"
177
- },
178
- {
179
- "comment": "Do not interpret escaped unicode.",
180
- "expression": "'\\u03a6'",
181
- "result": "\\u03a6"
182
- },
183
- {
184
- "comment": "Can escape the single quote",
185
- "expression": "'foo\\'bar'",
186
- "result": "foo'bar"
187
- }
188
- ]
189
- }
190
- ]