Skip to content

Conversation

@sameerag
Copy link
Member

@sameerag sameerag commented Oct 6, 2025

Update axios version in samples

@sameerag sameerag requested review from a team as code owners October 6, 2025 13:00
@Copilot Copilot AI review requested due to automatic review settings October 6, 2025 13:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the axios dependency from version ^1.9.0 to ^1.12.0 across multiple MSAL.js sample applications and test utilities. This is a dependency version update that likely includes bug fixes, security patches, or new features from the axios library.

Key changes:

  • Updated axios version constraint from ^1.9.0 to ^1.12.0 across all affected packages
  • Changes are limited to sample applications and test utilities, not core library packages

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
samples/msal-node-samples/silent-flow/package.json Updated axios dependency version
samples/msal-node-samples/on-behalf-of-distributed-cache/package.json Updated axios dependency version
samples/msal-node-samples/client-credentials-distributed-cache/package.json Updated axios dependency version
samples/msal-node-samples/b2c-user-flows/package.json Updated axios dependency version
samples/msal-node-samples/auth-code-distributed-cache/package.json Updated axios dependency version
samples/msal-node-samples/auth-code-cli-app/package.json Updated axios dependency version
samples/msal-node-samples/ElectronTestApp/package.json Updated axios dependency version
samples/msal-node-samples/ElectronSystemBrowserTestApp/package.json Updated axios dependency version
samples/e2eTestUtils/package.json Updated axios dependency version

Copy link
Member Author

@sameerag sameerag left a comment

Choose a reason for hiding this comment

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

Update axios

peterzenz
peterzenz previously approved these changes Oct 21, 2025
@sameerag sameerag enabled auto-merge (squash) October 23, 2025 02:45
},
"devDependencies": {
"@types/jest": "^29.5.0",
"e2e-test-utils": "file:../../e2eTestUtils",
Copy link
Collaborator

Choose a reason for hiding this comment

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

A reference to the local package is intentional here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. The change was not intentional, co-pilot suggestion I believe. Will revert this.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a good catch, how do we prevent reverting this in the future?

Copy link
Member Author

Choose a reason for hiding this comment

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

May be a lint rule?

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add one? There's going to be a CVE asking folks to move to 4.25.1 when we moved the e2e tests and our lint rules to file references. We really shouldn't regress this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a devDependency on samples, we shouldn't be opening a CVE or pushing folks to upgrade for this. We should still avoid regressing this for our own sake though

hectormmg
hectormmg previously approved these changes Oct 23, 2025
@sameerag sameerag dismissed stale reviews from hectormmg and konstantin-msft via 3dc5350 October 24, 2025 17:25
Copy link
Contributor

@peterzenz peterzenz left a comment

Choose a reason for hiding this comment

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

Can we add that lint rule you suggested?

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