Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit efa8c45

Browse files
committed
fix: fix spamscanner link, bump deps to disable IDN homograph attack check
1 parent 6951433 commit efa8c45

File tree

3 files changed

+60
-60
lines changed

3 files changed

+60
-60
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ class ForwardEmail {
16221622

16231623
if (messages.length > 0) {
16241624
messages.push(
1625-
`For more information on Spam Scanner visit <${this.config.spamscannerLink}>.`
1625+
'For more information on Spam Scanner visit <https://spamscanner.net>.'
16261626
);
16271627
throw new CustomError(messages.join(' '), 554);
16281628
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"sender-rewriting-scheme": "^1.0.0",
6363
"signale": "^1.4.0",
6464
"smtp-server": "^3.8.0",
65-
"spamscanner": "^3.0.5",
65+
"spamscanner": "^3.0.6",
6666
"split-lines": "^2.0.0",
6767
"superagent": "^6.1.0",
6868
"titleize": "^2.1.0",

yarn.lock

+58-58
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
"@babel/highlight" "^7.12.13"
1818

1919
"@babel/core@^7.12.16", "@babel/core@^7.7.5":
20-
version "7.12.16"
21-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.16.tgz#8c6ba456b23b680a6493ddcfcd9d3c3ad51cab7c"
22-
integrity sha512-t/hHIB504wWceOeaOoONOhu+gX+hpjfeN6YRBT209X/4sibZQfSF1I0HFRRlBe97UZZosGx5XwUg1ZgNbelmNw==
20+
version "7.12.17"
21+
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.17.tgz#993c5e893333107a2815d8e0d73a2c3755e280b2"
22+
integrity sha512-V3CuX1aBywbJvV2yzJScRxeiiw0v2KZZYYE3giywxzFJL13RiyPjaaDwhDnxmgFTTS7FgvM2ijr4QmKNIu0AtQ==
2323
dependencies:
2424
"@babel/code-frame" "^7.12.13"
25-
"@babel/generator" "^7.12.15"
26-
"@babel/helper-module-transforms" "^7.12.13"
27-
"@babel/helpers" "^7.12.13"
28-
"@babel/parser" "^7.12.16"
25+
"@babel/generator" "^7.12.17"
26+
"@babel/helper-module-transforms" "^7.12.17"
27+
"@babel/helpers" "^7.12.17"
28+
"@babel/parser" "^7.12.17"
2929
"@babel/template" "^7.12.13"
30-
"@babel/traverse" "^7.12.13"
31-
"@babel/types" "^7.12.13"
30+
"@babel/traverse" "^7.12.17"
31+
"@babel/types" "^7.12.17"
3232
convert-source-map "^1.7.0"
3333
debug "^4.1.0"
3434
gensync "^1.0.0-beta.1"
@@ -38,20 +38,20 @@
3838
source-map "^0.5.0"
3939

4040
"@babel/eslint-parser@^7.12.16":
41-
version "7.12.16"
42-
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.12.16.tgz#e23d5a39869ef7a0d151e11502ab36bc8639e20b"
43-
integrity sha512-NZHtJr2pLRYcQjvo/GVU3kFxIGEHveswoWfY5Wm2tJ7pb3AoqoQ+PP17rRTDh+POFWM15VvH+23x2/9Od0CYxQ==
41+
version "7.12.17"
42+
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.12.17.tgz#6cb57929c5614654ee7d6d27fa85ed0b6a8d4470"
43+
integrity sha512-CoetDyQRwtkUlOtbkCmYFpneXD78oANblFGUMX4DKLYj/mHzuS3rPt7zWzaDf0lB4uEB3C7C+hQAS/QgxqjdXQ==
4444
dependencies:
4545
eslint-scope "5.1.0"
4646
eslint-visitor-keys "^1.3.0"
4747
semver "^6.3.0"
4848

49-
"@babel/generator@^7.12.13", "@babel/generator@^7.12.15":
50-
version "7.12.15"
51-
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.15.tgz#4617b5d0b25cc572474cc1aafee1edeaf9b5368f"
52-
integrity sha512-6F2xHxBiFXWNSGb7vyCUTBF8RCLY66rS0zEPcP8t/nQyXjha5EuK4z7H5o7fWG8B4M7y6mqVWq1J+1PuwRhecQ==
49+
"@babel/generator@^7.12.17":
50+
version "7.12.17"
51+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.17.tgz#9ef1dd792d778b32284411df63f4f668a9957287"
52+
integrity sha512-DSA7ruZrY4WI8VxuS1jWSRezFnghEoYEFrZcw9BizQRmOZiUsiHl59+qEARGPqPikwA/GPTyRCi7isuCK/oyqg==
5353
dependencies:
54-
"@babel/types" "^7.12.13"
54+
"@babel/types" "^7.12.17"
5555
jsesc "^2.5.1"
5656
source-map "^0.5.0"
5757

@@ -72,11 +72,11 @@
7272
"@babel/types" "^7.12.13"
7373

7474
"@babel/helper-member-expression-to-functions@^7.12.13":
75-
version "7.12.16"
76-
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.16.tgz#41e0916b99f8d5f43da4f05d85f4930fa3d62b22"
77-
integrity sha512-zYoZC1uvebBFmj1wFAlXwt35JLEgecefATtKp20xalwEK8vHAixLBXTGxNrVGEmTT+gzOThUgr8UEdgtalc1BQ==
75+
version "7.12.17"
76+
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.17.tgz#f82838eb06e1235307b6d71457b6670ff71ee5ac"
77+
integrity sha512-Bzv4p3ODgS/qpBE0DiJ9qf5WxSmrQ8gVTe8ClMfwwsY2x/rhykxxy3bXzG7AGTnPB2ij37zGJ/Q/6FruxHxsxg==
7878
dependencies:
79-
"@babel/types" "^7.12.13"
79+
"@babel/types" "^7.12.17"
8080

8181
"@babel/helper-module-imports@^7.12.13":
8282
version "7.12.13"
@@ -85,19 +85,19 @@
8585
dependencies:
8686
"@babel/types" "^7.12.13"
8787

88-
"@babel/helper-module-transforms@^7.12.13":
89-
version "7.12.13"
90-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.13.tgz#01afb052dcad2044289b7b20beb3fa8bd0265bea"
91-
integrity sha512-acKF7EjqOR67ASIlDTupwkKM1eUisNAjaSduo5Cz+793ikfnpe7p4Q7B7EWU2PCoSTPWsQkR7hRUWEIZPiVLGA==
88+
"@babel/helper-module-transforms@^7.12.17":
89+
version "7.12.17"
90+
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.17.tgz#7c75b987d6dfd5b48e575648f81eaac891539509"
91+
integrity sha512-sFL+p6zOCQMm9vilo06M4VHuTxUAwa6IxgL56Tq1DVtA0ziAGTH1ThmJq7xwPqdQlgAbKX3fb0oZNbtRIyA5KQ==
9292
dependencies:
9393
"@babel/helper-module-imports" "^7.12.13"
9494
"@babel/helper-replace-supers" "^7.12.13"
9595
"@babel/helper-simple-access" "^7.12.13"
9696
"@babel/helper-split-export-declaration" "^7.12.13"
9797
"@babel/helper-validator-identifier" "^7.12.11"
9898
"@babel/template" "^7.12.13"
99-
"@babel/traverse" "^7.12.13"
100-
"@babel/types" "^7.12.13"
99+
"@babel/traverse" "^7.12.17"
100+
"@babel/types" "^7.12.17"
101101
lodash "^4.17.19"
102102

103103
"@babel/helper-optimise-call-expression@^7.12.13":
@@ -136,14 +136,14 @@
136136
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
137137
integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==
138138

139-
"@babel/helpers@^7.12.13":
140-
version "7.12.13"
141-
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.12.13.tgz#3c75e993632e4dadc0274eae219c73eb7645ba47"
142-
integrity sha512-oohVzLRZ3GQEk4Cjhfs9YkJA4TdIDTObdBEZGrd6F/T0GPSnuV6l22eMcxlvcvzVIPH3VTtxbseudM1zIE+rPQ==
139+
"@babel/helpers@^7.12.17":
140+
version "7.12.17"
141+
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.12.17.tgz#71e03d2981a6b5ee16899964f4101dc8471d60bc"
142+
integrity sha512-tEpjqSBGt/SFEsFikKds1sLNChKKGGR17flIgQKXH4fG6m9gTgl3gnOC1giHNyaBCSKuTfxaSzHi7UnvqiVKxg==
143143
dependencies:
144144
"@babel/template" "^7.12.13"
145-
"@babel/traverse" "^7.12.13"
146-
"@babel/types" "^7.12.13"
145+
"@babel/traverse" "^7.12.17"
146+
"@babel/types" "^7.12.17"
147147

148148
"@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13":
149149
version "7.12.13"
@@ -154,15 +154,15 @@
154154
chalk "^2.0.0"
155155
js-tokens "^4.0.0"
156156

157-
"@babel/parser@^7.12.13", "@babel/parser@^7.12.16":
158-
version "7.12.16"
159-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.16.tgz#cc31257419d2c3189d394081635703f549fc1ed4"
160-
integrity sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw==
157+
"@babel/parser@^7.12.13", "@babel/parser@^7.12.17":
158+
version "7.12.17"
159+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.17.tgz#bc85d2d47db38094e5bb268fc761716e7d693848"
160+
integrity sha512-r1yKkiUTYMQ8LiEI0UcQx5ETw5dpTLn9wijn9hk6KkTtOK95FndDN10M+8/s6k/Ymlbivw0Av9q4SlgF80PtHg==
161161

162162
"@babel/runtime@^7.11.2":
163-
version "7.12.13"
164-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.13.tgz#0a21452352b02542db0ffb928ac2d3ca7cb6d66d"
165-
integrity sha512-8+3UMPBrjFa/6TtKi/7sehPKqfAm4g6K+YQjyyFOLUTxzOngcRZTlAVY8sc2CORJYqdHQY8gRPHmn+qo15rCBw==
163+
version "7.12.18"
164+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.18.tgz#af137bd7e7d9705a412b3caaf991fe6aaa97831b"
165+
integrity sha512-BogPQ7ciE6SYAUPtlm9tWbgI9+2AgqSam6QivMgXgAT+fKbgppaj4ZX15MHeLC1PVF5sNk70huBu20XxWOs8Cg==
166166
dependencies:
167167
regenerator-runtime "^0.13.4"
168168

@@ -175,25 +175,25 @@
175175
"@babel/parser" "^7.12.13"
176176
"@babel/types" "^7.12.13"
177177

178-
"@babel/traverse@^7.12.13":
179-
version "7.12.13"
180-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.13.tgz#689f0e4b4c08587ad26622832632735fb8c4e0c0"
181-
integrity sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA==
178+
"@babel/traverse@^7.12.13", "@babel/traverse@^7.12.17":
179+
version "7.12.17"
180+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.17.tgz#40ec8c7ffb502c4e54c7f95492dc11b88d718619"
181+
integrity sha512-LGkTqDqdiwC6Q7fWSwQoas/oyiEYw6Hqjve5KOSykXkmFJFqzvGMb9niaUEag3Rlve492Mkye3gLw9FTv94fdQ==
182182
dependencies:
183183
"@babel/code-frame" "^7.12.13"
184-
"@babel/generator" "^7.12.13"
184+
"@babel/generator" "^7.12.17"
185185
"@babel/helper-function-name" "^7.12.13"
186186
"@babel/helper-split-export-declaration" "^7.12.13"
187-
"@babel/parser" "^7.12.13"
188-
"@babel/types" "^7.12.13"
187+
"@babel/parser" "^7.12.17"
188+
"@babel/types" "^7.12.17"
189189
debug "^4.1.0"
190190
globals "^11.1.0"
191191
lodash "^4.17.19"
192192

193-
"@babel/types@^7.12.13":
194-
version "7.12.13"
195-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.13.tgz#8be1aa8f2c876da11a9cf650c0ecf656913ad611"
196-
integrity sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==
193+
"@babel/types@^7.12.13", "@babel/types@^7.12.17":
194+
version "7.12.17"
195+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.17.tgz#9d711eb807e0934c90b8b1ca0eb1f7230d150963"
196+
integrity sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==
197197
dependencies:
198198
"@babel/helper-validator-identifier" "^7.12.11"
199199
lodash "^4.17.19"
@@ -8964,10 +8964,10 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0:
89648964
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
89658965
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
89668966

8967-
spamscanner@^3.0.5:
8968-
version "3.0.5"
8969-
resolved "https://registry.yarnpkg.com/spamscanner/-/spamscanner-3.0.5.tgz#fc66f4bffb310fc3231a5e2fd8c448ab20f97ee6"
8970-
integrity sha512-z02w2QBSoQeALF4JBKJgeY1l5i71bwyJ4iTeXvMAz7LNk57IKNXw3ZBGdZUmGP0qNlSdQtZly9mcOSIHmBqVfA==
8967+
spamscanner@^3.0.6:
8968+
version "3.0.6"
8969+
resolved "https://registry.yarnpkg.com/spamscanner/-/spamscanner-3.0.6.tgz#817d360911c54850035442f2a5b0ae4d7ef90bcb"
8970+
integrity sha512-kgPMNqNc8Q1ZXlpryI0fAgqc7N+tgYSqSTBGOVjZ1DgVLiCwL1ixMQfZaAQKLNEn+XkXswq0haleg8qv/M2CaQ==
89718971
dependencies:
89728972
"@ladjs/naivebayes" "^0.1.0"
89738973
bitcoin-regex "^2.0.0"
@@ -10105,9 +10105,9 @@ url-parse-lax@^3.0.0:
1010510105
prepend-http "^2.0.0"
1010610106

1010710107
url-parse@^1.4.7:
10108-
version "1.5.0"
10109-
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.0.tgz#90aba6c902aeb2d80eac17b91131c27665d5d828"
10110-
integrity sha512-9iT6N4s93SMfzunOyDPe4vo4nLcSu1yq0IQK1gURmjm8tQNlM6loiuCRrKG1hHGXfB2EWd6H4cGi7tGdaygMFw==
10108+
version "1.5.1"
10109+
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b"
10110+
integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==
1011110111
dependencies:
1011210112
querystringify "^2.1.1"
1011310113
requires-port "^1.0.0"

0 commit comments

Comments
 (0)