@mapbox/cloudfriend 5.1.2-SNAPSHOT-13 → 6.0.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.
Files changed (78) hide show
  1. package/.nyc_output/ef96ce8d-21af-4efa-8fde-041438a648a6.json +1 -0
  2. package/.nyc_output/efe82251-5e4c-42c5-9ae2-a01d0358ec20.json +1 -0
  3. package/.nyc_output/processinfo/ef96ce8d-21af-4efa-8fde-041438a648a6.json +1 -0
  4. package/.nyc_output/processinfo/efe82251-5e4c-42c5-9ae2-a01d0358ec20.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -0
  6. package/.python-version +1 -0
  7. package/.travis.yml +5 -2
  8. package/changelog.md +5 -0
  9. package/coverage/base.css +224 -0
  10. package/coverage/block-navigation.js +79 -0
  11. package/coverage/cloudfriend/bin/build-template.js.html +124 -0
  12. package/coverage/cloudfriend/bin/index.html +110 -0
  13. package/coverage/cloudfriend/index.html +110 -0
  14. package/coverage/cloudfriend/index.js.html +301 -0
  15. package/coverage/cloudfriend/lib/build.js.html +211 -0
  16. package/coverage/cloudfriend/lib/conditions.js.html +424 -0
  17. package/coverage/cloudfriend/lib/index.html +200 -0
  18. package/coverage/cloudfriend/lib/intrinsic.js.html +880 -0
  19. package/coverage/cloudfriend/lib/merge.js.html +472 -0
  20. package/coverage/cloudfriend/lib/pseudo.js.html +364 -0
  21. package/coverage/cloudfriend/lib/rules.js.html +343 -0
  22. package/coverage/cloudfriend/lib/shortcuts/cross-account-role.js.html +238 -0
  23. package/coverage/cloudfriend/lib/shortcuts/event-lambda.js.html +361 -0
  24. package/coverage/cloudfriend/lib/shortcuts/glue-database.js.html +280 -0
  25. package/coverage/cloudfriend/lib/shortcuts/glue-json-table.js.html +229 -0
  26. package/coverage/cloudfriend/lib/shortcuts/glue-orc-table.js.html +220 -0
  27. package/coverage/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +262 -0
  28. package/coverage/cloudfriend/lib/shortcuts/glue-presto-view.js.html +352 -0
  29. package/coverage/cloudfriend/lib/shortcuts/glue-spark-view.js.html +235 -0
  30. package/coverage/cloudfriend/lib/shortcuts/glue-table.js.html +475 -0
  31. package/coverage/cloudfriend/lib/shortcuts/hookshot.js.html +1462 -0
  32. package/coverage/cloudfriend/lib/shortcuts/index.html +410 -0
  33. package/coverage/cloudfriend/lib/shortcuts/index.js.html +148 -0
  34. package/coverage/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +412 -0
  35. package/coverage/cloudfriend/lib/shortcuts/lambda.js.html +799 -0
  36. package/coverage/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +304 -0
  37. package/coverage/cloudfriend/lib/shortcuts/queue-lambda.js.html +358 -0
  38. package/coverage/cloudfriend/lib/shortcuts/queue.js.html +613 -0
  39. package/coverage/cloudfriend/lib/shortcuts/role.js.html +376 -0
  40. package/coverage/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +562 -0
  41. package/coverage/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +340 -0
  42. package/coverage/cloudfriend/lib/shortcuts/service-role.js.html +301 -0
  43. package/coverage/cloudfriend/lib/shortcuts/stream-lambda.js.html +373 -0
  44. package/coverage/cloudfriend/lib/validate.js.html +148 -0
  45. package/coverage/index.html +155 -0
  46. package/coverage/prettify.css +1 -0
  47. package/coverage/prettify.js +2 -0
  48. package/coverage/sort-arrow-sprite.png +0 -0
  49. package/coverage/sorter.js +170 -0
  50. package/lib/shortcuts/api.md +600 -999
  51. package/lib/shortcuts/hookshot.js +3 -3
  52. package/lib/shortcuts/lambda.js +2 -2
  53. package/package.json +5 -8
  54. package/test/fixtures/shortcuts/event-lambda-defaults.json +1 -1
  55. package/test/fixtures/shortcuts/event-lambda-full.json +1 -1
  56. package/test/fixtures/shortcuts/hookshot-github-secret-ref.json +5 -5
  57. package/test/fixtures/shortcuts/hookshot-github-secret-string.json +5 -5
  58. package/test/fixtures/shortcuts/hookshot-github.json +5 -5
  59. package/test/fixtures/shortcuts/hookshot-passthrough-access-log-format.json +6 -6
  60. package/test/fixtures/shortcuts/hookshot-passthrough-alarms.json +6 -6
  61. package/test/fixtures/shortcuts/hookshot-passthrough-enhanced-logging.json +6 -6
  62. package/test/fixtures/shortcuts/hookshot-passthrough-full-blown-logging.json +6 -6
  63. package/test/fixtures/shortcuts/hookshot-passthrough-logging.json +6 -6
  64. package/test/fixtures/shortcuts/hookshot-passthrough.json +6 -6
  65. package/test/fixtures/shortcuts/lambda-defaults.json +1 -1
  66. package/test/fixtures/shortcuts/lambda-docker.json +2 -2
  67. package/test/fixtures/shortcuts/lambda-full.json +1 -1
  68. package/test/fixtures/shortcuts/lambda-provided-role.json +1 -1
  69. package/test/fixtures/shortcuts/lambda-zipfile.json +1 -1
  70. package/test/fixtures/shortcuts/log-subscription-lambda-defaults.json +1 -1
  71. package/test/fixtures/shortcuts/log-subscription-lambda-no-defaults.json +1 -1
  72. package/test/fixtures/shortcuts/queue-lambda-zero.json +1 -1
  73. package/test/fixtures/shortcuts/queue-lambda.json +1 -1
  74. package/test/fixtures/shortcuts/scheduled-lambda-defaults.json +1 -1
  75. package/test/fixtures/shortcuts/scheduled-lambda-full.json +1 -1
  76. package/test/fixtures/shortcuts/stream-lambda-defaults.json +1 -1
  77. package/test/fixtures/shortcuts/stream-lambda-no-defaults.json +1 -1
  78. package/test/shortcuts.test.js +1 -1
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -162,7 +162,7 @@ test('[shortcuts] lambda', (assert) => {
162
162
  Layers: ['arn:aws:fake:layer/abc'],
163
163
  MemorySize: 512,
164
164
  ReservedConcurrentExecutions: 10,
165
- Runtime: 'nodejs12.x',
165
+ Runtime: 'nodejs16.x',
166
166
  Tags: [{ Key: 'a', Value: 'b' }],
167
167
  Timeout: 30,
168
168
  TracingConfig: { Mode: 'Active' },