Skip to content

Commit

Permalink
update postcss version
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke committed Jan 14, 2025
1 parent 2614182 commit 4b2157e
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 73 deletions.
154 changes: 85 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/postcss-tape/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes to PostCSS Tape

### Unreleased (major)

- Update `postcss` to `~8.5`

### 5.0.0

_August 3, 2024_
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-tape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dist"
],
"dependencies": {
"postcss": "~8.4",
"postcss": "~8.5",
"postcss-8.4": "npm:postcss@~8.4"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/postcss-tape/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import url from 'node:url';
import { fileContentsOrEmptyString } from './file-contents-or-empty-string';
import { reduceInformationInCssSyntaxError } from './reduce-css-syntax-error';

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

await t2.test(
'The oldest and current PostCSS version produce the same result',
{ skip: postcss([noopPlugin()]).version === postcssOldestSupported([noopPlugin()]).version },
{ skip: postcss([noopPlugin()]).version === postcssOldestSupported([noopPlugin() as AcceptedPluginOldestPostCSS]).version },
async () => {
const resultFromOldestPostCSS = await postcssOldestSupported(plugins as Array<AcceptedPlugin>).process(input, {
const resultFromOldestPostCSS = await postcssOldestSupported(plugins as Array<AcceptedPluginOldestPostCSS>).process(input, {
from: testFilePath,
to: resultFilePath,
map: {
Expand Down

0 comments on commit 4b2157e

Please sign in to comment.