cloudstructs 0.9.10 → 0.9.11

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 (157) hide show
  1. package/.jsii +3 -3
  2. package/lib/codecommit-mirror/index.js +2 -2
  3. package/lib/dmarc/index.js +1 -1
  4. package/lib/ecs-service-roller/index.js +2 -2
  5. package/lib/email-receiver/receiver.js +1 -1
  6. package/lib/mjml-template/index.js +1 -1
  7. package/lib/saml-identity-provider/index.js +2 -2
  8. package/lib/slack-app/manifest.js +1 -1
  9. package/lib/slack-app/slack-app.js +2 -2
  10. package/lib/slack-events/index.js +1 -1
  11. package/lib/slack-textract/index.js +1 -1
  12. package/lib/ssl-server-test/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +1 -1
  18. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +1 -1
  19. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
  20. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  21. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
  22. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
  23. package/node_modules/@babel/runtime/package.json +1 -1
  24. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +2 -2
  26. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +5 -4
  27. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +25 -23
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +23 -23
  29. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +11 -27
  30. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  31. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +13 -2
  32. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  33. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +2 -2
  34. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +5 -4
  35. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +25 -23
  36. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +23 -23
  37. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +11 -27
  38. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  39. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +13 -2
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +5 -4
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +25 -23
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +23 -23
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +11 -27
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +13 -2
  48. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  49. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +2 -2
  50. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +5 -4
  51. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +25 -23
  52. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +23 -23
  53. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +11 -27
  54. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +3 -3
  55. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +13 -2
  56. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  57. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
  58. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +5 -4
  59. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +25 -23
  60. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +23 -23
  61. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +11 -27
  62. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  63. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +13 -2
  64. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  65. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
  66. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +5 -4
  67. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +25 -23
  68. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +23 -23
  69. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +11 -27
  70. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  71. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +13 -2
  72. package/node_modules/jackspeak/dist/commonjs/index.js +2 -2
  73. package/node_modules/jackspeak/dist/commonjs/index.js.map +1 -1
  74. package/node_modules/jackspeak/dist/esm/index.js +2 -2
  75. package/node_modules/jackspeak/dist/esm/index.js.map +1 -1
  76. package/node_modules/jackspeak/package.json +4 -4
  77. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts +0 -1
  78. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
  79. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts +0 -1
  80. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
  81. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.d.ts +2 -2
  82. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js +6 -6
  83. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js.map +1 -1
  84. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts +0 -1
  85. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
  86. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts +0 -1
  87. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
  88. package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts +0 -1
  89. package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
  90. package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts +0 -1
  91. package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
  92. package/node_modules/js-beautify/node_modules/glob/dist/esm/index.d.ts +2 -2
  93. package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts +0 -1
  94. package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
  95. package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts +0 -1
  96. package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
  97. package/node_modules/js-beautify/node_modules/glob/package.json +5 -4
  98. package/node_modules/js-beautify/node_modules/minimatch/README.md +1 -1
  99. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  100. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +5 -4
  101. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  102. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  103. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +5 -4
  104. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
  105. package/node_modules/js-beautify/node_modules/minimatch/package.json +1 -1
  106. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts +0 -1
  107. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
  108. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts +0 -1
  109. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
  110. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.d.ts +2 -2
  111. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js +6 -6
  112. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js.map +1 -1
  113. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts +0 -1
  114. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
  115. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts +0 -1
  116. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
  117. package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts +0 -1
  118. package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
  119. package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts +0 -1
  120. package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
  121. package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.d.ts +2 -2
  122. package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts +0 -1
  123. package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
  124. package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts +0 -1
  125. package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
  126. package/node_modules/mjml-cli/node_modules/glob/package.json +5 -4
  127. package/node_modules/mjml-cli/node_modules/minimatch/README.md +1 -1
  128. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  129. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +5 -4
  130. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  131. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  132. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +5 -4
  133. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
  134. package/node_modules/mjml-cli/node_modules/minimatch/package.json +1 -1
  135. package/node_modules/path-scurry/node_modules/lru-cache/README.md +11 -884
  136. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts +486 -65
  137. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
  138. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +134 -34
  139. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
  140. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  141. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
  142. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts +486 -65
  143. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
  144. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +134 -34
  145. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js.map +1 -1
  146. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  147. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
  148. package/node_modules/path-scurry/node_modules/lru-cache/package.json +8 -9
  149. package/node_modules/semver/README.md +1 -1
  150. package/node_modules/semver/classes/range.js +24 -10
  151. package/node_modules/semver/package.json +1 -1
  152. package/node_modules/uglify-js/README.md +5 -5
  153. package/node_modules/uglify-js/lib/ast.js +5 -4
  154. package/node_modules/uglify-js/lib/compress.js +199 -84
  155. package/node_modules/uglify-js/lib/output.js +17 -4
  156. package/node_modules/uglify-js/package.json +1 -1
  157. package/package.json +20 -20
@@ -259,7 +259,9 @@ function OutputStream(options) {
259
259
  if (line_fixed || flush) flush_mappings();
260
260
  } : noop;
261
261
 
262
- var require_semicolon = makePredicate("( [ + * / - , .");
262
+ var stat_end_chars = makePredicate("; }");
263
+ var asi_skip_chars = makePredicate("( [ + * / - , . `");
264
+ var asi_skip_words = makePredicate("in instanceof");
263
265
 
264
266
  function require_space(prev, ch, str) {
265
267
  return is_identifier_char(prev) && (is_identifier_char(ch) || ch == "\\")
@@ -295,8 +297,8 @@ function OutputStream(options) {
295
297
  var prev = last.slice(-1);
296
298
  if (might_need_semicolon) {
297
299
  might_need_semicolon = false;
298
- if (prev == ":" && ch == "}" || prev != ";" && (!ch || ";}".indexOf(ch) < 0)) {
299
- var need_semicolon = require_semicolon[ch];
300
+ if (prev != ";" && !stat_end_chars[ch]) {
301
+ var need_semicolon = asi_skip_chars[ch] || asi_skip_words[str];
300
302
  if (need_semicolon || options.semicolons) {
301
303
  output += ";";
302
304
  current_col++;
@@ -941,7 +943,12 @@ function OutputStream(options) {
941
943
  DEFPRINT(AST_LabeledStatement, function(output) {
942
944
  this.label.print(output);
943
945
  output.colon();
944
- this.body.print(output);
946
+ var body = this.body;
947
+ if (body instanceof AST_EmptyStatement) {
948
+ output.force_semicolon();
949
+ } else {
950
+ body.print(output);
951
+ }
945
952
  });
946
953
  DEFPRINT(AST_SimpleStatement, function(output) {
947
954
  this.body.print(output);
@@ -1244,6 +1251,12 @@ function OutputStream(options) {
1244
1251
  output.print("=");
1245
1252
  output.space();
1246
1253
  self.value.print(output);
1254
+ } else switch (self.key) {
1255
+ case "get":
1256
+ case "set":
1257
+ case "static":
1258
+ output.force_semicolon();
1259
+ return;
1247
1260
  }
1248
1261
  output.semicolon();
1249
1262
  });
@@ -3,7 +3,7 @@
3
3
  "description": "JavaScript parser, mangler/compressor and beautifier toolkit",
4
4
  "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
5
5
  "license": "BSD-2-Clause",
6
- "version": "3.18.0",
6
+ "version": "3.19.0",
7
7
  "engines": {
8
8
  "node": ">=0.8.0"
9
9
  },
package/package.json CHANGED
@@ -91,18 +91,18 @@
91
91
  "organization": false
92
92
  },
93
93
  "devDependencies": {
94
- "@aws-sdk/client-cloudformation": "^3.600.0",
95
- "@aws-sdk/client-dynamodb": "^3.600.0",
96
- "@aws-sdk/client-ecr": "^3.600.0",
97
- "@aws-sdk/client-ecs": "^3.600.0",
98
- "@aws-sdk/client-eventbridge": "^3.600.0",
99
- "@aws-sdk/client-iam": "^3.600.0",
100
- "@aws-sdk/client-s3": "^3.600.0",
101
- "@aws-sdk/client-secrets-manager": "^3.600.0",
102
- "@aws-sdk/client-sfn": "^3.600.0",
103
- "@aws-sdk/client-textract": "^3.600.0",
104
- "@aws-sdk/lib-dynamodb": "^3.600.0",
105
- "@types/aws-lambda": "^8.10.140",
94
+ "@aws-sdk/client-cloudformation": "^3.616.0",
95
+ "@aws-sdk/client-dynamodb": "^3.616.0",
96
+ "@aws-sdk/client-ecr": "^3.616.0",
97
+ "@aws-sdk/client-ecs": "^3.616.0",
98
+ "@aws-sdk/client-eventbridge": "^3.616.0",
99
+ "@aws-sdk/client-iam": "^3.616.0",
100
+ "@aws-sdk/client-s3": "^3.616.0",
101
+ "@aws-sdk/client-secrets-manager": "^3.616.0",
102
+ "@aws-sdk/client-sfn": "^3.616.0",
103
+ "@aws-sdk/client-textract": "^3.616.0",
104
+ "@aws-sdk/lib-dynamodb": "^3.616.0",
105
+ "@types/aws-lambda": "^8.10.141",
106
106
  "@types/jest": "^29",
107
107
  "@types/mjml": "^4.7.4",
108
108
  "@types/node": "^18",
@@ -114,23 +114,23 @@
114
114
  "aws-sdk-client-mock": "^2.2.0",
115
115
  "aws-sdk-client-mock-jest": "^2.2.0",
116
116
  "constructs": "10.0.5",
117
- "esbuild": "^0.21.5",
117
+ "esbuild": "^0.23.0",
118
118
  "eslint": "^8",
119
119
  "eslint-import-resolver-typescript": "^3.6.1",
120
120
  "eslint-plugin-import": "^2.29.1",
121
121
  "jest": "^29",
122
122
  "jest-junit": "^15",
123
123
  "jsii": "5.x",
124
- "jsii-diff": "^1.100.0",
124
+ "jsii-diff": "^1.101.0",
125
125
  "jsii-docgen": "^9.2.2",
126
- "jsii-pacmak": "^1.100.0",
126
+ "jsii-pacmak": "^1.101.0",
127
127
  "jsii-rosetta": "5.x",
128
128
  "nock": "^13.5.4",
129
- "projen": "^0.82.6",
129
+ "projen": "^0.84.6",
130
130
  "standard-version": "^9",
131
131
  "ts-jest": "^29",
132
132
  "ts-node": "^10.9.2",
133
- "typescript": "^5.4.5"
133
+ "typescript": "^5.5.3"
134
134
  },
135
135
  "peerDependencies": {
136
136
  "aws-cdk-lib": "^2.133.0",
@@ -154,12 +154,12 @@
154
154
  "publishConfig": {
155
155
  "access": "public"
156
156
  },
157
- "version": "0.9.10",
157
+ "version": "0.9.11",
158
158
  "jest": {
159
159
  "coverageProvider": "v8",
160
160
  "testMatch": [
161
- "<rootDir>/src/**/__tests__/**/*.ts?(x)",
162
- "<rootDir>/@(test|src)/**/*(*.)@(spec|test).ts?(x)"
161
+ "<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
162
+ "<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)"
163
163
  ],
164
164
  "clearMocks": true,
165
165
  "collectCoverage": true,