Module version
4.0.1
What documentation problem did you notice?
When upgrading to hapi/bourne >= 4, the code breaks because you no longer have to do this:
import Bourne from 'hapi/bourne'
// ...
parseJson: text => Bourne.safeParse(text)
Instead, you have to do this:
import { safeParse } from '@hapi/bourne'
// ...
parseJson: text => safeParse(text)
The thing is, while it's really minor and I solved the problem in seconds, this change isn't documented anywhere.
Module version
4.0.1
What documentation problem did you notice?
When upgrading to
hapi/bourne>= 4, the code breaks because you no longer have to do this:Instead, you have to do this:
The thing is, while it's really minor and I solved the problem in seconds, this change isn't documented anywhere.