@mavogel/awscdk-rootmail 0.1.24 → 0.1.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 (252) hide show
  1. package/.jsii +9 -9
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/lib/ses-receive.ops-santa-handler.js +2 -2
  5. package/node_modules/@aws-sdk/checksums/package.json +3 -3
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +9 -7
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +11 -6
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveriesCommand.d.ts +3 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +3 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +3 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +27 -1
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +3 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +4 -4
  15. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  16. package/node_modules/@aws-sdk/client-route-53/package.json +4 -4
  17. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  18. package/node_modules/@aws-sdk/client-s3/package.json +7 -7
  19. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  20. package/node_modules/@aws-sdk/client-ses/package.json +4 -4
  21. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  22. package/node_modules/@aws-sdk/client-ssm/package.json +4 -4
  23. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +94 -1589
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -7
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
  27. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -8
  28. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  31. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  32. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -10
  33. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  34. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  35. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  36. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  37. package/node_modules/@aws-sdk/core/package.json +2 -2
  38. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  39. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  40. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  41. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  42. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  43. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  44. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  45. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  46. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
  47. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  48. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  49. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  50. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  51. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  52. package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
  53. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
  54. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
  55. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  56. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
  57. package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  58. package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
  59. package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
  60. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +8 -0
  61. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +102 -0
  62. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +8 -1
  63. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +8 -1
  64. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +13 -2
  65. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +11 -1
  66. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
  67. package/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js +3 -0
  68. package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  69. package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
  70. package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
  71. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +9 -0
  72. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
  73. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
  74. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
  75. package/node_modules/@smithy/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
  76. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  77. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
  78. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
  79. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +9 -0
  80. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
  81. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
  82. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
  83. package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
  84. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
  85. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
  86. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
  87. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
  88. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
  89. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
  90. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
  91. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
  92. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
  93. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
  94. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
  95. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
  96. package/node_modules/@smithy/core/package.json +2 -1
  97. package/node_modules/@zone-eu/mailsplit/README.md +43 -54
  98. package/node_modules/@zone-eu/mailsplit/lib/headers.js +10 -4
  99. package/node_modules/@zone-eu/mailsplit/lib/message-splitter.js +5 -4
  100. package/node_modules/@zone-eu/mailsplit/lib/mime-node.d.ts +4 -1
  101. package/node_modules/@zone-eu/mailsplit/lib/mime-node.js +30 -5
  102. package/node_modules/@zone-eu/mailsplit/lib/types.d.ts +3 -1
  103. package/node_modules/@zone-eu/mailsplit/package.json +22 -17
  104. package/node_modules/libbase64/CHANGELOG.md +20 -0
  105. package/node_modules/libbase64/README.md +40 -13
  106. package/node_modules/libbase64/dist/cjs/libbase64.d.ts +80 -0
  107. package/node_modules/libbase64/dist/cjs/libbase64.js +310 -0
  108. package/node_modules/libbase64/dist/cjs/package.json +3 -0
  109. package/node_modules/libbase64/dist/esm/libbase64.d.ts +80 -0
  110. package/node_modules/libbase64/{lib → dist/esm}/libbase64.js +74 -117
  111. package/node_modules/libbase64/dist/esm/package.json +3 -0
  112. package/node_modules/libbase64/package.json +59 -13
  113. package/node_modules/libmime/CHANGELOG.md +38 -0
  114. package/node_modules/libmime/README.md +55 -26
  115. package/node_modules/libmime/SECURITY.md +152 -0
  116. package/node_modules/libmime/dist/cjs/charset.d.ts +43 -0
  117. package/node_modules/libmime/dist/cjs/charset.js +135 -0
  118. package/node_modules/libmime/dist/cjs/charsets.d.ts +2 -0
  119. package/node_modules/libmime/dist/cjs/charsets.js +213 -0
  120. package/node_modules/libmime/dist/cjs/get-charset-name.d.ts +1 -0
  121. package/node_modules/libmime/dist/cjs/get-charset-name.js +224 -0
  122. package/node_modules/libmime/dist/cjs/libmime.d.ts +218 -0
  123. package/node_modules/libmime/dist/cjs/libmime.js +1027 -0
  124. package/node_modules/libmime/dist/cjs/mimetypes.d.ts +7 -0
  125. package/node_modules/libmime/dist/cjs/mimetypes.js +2072 -0
  126. package/node_modules/libmime/dist/cjs/package.json +3 -0
  127. package/node_modules/libmime/dist/cjs/types.d.ts +59 -0
  128. package/node_modules/libmime/dist/cjs/types.js +4 -0
  129. package/node_modules/libmime/dist/esm/charset.d.ts +43 -0
  130. package/node_modules/libmime/dist/esm/charset.js +125 -0
  131. package/node_modules/libmime/dist/esm/charsets.d.ts +2 -0
  132. package/node_modules/libmime/{lib → dist/esm}/charsets.js +3 -5
  133. package/node_modules/libmime/dist/esm/get-charset-name.d.ts +1 -0
  134. package/node_modules/libmime/{lib → dist/esm}/get-charset-name.js +1 -8
  135. package/node_modules/libmime/dist/esm/libmime.d.ts +219 -0
  136. package/node_modules/libmime/{lib → dist/esm}/libmime.js +275 -334
  137. package/node_modules/libmime/dist/esm/mimetypes.d.ts +7 -0
  138. package/node_modules/libmime/dist/esm/mimetypes.js +2068 -0
  139. package/node_modules/libmime/dist/esm/package.json +3 -0
  140. package/node_modules/libmime/dist/esm/types.d.ts +59 -0
  141. package/node_modules/libmime/dist/esm/types.js +3 -0
  142. package/node_modules/libmime/package.json +60 -15
  143. package/node_modules/libqp/CHANGELOG.md +18 -0
  144. package/node_modules/libqp/README.md +50 -19
  145. package/node_modules/libqp/dist/cjs/libqp.d.ts +74 -0
  146. package/node_modules/libqp/dist/cjs/libqp.js +378 -0
  147. package/node_modules/libqp/dist/cjs/package.json +3 -0
  148. package/node_modules/libqp/dist/esm/libqp.d.ts +74 -0
  149. package/node_modules/libqp/dist/esm/libqp.js +369 -0
  150. package/node_modules/libqp/dist/esm/package.json +3 -0
  151. package/node_modules/libqp/lib/libqp.js +4 -383
  152. package/node_modules/libqp/lib/package.json +3 -0
  153. package/node_modules/libqp/package.json +62 -6
  154. package/node_modules/mailparser/CHANGELOG.md +56 -0
  155. package/node_modules/mailparser/README.md +6 -0
  156. package/node_modules/mailparser/dist/cjs/index.d.ts +10 -0
  157. package/node_modules/mailparser/dist/cjs/index.js +12 -0
  158. package/node_modules/mailparser/dist/cjs/mail-parser.d.ts +98 -0
  159. package/node_modules/mailparser/dist/cjs/mail-parser.js +1419 -0
  160. package/node_modules/mailparser/dist/cjs/package.json +3 -0
  161. package/node_modules/mailparser/dist/cjs/simple-parser.d.ts +17 -0
  162. package/node_modules/mailparser/dist/cjs/simple-parser.js +133 -0
  163. package/node_modules/mailparser/dist/cjs/stream-hash.d.ts +24 -0
  164. package/node_modules/mailparser/dist/cjs/stream-hash.js +33 -0
  165. package/node_modules/mailparser/dist/cjs/tlds.cjs +8 -0
  166. package/node_modules/mailparser/dist/cjs/types.d.ts +309 -0
  167. package/node_modules/mailparser/dist/cjs/types.js +2 -0
  168. package/node_modules/mailparser/dist/esm/index.d.ts +10 -0
  169. package/node_modules/mailparser/dist/esm/index.js +4 -0
  170. package/node_modules/mailparser/dist/esm/mail-parser.d.ts +98 -0
  171. package/node_modules/mailparser/{lib → dist/esm}/mail-parser.js +302 -368
  172. package/node_modules/mailparser/dist/esm/package.json +3 -0
  173. package/node_modules/mailparser/dist/esm/simple-parser.d.ts +17 -0
  174. package/node_modules/mailparser/{lib → dist/esm}/simple-parser.js +45 -68
  175. package/node_modules/mailparser/dist/esm/stream-hash.d.ts +24 -0
  176. package/node_modules/mailparser/{lib → dist/esm}/stream-hash.js +7 -9
  177. package/node_modules/mailparser/dist/esm/tlds.cjs +8 -0
  178. package/node_modules/mailparser/dist/esm/types.d.ts +309 -0
  179. package/node_modules/mailparser/dist/esm/types.js +1 -0
  180. package/node_modules/mailparser/package.json +88 -17
  181. package/node_modules/nodemailer/CHANGELOG.md +44 -0
  182. package/node_modules/nodemailer/dist/cjs/addressparser/index.js +695 -267
  183. package/node_modules/nodemailer/dist/cjs/mailer/mail-message.js +4 -1
  184. package/node_modules/nodemailer/dist/cjs/mime-funcs/index.js +8 -2
  185. package/node_modules/nodemailer/dist/cjs/mime-node/index.js +48 -16
  186. package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
  187. package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
  188. package/node_modules/nodemailer/dist/cjs/shared/url.js +22 -5
  189. package/node_modules/nodemailer/dist/esm/addressparser/index.js +695 -267
  190. package/node_modules/nodemailer/dist/esm/mailer/mail-message.js +4 -1
  191. package/node_modules/nodemailer/dist/esm/mime-funcs/index.js +8 -2
  192. package/node_modules/nodemailer/dist/esm/mime-node/index.js +48 -16
  193. package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
  194. package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
  195. package/node_modules/nodemailer/dist/esm/shared/url.js +22 -5
  196. package/node_modules/nodemailer/package.json +1 -1
  197. package/package.json +9 -9
  198. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
  199. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
  200. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
  201. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
  202. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
  203. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
  204. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
  205. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
  206. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
  207. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
  208. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
  209. package/node_modules/libbase64/.eslintrc +0 -11
  210. package/node_modules/libbase64/.github/FUNDING.yml +0 -4
  211. package/node_modules/libbase64/.github/VULNERABILITY_REPORT.yml +0 -75
  212. package/node_modules/libbase64/.github/workflows/release.yaml +0 -39
  213. package/node_modules/libbase64/.github/workflows/test.yml +0 -21
  214. package/node_modules/libbase64/.ncurc.js +0 -13
  215. package/node_modules/libbase64/.prettierrc.js +0 -8
  216. package/node_modules/libmime/lib/charset.js +0 -131
  217. package/node_modules/libmime/lib/mimetypes.js +0 -2049
  218. package/node_modules/libqp/.eslintrc +0 -15
  219. package/node_modules/libqp/.github/FUNDING.yml +0 -4
  220. package/node_modules/libqp/.github/VULNERABILITY_REPORT.yml +0 -75
  221. package/node_modules/libqp/.github/workflows/release.yaml +0 -39
  222. package/node_modules/libqp/.github/workflows/test.yml +0 -21
  223. package/node_modules/libqp/.prettierrc.js +0 -8
  224. package/node_modules/libqp/test/libqp-test.js +0 -366
  225. package/node_modules/mailparser/.gitattributes +0 -1
  226. package/node_modules/mailparser/.prettierignore +0 -3
  227. package/node_modules/mailparser/.prettierrc.js +0 -10
  228. package/node_modules/mailparser/.release-please-manifest.json +0 -3
  229. package/node_modules/mailparser/eslint.config.js +0 -33
  230. package/node_modules/mailparser/index.js +0 -9
  231. package/node_modules/mailparser/release-please-config.json +0 -10
  232. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
  233. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
  234. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
  235. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
  236. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
  237. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
  238. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
  239. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
  240. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
  241. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
  242. /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
  243. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
  244. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
  245. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
  246. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
  247. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
  248. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
  249. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
  250. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
  251. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
  252. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
@@ -145,7 +145,10 @@ export default class MailMessage {
145
145
  const values = [data.html, data.text, data.watchHtml, data.amp, data.raw, data.icalEvent];
146
146
  for (const key of ['attachments', 'alternatives']) {
147
147
  if (Array.isArray(data[key])) {
148
- values.push(...data[key]);
148
+ // one at a time, spreading a long enough list into the arguments throws
149
+ for (const entry of data[key]) {
150
+ values.push(entry);
151
+ }
149
152
  }
150
153
  }
151
154
  for (const value of values) {
@@ -21,6 +21,12 @@ export function isPlainText(value, isParam) {
21
21
  const re = isParam ? /[\x00-\x1f\x7f"\u0080-\uFFFF]/ : /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/;
22
22
  return typeof value === 'string' && !re.test(value);
23
23
  }
24
+ // A parameter value goes out as is only when it is plain text that does not look like an encoded
25
+ // word. Receivers decode encoded words found in parameter values (libmime does so for unencoded
26
+ // continuations), so as plain text it would come back as something else
27
+ function isPlainParamValue(value) {
28
+ return isPlainText(value, true) && !value.includes('=?');
29
+ }
24
30
  /**
25
31
  * Wraps a value into a quoted-string. Inside one a quote would end the string early
26
32
  * and a backslash would escape whatever follows it, so both go out as quoted-pairs.
@@ -188,7 +194,7 @@ export function buildHeaderValue(structured) {
188
194
  const value = structured.params[key];
189
195
  // a parameter name is a token too and it is emitted without any quoting around it
190
196
  const param = key.replace(/[\x00-\x1f\x7f]/g, '');
191
- if (!isPlainText(value, true) || value.length >= 75) {
197
+ if (!isPlainParamValue(value) || value.length >= 75) {
192
198
  buildHeaderParam(param, value, 50).forEach(encodedParam => {
193
199
  if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') {
194
200
  paramsArray.push(encodedParam.key + '=' + encodedParam.value);
@@ -237,7 +243,7 @@ export function buildHeaderParam(key, data, maxLength) {
237
243
  let i, len;
238
244
  maxLength = maxLength || 50;
239
245
  // process ascii only text
240
- if (isPlainText(data, true)) {
246
+ if (isPlainParamValue(data)) {
241
247
  // check if conversion is even needed
242
248
  if (encodedStr.length <= maxLength) {
243
249
  return [
@@ -26,6 +26,35 @@ const QUOTED_STRING = /^"(?:[^"\\]|\\[\s\S])*"$/;
26
26
  // else goes into angle brackets so that the header can not be read as more addresses than
27
27
  // the envelope carries
28
28
  const PLAIN_ADDRESS = /^[^\s"(),:;<>@[\\\]]+@[^\s"(),:;<>@[\\\]]+$/;
29
+ /**
30
+ * A domain literal that ends an address, see _normalizeAddress
31
+ */
32
+ const DOMAIN_LITERAL_TAIL = /@(\[[^[\]\\]*\])$/;
33
+ /**
34
+ * Removes the whitespace inside every <...> of a References value. A "<" with no ">" after
35
+ * it is left as it is. An index scan, the regex /<[^>]*>/g rescans the rest of the value
36
+ * from every such "<"
37
+ *
38
+ * @param value References header value
39
+ * @returns The value with the msg-ids closed up
40
+ */
41
+ function stripWhitespaceInAngleBrackets(value) {
42
+ let result = '';
43
+ let pos = 0;
44
+ for (;;) {
45
+ const open = value.indexOf('<', pos);
46
+ if (open < 0) {
47
+ break;
48
+ }
49
+ const close = value.indexOf('>', open + 1);
50
+ if (close < 0) {
51
+ break;
52
+ }
53
+ result += value.slice(pos, open) + value.slice(open, close + 1).replace(/\s/g, '');
54
+ pos = close + 1;
55
+ }
56
+ return result + value.slice(pos);
57
+ }
29
58
  // domainToASCII and domainToUnicode are WHATWG host parsers rather than plain IDNA
30
59
  // mappers, so they do more than map: they cut the host at '/', '\\', '?' and '#', drop C0
31
60
  // controls, and percent-decode. Handing them 'evil.example/mail.corp.example' returns the
@@ -1319,26 +1348,26 @@ class MimeNode {
1319
1348
  }
1320
1349
  return value;
1321
1350
  // space separated list of values enclosed in <>
1322
- case 'References':
1323
- value = [].concat
1324
- .apply([], [].concat(value || '').map(elm => {
1325
- elm = (elm || '')
1351
+ case 'References': {
1352
+ const ids = [];
1353
+ for (const entry of [].concat(value || '')) {
1354
+ const elm = (entry || '')
1326
1355
  .toString()
1327
1356
  .replace(/\r?\n|\r/g, ' ')
1328
1357
  .replace(/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/g, '')
1329
1358
  .trim();
1330
- return elm.replace(/<[^>]*>/g, str => str.replace(/\s/g, '')).split(/\s+/);
1331
- }))
1332
- .map(elm => {
1333
- if (elm.charAt(0) !== '<') {
1334
- elm = '<' + elm;
1335
- }
1336
- if (elm.charAt(elm.length - 1) !== '>') {
1337
- elm = elm + '>';
1359
+ for (let id of stripWhitespaceInAngleBrackets(elm).split(/\s+/)) {
1360
+ if (id.charAt(0) !== '<') {
1361
+ id = '<' + id;
1362
+ }
1363
+ if (id.charAt(id.length - 1) !== '>') {
1364
+ id = id + '>';
1365
+ }
1366
+ ids.push(id);
1338
1367
  }
1339
- return elm;
1340
- });
1341
- return value.join(' ').trim();
1368
+ }
1369
+ return ids.join(' ').trim();
1370
+ }
1342
1371
  case 'Date':
1343
1372
  if (Object.prototype.toString.call(value) === '[object Date]') {
1344
1373
  return value.toUTCString().replace(/GMT/, '+0000');
@@ -1417,7 +1446,10 @@ class MimeNode {
1417
1446
  // callers use an empty value to detect a missing address
1418
1447
  return address;
1419
1448
  }
1420
- const lastAt = address.lastIndexOf('@');
1449
+ // dtext includes '@', so a domain literal is split off at the '@' in front of it and
1450
+ // not at the last one, which delivered 'a@[x@evil.com]' to evil.com
1451
+ const literal = address.charAt(address.length - 1) === ']' ? DOMAIN_LITERAL_TAIL.exec(address) : null;
1452
+ const lastAt = literal ? address.length - literal[1].length - 1 : address.lastIndexOf('@');
1421
1453
  if (lastAt < 0) {
1422
1454
  // Bare username, there is no domain to split off
1423
1455
  return this._normalizeLocalPart(address);
@@ -1,3 +1,3 @@
1
1
  export declare const name = "nodemailer";
2
- export declare const version = "10.1.2";
2
+ export declare const version = "10.1.7";
3
3
  export declare const homepage = "https://nodemailer.com/";
@@ -1,4 +1,4 @@
1
1
  // Generated by scripts/build.js from package.json. Do not edit by hand.
2
2
  export const name = 'nodemailer';
3
- export const version = '10.1.2';
3
+ export const version = '10.1.7';
4
4
  export const homepage = 'https://nodemailer.com/';
@@ -19,10 +19,27 @@ import * as punycode from '../punycode/index.js';
19
19
  // Matches a "scheme:" not followed by "//" (and with something after it), used
20
20
  // to re-insert the authority separator the legacy parser did not require.
21
21
  const SLASHLESS_AUTHORITY = /^([a-zA-Z][a-zA-Z0-9+.-]*:)(?!\/\/)([\s\S]+)$/;
22
- // Leading and trailing C0 controls and spaces, which the WHATWG parser strips before it
23
- // looks at the input. Stripped up front so that the slash-less form is recognized in a
24
- // value read from a file with a trailing newline as well.
25
- const SURROUNDING_WHITESPACE = /^[\x00-\x20]+|[\x00-\x20]+$/g;
22
+ /**
23
+ * Drops the leading and trailing C0 controls and spaces, which the WHATWG parser strips
24
+ * before it looks at the input. Stripped up front so that the slash-less form is recognized
25
+ * in a value read from a file with a trailing newline as well. An index scan, the regex
26
+ * /^[\x00-\x20]+|[\x00-\x20]+$/g retried a run of spaces inside the value from every
27
+ * position in it
28
+ *
29
+ * @param input URL string
30
+ * @returns The string without the surrounding controls and spaces
31
+ */
32
+ function stripSurroundingWhitespace(input) {
33
+ let start = 0;
34
+ let end = input.length;
35
+ while (start < end && input.charCodeAt(start) <= 0x20) {
36
+ start++;
37
+ }
38
+ while (end > start && input.charCodeAt(end - 1) <= 0x20) {
39
+ end--;
40
+ }
41
+ return input.slice(start, end);
42
+ }
26
43
  // Leading characters legacy url.parse() skips before it reads the scheme
27
44
  const LEGACY_TRIM = /^[\x00-\x20\u00a0\ufeff]+/;
28
45
  // The authority of a "scheme://authority/..." or a scheme-relative "//authority/..."
@@ -117,7 +134,7 @@ function normalizeHostname(raw, href) {
117
134
  return mapped;
118
135
  }
119
136
  export const parse = (input, parseQueryString) => {
120
- input = (input || '').replace(SURROUNDING_WHITESPACE, '');
137
+ input = stripSurroundingWhitespace(input || '');
121
138
  // Legacy url.parse() parses a "user:pass@host:port" authority that follows
122
139
  // the scheme even without the "//" separator, for schemes outside its
123
140
  // built-in slashed-protocol list (smtp:/smtps:/socks:/...). The WHATWG
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodemailer",
3
- "version": "10.1.2",
3
+ "version": "10.1.7",
4
4
  "description": "Easy as cake e-mail sending from your Node.js applications",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/nodemailer.js",
package/package.json CHANGED
@@ -69,7 +69,7 @@
69
69
  "jsii-pacmak": "^1.141.0",
70
70
  "jsii-rosetta": "~5.9.0",
71
71
  "jsonfile": "^6.2.1",
72
- "projen": "^0.104.5",
72
+ "projen": "^0.104.8",
73
73
  "ts-jest": "^29.4.15",
74
74
  "ts-node": "^10.9.2",
75
75
  "typescript": "^6.0.2"
@@ -79,15 +79,15 @@
79
79
  "constructs": "^10.5.1"
80
80
  },
81
81
  "dependencies": {
82
- "@aws-sdk/client-cloudwatch-logs": "^3.1152.0",
83
- "@aws-sdk/client-route-53": "^3.1152.0",
84
- "@aws-sdk/client-s3": "^3.1152.0",
85
- "@aws-sdk/client-ses": "^3.1152.0",
86
- "@aws-sdk/client-ssm": "^3.1152.0",
87
- "@mavogel/mvc-projen": "^0.0.61",
82
+ "@aws-sdk/client-cloudwatch-logs": "^3.1153.0",
83
+ "@aws-sdk/client-route-53": "^3.1153.0",
84
+ "@aws-sdk/client-s3": "^3.1153.0",
85
+ "@aws-sdk/client-ses": "^3.1153.0",
86
+ "@aws-sdk/client-ssm": "^3.1153.0",
87
+ "@mavogel/mvc-projen": "^0.0.62",
88
88
  "cdk-nag": "^3.0.1",
89
89
  "constructs": "^10.5.1",
90
- "mailparser": "^3.9.40",
90
+ "mailparser": "^3.10.0",
91
91
  "uuid": "^14.0.3"
92
92
  },
93
93
  "bundledDependencies": [
@@ -122,7 +122,7 @@
122
122
  "publishConfig": {
123
123
  "access": "public"
124
124
  },
125
- "version": "0.1.24",
125
+ "version": "0.1.26",
126
126
  "jest": {
127
127
  "coverageProvider": "v8",
128
128
  "transformIgnorePatterns": [
@@ -1,7 +0,0 @@
1
- import type { CodecSettings } from "@smithy/types";
2
- /**
3
- * @public
4
- */
5
- export type JsonSettings = CodecSettings & {
6
- jsonName: boolean;
7
- };
@@ -1,4 +0,0 @@
1
- import { CodecSettings } from "@smithy/types";
2
- export type JsonSettings = CodecSettings & {
3
- jsonName: boolean;
4
- };
@@ -1,13 +0,0 @@
1
- import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
2
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
3
- import { JsonSettings } from "./JsonSettings";
4
- export declare class JsonShapeDeserializer
5
- extends SerdeContextConfig
6
- implements ShapeDeserializer<string>
7
- {
8
- readonly settings: JsonSettings;
9
- constructor(settings: JsonSettings);
10
- read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
11
- readObject(schema: Schema, data: DocumentType): any;
12
- protected _read(schema: Schema, value: unknown): any;
13
- }
@@ -1,18 +0,0 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
2
- import { Schema, ShapeSerializer } from "@smithy/types";
3
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
4
- import { JsonSettings } from "./JsonSettings";
5
- export declare class JsonShapeSerializer
6
- extends SerdeContextConfig
7
- implements ShapeSerializer<string>
8
- {
9
- readonly settings: JsonSettings;
10
- protected buffer: any;
11
- protected useReplacer: boolean;
12
- protected rootSchema: NormalizedSchema | undefined;
13
- constructor(settings: JsonSettings);
14
- write(schema: Schema, value: unknown): void;
15
- flush(): string;
16
- writeDiscriminatedDocument(schema: Schema, value: unknown): void;
17
- protected _write(schema: Schema, value: unknown, container?: NormalizedSchema): any;
18
- }
@@ -1,27 +0,0 @@
1
- export declare class JsonBytesStringAdapter extends Uint8Array {
2
- private string;
3
- static allocUnsafe(bytes: number): JsonBytesStringAdapter;
4
- toString(): string;
5
- valueOf(): any;
6
- includes(searchString: string | number, position?: number): boolean;
7
- indexOf(searchString: string | number, position?: number): number;
8
- lastIndexOf(searchString: string | number, position?: number): number;
9
- startsWith(searchString: string, position?: number): boolean;
10
- endsWith(searchString: string, endPosition?: number): boolean;
11
- match(regexp: string | RegExp): RegExpMatchArray | null;
12
- replace(searchValue: string | RegExp, replaceValue: string): string;
13
- search(regexp: string | RegExp): number;
14
- split(separator: string | RegExp, limit?: number): string[];
15
- substring(start: number, end?: number): string;
16
- trim(): string;
17
- trimStart(): string;
18
- trimEnd(): string;
19
- charAt(pos: number): string;
20
- charCodeAt(index: number): number;
21
- padStart(maxLength: number, fillString?: string): string;
22
- padEnd(maxLength: number, fillString?: string): string;
23
- repeat(count: number): string;
24
- toUpperCase(): string;
25
- toLowerCase(): string;
26
- private s;
27
- }
@@ -1,15 +0,0 @@
1
- import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
2
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
3
- import { JsonSettings } from "../JsonSettings";
4
- export declare class JsonShapeDeserializer2
5
- extends SerdeContextConfig
6
- implements ShapeDeserializer<string>
7
- {
8
- readonly settings: JsonSettings;
9
- constructor(settings: JsonSettings);
10
- read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
11
- readObject(schema: Schema, data: DocumentType): any;
12
- protected _read(schema: Schema, value: unknown): any;
13
- private _readStruct;
14
- private needsTransform;
15
- }
@@ -1,39 +0,0 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
2
- import { Schema, ShapeSerializer } from "@smithy/types";
3
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
4
- import { JsonSettings } from "../JsonSettings";
5
- export declare class JsonShapeSerializer2
6
- extends SerdeContextConfig
7
- implements ShapeSerializer<Uint8Array>
8
- {
9
- readonly settings: JsonSettings;
10
- private json;
11
- private i;
12
- private rootSchema;
13
- private rawValue;
14
- private passthrough;
15
- constructor(settings: JsonSettings);
16
- write(schema: Schema, value: unknown): void;
17
- writeDiscriminatedDocument(schema: Schema, value: unknown): void;
18
- flush(): Uint8Array;
19
- protected ensure(byteCount: number): void;
20
- protected writeAscii(s: string): void;
21
- protected writeAsciiQuoted(s: string): void;
22
- protected writeJsonString(s: string): void;
23
- protected writeUnicodeEscape(code: number): void;
24
- protected static readonly B64: Uint8Array;
25
- protected writeBase64(data: Uint8Array): void;
26
- protected writeValue(
27
- schema: Schema,
28
- value: unknown,
29
- container: NormalizedSchema | undefined,
30
- ): void;
31
- protected writeStruct(ns: NormalizedSchema, value: Record<string, unknown>): void;
32
- protected writeList(ns: NormalizedSchema, value: unknown[], isDocument?: boolean): void;
33
- protected writeMap(
34
- ns: NormalizedSchema,
35
- value: Record<string, unknown>,
36
- isDocument?: boolean,
37
- ): void;
38
- protected writeTimestamp(ns: NormalizedSchema, value: Date): void;
39
- }
@@ -1,7 +0,0 @@
1
- export declare class JsonReplacer {
2
- private readonly values;
3
- private counter;
4
- private stage;
5
- createReplacer(): (key: string, value: unknown) => unknown;
6
- replaceInJson(json: string): string;
7
- }
@@ -1,7 +0,0 @@
1
- export declare function jsonReviver(
2
- key: string,
3
- value: any,
4
- context?: {
5
- source?: string;
6
- },
7
- ): any;
@@ -1,2 +0,0 @@
1
- import { Schema } from "@smithy/types";
2
- export declare function needsReviver(schema: Schema): boolean;
@@ -1,14 +0,0 @@
1
- import { HttpResponse, Schema, SerdeFunctions } from "@smithy/types";
2
- export declare function parseJsonBody(streamBody: any, context: SerdeFunctions): Promise<any>;
3
- export declare function parseJsonBody(
4
- streamBody: any,
5
- context: SerdeFunctions,
6
- schema: Schema,
7
- ): Promise<any>;
8
- export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise<any>;
9
- export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
10
- export declare const loadJsonRpcErrorCode: (
11
- output: HttpResponse,
12
- data: any,
13
- queryCompat?: boolean,
14
- ) => string | undefined;
@@ -1,11 +0,0 @@
1
- {
2
- "rules": {
3
- "indent": 0,
4
- "global-require": 0,
5
- "no-await-in-loop": 0
6
- },
7
- "extends": ["nodemailer", "prettier"],
8
- "parserOptions": {
9
- "ecmaVersion": 2017
10
- }
11
- }
@@ -1,4 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: [andris9] # enable once enrolled
4
- custom: ['https://www.paypal.me/nodemailer']
@@ -1,75 +0,0 @@
1
- name: "libbase64 security vulnerability report"
2
- description: "Report an exploitable security vulnerability in libbase64"
3
-
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- Before reporting, read our
9
- [Security Policy](https://github.com/nodemailer/libbase64/security/policy).
10
-
11
- Reports must demonstrate a credible security impact.
12
- Technically valid bugs without a realistic attack
13
- scenario belong in the regular issue tracker.
14
-
15
- - type: textarea
16
- id: summary
17
- attributes:
18
- label: Vulnerability summary
19
- description: Describe the vulnerability and affected versions.
20
- validations:
21
- required: true
22
-
23
- - type: textarea
24
- id: attacker
25
- attributes:
26
- label: Attacker capabilities
27
- description: |
28
- What can an attacker control without already having
29
- privileged access to the application or its configuration?
30
- validations:
31
- required: true
32
- min_length: 100
33
-
34
- - type: textarea
35
- id: exploit
36
- attributes:
37
- label: Realistic exploitation scenario
38
- description: |
39
- Describe how this can be exploited in a real application.
40
- Explain the prerequisites and security boundary crossed.
41
- validations:
42
- required: true
43
- min_length: 150
44
-
45
- - type: textarea
46
- id: poc
47
- attributes:
48
- label: Proof of concept
49
- description: Provide reproducible steps or working code.
50
- validations:
51
- required: true
52
-
53
- - type: textarea
54
- id: impact
55
- attributes:
56
- label: Security impact
57
- description: |
58
- What can the attacker achieve? Who is affected?
59
- Explain why this is a security vulnerability rather
60
- than an ordinary bug.
61
- validations:
62
- required: true
63
- min_length: 100
64
-
65
- - type: checkboxes
66
- id: confirmation
67
- attributes:
68
- label: Reporting requirements
69
- options:
70
- - label: I have read the Security Policy.
71
- required: true
72
- - label: I have verified the finding against a supported version.
73
- required: true
74
- - label: I have described a credible attacker-controlled scenario.
75
- required: true
@@ -1,39 +0,0 @@
1
- on:
2
- push:
3
- branches:
4
- - master
5
- # Manual run: publish the version currently on master (used when a release was cut
6
- # but the publish step failed)
7
- workflow_dispatch:
8
-
9
- permissions:
10
- contents: write
11
- pull-requests: write
12
- id-token: write
13
-
14
- name: release
15
- jobs:
16
- release-please:
17
- runs-on: ubuntu-latest
18
- steps:
19
- - uses: google-github-actions/release-please-action@v3
20
- id: release
21
- if: ${{ github.event_name == 'push' }}
22
- with:
23
- release-type: node
24
- package-name: ${{vars.NPM_MODULE_NAME}}
25
- pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
26
- # The logic below handles the npm publication through npm trusted publishing
27
- # (OIDC, no token secret): it runs when a new release is created, or on a
28
- # manual dispatch.
29
- - uses: actions/checkout@v4
30
- if: ${{ steps.release.outputs.release_created || github.event_name == 'workflow_dispatch' }}
31
- - uses: actions/setup-node@v4
32
- with:
33
- node-version: 24
34
- registry-url: 'https://registry.npmjs.org'
35
- if: ${{ steps.release.outputs.release_created || github.event_name == 'workflow_dispatch' }}
36
- - run: npm ci
37
- if: ${{ steps.release.outputs.release_created || github.event_name == 'workflow_dispatch' }}
38
- - run: npm publish --provenance --access public
39
- if: ${{ steps.release.outputs.release_created || github.event_name == 'workflow_dispatch' }}
@@ -1,21 +0,0 @@
1
- name: Run tests
2
-
3
- on:
4
- push:
5
- pull_request:
6
-
7
- jobs:
8
- test:
9
- strategy:
10
- matrix:
11
- node: [16.x, 18.x, 20.x, 21.x]
12
- os: [ubuntu-latest]
13
- runs-on: ${{ matrix.os }}
14
- steps:
15
- - uses: actions/checkout@v2
16
- - name: Use Node.js ${{ matrix.node }}
17
- uses: actions/setup-node@v4
18
- with:
19
- node-version: ${{ matrix.node }}
20
- - run: npm install
21
- - run: npm test
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- upgrade: true,
3
- reject: [
4
- // 12 is esm only ("type": "module"), and grunt-mocha-test require()s it as a
5
- // constructor - "Mocha is not a constructor". Node 24 hides this through
6
- // require(esm); CI on Node 22 does not. Lift it when the runner drops grunt.
7
- 'mocha',
8
- // 5x is esm only
9
- 'chai',
10
- // api changes in newer eslint
11
- 'grunt-eslint'
12
- ]
13
- };
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- printWidth: 160,
3
- tabWidth: 4,
4
- singleQuote: true,
5
- endOfLine: 'lf',
6
- trailingComma: 'none',
7
- arrowParens: 'avoid'
8
- };