@mapbox/cloudfriend 9.2.1 → 9.3.1
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/.claude/settings.local.json +8 -0
- package/.idea/cloudfriend.iml +9 -0
- package/.idea/codeStyles/Project.xml +7 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.nyc_output/6686e513-03b6-415d-9b8b-0fcde7a4e430.json +1 -0
- package/.nyc_output/f58a557c-a1c0-4dcc-83c5-bbca4d01baf9.json +1 -0
- package/.nyc_output/processinfo/6686e513-03b6-415d-9b8b-0fcde7a4e430.json +1 -0
- package/.nyc_output/processinfo/f58a557c-a1c0-4dcc-83c5-bbca4d01baf9.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/cfniceberg_createtable.yaml +71 -0
- package/changelog.md +4 -0
- package/coverage/clover.xml +83 -51
- package/coverage/coverage-final.json +32 -31
- package/coverage/lcov-report/cloudfriend/bin/build-template.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/bin/index.html +1 -1
- package/coverage/lcov-report/cloudfriend/bin/validate-template.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/index.html +1 -1
- package/coverage/lcov-report/cloudfriend/index.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/build.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/conditions.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/index.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/intrinsic.js.html +2 -2
- package/coverage/lcov-report/cloudfriend/lib/merge.js.html +16 -16
- package/coverage/lcov-report/cloudfriend/lib/pseudo.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/rules.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/cross-account-role.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/event-lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-database.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-iceberg-table.js.html +646 -0
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-json-table.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-orc-table.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-presto-view.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-spark-view.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-table.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/hookshot.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.html +24 -9
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.js.html +5 -2
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue-lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/role.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/service-role.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/shortcuts/stream-lambda.js.html +1 -1
- package/coverage/lcov-report/cloudfriend/lib/validate.js.html +1 -1
- package/coverage/lcov-report/index.html +19 -19
- package/coverage/lcov.info +107 -28
- package/lib/shortcuts/api.md +37 -0
- package/lib/shortcuts/glue-iceberg-table.js +187 -0
- package/lib/shortcuts/index.js +1 -0
- package/package.json +2 -2
- package/requirements.dev.txt +2 -2
- package/test/fixtures/shortcuts/glue-iceberg-table-defaults.json +41 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-no-defaults.json +39 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-all-optimizers.json +101 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-both-optimizers.json +80 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-compaction-custom.json +68 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-compaction-defaults.json +57 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-optimizer-custom.json +75 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-optimizer-defaults.json +64 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-orphan-deletion-custom.json +74 -0
- package/test/fixtures/shortcuts/glue-iceberg-table-with-orphan-deletion-defaults.json +62 -0
- package/test/shortcuts.test.js +294 -3
|
@@ -115,7 +115,7 @@ const templatePath = <span class="cstat-no" title="statement not covered" >argv.
|
|
|
115
115
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
116
116
|
Code coverage generated by
|
|
117
117
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
118
|
-
at 2026-02-
|
|
118
|
+
at 2026-02-09T18:26:12.950Z
|
|
119
119
|
</div>
|
|
120
120
|
<script src="../../prettify.js"></script>
|
|
121
121
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2026-02-
|
|
119
|
+
at 2026-02-09T18:26:12.950Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -127,7 +127,7 @@ const region = <span class="cstat-no" title="statement not covered" >argv.region
|
|
|
127
127
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
128
128
|
Code coverage generated by
|
|
129
129
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
130
|
-
at 2026-02-
|
|
130
|
+
at 2026-02-09T18:26:12.950Z
|
|
131
131
|
</div>
|
|
132
132
|
<script src="../../prettify.js"></script>
|
|
133
133
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2026-02-
|
|
104
|
+
at 2026-02-09T18:26:12.950Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -292,7 +292,7 @@ cloudfriend.permissions = {
|
|
|
292
292
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
293
293
|
Code coverage generated by
|
|
294
294
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
295
|
-
at 2026-02-
|
|
295
|
+
at 2026-02-09T18:26:12.950Z
|
|
296
296
|
</div>
|
|
297
297
|
<script src="../prettify.js"></script>
|
|
298
298
|
<script>
|
|
@@ -202,7 +202,7 @@ module.exports = (templatePath, templateOptions) => {
|
|
|
202
202
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
203
203
|
Code coverage generated by
|
|
204
204
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
205
|
-
at 2026-02-
|
|
205
|
+
at 2026-02-09T18:26:12.950Z
|
|
206
206
|
</div>
|
|
207
207
|
<script src="../../prettify.js"></script>
|
|
208
208
|
<script>
|
|
@@ -415,7 +415,7 @@ conditions.notEquals = (a, b) => {
|
|
|
415
415
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
416
416
|
Code coverage generated by
|
|
417
417
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
418
|
-
at 2026-02-
|
|
418
|
+
at 2026-02-09T18:26:12.950Z
|
|
419
419
|
</div>
|
|
420
420
|
<script src="../../prettify.js"></script>
|
|
421
421
|
<script>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
192
192
|
Code coverage generated by
|
|
193
193
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
194
|
-
at 2026-02-
|
|
194
|
+
at 2026-02-09T18:26:12.950Z
|
|
195
195
|
</div>
|
|
196
196
|
<script src="../../prettify.js"></script>
|
|
197
197
|
<script>
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
<span class="cline-any cline-neutral"> </span>
|
|
464
464
|
<span class="cline-any cline-neutral"> </span>
|
|
465
465
|
<span class="cline-any cline-yes">2x</span>
|
|
466
|
-
<span class="cline-any cline-yes">
|
|
466
|
+
<span class="cline-any cline-yes">7x</span>
|
|
467
467
|
<span class="cline-any cline-neutral"> </span>
|
|
468
468
|
<span class="cline-any cline-neutral"> </span>
|
|
469
469
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -964,7 +964,7 @@ intrinsic.transform = (name, parameters) => {
|
|
|
964
964
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
965
965
|
Code coverage generated by
|
|
966
966
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
967
|
-
at 2026-02-
|
|
967
|
+
at 2026-02-09T18:26:12.950Z
|
|
968
968
|
</div>
|
|
969
969
|
<script src="../../prettify.js"></script>
|
|
970
970
|
<script>
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
<span class="cline-any cline-yes">2x</span>
|
|
216
216
|
<span class="cline-any cline-neutral"> </span>
|
|
217
217
|
<span class="cline-any cline-neutral"> </span>
|
|
218
|
-
<span class="cline-any cline-yes">
|
|
218
|
+
<span class="cline-any cline-yes">139x</span>
|
|
219
219
|
<span class="cline-any cline-neutral"> </span>
|
|
220
220
|
<span class="cline-any cline-neutral"> </span>
|
|
221
221
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
<span class="cline-any cline-neutral"> </span>
|
|
229
229
|
<span class="cline-any cline-neutral"> </span>
|
|
230
230
|
<span class="cline-any cline-neutral"> </span>
|
|
231
|
-
<span class="cline-any cline-yes">
|
|
231
|
+
<span class="cline-any cline-yes">139x</span>
|
|
232
232
|
<span class="cline-any cline-neutral"> </span>
|
|
233
233
|
<span class="cline-any cline-neutral"> </span>
|
|
234
234
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -239,8 +239,8 @@
|
|
|
239
239
|
<span class="cline-any cline-neutral"> </span>
|
|
240
240
|
<span class="cline-any cline-neutral"> </span>
|
|
241
241
|
<span class="cline-any cline-neutral"> </span>
|
|
242
|
-
<span class="cline-any cline-yes">
|
|
243
|
-
<span class="cline-any cline-yes">
|
|
242
|
+
<span class="cline-any cline-yes">139x</span>
|
|
243
|
+
<span class="cline-any cline-yes">253x</span>
|
|
244
244
|
<span class="cline-any cline-yes">19x</span>
|
|
245
245
|
<span class="cline-any cline-yes">2x</span>
|
|
246
246
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
<span class="cline-any cline-yes">18x</span>
|
|
251
251
|
<span class="cline-any cline-neutral"> </span>
|
|
252
252
|
<span class="cline-any cline-neutral"> </span>
|
|
253
|
-
<span class="cline-any cline-yes">
|
|
253
|
+
<span class="cline-any cline-yes">252x</span>
|
|
254
254
|
<span class="cline-any cline-yes">22x</span>
|
|
255
255
|
<span class="cline-any cline-yes">2x</span>
|
|
256
256
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
<span class="cline-any cline-yes">21x</span>
|
|
261
261
|
<span class="cline-any cline-neutral"> </span>
|
|
262
262
|
<span class="cline-any cline-neutral"> </span>
|
|
263
|
-
<span class="cline-any cline-yes">
|
|
263
|
+
<span class="cline-any cline-yes">251x</span>
|
|
264
264
|
<span class="cline-any cline-yes">19x</span>
|
|
265
265
|
<span class="cline-any cline-yes">2x</span>
|
|
266
266
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
<span class="cline-any cline-yes">18x</span>
|
|
271
271
|
<span class="cline-any cline-neutral"> </span>
|
|
272
272
|
<span class="cline-any cline-neutral"> </span>
|
|
273
|
-
<span class="cline-any cline-yes">
|
|
273
|
+
<span class="cline-any cline-yes">250x</span>
|
|
274
274
|
<span class="cline-any cline-yes">20x</span>
|
|
275
275
|
<span class="cline-any cline-yes">2x</span>
|
|
276
276
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
<span class="cline-any cline-yes">19x</span>
|
|
281
281
|
<span class="cline-any cline-neutral"> </span>
|
|
282
282
|
<span class="cline-any cline-neutral"> </span>
|
|
283
|
-
<span class="cline-any cline-yes">
|
|
283
|
+
<span class="cline-any cline-yes">249x</span>
|
|
284
284
|
<span class="cline-any cline-yes">31x</span>
|
|
285
285
|
<span class="cline-any cline-yes">2x</span>
|
|
286
286
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -290,17 +290,17 @@
|
|
|
290
290
|
<span class="cline-any cline-yes">30x</span>
|
|
291
291
|
<span class="cline-any cline-neutral"> </span>
|
|
292
292
|
<span class="cline-any cline-neutral"> </span>
|
|
293
|
-
<span class="cline-any cline-yes">
|
|
294
|
-
<span class="cline-any cline-yes">
|
|
293
|
+
<span class="cline-any cline-yes">248x</span>
|
|
294
|
+
<span class="cline-any cline-yes">720x</span>
|
|
295
295
|
<span class="cline-any cline-yes">2x</span>
|
|
296
296
|
<span class="cline-any cline-yes">1x</span>
|
|
297
297
|
<span class="cline-any cline-neutral"> </span>
|
|
298
298
|
<span class="cline-any cline-neutral"> </span>
|
|
299
|
-
<span class="cline-any cline-yes">
|
|
300
|
-
<span class="cline-any cline-yes">
|
|
299
|
+
<span class="cline-any cline-yes">719x</span>
|
|
300
|
+
<span class="cline-any cline-yes">719x</span>
|
|
301
301
|
<span class="cline-any cline-neutral"> </span>
|
|
302
302
|
<span class="cline-any cline-neutral"> </span>
|
|
303
|
-
<span class="cline-any cline-yes">
|
|
303
|
+
<span class="cline-any cline-yes">247x</span>
|
|
304
304
|
<span class="cline-any cline-yes">37x</span>
|
|
305
305
|
<span class="cline-any cline-yes">2x</span>
|
|
306
306
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
<span class="cline-any cline-yes">36x</span>
|
|
311
311
|
<span class="cline-any cline-neutral"> </span>
|
|
312
312
|
<span class="cline-any cline-neutral"> </span>
|
|
313
|
-
<span class="cline-any cline-yes">
|
|
313
|
+
<span class="cline-any cline-yes">246x</span>
|
|
314
314
|
<span class="cline-any cline-yes">21x</span>
|
|
315
315
|
<span class="cline-any cline-yes">21x</span>
|
|
316
316
|
<span class="cline-any cline-yes">21x</span>
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
<span class="cline-any cline-neutral"> </span>
|
|
324
324
|
<span class="cline-any cline-neutral"> </span>
|
|
325
325
|
<span class="cline-any cline-neutral"> </span>
|
|
326
|
-
<span class="cline-any cline-yes">
|
|
326
|
+
<span class="cline-any cline-yes">131x</span>
|
|
327
327
|
<span class="cline-any cline-neutral"> </span>
|
|
328
328
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">'use strict';
|
|
329
329
|
|
|
@@ -463,7 +463,7 @@ module.exports = function() {
|
|
|
463
463
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
464
464
|
Code coverage generated by
|
|
465
465
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
466
|
-
at 2026-02-
|
|
466
|
+
at 2026-02-09T18:26:12.950Z
|
|
467
467
|
</div>
|
|
468
468
|
<script src="../../prettify.js"></script>
|
|
469
469
|
<script>
|
|
@@ -355,7 +355,7 @@ pseudo.urlSuffix = intrinsic.ref('AWS::URLSuffix');
|
|
|
355
355
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
356
356
|
Code coverage generated by
|
|
357
357
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
358
|
-
at 2026-02-
|
|
358
|
+
at 2026-02-09T18:26:12.950Z
|
|
359
359
|
</div>
|
|
360
360
|
<script src="../../prettify.js"></script>
|
|
361
361
|
<script>
|
|
@@ -334,7 +334,7 @@ rules.valueOfAll = (parameterType, attribute) => {
|
|
|
334
334
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
335
335
|
Code coverage generated by
|
|
336
336
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
337
|
-
at 2026-02-
|
|
337
|
+
at 2026-02-09T18:26:12.950Z
|
|
338
338
|
</div>
|
|
339
339
|
<script src="../../prettify.js"></script>
|
|
340
340
|
<script>
|
|
@@ -229,7 +229,7 @@ module.exports = CrossAccountRole;
|
|
|
229
229
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
230
230
|
Code coverage generated by
|
|
231
231
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
232
|
-
at 2026-02-
|
|
232
|
+
at 2026-02-09T18:26:12.950Z
|
|
233
233
|
</div>
|
|
234
234
|
<script src="../../../prettify.js"></script>
|
|
235
235
|
<script>
|
|
@@ -352,7 +352,7 @@ module.exports = EventLambda;
|
|
|
352
352
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
353
353
|
Code coverage generated by
|
|
354
354
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
355
|
-
at 2026-02-
|
|
355
|
+
at 2026-02-09T18:26:12.950Z
|
|
356
356
|
</div>
|
|
357
357
|
<script src="../../../prettify.js"></script>
|
|
358
358
|
<script>
|
|
@@ -271,7 +271,7 @@ module.exports = GlueDatabase;
|
|
|
271
271
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
272
272
|
Code coverage generated by
|
|
273
273
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
274
|
-
at 2026-02-
|
|
274
|
+
at 2026-02-09T18:26:12.950Z
|
|
275
275
|
</div>
|
|
276
276
|
<script src="../../../prettify.js"></script>
|
|
277
277
|
<script>
|