@eslint/css-tree 4.0.4 → 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",
@@ -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'>",
@@ -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}",
@@ -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",
@@ -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'>",
@@ -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}",
@@ -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.4";
1
+ module.exports = "4.0.5";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "4.0.4";
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.4",
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.1",
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
  },