Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent crash when accessing TextDecoder (#684)
The TextDecoder object was added on the global object in Node.js v11.0.0, so older versions would throw: > ReferenceError: TextDecoder is not defined Reference: https://nodejs.org/api/util.html#new-textdecoderencoding-options
- Loading branch information