@eslint/css-tree 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/data.cjs CHANGED
@@ -119,7 +119,7 @@ module.exports = {
119
119
  "auto-track-list": "[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",
120
120
  "axis": "block|inline|x|y",
121
121
  "baseline-position": "[first|last]? baseline",
122
- "basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>",
122
+ "basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>|shape( )",
123
123
  "basic-shape-rect": "<inset()>|<rect()>|<xywh()>",
124
124
  "bg-clip": "<visual-box>|border-area|text",
125
125
  "bg-image": "<image>|none",
@@ -722,13 +722,13 @@ module.exports = {
722
722
  "baseline-source": "auto|first|last",
723
723
  "block-size": "<'width'>",
724
724
  "border": "<line-width>||<line-style>||<color>",
725
- "border-block": "<'border-block-start'>",
725
+ "border-block": "<'border-top'>",
726
726
  "border-block-color": "<'border-top-color'>{1,2}",
727
- "border-block-end": "<'border-top-width'>||<'border-top-style'>||<color>",
727
+ "border-block-end": "<'border-top'>",
728
728
  "border-block-end-color": "<'border-top-color'>",
729
729
  "border-block-end-style": "<'border-top-style'>",
730
730
  "border-block-end-width": "<'border-top-width'>",
731
- "border-block-start": "<'border-top-width'>||<'border-top-style'>||<color>",
731
+ "border-block-start": "<'border-top'>",
732
732
  "border-block-start-color": "<'border-top-color'>",
733
733
  "border-block-start-style": "<'border-top-style'>",
734
734
  "border-block-start-width": "<'border-top-width'>",
@@ -750,13 +750,13 @@ module.exports = {
750
750
  "border-image-slice": "[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?",
751
751
  "border-image-source": "none|<image>",
752
752
  "border-image-width": "[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}",
753
- "border-inline": "<'border-block-start'>",
753
+ "border-inline": "<'border-top'>",
754
754
  "border-inline-color": "<'border-top-color'>{1,2}",
755
- "border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>",
755
+ "border-inline-end": "<'border-top'>",
756
756
  "border-inline-end-color": "<'border-top-color'>",
757
757
  "border-inline-end-style": "<'border-top-style'>",
758
758
  "border-inline-end-width": "<'border-top-width'>",
759
- "border-inline-start": "<'border-top-width'>||<'border-top-style'>||<color>",
759
+ "border-inline-start": "<'border-top'>",
760
760
  "border-inline-start-color": "<'border-top-color'>",
761
761
  "border-inline-start-style": "<'border-top-style'>",
762
762
  "border-inline-start-width": "<'border-top-width'>",
@@ -771,6 +771,7 @@ module.exports = {
771
771
  "border-right-color": "<color>",
772
772
  "border-right-style": "<line-style>",
773
773
  "border-right-width": "<line-width>",
774
+ "border-shape": "none|[<basic-shape> <geometry-box>?]{1,2}",
774
775
  "border-spacing": "<length>{1,2}",
775
776
  "border-start-end-radius": "<'border-top-left-radius'>",
776
777
  "border-start-start-radius": "<'border-top-left-radius'>",
@@ -815,8 +816,8 @@ module.exports = {
815
816
  "column-height": "auto|<length [0,∞]>",
816
817
  "column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>",
817
818
  "column-rule-color": "<color>",
818
- "column-rule-style": "<'border-style'>",
819
- "column-rule-width": "<'border-width'>",
819
+ "column-rule-style": "<line-style>",
820
+ "column-rule-width": "<line-width>",
820
821
  "column-span": "none|all",
821
822
  "column-width": "auto|<length [0,∞]>",
822
823
  "column-wrap": "auto|nowrap|wrap",
@@ -905,6 +906,7 @@ module.exports = {
905
906
  "font-weight": "<font-weight-absolute>|bolder|lighter",
906
907
  "font-width": "normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",
907
908
  "forced-color-adjust": "auto|none|preserve-parent-color",
909
+ "frame-sizing": "auto|content-width|content-height|content-block-size|content-inline-size",
908
910
  "gap": "<'row-gap'> <'column-gap'>?",
909
911
  "grid": "<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>",
910
912
  "grid-area": "<grid-line> [/ <grid-line>]{0,3}",
@@ -1066,7 +1068,7 @@ module.exports = {
1066
1068
  "place-self": "<'align-self'> <'justify-self'>?",
1067
1069
  "pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",
1068
1070
  "position": "static|relative|absolute|sticky|fixed|-webkit-sticky",
1069
- "position-anchor": "auto|none|<anchor-name>",
1071
+ "position-anchor": "normal|auto|none|<anchor-name>|match-parent",
1070
1072
  "position-area": "none|<position-area>",
1071
1073
  "position-try": "<'position-try-order'>? <'position-try-fallbacks'>",
1072
1074
  "position-try-fallbacks": "none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#",
@@ -1215,6 +1217,7 @@ module.exports = {
1215
1217
  "view-timeline-name": "[none|<dashed-ident>]#",
1216
1218
  "view-transition-class": "none|<custom-ident>+",
1217
1219
  "view-transition-name": "none|<custom-ident>|match-element",
1220
+ "view-transition-scope": "none|all",
1218
1221
  "visibility": "visible|hidden|collapse",
1219
1222
  "white-space": "normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>",
1220
1223
  "white-space-collapse": "collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",
package/dist/data.js CHANGED
@@ -119,7 +119,7 @@ export default {
119
119
  "auto-track-list": "[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",
120
120
  "axis": "block|inline|x|y",
121
121
  "baseline-position": "[first|last]? baseline",
122
- "basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>",
122
+ "basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>|shape( )",
123
123
  "basic-shape-rect": "<inset()>|<rect()>|<xywh()>",
124
124
  "bg-clip": "<visual-box>|border-area|text",
125
125
  "bg-image": "<image>|none",
@@ -722,13 +722,13 @@ export default {
722
722
  "baseline-source": "auto|first|last",
723
723
  "block-size": "<'width'>",
724
724
  "border": "<line-width>||<line-style>||<color>",
725
- "border-block": "<'border-block-start'>",
725
+ "border-block": "<'border-top'>",
726
726
  "border-block-color": "<'border-top-color'>{1,2}",
727
- "border-block-end": "<'border-top-width'>||<'border-top-style'>||<color>",
727
+ "border-block-end": "<'border-top'>",
728
728
  "border-block-end-color": "<'border-top-color'>",
729
729
  "border-block-end-style": "<'border-top-style'>",
730
730
  "border-block-end-width": "<'border-top-width'>",
731
- "border-block-start": "<'border-top-width'>||<'border-top-style'>||<color>",
731
+ "border-block-start": "<'border-top'>",
732
732
  "border-block-start-color": "<'border-top-color'>",
733
733
  "border-block-start-style": "<'border-top-style'>",
734
734
  "border-block-start-width": "<'border-top-width'>",
@@ -750,13 +750,13 @@ export default {
750
750
  "border-image-slice": "[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?",
751
751
  "border-image-source": "none|<image>",
752
752
  "border-image-width": "[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}",
753
- "border-inline": "<'border-block-start'>",
753
+ "border-inline": "<'border-top'>",
754
754
  "border-inline-color": "<'border-top-color'>{1,2}",
755
- "border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>",
755
+ "border-inline-end": "<'border-top'>",
756
756
  "border-inline-end-color": "<'border-top-color'>",
757
757
  "border-inline-end-style": "<'border-top-style'>",
758
758
  "border-inline-end-width": "<'border-top-width'>",
759
- "border-inline-start": "<'border-top-width'>||<'border-top-style'>||<color>",
759
+ "border-inline-start": "<'border-top'>",
760
760
  "border-inline-start-color": "<'border-top-color'>",
761
761
  "border-inline-start-style": "<'border-top-style'>",
762
762
  "border-inline-start-width": "<'border-top-width'>",
@@ -771,6 +771,7 @@ export default {
771
771
  "border-right-color": "<color>",
772
772
  "border-right-style": "<line-style>",
773
773
  "border-right-width": "<line-width>",
774
+ "border-shape": "none|[<basic-shape> <geometry-box>?]{1,2}",
774
775
  "border-spacing": "<length>{1,2}",
775
776
  "border-start-end-radius": "<'border-top-left-radius'>",
776
777
  "border-start-start-radius": "<'border-top-left-radius'>",
@@ -815,8 +816,8 @@ export default {
815
816
  "column-height": "auto|<length [0,∞]>",
816
817
  "column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>",
817
818
  "column-rule-color": "<color>",
818
- "column-rule-style": "<'border-style'>",
819
- "column-rule-width": "<'border-width'>",
819
+ "column-rule-style": "<line-style>",
820
+ "column-rule-width": "<line-width>",
820
821
  "column-span": "none|all",
821
822
  "column-width": "auto|<length [0,∞]>",
822
823
  "column-wrap": "auto|nowrap|wrap",
@@ -905,6 +906,7 @@ export default {
905
906
  "font-weight": "<font-weight-absolute>|bolder|lighter",
906
907
  "font-width": "normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",
907
908
  "forced-color-adjust": "auto|none|preserve-parent-color",
909
+ "frame-sizing": "auto|content-width|content-height|content-block-size|content-inline-size",
908
910
  "gap": "<'row-gap'> <'column-gap'>?",
909
911
  "grid": "<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>",
910
912
  "grid-area": "<grid-line> [/ <grid-line>]{0,3}",
@@ -1066,7 +1068,7 @@ export default {
1066
1068
  "place-self": "<'align-self'> <'justify-self'>?",
1067
1069
  "pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",
1068
1070
  "position": "static|relative|absolute|sticky|fixed|-webkit-sticky",
1069
- "position-anchor": "auto|none|<anchor-name>",
1071
+ "position-anchor": "normal|auto|none|<anchor-name>|match-parent",
1070
1072
  "position-area": "none|<position-area>",
1071
1073
  "position-try": "<'position-try-order'>? <'position-try-fallbacks'>",
1072
1074
  "position-try-fallbacks": "none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#",
@@ -1215,6 +1217,7 @@ export default {
1215
1217
  "view-timeline-name": "[none|<dashed-ident>]#",
1216
1218
  "view-transition-class": "none|<custom-ident>+",
1217
1219
  "view-transition-name": "none|<custom-ident>|match-element",
1220
+ "view-transition-scope": "none|all",
1218
1221
  "visibility": "visible|hidden|collapse",
1219
1222
  "white-space": "normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>",
1220
1223
  "white-space-collapse": "collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",
package/dist/version.cjs CHANGED
@@ -1 +1 @@
1
- module.exports = "4.0.3";
1
+ module.exports = "4.0.5";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "4.0.3";
1
+ export const version = "4.0.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint/css-tree",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations",
5
5
  "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
6
6
  "license": "MIT",
@@ -107,7 +107,7 @@
107
107
  "test:types": "tsc -p tests/types/tsconfig.json"
108
108
  },
109
109
  "dependencies": {
110
- "mdn-data": "2.28.0",
110
+ "mdn-data": "2.29.0",
111
111
  "source-map-js": "^1.2.1"
112
112
  },
113
113
  "devDependencies": {
@@ -116,7 +116,7 @@
116
116
  "esbuild": "^0.27.3",
117
117
  "eslint": "^8.50.0",
118
118
  "json-to-ast": "^2.1.0",
119
- "mocha": "^9.2.2",
119
+ "mocha": "^11.7.6",
120
120
  "rollup": "^2.80.0",
121
121
  "typescript": "^5.7.3"
122
122
  },