@bgord/tools 1.3.22 → 1.3.24

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.
@@ -2,7 +2,4 @@ import * as z from "zod/v4";
2
2
  export const LanguageError = { Type: "language.type", BadChars: "language.bad.chars" };
3
3
  // Two lowercase letters
4
4
  const LANGUAGE_CHARS_WHITELIST = /^[a-z]{2}$/;
5
- export const Language = z
6
- .string(LanguageError.Type)
7
- .toLowerCase()
8
- .regex(LANGUAGE_CHARS_WHITELIST, LanguageError.BadChars);
5
+ export const Language = z.string(LanguageError.Type).regex(LANGUAGE_CHARS_WHITELIST, LanguageError.BadChars);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgord/tools",
3
- "version": "1.3.22",
3
+ "version": "1.3.24",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bartosz Gordon",
@@ -20,14 +20,14 @@
20
20
  "preinstall": "bunx only-allow bun"
21
21
  },
22
22
  "devDependencies": {
23
- "@biomejs/biome": "2.4.5",
23
+ "@biomejs/biome": "2.4.6",
24
24
  "@commitlint/cli": "20.4.3",
25
25
  "@commitlint/config-conventional": "20.4.3",
26
26
  "@stryker-mutator/core": "9.6.0",
27
27
  "@types/bun": "1.3.10",
28
28
  "cspell": "9.7.0",
29
- "knip": "5.85.0",
30
- "lefthook": "2.1.2",
29
+ "knip": "5.86.0",
30
+ "lefthook": "2.1.3",
31
31
  "lockfile-lint": "5.0.0",
32
32
  "only-allow": "1.2.2",
33
33
  "shellcheck": "4.1.0",