Skip to content

Commit 23b0987

Browse files
Copilotpranav-gupta-msftvinnarayana-msft
authored
Update swiper peer dependency to ^12.1.2 to fix CVE-2026-27212 (#9356)
* Initial plan * Update swiper peer dependency to ^12.1.2 and fix SCSS imports for Swiper 12 compatibility Co-authored-by: pranav-gupta-msft <88364044+pranav-gupta-msft@users.noreply.github.com> * Remove .css extension from swiper imports and upgrade sass to 1.98.0 for CSS nesting support Co-authored-by: vinnarayana-msft <241959415+vinnarayana-msft@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pranav-gupta-msft <88364044+pranav-gupta-msft@users.noreply.github.com> Co-authored-by: vinnarayana-msft <241959415+vinnarayana-msft@users.noreply.github.com>
1 parent dd0ffca commit 23b0987

4 files changed

Lines changed: 329 additions & 120 deletions

File tree

source/nodejs/adaptivecards/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"typedoc-plugin-markdown": "^3.11.2"
4848
},
4949
"peerDependencies": {
50-
"swiper": "^11.0.7"
50+
"swiper": "^12.1.2"
5151
},
5252
"jest": {
5353
"verbose": true,

source/nodejs/adaptivecards/src/scss/adaptivecards-carousel.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright (C) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
@import 'adaptivecards-vars';
4-
@import 'swiper/swiper.scss';
5-
@import 'swiper/modules/pagination.scss';
6-
@import 'swiper/modules/navigation.scss';
4+
@import 'swiper/swiper';
5+
@import 'swiper/modules/pagination';
6+
@import 'swiper/modules/navigation';
77

88
.swiper-pagination-bullet {
99
text-align: center;

0 commit comments

Comments
 (0)