We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24709bb commit d9a4623Copy full SHA for d9a4623
util.js
@@ -717,3 +717,10 @@ exports.callbackify = callbackify;
717
const textEncoding = require('text-encoding-polyfill');
718
exports.TextEncoder = textEncoding.TextEncoder;
719
exports.TextDecoder = textEncoding.TextDecoder;
720
+
721
+Object.defineProperty(global, 'TextEncoder', {
722
+ value: textEncoding.TextEncoder,
723
+ writable: true,
724
+ enumerable: false,
725
+ configurable: true,
726
+});
0 commit comments