Skip to content

Commit

Permalink
Add es2019 alias for all the new features which were added to the spe…
Browse files Browse the repository at this point in the history
…c in that version (#483)
  • Loading branch information
Jake Champion committed Feb 24, 2020
1 parent 9dfc036 commit 3568106
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions polyfills/Array/prototype/flat/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
alias = [
"es2019"
]
dependencies = [
"_ESAbstract.CreateMethodProperty",
"_ESAbstract.ToObject",
Expand Down
3 changes: 3 additions & 0 deletions polyfills/Array/prototype/flatMap/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
alias = [
"es2019"
]
dependencies = [
"_ESAbstract.CreateMethodProperty",
"_ESAbstract.ToObject",
Expand Down
3 changes: 1 addition & 2 deletions polyfills/Object/fromEntries/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aliases = [ ]
aliases = ["es2019"]
dependencies = [
"_ESAbstract.CreateMethodProperty",
"_ESAbstract.RequireObjectCoercible",
Expand Down Expand Up @@ -26,4 +26,3 @@ op_mob = "*"
opera = "*"
safari = "<12.1"
samsung_mob = "*"

2 changes: 1 addition & 1 deletion polyfills/String/prototype/trimEnd/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aliases = [ ]
aliases = [ "es2019" ]
dependencies = [ "_ESAbstract.CreateMethodProperty", "_ESAbstract.TrimString" ]
spec = "https://tc39.github.io/ecma262/#sec-string.prototype.trimend"
docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimEnd"
Expand Down
2 changes: 1 addition & 1 deletion polyfills/String/prototype/trimStart/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aliases = [ ]
aliases = [ "es2019" ]
dependencies = [ "_ESAbstract.CreateMethodProperty", "_ESAbstract.TrimString" ]
spec = "https://tc39.github.io/ecma262/#sec-string.prototype.trimstart"
docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimStart"
Expand Down

0 comments on commit 3568106

Please sign in to comment.