File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
" @module-federation/sdk " : patch
2
3
---
3
4
4
5
Fixes an issue where duplicate links were created when existing links had no rel attribute.
5
6
6
7
- Added a test in ` dom.spec.ts ` to ensure links without ` rel ` attribute aren't duplicated.
7
8
- Modified the ` createLink ` function in ` dom.ts ` to treat ` null ` and ` undefined ` ` rel ` attributes as equivalent when checking for existing links.
8
- ```
9
+ ```
Original file line number Diff line number Diff line change
1
+ ---
2
+ " @module-federation/sdk " : patch
3
+ ---
4
+
5
+ Fix issue where ` createLink ` incorrectly created duplicate links when existing links lacked a ` rel ` attribute.
6
+
7
+ - Added a test case to verify ` createLink ` does not duplicate links when existing ones have no ` rel ` .
8
+ - Modified ` createLink ` logic to treat ` null ` and ` undefined ` as equivalent for ` rel ` attribute.
9
+ - Ensures consistent behavior even when ` rel ` attribute is missing.
10
+ ```
You can’t perform that action at this time.
0 commit comments