Skip to content

Update package.json #1503

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

Closed
wants to merge 2 commits into from
Closed

Update package.json #1503

wants to merge 2 commits into from

Conversation

blubskye
Copy link

Fixes a circular dependency error, and a security vulnerability having to do with tar.

@samuelms1
Copy link

How does this fix the tar vulnerability? I'm not saying it doesn't, but it isn't obvious to me. I can see that [email protected] => [email protected] => [email protected]

I see this MR updates node-addon-api which I guess updates node-gyp?

@blubskye
Copy link
Author

blubskye commented Oct 6, 2021

Because the older node version is what was causing the issue. You can try compiling it yourself, and then the audit command actually works. When before it didn't work. It wanted to downgrade the sqlite version for some reason.

@samuelms1
Copy link

I cloned the repo, used node v12.22.6, ran npm i, then ran npm ls, and checked the versions of tar. It was using [email protected] (not [email protected] which has the security vulnerability in [email protected]).

I think the tar security issue was resolved with #1441. The [email protected] was build in Feb and the fix was in March. I think it just needs to be republished with a new version.

@kewde
Copy link
Collaborator

kewde commented Oct 8, 2021

Thanks eb7708a

@kewde kewde closed this Oct 8, 2021
@blubskye
Copy link
Author

blubskye commented Oct 8, 2021

Yet the person did the same commit that I did, beautiful. At least it's fixed now.

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