Skip to content

Commit

Permalink
Restore es5 compatibility in @babel/runtime/regenerator (#14588)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowcs committed May 25, 2022
1 parent f8cf03c commit a2ef665
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/babel-runtime-corejs2/regenerator/index.js
@@ -1,6 +1,6 @@
// TODO(Babel 8): Remove this file.

const runtime = require("../helpers/regeneratorRuntime")();
var runtime = require("../helpers/regeneratorRuntime")();
module.exports = runtime;

// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-runtime-corejs3/regenerator/index.js
@@ -1,6 +1,6 @@
// TODO(Babel 8): Remove this file.

const runtime = require("../helpers/regeneratorRuntime")();
var runtime = require("../helpers/regeneratorRuntime")();
module.exports = runtime;

// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-runtime/regenerator/index.js
@@ -1,6 +1,6 @@
// TODO(Babel 8): Remove this file.

const runtime = require("../helpers/regeneratorRuntime")();
var runtime = require("../helpers/regeneratorRuntime")();
module.exports = runtime;

// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
Expand Down

0 comments on commit a2ef665

Please sign in to comment.