Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c1e4425
chore: change CI target for next
Marsup Nov 8, 2023
faf4cf6
chore: add next branch to CI targets
Marsup Nov 8, 2023
5c6f895
chore: bump lab
Marsup Oct 23, 2024
82ebb75
Merge remote-tracking branch 'origin/master' into next
Marsup Jul 31, 2026
87ad298
Rework to be a regular class instance
kanongil Dec 1, 2023
0f2eafd
Tighten input types and make cause option explicit
kanongil Dec 4, 2023
ebfd06b
Remove decorate option
kanongil Dec 4, 2023
cf9964a
Allow to boomify non-Error errors
kanongil Dec 4, 2023
49b4cc8
Make _apply internal
kanongil Dec 4, 2023
936187a
Make isBoom a prototype property
kanongil Dec 4, 2023
3ea340b
Make isServer property computed
kanongil Dec 4, 2023
8629a76
Refactor output and payload to classes
kanongil Dec 5, 2023
be75eac
Remove unauthorized payload.attributes
kanongil Dec 5, 2023
5854e21
Fix WWW-Authenticate header when empty attributes
kanongil Dec 5, 2023
15f95df
Refactor implementation to use helpers
kanongil Dec 5, 2023
c3ca934
Add and use a Boom "headers" option
kanongil Dec 5, 2023
642f4d5
Use statusError for all helpers
kanongil Dec 5, 2023
a3404af
Throw TypeError instead of Hoek assertion
kanongil Dec 5, 2023
8a3397d
Remove typeof property
kanongil Dec 5, 2023
bc538a4
Fix legacy boom object support
kanongil Dec 6, 2023
7734f55
Add tests for "name" property
kanongil Dec 7, 2023
bf96fd9
Explicit cause in super() call
kanongil Dec 7, 2023
ab72170
Assign .cause if not handled by super() call
kanongil Dec 7, 2023
c7edc9e
Fix and update typings
kanongil Dec 7, 2023
4159dde
Clone incoming headers
kanongil Dec 7, 2023
7c10de2
Cleanup typings
kanongil Dec 7, 2023
7dd941e
Narrow typings
kanongil Dec 11, 2023
6c15e5b
Revert "Remove decorate option"
kanongil Dec 7, 2023
56f68c6
Use decorate option internally
kanongil Dec 7, 2023
e028366
Allow usage on runtimes with no Error.captureStackTrace()
kanongil Oct 24, 2024
7cdb489
Update docs
kanongil Oct 24, 2024
65f4dc5
Restore decorate option to typings
kanongil Oct 24, 2024
5f95c1b
Make reformat() apply to initial payload
kanongil Dec 7, 2023
e412efb
Update typescript
kanongil Oct 24, 2024
c04639e
Fix tests on windows filesystem
kanongil Oct 24, 2024
01643e9
Don't set cause when not in the options
kanongil Oct 26, 2024
413224d
Allow isServer to be written to
kanongil Oct 26, 2024
af7b957
Fix boomify option typings
kanongil Oct 26, 2024
46fe6b0
Improve boomify typings
kanongil Oct 26, 2024
c748aae
Document headers option
kanongil Oct 26, 2024
aea4536
Require data option when Data generic is not unknown
kanongil Oct 30, 2024
7221915
Remove decorate option
kanongil Oct 30, 2024
26462c1
Improve boomify data type support
kanongil Oct 31, 2024
c10512e
Improve docs
kanongil Oct 31, 2024
46b4234
Fix notImplemented and more setting Error cause
kanongil Oct 31, 2024
e908066
Cleanup
kanongil Oct 31, 2024
e76e128
Ignore all non-object headers option
kanongil Nov 1, 2024
f235761
Shallow copy headers and throw when bad
kanongil Nov 4, 2024
9b51c19
Directly require escapeHeaderAttribute
kanongil Nov 4, 2024
d36c812
chore: convert module to ESM
Marsup Aug 1, 2026
edfc996
chore: add regression tests based on #307
Marsup Aug 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/ci-module.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: ci

on:
push:
branches:
- master
pull_request:
workflow_dispatch:
push:
branches:
- master
- next
pull_request:
workflow_dispatch:

jobs:
test:
uses: hapijs/.github/.github/workflows/ci-module.yml@master
with:
min-node-version: 14
test:
uses: hapijs/.github/.github/workflows/ci-module.yml@min-node-22-hapi-21
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**/node_modules
**/package-lock.json

coverage.*
coverage/

**/.DS_Store
**/._*
Expand Down
Loading