Skip to content

Commit 14bf9be

Browse files
authored
update cssdb (#1212)
1 parent b345604 commit 14bf9be

File tree

9 files changed

+248
-416
lines changed

9 files changed

+248
-416
lines changed

package-lock.json

Lines changed: 122 additions & 240 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin-packs/postcss-preset-env/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Small fixes in type definitions
66
- Remove extraneous dependency on `postcss-value-parser`
7+
- Updated [`cssdb`](https://github.com/csstools/cssdb) to [`7.9.1`](https://github.com/csstools/cssdb/blob/main/CHANGELOG.md#791-december-11-2023) (patch)
78

89
### 9.3.0
910

plugin-packs/postcss-preset-env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"css-blank-pseudo": "^6.0.0",
8383
"css-has-pseudo": "^6.0.0",
8484
"css-prefers-color-scheme": "^9.0.0",
85-
"cssdb": "^7.9.0",
85+
"cssdb": "^7.9.1",
8686
"postcss-attribute-case-insensitive": "^6.0.2",
8787
"postcss-clamp": "^4.1.0",
8888
"postcss-color-functional-notation": "^6.0.2",

plugin-packs/postcss-preset-env/test/basic.hebrew.all-browsers-have-support.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
font-style: normal;
204204
font-weight: 300;
205205
font-display: swap;
206-
src: url(a) format("woff2");
206+
src: url(a) format(woff2);
207207
}
208208

209209
.block-flow {

plugin-packs/postcss-preset-env/test/basic.vendors-2.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
font-style: normal;
324324
font-weight: 300;
325325
font-display: swap;
326-
src: url(a) format(woff2);
326+
src: url(a) format("woff2");
327327
}
328328

329329
.block-flow {

plugin-packs/postcss-preset-env/test/basic.vendors-3.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
order: 23;
247247
}
248248

249-
.test-dir-pseudo-class:dir(rtl) {
249+
[dir="rtl"] .test-dir-pseudo-class {
250250
order: 24;
251251
}
252252

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
import { postcssTape } from '@csstools/postcss-tape';
22
import plugin from '@csstools/postcss-slow-plugins';
3-
import postcssPresetEnv from 'postcss-preset-env';
3+
4+
const variableSpeedCreator = (delay) => {
5+
return {
6+
postcssPlugin: `postcss-${delay}ms`,
7+
Once: async () => {
8+
await new Promise((resolve) => setTimeout(resolve, delay));
9+
}
10+
}
11+
}
12+
13+
variableSpeedCreator.postcss = true;
414

515
await postcssTape(plugin)({
616
basic: {
717
message: "supports basic usage",
818
plugins: [
9-
plugin({ ignore: ['postcss-oklab-function', 'autoprefixer'] }),
10-
postcssPresetEnv({ stage: 0, browsers: 'Chrome 90' }),
19+
plugin({ ignore: ['postcss-30ms'] }),
20+
variableSpeedCreator(10),
21+
variableSpeedCreator(20),
22+
variableSpeedCreator(30),
23+
variableSpeedCreator(40),
1124
],
1225
},
1326
});

plugins/postcss-slow-plugins/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
"postcss": "^8.4"
4949
},
5050
"devDependencies": {
51-
"@csstools/postcss-tape": "*",
52-
"postcss-preset-env": "^9.1.3"
51+
"@csstools/postcss-tape": "*"
5352
},
5453
"scripts": {
5554
"build": "rollup -c ../../rollup/default.mjs",

0 commit comments

Comments
 (0)