Prior to this change if your schema was in a Buffer, the validator would seem to work and pass all json as valid, but in reality it wasn't validating anything.
Unfortunately, I think that using the Buffer global will bring in the entire Buffer-polyfill when building this for the browser, could we use the is-buffer package instead?
Do you think that this should be a major or patch release? 🤔
Prior to this change if your schema was in a Buffer, the validator would seem to work and pass all json as valid, but in reality it wasn't validating anything.