Skip to content

Commit

Permalink
run make update-compat-table and fix breakages
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Dec 19, 2024
1 parent fd4cea7 commit 88977cc
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 42 deletions.
20 changes: 11 additions & 9 deletions compat-table/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions compat-table/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"githubDependencies": {
"kangax/compat-table": "02bfc256f8db6768a6570016fdad5c7d5bc7cede",
"williamkapke/node-compat-table": "20fa0775d01324b90a1ee3ec72ecf1d6520afa3a"
"kangax/compat-table": "b3427ba3a2d6fd2dc427c3dfcf191832f634eb06",
"williamkapke/node-compat-table": "97a03aa807cfa8d83ad806fbcfe317ad95a7a159"
},
"dependencies": {
"@mdn/browser-compat-data": "5.6.2",
"@mdn/browser-compat-data": "5.6.25",
"@types/caniuse-lite": "1.0.1",
"@types/node": "20.3.2",
"caniuse-lite": "1.0.30001662"
"caniuse-lite": "1.0.30001690"
}
}
42 changes: 21 additions & 21 deletions compat-table/src/mdn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ const cssFeatures: Partial<Record<CSSFeature, string | string[]>> = {
'css.types.color.oklch',
],
GradientDoublePosition: [
'css.types.image.gradient.conic-gradient.doubleposition',
'css.types.image.gradient.linear-gradient.doubleposition',
'css.types.image.gradient.radial-gradient.doubleposition',
'css.types.image.gradient.repeating-linear-gradient.doubleposition',
'css.types.image.gradient.repeating-radial-gradient.doubleposition',
'css.types.gradient.conic-gradient.doubleposition',
'css.types.gradient.linear-gradient.doubleposition',
'css.types.gradient.radial-gradient.doubleposition',
'css.types.gradient.repeating-linear-gradient.doubleposition',
'css.types.gradient.repeating-radial-gradient.doubleposition',
],
GradientInterpolation: [
'css.types.image.gradient.conic-gradient.hue_interpolation_method',
'css.types.image.gradient.conic-gradient.interpolation_color_space',
'css.types.image.gradient.linear-gradient.hue_interpolation_method',
'css.types.image.gradient.linear-gradient.interpolation_color_space',
'css.types.image.gradient.radial-gradient.hue_interpolation_method',
'css.types.image.gradient.radial-gradient.interpolation_color_space',
'css.types.image.gradient.repeating-conic-gradient.hue_interpolation_method',
'css.types.image.gradient.repeating-conic-gradient.interpolation_color_space',
'css.types.image.gradient.repeating-linear-gradient.hue_interpolation_method',
'css.types.image.gradient.repeating-linear-gradient.interpolation_color_space',
'css.types.image.gradient.repeating-radial-gradient.hue_interpolation_method',
'css.types.image.gradient.repeating-radial-gradient.interpolation_color_space',
'css.types.gradient.conic-gradient.hue_interpolation_method',
'css.types.gradient.conic-gradient.interpolation_color_space',
'css.types.gradient.linear-gradient.hue_interpolation_method',
'css.types.gradient.linear-gradient.interpolation_color_space',
'css.types.gradient.radial-gradient.hue_interpolation_method',
'css.types.gradient.radial-gradient.interpolation_color_space',
'css.types.gradient.repeating-conic-gradient.hue_interpolation_method',
'css.types.gradient.repeating-conic-gradient.interpolation_color_space',
'css.types.gradient.repeating-linear-gradient.hue_interpolation_method',
'css.types.gradient.repeating-linear-gradient.interpolation_color_space',
'css.types.gradient.repeating-radial-gradient.hue_interpolation_method',
'css.types.gradient.repeating-radial-gradient.interpolation_color_space',
],
GradientMidpoints: [
'css.types.image.gradient.linear-gradient.interpolation_hints',
'css.types.image.gradient.radial-gradient.interpolation_hints',
'css.types.image.gradient.repeating-linear-gradient.interpolation_hints',
'css.types.image.gradient.repeating-radial-gradient.interpolation_hints',
'css.types.gradient.linear-gradient.interpolation_hints',
'css.types.gradient.radial-gradient.interpolation_hints',
'css.types.gradient.repeating-linear-gradient.interpolation_hints',
'css.types.gradient.repeating-radial-gradient.interpolation_hints',
],
HexRGBA: 'css.types.color.rgb_hexadecimal_notation.alpha_hexadecimal_notation',
HWB: 'css.types.color.hwb',
Expand Down
7 changes: 3 additions & 4 deletions internal/compat/css_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,12 @@ var cssPrefixTable = map[css_ast.D][]prefixData{
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{120, 0, 0}},
{engine: Edge, prefix: MsPrefix, withoutPrefix: v{15, 0, 0}},
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{120, 0, 0}},
{engine: IOS, prefix: WebkitPrefix, withoutPrefix: v{14, 0, 0}},
{engine: Opera, prefix: WebkitPrefix, withoutPrefix: v{106, 0, 0}},
{engine: Safari, prefix: WebkitPrefix, withoutPrefix: v{14, 0, 0}},
{engine: Safari, prefix: WebkitPrefix, withoutPrefix: v{5, 0, 0}},
},
css_ast.DBoxDecorationBreak: {
{engine: Chrome, prefix: WebkitPrefix},
{engine: Edge, prefix: WebkitPrefix},
{engine: Chrome, prefix: WebkitPrefix, withoutPrefix: v{130, 0, 0}},
{engine: Edge, prefix: WebkitPrefix, withoutPrefix: v{130, 0, 0}},
{engine: IOS, prefix: WebkitPrefix},
{engine: Opera, prefix: WebkitPrefix},
{engine: Safari, prefix: WebkitPrefix},
Expand Down
7 changes: 3 additions & 4 deletions internal/compat/js_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -815,15 +815,14 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
RegexpUnicodePropertyEscapes: {
// Note: The latest version of "Chrome" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
// Note: The latest version of "Edge" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
// Note: The latest version of "Firefox" failed 2 tests including: RegExp Unicode Property Escapes: Unicode 15.1
// Note: The latest version of "Hermes" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
// Note: The latest version of "IE" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
// Note: The latest version of "IOS" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
// Note: The latest version of "Node" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
// Note: The latest version of "Rhino" failed 8 tests including: RegExp Unicode Property Escapes: Unicode 11
// Note: The latest version of "Safari" failed this test: RegExp Unicode Property Escapes: Unicode 16.0
ES: {{start: v{2018, 0, 0}}},
Opera: {{start: v{111, 0, 0}}},
ES: {{start: v{2018, 0, 0}}},
Firefox: {{start: v{134, 0, 0}}},
Node: {{start: v{22, 12, 0}, end: v{23, 0, 0}}, {start: v{23, 3, 0}}},
},
RestArgument: {
// Note: The latest version of "Hermes" failed this test: rest parameters: function 'length' property
Expand Down

0 comments on commit 88977cc

Please sign in to comment.