diff --git a/README.md b/README.md index 52cfbfc..2c81c0c 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ ### IMPORTANT SECURITY INFORMATION PLEASE update to a version >= 0.8! 0.8 has a problem where malformed mails could -potatialy allow attackers to create a mail (with linebreaks) to send unwanted -SMTP commands. This could result in authentic phishing attacks! Whith no way for +potentialy allow attackers to create a mail (with linebreaks) to send unwanted +SMTP commands. This could result in authentic phishing attacks! With no way for the user to identify that this is a phishing mail! Or that this mail contains a -dangorus attachment! +dangerous attachment! -Also make shure that Mails are sent one after the other as they can corrupt each +Also make sure that Mails are sent one after the other as they can corrupt each others data! ### Allowed Mail Formats @@ -38,8 +38,8 @@ For the fields ### Sending multiple mails Note that for race-condition reasons we can't send multiple mails at once. -Because of that if send is allready called and still processing a mail -`client.send` will que that sending. +Because of that if send is already called and still processing a mail +`client.send` will queue that sending. ### Example diff --git a/SECURITY.md b/SECURITY.md index b8d00fb..60bcebc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -9,7 +9,7 @@ We provide security updates currently for these version. | > 0.10.x | :white_check_mark: | We will provide security updates after 1.0 only for the latest version of that major. -We will deprecate major versions so you should allways upgrade! Note that major version will contain breaking changes so we will add security updates for at least 1 older major so you have time to upgrade. But note that we will deprecate these versions too! +We will deprecate major versions so you should always upgrade! Note that major versions will contains breaking changes so we will add security updates for at least 1 older major so you have time to upgrade. But note that we will deprecate these versions too! ## Reporting a Vulnerability diff --git a/deps.ts b/deps.ts index dc928d7..f7665ee 100644 --- a/deps.ts +++ b/deps.ts @@ -1,6 +1,6 @@ export { BufReader, BufWriter, -} from "https://deno.land/std@0.129.0/io/buffer.ts"; -export { TextProtoReader } from "https://deno.land/std@0.129.0/textproto/mod.ts"; -export { decode as base64Decode } from "https://deno.land/std@0.123.0/encoding/base64.ts"; +} from "https://deno.land/std@0.130.0/io/buffer.ts"; +export { TextProtoReader } from "https://deno.land/std@0.130.0/textproto/mod.ts"; +export { decode as base64Decode } from "https://deno.land/std@0.130.0/encoding/base64.ts"; diff --git a/test.ts b/test.ts index 1485d21..cef9c44 100644 --- a/test.ts +++ b/test.ts @@ -1,5 +1,5 @@ import { SmtpClient } from "./smtp.ts"; -import "https://deno.land/x/dotenv@v3.0.0/load.ts"; +import "https://deno.land/std@0.130.0/dotenv/load.ts"; const { TLS, PORT, HOSTNAME, MAIL_USER, MAIL_TO_USER, MAIL_PASS } = Deno.env .toObject(); diff --git a/test_deps.ts b/test_deps.ts index 690342c..08a217d 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -1 +1 @@ -export { config as configEnv } from "https://deno.land/x/dotenv@v3.0.0/mod.ts"; +export { config as configEnv } from "https://deno.land/std@0.130.0/dotenv/mod.ts"; diff --git a/tests/test_parse.ts b/tests/test_parse.ts index d9a3b5d..42cc1ff 100644 --- a/tests/test_parse.ts +++ b/tests/test_parse.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.104.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.130.0/testing/asserts.ts"; function parseAddress(email: string): [string, string] { const m = email.match(/(.*)\s<(.*)>/);