Skip to content
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 Segmentation fault errors for Cosmiconfig 8.2 #6902

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Jun 5, 2023

Which issue, if any, is this issue related to?

See : #6898

Is there anything in the PR that needs further explanation?

The sync loaders from cosmiconfig for .js and .cjs still use the old logic/code.
Only the async loaders were changed.

Switching back to the sync loaders makes the errors go away.

@changeset-bot
Copy link

changeset-bot bot commented Jun 5, 2023

🦋 Changeset detected

Latest commit: 3b4939f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
stylelint Patch

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

@ybiquitous
Copy link
Member

@romainmenke Can you update Cosmiconfig to 8.2 in this PR? Or, do you have any reason not to do it?

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
@ybiquitous ybiquitous mentioned this pull request Jun 5, 2023
4 tasks
@romainmenke
Copy link
Member Author

This PR is set to merge to the dependabot PR that has the Cosmiconfig update.

@ybiquitous ybiquitous changed the title Fix Segmentation fault errors Fix Segmentation fault errors for Cosmiconfig 8.2 Jun 5, 2023
Copy link
Member

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I missed the base branch, sorry! 🙇🏼

Thank you so much for this super-fast fix! LGTM 👍🏼

@ybiquitous ybiquitous merged commit 83a4698 into dependabot/npm_and_yarn/cosmiconfig-8.2.0 Jun 5, 2023
12 checks passed
@ybiquitous ybiquitous deleted the fix-cosmiconfig--usage--sensible-dormouse-386f3ffef4 branch June 5, 2023 22:34
ybiquitous added a commit that referenced this pull request Nov 13, 2023
This workaround was introduced in #6902. See also #6898.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants