From f7d2145782ad9e81a176381b4d289368e10c422f Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 4 Aug 2024 19:24:43 +0200 Subject: [PATCH] Upgrade `postcss-nesting` to version 13.0.0 This is a major version bump, but the changelog at https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md doesn't indicate any breaking changes that should impact us. --- package-lock.json | 48 +++++++++++++++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab8af5c98d5b2..6f7c3799e611c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "postcss-dark-theme-class": "^1.3.0", "postcss-dir-pseudo-class": "^9.0.0", "postcss-discard-comments": "^7.0.1", - "postcss-nesting": "^12.1.5", + "postcss-nesting": "^13.0.0", "prettier": "^3.3.3", "puppeteer": "^22.15.0", "stylelint": "^16.8.1", @@ -2062,9 +2062,9 @@ } }, "node_modules/@csstools/selector-resolve-nested": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-1.1.0.tgz", - "integrity": "sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-2.0.0.tgz", + "integrity": "sha512-oklSrRvOxNeeOW1yARd4WNCs/D09cQjunGZUgSq6vM8GpzFswN+8rBZyJA29YFZhOTQ6GFzxgLDNtVbt9wPZMA==", "dev": true, "funding": [ { @@ -2076,11 +2076,12 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT-0", "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" }, "peerDependencies": { - "postcss-selector-parser": "^6.0.13" + "postcss-selector-parser": "^6.1.0" } }, "node_modules/@csstools/selector-specificity": { @@ -10860,9 +10861,9 @@ } }, "node_modules/postcss-nesting": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.5.tgz", - "integrity": "sha512-N1NgI1PDCiAGWPTYrwqm8wpjv0bgDmkYHH72pNsqTCv9CObxjxftdYu6AKtGN+pnJa7FQjMm3v4sp8QJbFsYdQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-13.0.0.tgz", + "integrity": "sha512-TCGQOizyqvEkdeTPM+t6NYwJ3EJszYE/8t8ILxw/YoeUvz2rz7aM8XTAmBWh9/DJjfaaabL88fWrsVHSPF2zgA==", "dev": true, "funding": [ { @@ -10876,17 +10877,40 @@ ], "license": "MIT-0", "dependencies": { - "@csstools/selector-resolve-nested": "^1.1.0", - "@csstools/selector-specificity": "^3.1.1", + "@csstools/selector-resolve-nested": "^2.0.0", + "@csstools/selector-specificity": "^4.0.0", "postcss-selector-parser": "^6.1.0" }, "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" }, "peerDependencies": { "postcss": "^8.4" } }, + "node_modules/postcss-nesting/node_modules/@csstools/selector-specificity": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-4.0.0.tgz", + "integrity": "sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.1.0" + } + }, "node_modules/postcss-resolve-nested-selector": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.4.tgz", diff --git a/package.json b/package.json index 34818ee1946c6..9027bd8c0f39a 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "postcss-dark-theme-class": "^1.3.0", "postcss-dir-pseudo-class": "^9.0.0", "postcss-discard-comments": "^7.0.1", - "postcss-nesting": "^12.1.5", + "postcss-nesting": "^13.0.0", "prettier": "^3.3.3", "puppeteer": "^22.15.0", "stylelint": "^16.8.1",