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

Svgo v2 #329

Closed
wants to merge 4 commits into from
Closed

Svgo v2 #329

wants to merge 4 commits into from

Conversation

Aissaoui-Ahmed
Copy link

@Aissaoui-Ahmed Aissaoui-Ahmed commented Dec 5, 2021

Ref: #307

NodeJS releases status and END-OF-LIFE

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.13.0". Got "8.17.0"
https://github.com/svg/svgo/blob/b37d90e12a87312bba87a6c52780884e6e595e23/package.json#L52-L54

Travis build
https://app.travis-ci.com/github/boopathi/react-svg-loader/jobs/550900558

@lgtm-com
Copy link

lgtm-com bot commented Dec 23, 2021

This pull request introduces 1 alert when merging 3808f70 into 32c796d - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

// SVGO Optimize
export function optimize(opts: any = {}): (content: string) => Promise<string> {
export function optimize(opts: any = {}) {
opts = validateAndFix(opts);

Choose a reason for hiding this comment

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

Config format is different now. So validateAndFix might need to be changed as well.

@lgtm-com
Copy link

lgtm-com bot commented Dec 23, 2021

This pull request introduces 1 alert when merging 8e63536 into 32c796d - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

@a-viking
Copy link

a-viking commented Jun 1, 2022

@boopathi can you review this, please? We use your loader and it fails vulnerability check every build.

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