@bgord/tools 1.2.16 → 1.2.18
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/dist/email.vo.js +1 -1
- package/package.json +7 -7
- package/src/email.vo.ts +1 -1
package/dist/email.vo.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bgord/tools",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bartosz Gordon",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "2.3.11",
|
|
25
|
-
"@commitlint/cli": "20.3.
|
|
26
|
-
"@commitlint/config-conventional": "20.3.
|
|
25
|
+
"@commitlint/cli": "20.3.1",
|
|
26
|
+
"@commitlint/config-conventional": "20.3.1",
|
|
27
27
|
"@stryker-mutator/core": "9.4.0",
|
|
28
|
-
"@types/bun": "1.3.
|
|
28
|
+
"@types/bun": "1.3.6",
|
|
29
29
|
"@types/mime-types": "3.0.1",
|
|
30
|
-
"cspell": "9.
|
|
31
|
-
"knip": "5.
|
|
32
|
-
"lefthook": "2.0.
|
|
30
|
+
"cspell": "9.6.0",
|
|
31
|
+
"knip": "5.81.0",
|
|
32
|
+
"lefthook": "2.0.15",
|
|
33
33
|
"lockfile-lint": "4.14.1",
|
|
34
34
|
"only-allow": "1.2.2",
|
|
35
35
|
"shellcheck": "4.1.0",
|
package/src/email.vo.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
export const EmailError = { Invalid: "email.invalid" };
|
|
4
4
|
|
|
5
5
|
// Stryker disable all
|
|
6
|
-
export const Email = z.email(
|
|
6
|
+
export const Email = z.email(EmailError.Invalid).brand("Email");
|
|
7
7
|
// Stryker restore all
|
|
8
8
|
|
|
9
9
|
export type EmailType = z.infer<typeof Email>;
|