@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.
- package/.jsii +9 -9
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/lib/ses-receive.ops-santa-handler.js +2 -2
- package/node_modules/@aws-sdk/checksums/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +9 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +11 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveriesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +27 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +4 -4
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +7 -7
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +4 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +94 -1589
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +102 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +13 -2
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +11 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
- 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
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +2 -1
- package/node_modules/@zone-eu/mailsplit/README.md +43 -54
- package/node_modules/@zone-eu/mailsplit/lib/headers.js +10 -4
- package/node_modules/@zone-eu/mailsplit/lib/message-splitter.js +5 -4
- package/node_modules/@zone-eu/mailsplit/lib/mime-node.d.ts +4 -1
- package/node_modules/@zone-eu/mailsplit/lib/mime-node.js +30 -5
- package/node_modules/@zone-eu/mailsplit/lib/types.d.ts +3 -1
- package/node_modules/@zone-eu/mailsplit/package.json +22 -17
- package/node_modules/libbase64/CHANGELOG.md +20 -0
- package/node_modules/libbase64/README.md +40 -13
- package/node_modules/libbase64/dist/cjs/libbase64.d.ts +80 -0
- package/node_modules/libbase64/dist/cjs/libbase64.js +310 -0
- package/node_modules/libbase64/dist/cjs/package.json +3 -0
- package/node_modules/libbase64/dist/esm/libbase64.d.ts +80 -0
- package/node_modules/libbase64/{lib → dist/esm}/libbase64.js +74 -117
- package/node_modules/libbase64/dist/esm/package.json +3 -0
- package/node_modules/libbase64/package.json +59 -13
- package/node_modules/libmime/CHANGELOG.md +38 -0
- package/node_modules/libmime/README.md +55 -26
- package/node_modules/libmime/SECURITY.md +152 -0
- package/node_modules/libmime/dist/cjs/charset.d.ts +43 -0
- package/node_modules/libmime/dist/cjs/charset.js +135 -0
- package/node_modules/libmime/dist/cjs/charsets.d.ts +2 -0
- package/node_modules/libmime/dist/cjs/charsets.js +213 -0
- package/node_modules/libmime/dist/cjs/get-charset-name.d.ts +1 -0
- package/node_modules/libmime/dist/cjs/get-charset-name.js +224 -0
- package/node_modules/libmime/dist/cjs/libmime.d.ts +218 -0
- package/node_modules/libmime/dist/cjs/libmime.js +1027 -0
- package/node_modules/libmime/dist/cjs/mimetypes.d.ts +7 -0
- package/node_modules/libmime/dist/cjs/mimetypes.js +2072 -0
- package/node_modules/libmime/dist/cjs/package.json +3 -0
- package/node_modules/libmime/dist/cjs/types.d.ts +59 -0
- package/node_modules/libmime/dist/cjs/types.js +4 -0
- package/node_modules/libmime/dist/esm/charset.d.ts +43 -0
- package/node_modules/libmime/dist/esm/charset.js +125 -0
- package/node_modules/libmime/dist/esm/charsets.d.ts +2 -0
- package/node_modules/libmime/{lib → dist/esm}/charsets.js +3 -5
- package/node_modules/libmime/dist/esm/get-charset-name.d.ts +1 -0
- package/node_modules/libmime/{lib → dist/esm}/get-charset-name.js +1 -8
- package/node_modules/libmime/dist/esm/libmime.d.ts +219 -0
- package/node_modules/libmime/{lib → dist/esm}/libmime.js +275 -334
- package/node_modules/libmime/dist/esm/mimetypes.d.ts +7 -0
- package/node_modules/libmime/dist/esm/mimetypes.js +2068 -0
- package/node_modules/libmime/dist/esm/package.json +3 -0
- package/node_modules/libmime/dist/esm/types.d.ts +59 -0
- package/node_modules/libmime/dist/esm/types.js +3 -0
- package/node_modules/libmime/package.json +60 -15
- package/node_modules/libqp/CHANGELOG.md +18 -0
- package/node_modules/libqp/README.md +50 -19
- package/node_modules/libqp/dist/cjs/libqp.d.ts +74 -0
- package/node_modules/libqp/dist/cjs/libqp.js +378 -0
- package/node_modules/libqp/dist/cjs/package.json +3 -0
- package/node_modules/libqp/dist/esm/libqp.d.ts +74 -0
- package/node_modules/libqp/dist/esm/libqp.js +369 -0
- package/node_modules/libqp/dist/esm/package.json +3 -0
- package/node_modules/libqp/lib/libqp.js +4 -383
- package/node_modules/libqp/lib/package.json +3 -0
- package/node_modules/libqp/package.json +62 -6
- package/node_modules/mailparser/CHANGELOG.md +56 -0
- package/node_modules/mailparser/README.md +6 -0
- package/node_modules/mailparser/dist/cjs/index.d.ts +10 -0
- package/node_modules/mailparser/dist/cjs/index.js +12 -0
- package/node_modules/mailparser/dist/cjs/mail-parser.d.ts +98 -0
- package/node_modules/mailparser/dist/cjs/mail-parser.js +1419 -0
- package/node_modules/mailparser/dist/cjs/package.json +3 -0
- package/node_modules/mailparser/dist/cjs/simple-parser.d.ts +17 -0
- package/node_modules/mailparser/dist/cjs/simple-parser.js +133 -0
- package/node_modules/mailparser/dist/cjs/stream-hash.d.ts +24 -0
- package/node_modules/mailparser/dist/cjs/stream-hash.js +33 -0
- package/node_modules/mailparser/dist/cjs/tlds.cjs +8 -0
- package/node_modules/mailparser/dist/cjs/types.d.ts +309 -0
- package/node_modules/mailparser/dist/cjs/types.js +2 -0
- package/node_modules/mailparser/dist/esm/index.d.ts +10 -0
- package/node_modules/mailparser/dist/esm/index.js +4 -0
- package/node_modules/mailparser/dist/esm/mail-parser.d.ts +98 -0
- package/node_modules/mailparser/{lib → dist/esm}/mail-parser.js +302 -368
- package/node_modules/mailparser/dist/esm/package.json +3 -0
- package/node_modules/mailparser/dist/esm/simple-parser.d.ts +17 -0
- package/node_modules/mailparser/{lib → dist/esm}/simple-parser.js +45 -68
- package/node_modules/mailparser/dist/esm/stream-hash.d.ts +24 -0
- package/node_modules/mailparser/{lib → dist/esm}/stream-hash.js +7 -9
- package/node_modules/mailparser/dist/esm/tlds.cjs +8 -0
- package/node_modules/mailparser/dist/esm/types.d.ts +309 -0
- package/node_modules/mailparser/dist/esm/types.js +1 -0
- package/node_modules/mailparser/package.json +88 -17
- package/node_modules/nodemailer/CHANGELOG.md +44 -0
- package/node_modules/nodemailer/dist/cjs/addressparser/index.js +695 -267
- package/node_modules/nodemailer/dist/cjs/mailer/mail-message.js +4 -1
- package/node_modules/nodemailer/dist/cjs/mime-funcs/index.js +8 -2
- package/node_modules/nodemailer/dist/cjs/mime-node/index.js +48 -16
- package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
- package/node_modules/nodemailer/dist/cjs/shared/url.js +22 -5
- package/node_modules/nodemailer/dist/esm/addressparser/index.js +695 -267
- package/node_modules/nodemailer/dist/esm/mailer/mail-message.js +4 -1
- package/node_modules/nodemailer/dist/esm/mime-funcs/index.js +8 -2
- package/node_modules/nodemailer/dist/esm/mime-node/index.js +48 -16
- package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
- package/node_modules/nodemailer/dist/esm/shared/url.js +22 -5
- package/node_modules/nodemailer/package.json +1 -1
- package/package.json +9 -9
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
- package/node_modules/libbase64/.eslintrc +0 -11
- package/node_modules/libbase64/.github/FUNDING.yml +0 -4
- package/node_modules/libbase64/.github/VULNERABILITY_REPORT.yml +0 -75
- package/node_modules/libbase64/.github/workflows/release.yaml +0 -39
- package/node_modules/libbase64/.github/workflows/test.yml +0 -21
- package/node_modules/libbase64/.ncurc.js +0 -13
- package/node_modules/libbase64/.prettierrc.js +0 -8
- package/node_modules/libmime/lib/charset.js +0 -131
- package/node_modules/libmime/lib/mimetypes.js +0 -2049
- package/node_modules/libqp/.eslintrc +0 -15
- package/node_modules/libqp/.github/FUNDING.yml +0 -4
- package/node_modules/libqp/.github/VULNERABILITY_REPORT.yml +0 -75
- package/node_modules/libqp/.github/workflows/release.yaml +0 -39
- package/node_modules/libqp/.github/workflows/test.yml +0 -21
- package/node_modules/libqp/.prettierrc.js +0 -8
- package/node_modules/libqp/test/libqp-test.js +0 -366
- package/node_modules/mailparser/.gitattributes +0 -1
- package/node_modules/mailparser/.prettierignore +0 -3
- package/node_modules/mailparser/.prettierrc.js +0 -10
- package/node_modules/mailparser/.release-please-manifest.json +0 -3
- package/node_modules/mailparser/eslint.config.js +0 -33
- package/node_modules/mailparser/index.js +0 -9
- package/node_modules/mailparser/release-please-config.json +0 -10
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
- /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
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
- /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
|
-
|
|
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 (!
|
|
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 (
|
|
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
|
-
|
|
1324
|
-
|
|
1325
|
-
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
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
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
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
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
|
-
|
|
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);
|
|
@@ -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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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 || '')
|
|
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
|
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.
|
|
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.
|
|
83
|
-
"@aws-sdk/client-route-53": "^3.
|
|
84
|
-
"@aws-sdk/client-s3": "^3.
|
|
85
|
-
"@aws-sdk/client-ses": "^3.
|
|
86
|
-
"@aws-sdk/client-ssm": "^3.
|
|
87
|
-
"@mavogel/mvc-projen": "^0.0.
|
|
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.
|
|
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.
|
|
125
|
+
"version": "0.1.26",
|
|
126
126
|
"jest": {
|
|
127
127
|
"coverageProvider": "v8",
|
|
128
128
|
"transformIgnorePatterns": [
|
|
@@ -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
|
-
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts
DELETED
|
@@ -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,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
|
-
};
|