@bgord/tools 1.2.12 → 1.2.13

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.
Files changed (40) hide show
  1. package/dist/age-years.vo.d.ts +1 -1
  2. package/dist/api-key.vo.d.ts +1 -1
  3. package/dist/basename.vo.d.ts +1 -1
  4. package/dist/day-iso-id.vo.d.ts +1 -1
  5. package/dist/directory-path-absolute.vo.d.ts +1 -1
  6. package/dist/directory-path-relative.vo.d.ts +1 -1
  7. package/dist/distance-value.vo.d.ts +1 -1
  8. package/dist/division-factor.vo.d.ts +1 -1
  9. package/dist/duration-ms.vo.d.ts +1 -1
  10. package/dist/email.vo.d.ts +1 -1
  11. package/dist/extension.vo.d.ts +1 -1
  12. package/dist/file-path-absolute-schema.vo.d.ts +1 -1
  13. package/dist/file-path-relative-schema.vo.d.ts +1 -1
  14. package/dist/filename-affix.vo.d.ts +1 -1
  15. package/dist/height-milimiters.vo.d.ts +1 -1
  16. package/dist/hour-schema.vo.d.ts +1 -1
  17. package/dist/iban-schema.vo.d.ts +1 -1
  18. package/dist/image.vo.d.ts +2 -2
  19. package/dist/integer-non-negative.vo.d.ts +1 -1
  20. package/dist/integer-positive.vo.d.ts +1 -1
  21. package/dist/integer.vo.d.ts +1 -1
  22. package/dist/mime-value.vo.d.ts +1 -1
  23. package/dist/minute-schema.vo.d.ts +1 -1
  24. package/dist/money-amount.vo.d.ts +1 -1
  25. package/dist/month-iso-id.vo.d.ts +1 -1
  26. package/dist/multiplication-factor.vo.d.ts +1 -1
  27. package/dist/object-key.vo.d.ts +1 -1
  28. package/dist/package-version-schema.vo.d.ts +1 -1
  29. package/dist/quarter-iso-id.vo.d.ts +1 -1
  30. package/dist/rounding-decimal.strategy.d.ts +1 -1
  31. package/dist/size-bytes.vo.d.ts +1 -1
  32. package/dist/time-zone-offset-value.vo.d.ts +1 -1
  33. package/dist/timestamp-value.vo.d.ts +1 -1
  34. package/dist/timezone.vo.d.ts +1 -1
  35. package/dist/url-with-slash.vo.d.ts +1 -1
  36. package/dist/url-without-slash.vo.d.ts +1 -1
  37. package/dist/week-iso-id.vo.d.ts +1 -1
  38. package/dist/weight-grams.vo.d.ts +1 -1
  39. package/dist/year-iso-id.vo.d.ts +1 -1
  40. package/package.json +3 -3
@@ -7,5 +7,5 @@ export declare const AgeYearsConstraints: {
7
7
  min: number;
8
8
  max: number;
9
9
  };
10
- export declare const AgeYears: z.core.$ZodBranded<z.ZodNumber, "AgeYears">;
10
+ export declare const AgeYears: z.core.$ZodBranded<z.ZodNumber, "AgeYears", "out">;
11
11
  export type AgeYearsType = z.infer<typeof AgeYears>;
@@ -4,5 +4,5 @@ export declare const ApiKeyError: {
4
4
  Length: string;
5
5
  BadChars: string;
6
6
  };
7
- export declare const ApiKey: z.core.$ZodBranded<z.ZodString, "ApiKey">;
7
+ export declare const ApiKey: z.core.$ZodBranded<z.ZodString, "ApiKey", "out">;
8
8
  export type ApiKeyType = z.infer<typeof ApiKey>;
@@ -8,5 +8,5 @@ export declare const BasenameError: {
8
8
  TrailingDot: string;
9
9
  BadChars: string;
10
10
  };
11
- export declare const Basename: z.core.$ZodBranded<z.ZodString, "Basename">;
11
+ export declare const Basename: z.core.$ZodBranded<z.ZodString, "Basename", "out">;
12
12
  export type BasenameType = z.infer<typeof Basename>;
@@ -5,5 +5,5 @@ export declare const DayIsoIdError: {
5
5
  InvalidDate: string;
6
6
  };
7
7
  export declare const DAY_ISO_ID_CHARS: RegExp;
8
- export declare const DayIsoId: z.core.$ZodBranded<z.ZodString, "DayIsoId">;
8
+ export declare const DayIsoId: z.core.$ZodBranded<z.ZodString, "DayIsoId", "out">;
9
9
  export type DayIsoIdType = z.infer<typeof DayIsoId>;
@@ -8,5 +8,5 @@ export declare const DirectoryPathAbsoluteError: {
8
8
  Type: string;
9
9
  };
10
10
  export declare const DIRECTORY_PATH_ABSOLUTE_CHARS: RegExp;
11
- export declare const DirectoryPathAbsoluteSchema: z.core.$ZodBranded<z.ZodString, "DirectoryPathAbsoluteSchema">;
11
+ export declare const DirectoryPathAbsoluteSchema: z.core.$ZodBranded<z.ZodString, "DirectoryPathAbsoluteSchema", "out">;
12
12
  export type DirectoryPathAbsoluteType = z.infer<typeof DirectoryPathAbsoluteSchema>;
@@ -8,5 +8,5 @@ export declare const DirectoryPathRelativeError: {
8
8
  Type: string;
9
9
  };
10
10
  export declare const DIRECTORY_PATH_RELATIVE_CHARS: RegExp;
11
- export declare const DirectoryPathRelativeSchema: z.core.$ZodBranded<z.ZodString, "DirectoryPathRelativeSchema">;
11
+ export declare const DirectoryPathRelativeSchema: z.core.$ZodBranded<z.ZodString, "DirectoryPathRelativeSchema", "out">;
12
12
  export type DirectoryPathRelativeType = z.infer<typeof DirectoryPathRelativeSchema>;
@@ -3,5 +3,5 @@ export declare const DistanceValueError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const DistanceValue: z.core.$ZodBranded<z.ZodNumber, "DistanceValue">;
6
+ export declare const DistanceValue: z.core.$ZodBranded<z.ZodNumber, "DistanceValue", "out">;
7
7
  export type DistanceValueType = z.infer<typeof DistanceValue>;
@@ -3,5 +3,5 @@ export declare const DivisionFactorError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const DivisionFactor: z.core.$ZodBranded<z.ZodNumber, "DivisionFactor">;
6
+ export declare const DivisionFactor: z.core.$ZodBranded<z.ZodNumber, "DivisionFactor", "out">;
7
7
  export type DivisionFactorType = z.infer<typeof DivisionFactor>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const DurationMsError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const DurationMs: z.core.$ZodBranded<z.ZodNumber, "DurationMs">;
5
+ export declare const DurationMs: z.core.$ZodBranded<z.ZodNumber, "DurationMs", "out">;
6
6
  export type DurationMsType = z.infer<typeof DurationMs>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const EmailError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const Email: z.core.$ZodBranded<z.ZodEmail, "Email">;
5
+ export declare const Email: z.core.$ZodBranded<z.ZodEmail, "Email", "out">;
6
6
  export type EmailType = z.infer<typeof Email>;
@@ -5,5 +5,5 @@ export declare const ExtensionError: {
5
5
  TooLong: string;
6
6
  BadChars: string;
7
7
  };
8
- export declare const Extension: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, "Extension">;
8
+ export declare const Extension: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, "Extension", "out">;
9
9
  export type ExtensionType = z.infer<typeof Extension>;
@@ -10,5 +10,5 @@ export declare const FilePathAbsoluteSchemaError: {
10
10
  export declare const FilePathAbsoluteSchema: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<{
11
11
  directory: string & z.core.$brand<"DirectoryPathAbsoluteSchema">;
12
12
  filename: Filename;
13
- }, string>>, "FilePathAbsoluteSchema">;
13
+ }, string>>, "FilePathAbsoluteSchema", "out">;
14
14
  export type FilePathAbsoluteType = z.infer<typeof FilePathAbsoluteSchema>;
@@ -10,5 +10,5 @@ export declare const FilePathRelativeSchemaError: {
10
10
  export declare const FilePathRelativeSchema: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<{
11
11
  directory: string & z.core.$brand<"DirectoryPathRelativeSchema">;
12
12
  filename: Filename;
13
- }, string>>, "FilePathRelativeSchema">;
13
+ }, string>>, "FilePathRelativeSchema", "out">;
14
14
  export type FilePathRelativeType = z.infer<typeof FilePathRelativeSchema>;
@@ -9,5 +9,5 @@ export declare const FilenameAffixError: {
9
9
  TooLong: string;
10
10
  BadChars: string;
11
11
  };
12
- export declare const FilenameAffix: z.core.$ZodBranded<z.ZodString, "FilenameAffix">;
12
+ export declare const FilenameAffix: z.core.$ZodBranded<z.ZodString, "FilenameAffix", "out">;
13
13
  export type FilenameAffixType = z.infer<typeof FilenameAffix>;
@@ -3,5 +3,5 @@ export declare const HeightMillimetersError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const HeightMillimeters: z.core.$ZodBranded<z.ZodNumber, "HeightMillimeters">;
6
+ export declare const HeightMillimeters: z.core.$ZodBranded<z.ZodNumber, "HeightMillimeters", "out">;
7
7
  export type HeightMillimetersType = z.infer<typeof HeightMillimeters>;
@@ -3,5 +3,5 @@ export declare const HourSchemaError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const HourSchema: z.core.$ZodBranded<z.ZodNumber, "HourSchema">;
6
+ export declare const HourSchema: z.core.$ZodBranded<z.ZodNumber, "HourSchema", "out">;
7
7
  export type HourSchemaType = z.infer<typeof HourSchema>;
@@ -3,5 +3,5 @@ export declare const IbanSchemaError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const IbanSchema: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, "IbanSchema">;
6
+ export declare const IbanSchema: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, "IbanSchema", "out">;
7
7
  export type IbanSchemaType = z.infer<typeof IbanSchema>;
@@ -7,7 +7,7 @@ export declare const ImageHeightError: {
7
7
  Type: string;
8
8
  Length: string;
9
9
  };
10
- export declare const ImageWidth: z.core.$ZodBranded<z.ZodNumber, "ImageWidth">;
10
+ export declare const ImageWidth: z.core.$ZodBranded<z.ZodNumber, "ImageWidth", "out">;
11
11
  export type ImageWidthType = z.infer<typeof ImageWidth>;
12
- export declare const ImageHeight: z.core.$ZodBranded<z.ZodNumber, "ImageHeight">;
12
+ export declare const ImageHeight: z.core.$ZodBranded<z.ZodNumber, "ImageHeight", "out">;
13
13
  export type ImageHeightType = z.infer<typeof ImageHeight>;
@@ -3,5 +3,5 @@ export declare const IntegerNonNegativeError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const IntegerNonNegative: z.core.$ZodBranded<z.ZodNumber, "IntegerNonNegative">;
6
+ export declare const IntegerNonNegative: z.core.$ZodBranded<z.ZodNumber, "IntegerNonNegative", "out">;
7
7
  export type IntegerNonNegativeType = z.infer<typeof IntegerNonNegative>;
@@ -3,5 +3,5 @@ export declare const IntegerPositiveError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const IntegerPositive: z.core.$ZodBranded<z.ZodNumber, "IntegerPositive">;
6
+ export declare const IntegerPositive: z.core.$ZodBranded<z.ZodNumber, "IntegerPositive", "out">;
7
7
  export type IntegerPositiveType = z.infer<typeof IntegerPositive>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const IntegerError: {
3
3
  Type: string;
4
4
  };
5
- export declare const Integer: z.core.$ZodBranded<z.ZodNumber, "Integer">;
5
+ export declare const Integer: z.core.$ZodBranded<z.ZodNumber, "Integer", "out">;
6
6
  export type IntegerType = z.infer<typeof Integer>;
@@ -6,4 +6,4 @@ export declare const MimeValueError: {
6
6
  export declare const MimeValue: z.core.$ZodBranded<z.ZodPipe<z.ZodString, z.ZodTransform<{
7
7
  type: string;
8
8
  subtype: string;
9
- }, string>>, "MimeValue">;
9
+ }, string>>, "MimeValue", "out">;
@@ -3,5 +3,5 @@ export declare const MinuteSchemaError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const MinuteSchema: z.core.$ZodBranded<z.ZodNumber, "MinuteSchema">;
6
+ export declare const MinuteSchema: z.core.$ZodBranded<z.ZodNumber, "MinuteSchema", "out">;
7
7
  export type MinuteSchemaType = z.infer<typeof MinuteSchema>;
@@ -3,5 +3,5 @@ export declare const MoneyAmountError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const MoneyAmount: z.core.$ZodBranded<z.ZodNumber, "MoneyAmount">;
6
+ export declare const MoneyAmount: z.core.$ZodBranded<z.ZodNumber, "MoneyAmount", "out">;
7
7
  export type MoneyAmountType = z.infer<typeof MoneyAmount>;
@@ -4,5 +4,5 @@ export declare const MonthIsoIdError: {
4
4
  BadChars: string;
5
5
  Invalid: string;
6
6
  };
7
- export declare const MonthIsoId: z.core.$ZodBranded<z.ZodString, "MonthIsoId">;
7
+ export declare const MonthIsoId: z.core.$ZodBranded<z.ZodString, "MonthIsoId", "out">;
8
8
  export type MonthIsoIdType = z.infer<typeof MonthIsoId>;
@@ -3,5 +3,5 @@ export declare const MultiplicationFactorError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const MultiplicationFactor: z.core.$ZodBranded<z.ZodNumber, "MultiplicationFactor">;
6
+ export declare const MultiplicationFactor: z.core.$ZodBranded<z.ZodNumber, "MultiplicationFactor", "out">;
7
7
  export type MultiplicationFactorType = z.infer<typeof MultiplicationFactor>;
@@ -7,5 +7,5 @@ export declare const ObjectKeyError: {
7
7
  BadChars: string;
8
8
  DotSegments: string;
9
9
  };
10
- export declare const ObjectKey: z.core.$ZodBranded<z.ZodString, "ObjectKey">;
10
+ export declare const ObjectKey: z.core.$ZodBranded<z.ZodString, "ObjectKey", "out">;
11
11
  export type ObjectKeyType = z.infer<typeof ObjectKey>;
@@ -7,5 +7,5 @@ export declare const PackageVersionSchema: z.core.$ZodBranded<z.ZodPipe<z.ZodStr
7
7
  major: number;
8
8
  minor: number;
9
9
  patch: number;
10
- }, string>>, "PackageVersionSchema">;
10
+ }, string>>, "PackageVersionSchema", "out">;
11
11
  export type PackageVersionSchemaType = z.infer<typeof PackageVersionSchema>;
@@ -3,5 +3,5 @@ export declare const QuarterIsoIdError: {
3
3
  Type: string;
4
4
  BadChars: string;
5
5
  };
6
- export declare const QuarterIsoId: z.core.$ZodBranded<z.ZodString, "QuarterIsoId">;
6
+ export declare const QuarterIsoId: z.core.$ZodBranded<z.ZodString, "QuarterIsoId", "out">;
7
7
  export type QuarterIsoIdType = z.infer<typeof QuarterIsoId>;
@@ -4,7 +4,7 @@ export declare const RoundingDecimalError: {
4
4
  Type: string;
5
5
  Invalid: string;
6
6
  };
7
- export declare const RoundingDecimal: z.core.$ZodBranded<z.ZodNumber, "RoundingDecimal">;
7
+ export declare const RoundingDecimal: z.core.$ZodBranded<z.ZodNumber, "RoundingDecimal", "out">;
8
8
  export declare class RoundingDecimalStrategy implements RoundingStrategy {
9
9
  private readonly decimals;
10
10
  constructor(candidate: number);
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const SizeBytesError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const SizeBytes: z.core.$ZodBranded<z.ZodNumber, "SizeBytes">;
5
+ export declare const SizeBytes: z.core.$ZodBranded<z.ZodNumber, "SizeBytes", "out">;
6
6
  export type SizeBytesType = z.infer<typeof SizeBytes>;
@@ -4,5 +4,5 @@ export declare const TimeZoneOffsetValueError: {
4
4
  Min: string;
5
5
  Max: string;
6
6
  };
7
- export declare const TimeZoneOffsetValue: z.core.$ZodBranded<z.ZodDefault<z.ZodCoercedNumber<unknown>>, "TimeZoneOffsetValue">;
7
+ export declare const TimeZoneOffsetValue: z.core.$ZodBranded<z.ZodDefault<z.ZodCoercedNumber<unknown>>, "TimeZoneOffsetValue", "out">;
8
8
  export type TimeZoneOffsetValueType = z.infer<typeof TimeZoneOffsetValue>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const TimestampValueError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const TimestampValue: z.core.$ZodBranded<z.ZodNumber, "TimestampValue">;
5
+ export declare const TimestampValue: z.core.$ZodBranded<z.ZodNumber, "TimestampValue", "out">;
6
6
  export type TimestampValueType = z.infer<typeof TimestampValue>;
@@ -5,5 +5,5 @@ export declare const TimezoneError: {
5
5
  TooLong: string;
6
6
  Invalid: string;
7
7
  };
8
- export declare const Timezone: z.core.$ZodBranded<z.ZodString, "Timezone">;
8
+ export declare const Timezone: z.core.$ZodBranded<z.ZodString, "Timezone", "out">;
9
9
  export type TimezoneType = z.infer<typeof Timezone>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const UrlWithSlashError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const UrlWithSlash: z.core.$ZodBranded<z.ZodURL, "UrlWithSlash">;
5
+ export declare const UrlWithSlash: z.core.$ZodBranded<z.ZodURL, "UrlWithSlash", "out">;
6
6
  export type UrlWithSlashType = z.infer<typeof UrlWithSlash>;
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
2
2
  export declare const UrlWithoutSlashError: {
3
3
  Invalid: string;
4
4
  };
5
- export declare const UrlWithoutSlash: z.core.$ZodBranded<z.ZodURL, "UrlWithoutSlash">;
5
+ export declare const UrlWithoutSlash: z.core.$ZodBranded<z.ZodURL, "UrlWithoutSlash", "out">;
6
6
  export type UrlWithoutSlashType = z.infer<typeof UrlWithoutSlash>;
@@ -4,5 +4,5 @@ export declare const WeekIsoIdError: {
4
4
  BadChars: string;
5
5
  Invalid: string;
6
6
  };
7
- export declare const WeekIsoId: z.core.$ZodBranded<z.ZodString, "WeekIsoId">;
7
+ export declare const WeekIsoId: z.core.$ZodBranded<z.ZodString, "WeekIsoId", "out">;
8
8
  export type WeekIsoIdType = z.infer<typeof WeekIsoId>;
@@ -3,5 +3,5 @@ export declare const WeightGramsError: {
3
3
  Type: string;
4
4
  Invalid: string;
5
5
  };
6
- export declare const WeightGrams: z.core.$ZodBranded<z.ZodNumber, "WeightGrams">;
6
+ export declare const WeightGrams: z.core.$ZodBranded<z.ZodNumber, "WeightGrams", "out">;
7
7
  export type WeightGramsType = z.infer<typeof WeightGrams>;
@@ -3,5 +3,5 @@ export declare const YearIsoIdError: {
3
3
  Type: string;
4
4
  BadChars: string;
5
5
  };
6
- export declare const YearIsoId: z.core.$ZodBranded<z.ZodString, "YearIsoId">;
6
+ export declare const YearIsoId: z.core.$ZodBranded<z.ZodString, "YearIsoId", "out">;
7
7
  export type YearIsoIdType = z.infer<typeof YearIsoId>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgord/tools",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bartosz Gordon",
@@ -33,14 +33,14 @@
33
33
  "only-allow": "1.2.2",
34
34
  "shellcheck": "4.1.0",
35
35
  "typescript": "5.9.3",
36
- "zod": "4.2.1"
36
+ "zod": "4.3.2"
37
37
  },
38
38
  "dependencies": {
39
39
  "date-fns": "4.1.0",
40
40
  "mime-types": "3.0.2"
41
41
  },
42
42
  "peerDependencies": {
43
- "zod": "4.2.1"
43
+ "zod": "4.3.2"
44
44
  },
45
45
  "sideEffects": false
46
46
  }