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

Upgrade lilconfig version to enable ESM support #14029

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thibautsabot
Copy link

This PR #12455 was merged last year by a lilconfig maintainer.

However, looking at the merge commit here, only the package-lock.json file was changed, the package.json didn't make it through.

Upgrading to lilconfig v3 allows user to use ESM for importing postcss configs.
(For example, when using "type": "module" in package.json)

On this branch, I used the latest version (which includes security patches), alongside a small bump to postcss-load-config.

@TomTom-Labs
Copy link

Can I bring this Pull Request up the stack again?

@hosemadev
Copy link

Also, upgrading this, would resolve:

"Versions of the package lilconfig from 3.1.0 and before 3.1.1 are vulnerable to Arbitrary Code Execution due to the insecure usage of eval in the dynamicImport function."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants