Skip to content

STRWEB-159: @module-federation/enhanced ^2.8.1 removing axios - #191

Merged
julianladisch merged 1 commit into
mainfrom
STRWEB-159
Aug 3, 2026
Merged

STRWEB-159: @module-federation/enhanced ^2.8.1 removing axios#191
julianladisch merged 1 commit into
mainfrom
STRWEB-159

Conversation

@julianladisch

Copy link
Copy Markdown
Contributor

https://folio-org.atlassian.net/browse/STRWEB-159

Upgrade @module-federation/enhanced from ^2.0.0 to ^2.8.1 in package.json.

stripes-webpack’s yarn.lock has this axios dependency path:

  • @module-federation/enhanced@2.3.1 › @module-federation/cli@2.3.1 › @module-federation/dts-plugin@2.3.1 › axios@1.13.5

In recent @module-federation/enhanced versions the axios dependency has been completely removed: module-federation/core#4644

There are multiple known security vulnerabilities in axios@1.13.5 – 3 severe, 7 high, 21 medium: https://security.snyk.io/package/npm/axios/1.13.5

After the change in stripes-webpack’s package.json has been made and some other module bumps the stripes-webpack version then yarn will automatically remove this axios dependency from the other module’s yarn.lock file.

This helps the FOLIO Security Team triaging whether FOLIO is affected by axios security vulnerabilities, and gives implementers more confidence that FOLIO is secure.

The snapshot reference environments run with @module-federation/enhanced@2.8.1: https://github.com/folio-org/platform-lsp/blob/snapshot/yarn.lock

To keep stripes-webpack developer environments in sync with the snapshot reference environments we should update stripes-webpack’s yarn.lock file from time to time.

… removing axios

https://folio-org.atlassian.net/browse/STRWEB-159

Upgrade @module-federation/enhanced from ^2.0.0 to ^2.8.1 in package.json.

stripes-webpack’s yarn.lock has this axios dependency path:

* @module-federation/enhanced@2.3.1 › @module-federation/cli@2.3.1 › @module-federation/dts-plugin@2.3.1 › axios@1.13.5

In recent @module-federation/enhanced versions the axios dependency has been completely removed: module-federation/core#4644

There are multiple known security vulnerabilities in axios@1.13.5 – 3 severe, 7 high, 21 medium: https://security.snyk.io/package/npm/axios/1.13.5

After the change in stripes-webpack’s package.json has been made and some other module bumps the stripes-webpack version then yarn will automatically remove this axios dependency from the other module’s yarn.lock file.

This helps the FOLIO Security Team triaging whether FOLIO is affected by axios security vulnerabilities, and gives implementers more confidence that FOLIO is secure.

The snapshot reference environments run with @module-federation/enhanced@2.8.1: https://github.com/folio-org/platform-lsp/blob/snapshot/yarn.lock

To keep stripes-webpack developer environments in sync with the snapshot reference environments we should update stripes-webpack’s yarn.lock file from time to time.
@julianladisch
julianladisch requested a review from a team as a code owner July 31, 2026 10:17
@github-actions

Copy link
Copy Markdown

Jest Unit Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit 7dca447. ± Comparison against base commit 6a00291.

@sonarqubecloud

Copy link
Copy Markdown

@julianladisch
julianladisch merged commit 8eb1cff into main Aug 3, 2026
16 checks passed
@julianladisch
julianladisch deleted the STRWEB-159 branch August 3, 2026 14:09
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.

2 participants