Skip to content

Commit 755da31

Browse files
committed
run make update-compat-table
1 parent a1d9c86 commit 755da31

File tree

5 files changed

+50
-52
lines changed

5 files changed

+50
-52
lines changed

compat-table/package-lock.json

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compat-table/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"githubDependencies": {
3-
"kangax/compat-table": "b3427ba3a2d6fd2dc427c3dfcf191832f634eb06",
4-
"williamkapke/node-compat-table": "c10606cfc85fbe3a31cfd58f23fad872ad5fa5bc"
3+
"kangax/compat-table": "2cf14889667b266a5ba48cf8359539e3b0f4377e",
4+
"williamkapke/node-compat-table": "28dd58c687e0fd309bfa5db0647d0cf94ea8445f"
55
},
66
"dependencies": {
7-
"@mdn/browser-compat-data": "^6.0.15",
7+
"@mdn/browser-compat-data": "^7.1.5",
88
"@types/caniuse-lite": "1.0.1",
99
"@types/node": "20.3.2",
10-
"caniuse-lite": "^1.0.30001718"
10+
"caniuse-lite": "^1.0.30001741"
1111
}
1212
}

compat-table/src/mdn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const supportedEnvironments: Record<string, Engine> = {
1616
}
1717

1818
const jsFeatures: Partial<Record<JSFeature, string>> = {
19-
ClassStaticBlocks: 'javascript.classes.static_initialization_blocks',
19+
ClassStaticBlocks: 'javascript.classes.static.initialization_blocks',
2020
ExportStarAs: 'javascript.statements.export.namespace',
2121
ImportAssertions: 'javascript.statements.import.import_assertions',
2222
ImportAttributes: 'javascript.statements.import.import_attributes',

internal/compat/css_table.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ var cssPrefixTable = map[css_ast.D][]prefixData{
221221
{engine: Safari, prefix: WebkitPrefix, withoutPrefix: v{9, 1, 0}},
222222
},
223223
css_ast.DHeight: {
224-
{engine: Chrome, prefix: WebkitPrefix},
225-
{engine: Edge, prefix: WebkitPrefix},
224+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
225+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
226226
{engine: IOS, prefix: WebkitPrefix},
227-
{engine: Opera, prefix: WebkitPrefix},
227+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
228228
{engine: Safari, prefix: WebkitPrefix},
229229
},
230230
css_ast.DHyphens: {
@@ -281,31 +281,31 @@ var cssPrefixTable = map[css_ast.D][]prefixData{
281281
{engine: Safari, prefix: WebkitPrefix, withoutPrefix: v{15, 4, 0}},
282282
},
283283
css_ast.DMaxHeight: {
284-
{engine: Chrome, prefix: WebkitPrefix},
285-
{engine: Edge, prefix: WebkitPrefix},
284+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
285+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
286286
{engine: IOS, prefix: WebkitPrefix},
287-
{engine: Opera, prefix: WebkitPrefix},
287+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
288288
{engine: Safari, prefix: WebkitPrefix},
289289
},
290290
css_ast.DMaxWidth: {
291-
{engine: Chrome, prefix: WebkitPrefix},
292-
{engine: Edge, prefix: WebkitPrefix},
291+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
292+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
293293
{engine: IOS, prefix: WebkitPrefix},
294-
{engine: Opera, prefix: WebkitPrefix},
294+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
295295
{engine: Safari, prefix: WebkitPrefix},
296296
},
297297
css_ast.DMinHeight: {
298-
{engine: Chrome, prefix: WebkitPrefix},
299-
{engine: Edge, prefix: WebkitPrefix},
298+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
299+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
300300
{engine: IOS, prefix: WebkitPrefix},
301-
{engine: Opera, prefix: WebkitPrefix},
301+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
302302
{engine: Safari, prefix: WebkitPrefix},
303303
},
304304
css_ast.DMinWidth: {
305-
{engine: Chrome, prefix: WebkitPrefix},
306-
{engine: Edge, prefix: WebkitPrefix},
305+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
306+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
307307
{engine: IOS, prefix: WebkitPrefix},
308-
{engine: Opera, prefix: WebkitPrefix},
308+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
309309
{engine: Safari, prefix: WebkitPrefix},
310310
},
311311
css_ast.DPosition: {
@@ -369,11 +369,11 @@ var cssPrefixTable = map[css_ast.D][]prefixData{
369369
{engine: Safari, prefix: WebkitPrefix},
370370
},
371371
css_ast.DWidth: {
372-
{engine: Chrome, prefix: WebkitPrefix},
373-
{engine: Edge, prefix: WebkitPrefix},
372+
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
373+
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{138, 0, 0}},
374374
{engine: Firefox, prefix: MozPrefix},
375375
{engine: IOS, prefix: WebkitPrefix},
376-
{engine: Opera, prefix: WebkitPrefix},
376+
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{122, 0, 0}},
377377
{engine: Safari, prefix: WebkitPrefix},
378378
},
379379
}

internal/compat/js_table.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
441441
DefaultArgument: {
442442
// Note: The latest version of "Hermes" failed 2 tests including: default function parameters: separate scope
443443
// Note: The latest version of "IE" failed 7 tests including: default function parameters: arguments object interaction
444-
// Note: The latest version of "Rhino" failed 7 tests including: default function parameters: arguments object interaction
444+
// Note: The latest version of "Rhino" failed 2 tests including: default function parameters: separate scope
445445
Chrome: {{start: v{49, 0, 0}}},
446446
Deno: {{start: v{1, 0, 0}}},
447447
Edge: {{start: v{14, 0, 0}}},
@@ -455,7 +455,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
455455
Destructuring: {
456456
// Note: The latest version of "Hermes" failed 3 tests including: destructuring, declarations: defaults, let temporal dead zone
457457
// Note: The latest version of "IE" failed 71 tests including: destructuring, assignment: chained iterable destructuring
458-
// Note: The latest version of "Rhino" failed 33 tests including: destructuring, assignment: computed properties
458+
// Note: The latest version of "Rhino" failed 28 tests including: destructuring, assignment: computed properties
459459
Chrome: {{start: v{51, 0, 0}}},
460460
Deno: {{start: v{1, 0, 0}}},
461461
Edge: {{start: v{18, 0, 0}}},
@@ -560,7 +560,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
560560
Generator: {
561561
// Note: The latest version of "Hermes" failed 3 tests including: generators: computed shorthand generators, classes
562562
// Note: The latest version of "IE" failed 27 tests including: generators: %GeneratorPrototype%
563-
// Note: The latest version of "Rhino" failed 11 tests including: generators: %GeneratorPrototype%
563+
// Note: The latest version of "Rhino" failed 8 tests including: generators: %GeneratorPrototype%
564564
Chrome: {{start: v{50, 0, 0}}},
565565
Deno: {{start: v{1, 0, 0}}},
566566
Edge: {{start: v{13, 0, 0}}},
@@ -617,7 +617,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
617617
InlineScript: {},
618618
LogicalAssignment: {
619619
// Note: The latest version of "IE" failed 9 tests including: Logical Assignment: &&= basic support
620-
// Note: The latest version of "Rhino" failed 9 tests including: Logical Assignment: &&= basic support
620+
// Note: The latest version of "Rhino" failed 3 tests including: Logical Assignment: &&= setter not unecessarily invoked
621621
Chrome: {{start: v{85, 0, 0}}},
622622
Deno: {{start: v{1, 2, 0}}},
623623
Edge: {{start: v{85, 0, 0}}},
@@ -667,7 +667,6 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
667667
},
668668
NullishCoalescing: {
669669
// Note: The latest version of "IE" failed this test: nullish coalescing operator (??)
670-
// Note: The latest version of "Rhino" failed this test: nullish coalescing operator (??)
671670
Chrome: {{start: v{80, 0, 0}}},
672671
Deno: {{start: v{1, 0, 0}}},
673672
Edge: {{start: v{80, 0, 0}}},
@@ -677,6 +676,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
677676
IOS: {{start: v{13, 4, 0}}},
678677
Node: {{start: v{14, 0, 0}}},
679678
Opera: {{start: v{67, 0, 0}}},
679+
Rhino: {{start: v{1, 8, 0}}},
680680
Safari: {{start: v{13, 1, 0}}},
681681
},
682682
ObjectAccessors: {
@@ -695,7 +695,6 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
695695
},
696696
ObjectExtensions: {
697697
// Note: The latest version of "IE" failed 6 tests including: object literal extensions: computed accessors
698-
// Note: The latest version of "Rhino" failed 3 tests including: object literal extensions: computed accessors
699698
Chrome: {{start: v{44, 0, 0}}},
700699
Deno: {{start: v{1, 0, 0}}},
701700
Edge: {{start: v{12, 0, 0}}},
@@ -705,6 +704,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
705704
IOS: {{start: v{10, 0, 0}}},
706705
Node: {{start: v{4, 0, 0}}},
707706
Opera: {{start: v{31, 0, 0}}},
707+
Rhino: {{start: v{1, 8, 0}}},
708708
Safari: {{start: v{10, 0, 0}}},
709709
},
710710
ObjectRestSpread: {
@@ -737,7 +737,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
737737
},
738738
OptionalChain: {
739739
// Note: The latest version of "IE" failed 5 tests including: optional chaining operator (?.): optional bracket access
740-
// Note: The latest version of "Rhino" failed 5 tests including: optional chaining operator (?.): optional bracket access
740+
// Note: The latest version of "Rhino" failed this test: optional chaining operator (?.): spread parameters after optional chaining
741741
Chrome: {{start: v{91, 0, 0}}},
742742
Deno: {{start: v{1, 9, 0}}},
743743
Edge: {{start: v{91, 0, 0}}},
@@ -820,16 +820,16 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
820820
Safari: {{start: v{12, 0, 0}}},
821821
},
822822
RegexpUnicodePropertyEscapes: {
823-
// Note: The latest version of "Chrome" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
824-
// Note: The latest version of "Edge" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
823+
// Note: The latest version of "Chrome" failed 2 tests including: RegExp Unicode Property Escapes: Unicode 16.0
824+
// Note: The latest version of "Edge" failed 2 tests including: RegExp Unicode Property Escapes: Unicode 16.0
825+
// Note: The latest version of "Firefox" failed this test: RegExp Unicode Property Escapes: Unicode 17.0
825826
// Note: The latest version of "Hermes" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
826827
// Note: The latest version of "IE" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
827828
// Note: The latest version of "IOS" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
828-
// Note: The latest version of "Rhino" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
829-
// Note: The latest version of "Safari" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
830-
ES: {{start: v{2018, 0, 0}}},
831-
Firefox: {{start: v{134, 0, 0}}},
832-
Node: {{start: v{20, 19, 0}, end: v{21, 0, 0}}, {start: v{22, 12, 0}, end: v{23, 0, 0}}, {start: v{23, 3, 0}}},
829+
// Note: The latest version of "Rhino" failed 9 tests including: RegExp Unicode Property Escapes: Unicode 11
830+
// Note: The latest version of "Safari" failed this test: RegExp Unicode Property Escapes: Unicode 17.0
831+
ES: {{start: v{2018, 0, 0}}},
832+
Node: {{start: v{20, 19, 0}, end: v{21, 0, 0}}, {start: v{22, 12, 0}, end: v{23, 0, 0}}, {start: v{23, 3, 0}}},
833833
},
834834
RestArgument: {
835835
// Note: The latest version of "Hermes" failed this test: rest parameters: function 'length' property
@@ -849,14 +849,14 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
849849
// Note: The latest version of "Hermes" failed this test: template literals: TemplateStrings call site caching
850850
// Note: The latest version of "IE" failed 7 tests including: template literals: TemplateStrings call site caching
851851
// Note: The latest version of "Rhino" failed this test: template literals: toString conversion
852-
Chrome: {{start: v{41, 0, 0}}},
852+
Chrome: {{start: v{62, 0, 0}}},
853853
Deno: {{start: v{1, 0, 0}}},
854-
Edge: {{start: v{13, 0, 0}}},
854+
Edge: {{start: v{79, 0, 0}}},
855855
ES: {{start: v{2015, 0, 0}}},
856-
Firefox: {{start: v{34, 0, 0}}},
856+
Firefox: {{start: v{53, 0, 0}}},
857857
IOS: {{start: v{13, 0, 0}}},
858858
Node: {{start: v{10, 0, 0}}},
859-
Opera: {{start: v{28, 0, 0}}},
859+
Opera: {{start: v{49, 0, 0}}},
860860
Safari: {{start: v{13, 0, 0}}},
861861
},
862862
TopLevelAwait: {

0 commit comments

Comments
 (0)