You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
448 B

3 months ago
  1. // TODO(Babel 8): Remove this file.
  2. var runtime = require("../helpers/regeneratorRuntime")();
  3. module.exports = runtime;
  4. // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
  5. try {
  6. regeneratorRuntime = runtime;
  7. } catch (accidentalStrictMode) {
  8. if (typeof globalThis === "object") {
  9. globalThis.regeneratorRuntime = runtime;
  10. } else {
  11. Function("r", "regeneratorRuntime = r")(runtime);
  12. }
  13. }