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

security vuln fix, grammar + clarification #133

Closed
wants to merge 0 commits into from
Closed

security vuln fix, grammar + clarification #133

wants to merge 0 commits into from

Conversation

dj1ch
Copy link
Contributor

@dj1ch dj1ch commented Jan 28, 2024

npm returned a security vulnerability, had to bump vite to 4.5.2(hence the changes to package-lock.json) plus i fixed some grammar to index.md, template.md(template for supported devices), and faq.md. mentioned the security vuln fix(es) with the line i added in contributing.md

screenshot:

Desktop Screenshot 2024 01 28 - 11 00 35 14

Copy link
Contributor

@ethanaobrien ethanaobrien left a comment

Choose a reason for hiding this comment

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

Don't know how I feel about adding this to the instructions when building/running. Npm warns itself that this can break dependencies, and it's never a good idea to manually update a dependencies dependency.

You should attempt upgrading vuepress to 2.0.0-rc.2 first, instead of updating a sub-depenency. This may break things, make sure it works before pushing.

https://www.npmjs.com/package/vuepress/?activeTab=versions

@WeirdTreeThing
Copy link
Member

web dev moment

@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 28, 2024

Don't know how I feel about adding this to the instructions when building/running. Npm warns itself that this can break dependencies, and it's never a good idea to manually update a dependencies dependency.

You should attempt upgrading vuepress to 2.0.0-rc.2 first, instead of updating a sub-depenency. This may break things, make sure it works before pushing.

https://www.npmjs.com/package/vuepress/?activeTab=versions

so do we update the versions through the package-lock.json? i think you guys can edit the commits right?

@ethanaobrien
Copy link
Contributor

web dev moment

There's nothing different about this than any other programming language.

so do we update the versions through the package-lock.json?

Avoid editing package-lock.json. edit package.json

i think you guys can edit the commits right?

git reset HEAD~1 && git push -f will undo your commit.

For the future, please submit different patches in different prs, it helps with reviewing and merging

@WeirdTreeThing
Copy link
Member

There's nothing different about this than any other programming language.

js devs coping is funny

@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 28, 2024

web dev moment

There's nothing different about this than any other programming language.

so do we update the versions through the package-lock.json?

Avoid editing package-lock.json. edit package.json

i think you guys can edit the commits right?

git reset HEAD~1 && git push -f will undo your commit.

For the future, please submit different patches in different prs, it helps with reviewing and merging

gotcha, should i resubmit the other changes? (except the package-lock.json)

@dj1ch dj1ch closed this Jan 28, 2024
@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 28, 2024

There's nothing different about this than any other programming language.

js devs coping is funny

😭😭😭

@ninelore
Copy link
Member

yea package-lock editing is really bad practice

@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 28, 2024

@ethanaobrien do i just open up a seperate pr?

@ethanaobrien
Copy link
Contributor

Yes, one for rewording/grammar, one for the security issue

@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 28, 2024

Yes, one for rewording/grammar, one for the security issue

will do

ninelore added a commit that referenced this pull request Jan 28, 2024
redoing last pr pretty much #133
@MilkyDeveloper
Copy link

image

🤡🤡🤡

@WeirdTreeThing
Copy link
Member

wrong repo

@dj1ch
Copy link
Contributor Author

dj1ch commented Jan 29, 2024

image

🤡🤡🤡

holy sh*t its milky

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.

5 participants