shrub/pkg/npm/http-api/setupEnv.js

9 lines
257 B
JavaScript
Raw Normal View History

2021-07-12 05:07:19 +03:00
require('event-target-polyfill');
require('yet-another-abortcontroller-polyfill');
require('cross-fetch/polyfill');
require('fast-text-encoding');
require('web-streams-polyfill');
global.ReadableStream = require('web-streams-polyfill').ReadableStream;