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
Fix no longer needed workaround for Cosmiconfig segfault #7329
Conversation
🦋 Changeset detectedLatest commit: 634842b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Maybe related to nodejs/node#35889. The patch was released in Node.js 20. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were you able to test this locally on node@18 outside of Jest?
Yes. $ node -v
v18.18.2
$ bin/stylelint.mjs --config scripts/visual-config.cjs scripts/*.css
scripts/visual.css
1:1 ✖ Unknown rule unit-case unit-case
1:1 ✖ Unknown rule string-quotes string-quotes
1:9 ✖ Expected "url("foo.css")" to be ""foo.css"" import-notation
4:9 ✖ Unexpected invalid hex color "#4f" color-no-invalid-hex
6:1 ✖ Expected ".foo.bar" to have no more than 1 class selector-max-class
7:10 ✖ Unexpected unit "px" unit-disallowed-list
8:3 ⚠ Expected custom property name to be kebab-case custom-property-pattern
7 problems (6 errors, 1 warning) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Closes #7322
This workaround was introduced in #6902. See also #6898.
Note: This PR skips a few cases that failed due to segfault. See the source comment for details.