Skip to content

Commit 4b2157e

Browse files
committed
update postcss version
1 parent 2614182 commit 4b2157e

File tree

4 files changed

+93
-73
lines changed

4 files changed

+93
-73
lines changed

package-lock.json

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

packages/postcss-tape/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Tape
22

3+
### Unreleased (major)
4+
5+
- Update `postcss` to `~8.5`
6+
37
### 5.0.0
48

59
_August 3, 2024_

packages/postcss-tape/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"dist"
5050
],
5151
"dependencies": {
52-
"postcss": "~8.4",
52+
"postcss": "~8.5",
5353
"postcss-8.4": "npm:postcss@~8.4"
5454
},
5555
"scripts": {

packages/postcss-tape/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import url from 'node:url';
3939
import { fileContentsOrEmptyString } from './file-contents-or-empty-string';
4040
import { reduceInformationInCssSyntaxError } from './reduce-css-syntax-error';
4141

42-
import type { AcceptedPlugin } from 'postcss-8.4';
42+
import type { AcceptedPlugin as AcceptedPluginOldestPostCSS } from 'postcss-8.4';
4343
import type { AtRule, Declaration, Rule } from 'postcss';
4444
import type { PluginCreator, Plugin, Result } from 'postcss';
4545
import type { TestCaseOptions } from './test-case-options';
@@ -262,9 +262,9 @@ export function postcssTape(pluginCreator: PluginCreator<unknown>, runOptions?:
262262

263263
await t2.test(
264264
'The oldest and current PostCSS version produce the same result',
265-
{ skip: postcss([noopPlugin()]).version === postcssOldestSupported([noopPlugin()]).version },
265+
{ skip: postcss([noopPlugin()]).version === postcssOldestSupported([noopPlugin() as AcceptedPluginOldestPostCSS]).version },
266266
async () => {
267-
const resultFromOldestPostCSS = await postcssOldestSupported(plugins as Array<AcceptedPlugin>).process(input, {
267+
const resultFromOldestPostCSS = await postcssOldestSupported(plugins as Array<AcceptedPluginOldestPostCSS>).process(input, {
268268
from: testFilePath,
269269
to: resultFilePath,
270270
map: {

0 commit comments

Comments
 (0)