In Node14, writeFileSync performs a validation (validateStringAfterArrayBufferView) on the data passed into it and only accepts certain data types (i.e. string, Buffer, TypedArray, or DataView).
Currently runner.js passes a SourceMapGenerator into writeFileSync. So it needs to be converted into an accepted type (i.e a string).
This is a change that happened in google internal and should be upstreamed.
In Node14,
writeFileSync
performs a validation (validateStringAfterArrayBufferView) on the data passed into it and only accepts certain data types (i.e. string, Buffer, TypedArray, or DataView).Currently
runner.js
passes a SourceMapGenerator into writeFileSync. So it needs to be converted into an accepted type (i.e a string).This is a change that happened in google internal and should be upstreamed.