diff --git a/.changeset/sweet-windows-poke.md b/.changeset/sweet-windows-poke.md new file mode 100644 index 000000000000..a39b75f85cf4 --- /dev/null +++ b/.changeset/sweet-windows-poke.md @@ -0,0 +1,5 @@ +--- +'@modern-js/uni-builder': patch +--- + +fix(uni-builder): bump postcss plugin to support cyclic variables diff --git a/packages/cli/uni-builder/package.json b/packages/cli/uni-builder/package.json index 6445ea6dbf2f..d47f0e13f99d 100644 --- a/packages/cli/uni-builder/package.json +++ b/packages/cli/uni-builder/package.json @@ -66,12 +66,12 @@ "lodash": "^4.17.21", "picocolors": "^1.0.1", "postcss": "^8.4.35", - "postcss-custom-properties": "13.1.5", + "postcss-custom-properties": "13.3.12", "postcss-flexbugs-fixes": "5.0.2", "postcss-font-variant": "5.0.0", "postcss-initial": "4.0.1", "postcss-media-minmax": "5.0.0", - "postcss-nesting": "12.0.1", + "postcss-nesting": "12.1.2", "postcss-page-break": "3.0.4", "react-refresh": "^0.14.0", "rspack-manifest-plugin": "5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9b2e1b073120..5c5a727ef034 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -731,8 +731,8 @@ importers: specifier: ^8.4.35 version: 8.4.49 postcss-custom-properties: - specifier: 13.1.5 - version: 13.1.5(postcss@8.4.49) + specifier: 13.3.12 + version: 13.3.12(postcss@8.4.49) postcss-flexbugs-fixes: specifier: 5.0.2 version: 5.0.2(postcss@8.4.49) @@ -746,8 +746,8 @@ importers: specifier: 5.0.0 version: 5.0.0(postcss@8.4.49) postcss-nesting: - specifier: 12.0.1 - version: 12.0.1(postcss@8.4.49) + specifier: 12.1.2 + version: 12.1.2(postcss@8.4.49) postcss-page-break: specifier: 3.0.4 version: 3.0.4(postcss@8.4.49) @@ -4456,8 +4456,8 @@ importers: specifier: 3.1.0 version: 3.1.0 postcss-custom-properties: - specifier: 13.1.5 - version: 13.1.5(postcss@8.4.49) + specifier: 13.3.12 + version: 13.3.12(postcss@8.4.49) postcss-flexbugs-fixes: specifier: 5.0.2 version: 5.0.2(postcss@8.4.49) @@ -4471,8 +4471,8 @@ importers: specifier: 5.0.0 version: 5.0.0(postcss@8.4.49) postcss-nesting: - specifier: 12.0.1 - version: 12.0.1(postcss@8.4.49) + specifier: 12.1.2 + version: 12.1.2(postcss@8.4.49) postcss-page-break: specifier: 3.0.4 version: 3.0.4(postcss@8.4.49) @@ -9140,29 +9140,12 @@ packages: '@csstools/css-parser-algorithms': ^2.7.1 '@csstools/css-tokenizer': ^2.4.1 - '@csstools/cascade-layer-name-parser@1.0.5': - resolution: {integrity: sha512-v/5ODKNBMfBl0us/WQjlfsvSlYxfZLhNMVIsuCPib2ulTwGKYbKJbwqw671+qH9Y4wvWVnu7LBChvml/wBKjFg==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - '@csstools/css-parser-algorithms': ^2.3.2 - '@csstools/css-tokenizer': ^2.2.1 - - '@csstools/css-parser-algorithms@2.3.2': - resolution: {integrity: sha512-sLYGdAdEY2x7TSw9FtmdaTrh2wFtRJO5VMbBrA8tEqEod7GEggFmxTSK9XqExib3yMuYNcvcTdCZIP6ukdjAIA==} - engines: {node: ^14 || ^16 || >=18} - peerDependencies: - '@csstools/css-tokenizer': ^2.2.1 - '@csstools/css-parser-algorithms@2.7.1': resolution: {integrity: sha512-2SJS42gxmACHgikc1WGesXLIT8d/q2l0UFM7TaEeIzdFCE/FPMtTiizcPGGJtlPo2xuQzY09OhrLTzRxqJqwGw==} engines: {node: ^14 || ^16 || >=18} peerDependencies: '@csstools/css-tokenizer': ^2.4.1 - '@csstools/css-tokenizer@2.2.1': - resolution: {integrity: sha512-Zmsf2f/CaEPWEVgw29odOj+WEVoiJy9s9NOv5GgNY9mZ1CZ7394By6wONrONrTsnNDv6F9hR02nvFihrGVGHBg==} - engines: {node: ^14 || ^16 || >=18} - '@csstools/css-tokenizer@2.4.1': resolution: {integrity: sha512-eQ9DIktFJBhGjioABJRtUucoWR2mwllurfnM8LuNGAqX3ViZXaUchqk+1s7jjtkFiT9ySdACsFEA3etErkALUg==} engines: {node: ^14 || ^16 || >=18} @@ -9174,12 +9157,24 @@ packages: '@csstools/css-parser-algorithms': ^2.7.1 '@csstools/css-tokenizer': ^2.4.1 - '@csstools/selector-specificity@3.0.0': - resolution: {integrity: sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==} + '@csstools/selector-resolve-nested@1.1.0': + resolution: {integrity: sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss-selector-parser: ^6.0.13 + '@csstools/selector-specificity@3.1.1': + resolution: {integrity: sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==} + engines: {node: ^14 || ^16 || >=18} + peerDependencies: + postcss-selector-parser: ^6.0.13 + + '@csstools/utilities@1.0.0': + resolution: {integrity: sha512-tAgvZQe/t2mlvpNosA4+CkMiZ2azISW5WPAcdSalZlEjQvUfghHxfQcrCiK/7/CrfAWVxyM88kGFYO82heIGDg==} + engines: {node: ^14 || ^16 || >=18} + peerDependencies: + postcss: ^8.4 + '@ctrl/tinycolor@3.6.0': resolution: {integrity: sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==} engines: {node: '>=10'} @@ -18205,8 +18200,8 @@ packages: peerDependencies: postcss: ^8.4 - postcss-custom-properties@13.1.5: - resolution: {integrity: sha512-98DXk81zTGqMVkGANysMHbGIg3voH383DYo3/+c+Abzay3nao+vM/f4Jgzsakk9S7BDsEw5DiW7sFy5G4W2wLA==} + postcss-custom-properties@13.3.12: + resolution: {integrity: sha512-oPn/OVqONB2ZLNqN185LDyaVByELAA/u3l2CS2TS16x2j2XsmV4kd8U49+TMxmUsEU9d8fB/I10E6U7kB0L1BA==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss: ^8.4 @@ -18373,8 +18368,8 @@ packages: peerDependencies: postcss: ^8.2.14 - postcss-nesting@12.0.1: - resolution: {integrity: sha512-6LCqCWP9pqwXw/njMvNK0hGY44Fxc4B2EsGbn6xDcxbNRzP8GYoxT7yabVVMLrX3quqOJ9hg2jYMsnkedOf8pA==} + postcss-nesting@12.1.2: + resolution: {integrity: sha512-FUmTHGDNundodutB4PUBxt/EPuhgtpk8FJGRsBhOuy+6FnkR2A8RZWIsyyy6XmhvX2DZQQWIkvu+HB4IbJm+Ew==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss: ^8.4 @@ -23646,21 +23641,10 @@ snapshots: '@csstools/css-parser-algorithms': 2.7.1(@csstools/css-tokenizer@2.4.1) '@csstools/css-tokenizer': 2.4.1 - '@csstools/cascade-layer-name-parser@1.0.5(@csstools/css-parser-algorithms@2.3.2(@csstools/css-tokenizer@2.2.1))(@csstools/css-tokenizer@2.2.1)': - dependencies: - '@csstools/css-parser-algorithms': 2.3.2(@csstools/css-tokenizer@2.2.1) - '@csstools/css-tokenizer': 2.2.1 - - '@csstools/css-parser-algorithms@2.3.2(@csstools/css-tokenizer@2.2.1)': - dependencies: - '@csstools/css-tokenizer': 2.2.1 - '@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1)': dependencies: '@csstools/css-tokenizer': 2.4.1 - '@csstools/css-tokenizer@2.2.1': {} - '@csstools/css-tokenizer@2.4.1': {} '@csstools/media-query-list-parser@2.1.13(@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1))(@csstools/css-tokenizer@2.4.1)': @@ -23668,9 +23652,17 @@ snapshots: '@csstools/css-parser-algorithms': 2.7.1(@csstools/css-tokenizer@2.4.1) '@csstools/css-tokenizer': 2.4.1 - '@csstools/selector-specificity@3.0.0(postcss-selector-parser@6.0.13)': + '@csstools/selector-resolve-nested@1.1.0(postcss-selector-parser@6.1.2)': dependencies: - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.1.2 + + '@csstools/selector-specificity@3.1.1(postcss-selector-parser@6.1.2)': + dependencies: + postcss-selector-parser: 6.1.2 + + '@csstools/utilities@1.0.0(postcss@8.4.49)': + dependencies: + postcss: 8.4.49 '@ctrl/tinycolor@3.6.0': {} @@ -35629,11 +35621,12 @@ snapshots: '@csstools/media-query-list-parser': 2.1.13(@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1))(@csstools/css-tokenizer@2.4.1) postcss: 8.4.49 - postcss-custom-properties@13.1.5(postcss@8.4.49): + postcss-custom-properties@13.3.12(postcss@8.4.49): dependencies: - '@csstools/cascade-layer-name-parser': 1.0.5(@csstools/css-parser-algorithms@2.3.2(@csstools/css-tokenizer@2.2.1))(@csstools/css-tokenizer@2.2.1) - '@csstools/css-parser-algorithms': 2.3.2(@csstools/css-tokenizer@2.2.1) - '@csstools/css-tokenizer': 2.2.1 + '@csstools/cascade-layer-name-parser': 1.0.13(@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1))(@csstools/css-tokenizer@2.4.1) + '@csstools/css-parser-algorithms': 2.7.1(@csstools/css-tokenizer@2.4.1) + '@csstools/css-tokenizer': 2.4.1 + '@csstools/utilities': 1.0.0(postcss@8.4.49) postcss: 8.4.49 postcss-value-parser: 4.2.0 @@ -35799,11 +35792,12 @@ snapshots: postcss: 8.4.49 postcss-selector-parser: 6.0.13 - postcss-nesting@12.0.1(postcss@8.4.49): + postcss-nesting@12.1.2(postcss@8.4.49): dependencies: - '@csstools/selector-specificity': 3.0.0(postcss-selector-parser@6.0.13) + '@csstools/selector-resolve-nested': 1.1.0(postcss-selector-parser@6.1.2) + '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.1.2) postcss: 8.4.49 - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.1.2 postcss-normalize-charset@6.0.0(postcss@8.4.49): dependencies: diff --git a/scripts/prebundle/package.json b/scripts/prebundle/package.json index 9800480c56d7..2117f1fd8a3f 100644 --- a/scripts/prebundle/package.json +++ b/scripts/prebundle/package.json @@ -66,12 +66,12 @@ "ora": "5.4.1", "p-map": "4.0.0", "pkg-up": "3.1.0", - "postcss-custom-properties": "13.1.5", + "postcss-custom-properties": "13.3.12", "postcss-flexbugs-fixes": "5.0.2", "postcss-font-variant": "5.0.0", "postcss-initial": "4.0.1", "postcss-media-minmax": "5.0.0", - "postcss-nesting": "12.0.1", + "postcss-nesting": "12.1.2", "postcss-page-break": "3.0.4", "postcss-value-parser": "4.2.0", "react": "^18.3.1",