@mapbox/cloudfriend 9.2.0-0 → 9.2.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.
Files changed (113) hide show
  1. package/changelog.md +8 -0
  2. package/coverage/clover.xml +598 -0
  3. package/coverage/coverage-final.json +32 -0
  4. package/coverage/lcov-report/base.css +224 -0
  5. package/coverage/lcov-report/block-navigation.js +87 -0
  6. package/coverage/lcov-report/cloudfriend/bin/build-template.js.html +130 -0
  7. package/coverage/lcov-report/cloudfriend/bin/index.html +131 -0
  8. package/coverage/lcov-report/cloudfriend/bin/validate-template.js.html +142 -0
  9. package/coverage/lcov-report/cloudfriend/index.html +116 -0
  10. package/coverage/lcov-report/cloudfriend/index.js.html +307 -0
  11. package/coverage/lcov-report/cloudfriend/lib/build.js.html +217 -0
  12. package/coverage/lcov-report/cloudfriend/lib/conditions.js.html +430 -0
  13. package/coverage/lcov-report/cloudfriend/lib/index.html +206 -0
  14. package/coverage/lcov-report/cloudfriend/lib/intrinsic.js.html +979 -0
  15. package/coverage/lcov-report/cloudfriend/lib/merge.js.html +478 -0
  16. package/coverage/lcov-report/cloudfriend/lib/pseudo.js.html +370 -0
  17. package/coverage/lcov-report/cloudfriend/lib/rules.js.html +349 -0
  18. package/coverage/lcov-report/cloudfriend/lib/shortcuts/cross-account-role.js.html +244 -0
  19. package/coverage/lcov-report/cloudfriend/lib/shortcuts/event-lambda.js.html +367 -0
  20. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-database.js.html +286 -0
  21. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-json-table.js.html +235 -0
  22. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-orc-table.js.html +226 -0
  23. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +268 -0
  24. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-presto-view.js.html +358 -0
  25. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-spark-view.js.html +241 -0
  26. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-table.js.html +481 -0
  27. package/coverage/lcov-report/cloudfriend/lib/shortcuts/hookshot.js.html +1504 -0
  28. package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.html +416 -0
  29. package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.js.html +154 -0
  30. package/coverage/lcov-report/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +418 -0
  31. package/coverage/lcov-report/cloudfriend/lib/shortcuts/lambda.js.html +832 -0
  32. package/coverage/lcov-report/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +310 -0
  33. package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue-lambda.js.html +364 -0
  34. package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue.js.html +619 -0
  35. package/coverage/lcov-report/cloudfriend/lib/shortcuts/role.js.html +382 -0
  36. package/coverage/lcov-report/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +568 -0
  37. package/coverage/lcov-report/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +490 -0
  38. package/coverage/lcov-report/cloudfriend/lib/shortcuts/service-role.js.html +307 -0
  39. package/coverage/lcov-report/cloudfriend/lib/shortcuts/stream-lambda.js.html +493 -0
  40. package/coverage/lcov-report/cloudfriend/lib/validate.js.html +154 -0
  41. package/coverage/lcov-report/favicon.png +0 -0
  42. package/coverage/lcov-report/index.html +161 -0
  43. package/coverage/lcov-report/prettify.css +1 -0
  44. package/coverage/lcov-report/prettify.js +2 -0
  45. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  46. package/coverage/lcov-report/sorter.js +210 -0
  47. package/coverage/lcov.info +1240 -0
  48. package/jest.config.js +14 -0
  49. package/lib/shortcuts/api.md +1 -0
  50. package/lib/shortcuts/lambda.js +4 -2
  51. package/package.json +15 -13
  52. package/readme.md +1 -1
  53. package/test/bin.test.js +18 -14
  54. package/test/fixtures/shortcuts/cross-account-role-defaults.json +1 -1
  55. package/test/fixtures/shortcuts/cross-account-role-no-defaults.json +1 -1
  56. package/test/fixtures/shortcuts/event-lambda-defaults.json +3 -1
  57. package/test/fixtures/shortcuts/event-lambda-full.json +3 -1
  58. package/test/fixtures/shortcuts/firehose-defaults.json +1 -1
  59. package/test/fixtures/shortcuts/firehose-with-stream.json +1 -1
  60. package/test/fixtures/shortcuts/glue-database-defaults.json +1 -1
  61. package/test/fixtures/shortcuts/glue-database-no-defaults.json +1 -1
  62. package/test/fixtures/shortcuts/glue-json-table-defaults.json +1 -1
  63. package/test/fixtures/shortcuts/glue-json-table-no-defaults.json +1 -1
  64. package/test/fixtures/shortcuts/glue-orc-table-defaults.json +1 -1
  65. package/test/fixtures/shortcuts/glue-orc-table-no-defaults.json +1 -1
  66. package/test/fixtures/shortcuts/glue-parquet-table-defaults.json +1 -1
  67. package/test/fixtures/shortcuts/glue-parquet-table-no-defaults.json +1 -1
  68. package/test/fixtures/shortcuts/glue-table-defaults.json +1 -1
  69. package/test/fixtures/shortcuts/glue-table-no-defaults.json +1 -1
  70. package/test/fixtures/shortcuts/glue-view-defaults.json +1 -1
  71. package/test/fixtures/shortcuts/glue-view-no-defaults.json +1 -1
  72. package/test/fixtures/shortcuts/hookshot-github-secret-ref.json +8 -4
  73. package/test/fixtures/shortcuts/hookshot-github-secret-string.json +8 -4
  74. package/test/fixtures/shortcuts/hookshot-github.json +8 -4
  75. package/test/fixtures/shortcuts/hookshot-passthrough-access-log-format.json +8 -4
  76. package/test/fixtures/shortcuts/hookshot-passthrough-alarms.json +8 -4
  77. package/test/fixtures/shortcuts/hookshot-passthrough-enhanced-logging.json +8 -4
  78. package/test/fixtures/shortcuts/hookshot-passthrough-full-blown-logging.json +8 -4
  79. package/test/fixtures/shortcuts/hookshot-passthrough-logging.json +8 -4
  80. package/test/fixtures/shortcuts/hookshot-passthrough.json +8 -4
  81. package/test/fixtures/shortcuts/lambda-defaults.json +3 -1
  82. package/test/fixtures/shortcuts/lambda-docker.json +3 -1
  83. package/test/fixtures/shortcuts/lambda-full.json +3 -1
  84. package/test/fixtures/shortcuts/lambda-provided-role.json +3 -1
  85. package/test/fixtures/shortcuts/lambda-zipfile.json +3 -1
  86. package/test/fixtures/shortcuts/log-subscription-lambda-defaults.json +3 -1
  87. package/test/fixtures/shortcuts/log-subscription-lambda-no-defaults.json +3 -1
  88. package/test/fixtures/shortcuts/queue-defaults.json +1 -1
  89. package/test/fixtures/shortcuts/queue-external-topic-ref.json +1 -1
  90. package/test/fixtures/shortcuts/queue-external-topic.json +1 -1
  91. package/test/fixtures/shortcuts/queue-fifo-queuename.json +1 -1
  92. package/test/fixtures/shortcuts/queue-fifo.json +1 -1
  93. package/test/fixtures/shortcuts/queue-full.json +1 -1
  94. package/test/fixtures/shortcuts/queue-lambda-zero.json +3 -1
  95. package/test/fixtures/shortcuts/queue-lambda.json +3 -1
  96. package/test/fixtures/shortcuts/role-defaults.json +1 -1
  97. package/test/fixtures/shortcuts/role-no-defaults.json +1 -1
  98. package/test/fixtures/shortcuts/scheduled-lambda-defaults.json +3 -1
  99. package/test/fixtures/shortcuts/scheduled-lambda-full.json +3 -1
  100. package/test/fixtures/shortcuts/service-role-defaults.json +1 -1
  101. package/test/fixtures/shortcuts/service-role-no-defaults.json +1 -1
  102. package/test/fixtures/shortcuts/service-role-no-url-suffix.json +1 -1
  103. package/test/fixtures/shortcuts/service-role-url-suffix-with-replacement.json +1 -1
  104. package/test/fixtures/shortcuts/service-role-url-suffix.json +1 -1
  105. package/test/fixtures/shortcuts/stream-lambda-defaults.json +3 -1
  106. package/test/fixtures/shortcuts/stream-lambda-no-defaults.json +3 -1
  107. package/test/index.test.js +383 -235
  108. package/test/shortcuts.test.js +1227 -1462
  109. package/.nyc_output/0030e99c-2d96-4ac6-a2b2-bffd93da01bc.json +0 -1
  110. package/.nyc_output/e1868cff-0dd0-46eb-866d-70c3b666dae8.json +0 -1
  111. package/.nyc_output/processinfo/0030e99c-2d96-4ac6-a2b2-bffd93da01bc.json +0 -1
  112. package/.nyc_output/processinfo/e1868cff-0dd0-46eb-866d-70c3b666dae8.json +0 -1
  113. package/.nyc_output/processinfo/index.json +0 -1
package/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.2.1
4
+
5
+ - Refactor tests to use `jest` instead of `tape` & update linting dependencies to fix security vulnerabilities.
6
+
7
+ ## 9.2.0
8
+
9
+ - Inline policy for Lambda Shortcut name will change from `${LogicalName}-lambda-log-access` to `${AWS::StackName}-${LogicalName}-lambda-log-access`. This is the new default value. You can override default value using property `LogPolicyName`.
10
+
3
11
  ## 9.1.1
4
12
 
5
13
  - Add DeletionPolicy for the IAM Policy in Lamdba shortcuts.