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

Update dependencies and embed axios-ntlm 1.3.0 into the project #4877

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

louislam
Copy link
Owner

Unfortunately, axios-ntlm cannot be upgraded and 1.3.0 is depending a older version of axios. Directly embedding it into the project should be the best way for now to deal with it.

https://github.com/Catbuttes/axios-ntlm/blob/6292357930bd669d4cbd74948ee68cad8dd21854/package.json#L33-L36

@louislam louislam marked this pull request as draft June 23, 2024 16:10
server/modules/axios-ntlm/lib/hash.js Dismissed Show dismissed Hide dismissed
server/modules/axios-ntlm/lib/hash.js Dismissed Show dismissed Hide dismissed
@CommanderStorm
Copy link
Collaborator

Are you shure that we should take on the maintenance burden of ntlm?
If there is no library for this, I would be more tempted to drop this feature in v2.0 entirely...

@CommanderStorm CommanderStorm added area:monitor Everything related to monitors type:enhance-existing feature wants to enhance existing monitor labels Jun 23, 2024
@@ -79,7 +79,6 @@
"@vvo/tzdb": "^6.125.0",
"args-parser": "~1.3.0",
"axios": "~0.28.1",
"axios-ntlm": "1.3.0",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Not going to maintain, but it was hard coded to 1.3.0 already. Technically no different.

I am doing this because of vulnerabilities in its axios (0.21.x).

Dropping it should prevent more users to upgrade to 2.0.0, so I do not want to. It is also not my plan.

@louislam louislam marked this pull request as ready for review June 23, 2024 18:08
@louislam louislam merged commit 83969d2 into master Jun 23, 2024
18 checks passed
@CommanderStorm CommanderStorm deleted the embed-axios-ntlm branch October 4, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants