Skip to content

Update dependencies - #177

Merged
lslezak merged 2 commits into
mainfrom
update-dependencies
Jul 21, 2026
Merged

lslezak merged 2 commits into
mainfrom
update-dependencies

Conversation

@lslezak

@lslezak lslezak commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Problem

  • The Dependabot reports 70+ possible security issues

Solution

  • Update all dependencies (done with npx npm-check-updates -u), hopefully this fixes most of the problems

Additional changes

Testing preview

The testing preview is available at https://agama-preview-pull-177.surge.sh/

lslezak added 2 commits July 21, 2026 12:11
Configure 7 days cooldown time to minimize supply chain attacks.

@mvidner mvidner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, LGTM!

Comment thread .yarnrc.yml
@@ -0,0 +1,3 @@
# configure 7 days cooldown time to minimize supply chain attacks
npmMinimalAgeGate: "7d"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this! 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Although, a question. Why yarn?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Check npm/cli#8965

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Although, a question. Why yarn?

No idea, it was added by @imobachgs at the very beginning.

@dgdavid dgdavid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for taking care. LGTM

@lslezak

lslezak commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author
  • For the beginners like me: npx npm-check-updates https://www.npmjs.com/package/npm-check-updates forces updating all dependencies in package.json which is OK for a docs package. Compare with a security update of agama itself in SLE 16, where the appropriate tool is npm audit fix

This is a documentation site which we can update easily and very quickly (compared to the installer) so we can be more aggressive regarding the version updates.

And it is also easier to keep up with the Docusaurus releases continuously in smaller steps than do a big update after few years.

@lslezak
lslezak merged commit be876d8 into main Jul 21, 2026
4 checks passed
@lslezak
lslezak deleted the update-dependencies branch July 21, 2026 13:15
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