Skip to content

Commit

Permalink
update configs (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke authored Apr 6, 2024
1 parent 7fe41c3 commit 67b06f1
Show file tree
Hide file tree
Showing 33 changed files with 132 additions and 61 deletions.
6 changes: 3 additions & 3 deletions polyfills/Array/prototype/toReversed/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/Array/prototype/toSorted/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/Array/prototype/toSpliced/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/Array/prototype/with/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/Map/groupBy/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ ie_mob = "*"
opera = "<103"
op_mob = "<78"
op_mini = "*"
safari = "*"
ios_saf = "*"
samsung_mob = "*"
safari = "<17.4"
ios_saf = "<17.4"
samsung_mob = "<24.0"
1 change: 0 additions & 1 deletion polyfills/Object/freeze/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ android = "*"
bb = "*"
chrome = "<6"
firefox = "<4"
firefox_mob = "*"
ie = "<9"
ie_mob = "*"
opera = "<12"
Expand Down
6 changes: 3 additions & 3 deletions polyfills/Object/groupBy/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ ie_mob = "*"
opera = "<103"
op_mob = "<78"
op_mini = "*"
safari = "*"
ios_saf = "*"
samsung_mob = "*"
safari = "<17.4"
ios_saf = "<17.4"
samsung_mob = "<24.0"
2 changes: 1 addition & 1 deletion polyfills/Promise/withResolvers/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ op_mob = "<79"
op_mini = "*"
safari = "<17.4"
ios_saf = "<17.4"
samsung_mob = "*"
samsung_mob = "<25.0"
2 changes: 2 additions & 0 deletions polyfills/Reflect/apply/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.apply"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/apply"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
dependencies = [ ]
spec = "https://tc39.github.io/ecma262/#sec-reflect-object"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/construct/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.construct"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/defineProperty/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.defineproperty"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/defineProperty"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/deleteProperty/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.deleteproperty"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/deleteProperty"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/get/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.get"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/get"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/getOwnPropertyDescriptor/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/getOwnPropertyDescriptor"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/getPrototypeOf/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.getprototypeof"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/getPrototypeOf"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/has/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.has"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/isExtensible/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.isextensible"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/isExtensible"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/ownKeys/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.ownkeys"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/preventExtensions/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.preventextensions"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/preventExtensions#"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Reflect/set/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies = [
]
spec = "https://tc39.github.io/ecma262/#sec-reflect.set"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/set"

[browsers]
android = "<5"
bb = "*"
Expand Down
3 changes: 3 additions & 0 deletions polyfills/Reflect/setPrototypeOf/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ dependencies = [
"_ESAbstract.Type",
"Object.setPrototypeOf"
]

spec = "https://tc39.github.io/ecma262/#sec-reflect.setprototypeof"

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/setPrototypeOf"

[browsers]
android = "<5"
bb = "*"
Expand Down
2 changes: 2 additions & 0 deletions polyfills/Set/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ notes = [
"The test suite for this polyfill is derived from work of Andrea Giammarchi which is [published under an MIT licence](https://github.com/WebReflection/es6-collections)"
]

docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set"

[browsers]
android = "<5.1"
bb = "10 - *"
Expand Down
10 changes: 5 additions & 5 deletions polyfills/String/prototype/isWellFormed/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ bb = "*"
chrome = "<111"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<119"
firefox_mob = "<119"
ie = "*"
ie_mob = "*"
opera = "*"
op_mob = "*"
opera = "<97"
op_mob = "<75"
op_mini = "*"
safari = "<16.4"
ios_saf = "<16.4"
samsung_mob = "*"
samsung_mob = "<22.0"
10 changes: 5 additions & 5 deletions polyfills/String/prototype/toWellFormed/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ bb = "*"
chrome = "<111"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<119"
firefox_mob = "<119"
ie = "*"
ie_mob = "*"
opera = "*"
op_mob = "*"
opera = "<97"
op_mob = "<75"
op_mini = "*"
safari = "<16.4"
ios_saf = "<16.4"
samsung_mob = "*"
samsung_mob = "<22.0"
2 changes: 0 additions & 2 deletions polyfills/TypedArray/prototype/sort/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global
android = "*"
bb = "*"
chrome = "<45"
edge = "<12"
edge_mob = "<12"
firefox = "<46"
firefox_mob = "<46"
ie = "*"
Expand Down
6 changes: 3 additions & 3 deletions polyfills/TypedArray/prototype/toReversed/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/TypedArray/prototype/toSorted/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
6 changes: 3 additions & 3 deletions polyfills/TypedArray/prototype/with/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ bb = "*"
chrome = "<110"
edge = "*"
edge_mob = "*"
firefox = "*"
firefox_mob = "*"
firefox = "<115"
firefox_mob = "<115"
ie = "*"
ie_mob = "*"
opera = "<96"
op_mob = "<74"
op_mini = "*"
safari = "<16.3"
ios_saf = "<16.3"
samsung_mob = "*"
samsung_mob = "<21.0"
2 changes: 1 addition & 1 deletion polyfills/UserTiming/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ firefox_mob = "<38"
ie = "<10"
ie_mob = "<10"
opera = "<15"
op_mob = "*"
op_mob = "<14"
safari = "<14.1"
ios_saf = "<14.0"
samsung_mob = "<1.5"
Expand Down
8 changes: 4 additions & 4 deletions polyfills/screen/orientation/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ bb = "*"
chrome = "<49"
edge = "*"
edge_mob = "*"
firefox = "<30"
firefox_mob = "<30"
firefox = "<43"
firefox_mob = "<43"
ie = ">=9"
ie_mob = "*"
opera = "<25"
op_mob = "<36"
safari = "*"
ios_saf = "*"
safari = "<16.4"
ios_saf = "<16.4"
samsung_mob = "<5.0"
6 changes: 3 additions & 3 deletions tasks/lint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ fetchBCD().then((browserData) => {
}
}).filter((x) => !!x);

if (mapped && mapped.length > 0) {
if (mapped && mapped.length > 0 && mapped.length !== ChromeAndroidToOperaAndroid.length) {
config.browsers[browser] = mapped.join(' || ');
}
}
Expand All @@ -209,7 +209,7 @@ fetchBCD().then((browserData) => {
}
}).filter((x) => !!x);

if (mapped && mapped.length > 0) {
if (mapped && mapped.length > 0 && mapped.length !== ChromeAndroidToSamsung.length) {
config.browsers[browser] = mapped.join(' || ');
}
}
Expand All @@ -227,7 +227,7 @@ fetchBCD().then((browserData) => {
}
}).filter((x) => !!x);

if (mapped && mapped.length > 0) {
if (mapped && mapped.length > 0 && mapped.length !== SafariToIOS.length) {
config.browsers[browser] = mapped.join(' || ');
}
}
Expand Down
Loading

0 comments on commit 67b06f1

Please sign in to comment.