-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postcss 8.4.48 probably broke stylelint-stylus
, @stylistic/stylelint-plugin
and stylelint-plugin-stylus
tests
#62
Comments
stylelint-stylus
teststylelint-stylus
, @stylistic/stylelint-plugin
and stylelint-plugin-styulus
tests
I could reproduce an issue in the {
code: `<div>
<style>a {
color: red;
}</style>
</div>`,
message: messages.rejected,
line: 4,
column: 1,
}, We can also see this issue on our demo site as follows. With With The difference between the two demos is only I suppose that this commit (postcss/postcss@1a8b261) for @romainmenke If you have any ideas, please feel free to let us know. 🙏🏼 |
You could say that it should have been a minor version. tl;dr: I have opened this issue so that we can track the issues on |
stylelint-stylus
, @stylistic/stylelint-plugin
and stylelint-plugin-styulus
testsstylelint-stylus
, @stylistic/stylelint-plugin
and stylelint-plugin-stylus
tests
PostCSS is large enough that any change is a breaking change for someone. If I understand the issue correctly then this is roughly what is happening.
We can't have both, those are contradictory.
With the patches in PostCSS the workarounds used by A minimal repro for const assert = require('assert');
const syntax = require("./lib/index.js")();
const document = syntax
.parse(`<div>
<style>
a {
color: red;
}</style>
</div>`, { syntax, from: 'foo' });
assert.deepStrictEqual(
document.first.rangeBy({ index: document.first.source.input.css.length - 1 }),
{ end: { column: 2, line: 5 }, start: { column: 1, line: 5 } }
); I don't currently have much time and this is unlikely to improve over the next few months. |
Thank you for your help. Let me investigate it more. |
I've also filed an issue in PostCSS as I think we can make a small change there to make it easier for |
I am going to release it today =^_^= |
@firefoxic we are down from 2 tests failing to 1. |
e.g. for
stylelint-plugin-stylus
10/11 2:01AM: passes
10/11 10:19PM: 8.4.48 is released
11/11 1:58AM: fails
https://github.com/stylus/stylelint-stylus/blob/f57fc3379bad2c3eb8454f846ddec11bd609f00d/package.json#L78
https://github.com/postcss/postcss/releases/tag/8.4.48
https://www.npmjs.com/package/stylelint-plugin-stylus?activeTab=dependencies
https://github.com/stylelint/stylelint-ecosystem-tester/actions/workflows/test-package-stylelint-plugin-stylus-8e7.next.yml
The text was updated successfully, but these errors were encountered: