UNPKG

http-errors-enhanced

Version:

Create HTTP errors with additional properties for any framework.

202 lines (112 loc) 3.37 kB
### 2024-12-28 / 3.0.2 - chore: Updated dependencies. ### 2024-12-22 / 3.0.1 - fix: Removed invalid OpenAPI keywords. - chore: Fixed Node.js version in CI. ### 2024-10-21 / 3.0.0 - feat: Support Error.cause. Fixes #6. - feat!: Dropped support for Node 18 and updated dependencies. ### 2024-04-12 / 2.0.8 - chore: Updated dependencies. - chore: Added missing dependency. ### 2024-02-07 / 2.0.7 - chore: Updated dependencies. - chore: Fixed generator. - chore: Replaced tap with Node test runner. - chore: Updated readme. ### 2024-01-27 / 2.0.6 - chore: Fixed build. ### 2024-01-27 / 2.0.5 ### 2024-01-27 / 2.0.4 - chore: Updated dependencies. ### 2024-01-24 / 2.0.3 - fix: Downgrade @swc/cli. ### 2024-01-24 / 2.0.2 - fix: Fixed package.json ### 2024-01-24 / 2.0.1 - chore: Updated dependencies. ### 2023-12-20 / 2.0.0 - chore: Updated dependencies. - feat: Merge pull request #3 from princemuel/main - feat: update isHttpError return type - chore: Changed TypeScript version. - chore: Removed outdated option. ### 2023-10-23 / 1.1.2 - fix: Do not use incremental builds. ### 2023-10-23 / 1.1.1 - fix: Do not use incremental builds. ### 2023-10-23 / 1.1.0 - fix: Fixing build. - fix: Fixed tap upgrade. - chore: Updated dependencies. - chore: Fixed compilation. - chore: CI improvement ### 2022-11-23 / 1.0.13 - chore: Updated dependencies. - fix: Fixed build script. ### 2022-10-12 / 1.0.12 - chore: Updated dependencies. ### 2022-10-12 / 1.0.11 - fix: Updated types layout. ### 2022-10-12 / 1.0.10 - fix: Updated types layout. ### 2022-08-31 / 1.0.9 - fix: Use right ids. - chore: Updated compilation configuration. ### 2022-08-30 / 1.0.8 - chore: Updated dependencies. ### 2022-08-29 / 1.0.7 - chore: Updated dependencies. - chore: Use sourcemaps with swc ### 2022-03-07 / 1.0.6 - chore: Fix CI. - chore: Fix CI. - chore: Updated dependencies. ### 2022-03-07 / 1.0.5 - chore: Updated build system. ### 2022-01-26 / 1.0.4 ### 2022-01-26 / 1.0.3 - chore: Updated dependencies. - chore: Updated dependencies. - chore: Removed useless file. ### 2021-11-17 / 1.0.2 ### 2021-11-16 / 1.0.1 - fix: Added ESM note in the README.md - chore: Allow manual CI triggering. - chore: Updated badges. - fix: Fixed Typescript configuration. ### 2021-08-14 / 1.0.0 ### 2021-08-14 / 1.0.0-beta.0 - feat: Only export as ESM. - chore: Fine tuned build script. ### 2021-01-04 / 0.7.0 - feat: Export as ESM. ### 2021-01-03 / 0.6.1 - chore: Updated linter config. ### 2021-01-02 / 0.6.0 - chore: Updated dependencies, code and tools. ### 2020-12-07 / 0.5.2 - feat: Improve error serializing. ### 2020-12-07 / 0.5.1 - fix: Allow omitting stack in serialized errors. ### 2020-12-07 / 0.5.0 - feat: Fix errors property in 500 and 502 errors schema. ### 2020-12-05 / 0.4.3 - fix: Fixed HTTP error JSON schema naming. ### 2020-11-30 / 0.4.2 - fix: Fix schemas. ### 2020-11-30 / 0.4.1 - fix: Use right logic for exposing. ### 2020-11-30 / 0.4.0 - feat: Improve code property masking. ### 2020-11-30 / 0.3.2 - feat: Output code depending on the expose flag. ### 2020-11-29 / 0.3.1 - fix: Fixed schemas. ### 2020-11-29 / 0.3.0 - feat: Correctly configure properties. ### 2020-11-29 / 0.2.0 - fix: Fixed 500 error class name. - feat: Export addAdditionalProperties. ### 2020-11-29 / 0.1.0 - Initial version.