Upgrade @csstools/postcss-light-dark-function to version 3.0.0

This is a major version bump, but the changelog at
https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-light-dark-function/CHANGELOG.md
doesn't indicate any breaking changes that should impact us.

We only have to list `@csstools/postcss-light-dark-function` in
`eslint.config.js` similar to e.g. commit a2909f9b.
This commit is contained in:
Tim van der Meij 2026-02-14 20:15:30 +01:00
parent 5875cddbf0
commit b27caa0f7b
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762
3 changed files with 28 additions and 70 deletions

View File

@ -116,6 +116,7 @@ export default [
"pdfjs-lib", "pdfjs-lib",
"pdfjs-web", "pdfjs-web",
"web", "web",
"@csstools/postcss-light-dark-function",
"fluent-bundle", "fluent-bundle",
"fluent-dom", "fluent-dom",
"postcss-dir-pseudo-class", "postcss-dir-pseudo-class",

95
package-lock.json generated
View File

@ -10,7 +10,7 @@
"@babel/core": "^7.29.0", "@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0", "@babel/preset-env": "^7.29.0",
"@babel/runtime": "^7.28.6", "@babel/runtime": "^7.28.6",
"@csstools/postcss-light-dark-function": "^2.0.11", "@csstools/postcss-light-dark-function": "^3.0.0",
"@fluent/bundle": "^0.19.1", "@fluent/bundle": "^0.19.1",
"@fluent/dom": "^0.10.2", "@fluent/dom": "^0.10.2",
"@metalsmith/layouts": "^3.0.0", "@metalsmith/layouts": "^3.0.0",
@ -1667,9 +1667,9 @@
} }
}, },
"node_modules/@csstools/css-parser-algorithms": { "node_modules/@csstools/css-parser-algorithms": {
"version": "3.0.5", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz",
"integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==", "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -1683,10 +1683,10 @@
], ],
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=18" "node": ">=20.19.0"
}, },
"peerDependencies": { "peerDependencies": {
"@csstools/css-tokenizer": "^3.0.4" "@csstools/css-tokenizer": "^4.0.0"
} }
}, },
"node_modules/@csstools/css-syntax-patches-for-csstree": { "node_modules/@csstools/css-syntax-patches-for-csstree": {
@ -1707,9 +1707,9 @@
"license": "MIT-0" "license": "MIT-0"
}, },
"node_modules/@csstools/css-tokenizer": { "node_modules/@csstools/css-tokenizer": {
"version": "3.0.4", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz",
"integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==", "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -1723,13 +1723,13 @@
], ],
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=18" "node": ">=20.19.0"
} }
}, },
"node_modules/@csstools/postcss-light-dark-function": { "node_modules/@csstools/postcss-light-dark-function": {
"version": "2.0.11", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/@csstools/postcss-light-dark-function/-/postcss-light-dark-function-2.0.11.tgz", "resolved": "https://registry.npmjs.org/@csstools/postcss-light-dark-function/-/postcss-light-dark-function-3.0.0.tgz",
"integrity": "sha512-fNJcKXJdPM3Lyrbmgw2OBbaioU7yuKZtiXClf4sGdQttitijYlZMD5K7HrC/eF83VRWRrYq6OZ0Lx92leV2LFA==", "integrity": "sha512-s++V5/hYazeRUCYIn2lsBVzUsxdeC46gtwpgW6lu5U/GlPOS5UTDT14kkEyPgXmFbCvaWLREqV7YTMJq1K3G6w==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -1743,22 +1743,22 @@
], ],
"license": "MIT-0", "license": "MIT-0",
"dependencies": { "dependencies": {
"@csstools/css-parser-algorithms": "^3.0.5", "@csstools/css-parser-algorithms": "^4.0.0",
"@csstools/css-tokenizer": "^3.0.4", "@csstools/css-tokenizer": "^4.0.0",
"@csstools/postcss-progressive-custom-properties": "^4.2.1", "@csstools/postcss-progressive-custom-properties": "^5.0.0",
"@csstools/utilities": "^2.0.0" "@csstools/utilities": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20.19.0"
}, },
"peerDependencies": { "peerDependencies": {
"postcss": "^8.4" "postcss": "^8.4"
} }
}, },
"node_modules/@csstools/postcss-progressive-custom-properties": { "node_modules/@csstools/postcss-progressive-custom-properties": {
"version": "4.2.1", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/@csstools/postcss-progressive-custom-properties/-/postcss-progressive-custom-properties-4.2.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/postcss-progressive-custom-properties/-/postcss-progressive-custom-properties-5.0.0.tgz",
"integrity": "sha512-uPiiXf7IEKtUQXsxu6uWtOlRMXd2QWWy5fhxHDnPdXKCQckPP3E34ZgDoZ62r2iT+UOgWsSbM4NvHE5m3mAEdw==", "integrity": "sha512-NsJoZ89rxmDrUsITf8QIk5w+lQZQ8Xw5K6cLFG+cfiffsLYHb3zcbOOrHLetGl1WIhjWWQ4Cr8MMrg46Q+oACg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -1775,7 +1775,7 @@
"postcss-value-parser": "^4.2.0" "postcss-value-parser": "^4.2.0"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20.19.0"
}, },
"peerDependencies": { "peerDependencies": {
"postcss": "^8.4" "postcss": "^8.4"
@ -1828,9 +1828,9 @@
} }
}, },
"node_modules/@csstools/utilities": { "node_modules/@csstools/utilities": {
"version": "2.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/@csstools/utilities/-/utilities-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@csstools/utilities/-/utilities-3.0.0.tgz",
"integrity": "sha512-5VdOr0Z71u+Yp3ozOx8T11N703wIFGVRgOWbOZMKgglPJsWA54MRIoMNVMa7shUToIhx5J8vX4sOZgD2XiihiQ==", "integrity": "sha512-etDqA/4jYvOGBM6yfKCOsEXfH96BKztZdgGmGqKi2xHnDe0ILIBraRspwgYatJH9JsCZ5HCGoCst8w18EKOAdg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -1844,7 +1844,7 @@
], ],
"license": "MIT-0", "license": "MIT-0",
"engines": { "engines": {
"node": ">=18" "node": ">=20.19.0"
}, },
"peerDependencies": { "peerDependencies": {
"postcss": "^8.4" "postcss": "^8.4"
@ -12363,49 +12363,6 @@
"@csstools/css-tokenizer": "^4.0.0" "@csstools/css-tokenizer": "^4.0.0"
} }
}, },
"node_modules/stylelint/node_modules/@csstools/css-parser-algorithms": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz",
"integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/csstools"
},
{
"type": "opencollective",
"url": "https://opencollective.com/csstools"
}
],
"license": "MIT",
"engines": {
"node": ">=20.19.0"
},
"peerDependencies": {
"@csstools/css-tokenizer": "^4.0.0"
}
},
"node_modules/stylelint/node_modules/@csstools/css-tokenizer": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz",
"integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/csstools"
},
{
"type": "opencollective",
"url": "https://opencollective.com/csstools"
}
],
"license": "MIT",
"engines": {
"node": ">=20.19.0"
}
},
"node_modules/stylelint/node_modules/@csstools/media-query-list-parser": { "node_modules/stylelint/node_modules/@csstools/media-query-list-parser": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-5.0.0.tgz", "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-5.0.0.tgz",

View File

@ -5,7 +5,7 @@
"@babel/core": "^7.29.0", "@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0", "@babel/preset-env": "^7.29.0",
"@babel/runtime": "^7.28.6", "@babel/runtime": "^7.28.6",
"@csstools/postcss-light-dark-function": "^2.0.11", "@csstools/postcss-light-dark-function": "^3.0.0",
"@fluent/bundle": "^0.19.1", "@fluent/bundle": "^0.19.1",
"@fluent/dom": "^0.10.2", "@fluent/dom": "^0.10.2",
"@metalsmith/layouts": "^3.0.0", "@metalsmith/layouts": "^3.0.0",