-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing
instance/
prefixes to babel-runtime data
- Loading branch information
1 parent
ac9817f
commit f6de94a
Showing
5 changed files
with
47 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...lugin-polyfill-corejs3/test/fixtures/regression/babel-runtime-missing-proposals/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Promise.allSettled(1, 2, 3); | ||
Observable(1, 2, 3); | ||
Observable(1, 2, 3); | ||
foo.forEach(cb); |
2 changes: 2 additions & 0 deletions
2
...ugin-polyfill-corejs3/test/fixtures/regression/babel-runtime-missing-proposals/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import _Promise from "@babel/runtime-corejs3/core-js/promise.js"; | ||
import _Observable from "@babel/runtime-corejs3/core-js/observable.js"; | ||
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each.js"; | ||
_Promise.allSettled(1, 2, 3); | ||
_Observable(1, 2, 3); | ||
_forEachInstanceProperty(foo).call(foo, cb); |
3 changes: 2 additions & 1 deletion
3
...es/babel-plugin-polyfill-corejs3/test/fixtures/regression/babel-runtime-missing/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Promise.allSettled(1, 2, 3); | ||
Observable(1, 2, 3); | ||
Observable(1, 2, 3); | ||
foo.forEach(cb); |
2 changes: 2 additions & 0 deletions
2
...s/babel-plugin-polyfill-corejs3/test/fixtures/regression/babel-runtime-missing/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import _Promise from "@babel/runtime-corejs3/core-js-stable/promise.js"; | ||
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each.js"; | ||
_Promise.allSettled(1, 2, 3); | ||
Observable(1, 2, 3); | ||
_forEachInstanceProperty(foo).call(foo, cb); |