yar
yar copied to clipboard
A hapi session manager
- This is a proposition to enforce yar typings - Increases visibility into session data - Enforces consistent flash types
### Runtime Node ### Runtime version v20.12.0 ### Module version 11.0.2 ### Used with @hapi/boom, @hapi/cookie, @hapi/hapi, @hapi/inert, @hapi/vision ### Any other relevant information I'm using `@hapi/cookie` for the authentication...
### Runtime nodejs ### Runtime version 20.10.0 ### Module version 11.0.1 ### Used with hapi ### Any other relevant information _No response_ ### What problem are you trying to solve?...
#### Support plan * *is this issue currently blocking your project?*: no * *is this issue affecting a production system?*: no #### Context * *node version*: v18.2.0 * *module version*:...
This PR adds a check before copying stored keys to the `yar` object in lazy mode to prevent adding undefined values. ### Problem In some cases the `yar.onPreAuth()` can be...