Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Respect older versions in invert equals map #180

Merged
merged 9 commits into from
Mar 3, 2017
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion data/built-ins.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"firefox": 4,
"safari": 6,
"node": 0.12,
"android": 4.4,
"ios": 7
},
"es6.typed.int16-array": {
Expand Down Expand Up @@ -118,6 +119,7 @@
"chrome": 51,
"firefox": 53,
"safari": 9,
"node": 6.5,
"ios": 9,
"opera": 38
},
Expand All @@ -126,6 +128,7 @@
"edge": 15,
"firefox": 53,
"safari": 9,
"node": 6.5,
"ios": 9,
"opera": 38
},
Expand All @@ -134,6 +137,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -142,6 +146,7 @@
"edge": 13,
"firefox": 45,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -150,6 +155,7 @@
"edge": 13,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -158,6 +164,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -166,6 +173,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -174,6 +182,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -182,6 +191,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -190,6 +200,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -198,6 +209,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -206,6 +218,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -214,6 +227,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -222,6 +236,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -230,6 +245,7 @@
"edge": 12,
"firefox": 42,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 36
},
Expand All @@ -246,6 +262,7 @@
"chrome": 51,
"firefox": 51,
"safari": 10,
"node": 6.5,
"ios": 10,
"opera": 38
},
Expand Down Expand Up @@ -273,6 +290,7 @@
"safari": 9,
"node": 0.12,
"ie": 11,
"android": 5,
"ios": 9,
"opera": 21
},
Expand Down Expand Up @@ -351,6 +369,7 @@
"chrome": 49,
"firefox": 37,
"safari": 9,
"node": 6,
"ios": 9,
"opera": 36
},
Expand Down Expand Up @@ -446,6 +465,7 @@
"firefox": 28,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -464,6 +484,7 @@
"firefox": 16,
"safari": 9,
"node": 0.12,
"android": 5,
"ios": 9,
"opera": 21
},
Expand All @@ -473,6 +494,7 @@
"firefox": 32,
"safari": 9,
"node": 0.12,
"android": 5,
"ios": 9,
"opera": 21
},
Expand All @@ -491,6 +513,7 @@
"firefox": 25,
"safari": 9,
"node": 0.12,
"android": 5,
"ios": 9,
"opera": 21
},
Expand All @@ -500,6 +523,7 @@
"firefox": 31,
"safari": 9,
"node": 0.12,
"android": 5,
"ios": 9,
"opera": 21
},
Expand All @@ -509,6 +533,7 @@
"firefox": 31,
"safari": 9,
"node": 0.12,
"android": 5,
"ios": 9,
"opera": 21
},
Expand All @@ -518,6 +543,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -527,6 +553,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -536,6 +563,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -545,6 +573,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -554,6 +583,7 @@
"firefox": 31,
"safari": 9,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -563,6 +593,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -572,6 +603,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -581,6 +613,7 @@
"firefox": 26,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -590,6 +623,7 @@
"firefox": 27,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -609,6 +643,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -618,6 +653,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -627,6 +663,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -636,6 +673,7 @@
"firefox": 25,
"safari": 9,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -645,6 +683,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -654,6 +693,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because of this matches both tests in compat-table and only one is true in sf10.

This happens because of this logic: https://github.com/babel/babel-preset-env/blob/master/scripts/build-data.js#L89

I think this is okay, as in sf10 it seems to be not implemented completely, but not sure what the intention was here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm if it's a top level thing it's supposed to match on both

like in "es6.array.iterator"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That what it is doing (now)? and only on of the features is available on sf10

"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -663,6 +703,7 @@
"firefox": 25,
"safari": 8,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -671,28 +712,31 @@
"edge": 14,
"firefox": 43,
"safari": 10,
"node": 6,
"ios": 10,
"opera": 34
},
"es7.object.values": {
"chrome": 54,
"edge": 14,
"firefox": 47,
"safari": 10.1,
"node": 7,
"opera": 41
},
"es7.object.entries": {
"chrome": 54,
"edge": 14,
"firefox": 47,
"safari": 10.1,
"node": 7,
"opera": 41
},
"es7.object.get-own-property-descriptors": {
"chrome": 54,
"edge": 15,
"firefox": 50,
"safari": 10,
"safari": 10.1,
"node": 7,
"opera": 41
},
Expand Down
4 changes: 4 additions & 0 deletions data/plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"firefox": 36,
"safari": 9,
"node": 0.12,
"android": 5.1,
"ios": 9,
"opera": 25
},
Expand All @@ -171,11 +172,14 @@
"chrome": 52,
"edge": 14,
"firefox": 52,
"safari": 10.1,
"node": 7,
"opera": 39
},
"transform-async-to-generator": {
"chrome": 55,
"firefox": 52,
"safari": 10.1,
"node": 7.6,
"opera": 42
},
Expand Down
Loading