Collection of libs: http exceptions, dsn-parser...
MIT License
Bot releases are visible (Hide)
Published by belgattitude 10 months ago
28687e1
Thanks @belgattitude! - Release with npm provenance
Updated dependencies [28687e1
]:
Published by belgattitude 10 months ago
#873 62332de
Thanks @belgattitude! - Stack traces won't be serialized anymore by default as they
might contain sensitive information in production.
For development or logging, it's possible to opt-in stack serialization selectively in
convertToSerializable
, createFromSerializable
, toJson
and fromJson
functions thanks
to the SerializerParams.includeStack
param.
import { fromJson, toJson } from "@httpx/exception";
const json = toJson(new HttpException(500), {
includeStack: process.env.NODE_ENV === "development",
});
const e = fromJson(json, {
includeStack: process.env.NODE_ENV === "development",
});
#865 a1b3c9f
Thanks @belgattitude! - Remove deprecated errors
param from HttpBadRequest
, use issues
in HttpUnprocessableEntity
instead
#865 a1b3c9f
Thanks @belgattitude! - Remove deprecated errors
params from HttpUnprocessableEntity
, use issues
instead
#865 a1b3c9f
Thanks @belgattitude! - Remove deprecated type HttpStatusCode
, use HttpErrorStatusCode
instead.
#865 a1b3c9f
Thanks @belgattitude! - Remove deprecated type ValidationError
, use HttpValidationIssue
instead.
#865 a1b3c9f
Thanks @belgattitude! - Reduce typical usage bundle size to 400b-660b range
#873 62332de
Thanks @belgattitude! - Add SerializerParams.includeStack
to toJson
and fromJson
serialization functions.
#873 62332de
Thanks @belgattitude! - Add SerializerParams.includeStack
to convertToSerializable
and createFromSerializable
serialization functions.
#870 5ea92c1
Thanks @belgattitude! - Fix cause support in SerializerError on env that doesn't support Error.cause
#875 b6e2941
Thanks @belgattitude! - Update to rollup 4.9.4
#869 c65e11a
Thanks @belgattitude! - Fix missing export of isObjectWithErrorStatusCode
Published by belgattitude 10 months ago
b6e2941
Thanks @belgattitude! - Update to rollup 4.9.4Published by belgattitude 10 months ago
b6e2941
Thanks @belgattitude! - Update to rollup 4.9.4Published by belgattitude 10 months ago
#858 76fd8dc
Thanks @belgattitude! - Release with no changes
Updated dependencies [76fd8dc
]:
Published by belgattitude 10 months ago
76fd8dc
Thanks @belgattitude! - Release with no changesPublished by belgattitude 10 months ago
76fd8dc
Thanks @belgattitude! - Release with no changesPublished by belgattitude 10 months ago
76fd8dc
Thanks @belgattitude! - Release with no changesPublished by belgattitude 10 months ago
76fd8dc
]:
Published by belgattitude 10 months ago
b418b0b
, f01defc
]:
Published by belgattitude 10 months ago
b418b0b
Thanks @belgattitude! - Release unreleased patchesPublished by belgattitude 10 months ago
b418b0b
Thanks @belgattitude! - Release unreleased patches
#854 f01defc
Thanks @belgattitude! - Add doc for nested errors
Published by belgattitude 10 months ago
b418b0b
, f01defc
]:
Published by belgattitude 10 months ago
e17f083
Thanks @belgattitude! - Fix potential cyclic importsPublished by belgattitude 10 months ago
e17f083
]:
Published by belgattitude 10 months ago
4dad928
Thanks @belgattitude! - Fix export of empty chunks for type only exportsPublished by belgattitude 10 months ago
e17f083
]:
Published by belgattitude 10 months ago
7d399ec
Thanks @belgattitude! - Rename isStrNotEmpty into isStringNonEmpty
#847 6b3f2d6
Thanks @belgattitude! - Ass weak opaque type support for primitive types
#837 ff994ff
Thanks @belgattitude! - add assertStrParsableStrictIsoDateZ and isStrParsableStrictIsoDateZ
7d399ec
Thanks @belgattitude! - Rename isStrParsableSafeInt into isParsableSafeInt
7d399ec
Thanks @belgattitude! - Rename isArrayNotEmpty into isArrayNonEmpty
#844 4ccebfe
Thanks @belgattitude! - remove trim parameter from isStrNotEmpty