Small fixes
A selection of 80 fixes from 174 pull requests.
48.Binding byte arrays
The driver rejected automatically bound byte arrays because its binary validator expected a Buffer. Adapt the array while preserving its byte offset and length.
1234567891011const byteArrayParameterType: DataType = { ...Tedious.TYPES.VarBinary, validate(value, collation, options) { return Tedious.TYPES.VarBinary.validate( Buffer.isBuffer(value) ? value : Buffer.from(value.buffer, value.byteOffset, value.byteLength), collation, options ) }}