Skip to content

Commit 8676b57

Browse files
committed
fix: pin jquery-ui to 1.13.3 to avoid regression from 1.14.2 upgrade
Pin jquery-ui to 1.13.3 to prevent an unintended upgrade to 1.14.2. The jquery-ui 1.14.2 upgrade was introduced as part of running `yarn upgrade`. This version adds a dependency on jQuery 4, resulting in compatibility issues with the application's existing jQuery 3 dependency. The upgrade caused feature specs to fail, including JSON parsing failures when submitting organisation links. Resolved failures: - Plans User creates a new Plan - SuperAdmins Orgs Super admin submits invalid data The latter failed with: JSON::ParserError: unexpected character: 'org' at line 1 column 1
1 parent 87808fe commit 8676b57

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"eslint-plugin-import": "^2.26.0",
5353
"eslint-webpack-plugin": "^2.6.0",
5454
"jquery": "^3.5.1",
55-
"jquery-ui": "^1.12.1",
55+
"jquery-ui": "1.13.3",
5656
"jquery-ui-sass": "^0.0.1",
5757
"js-cookie": "^3.0.1",
5858
"number-to-text": "^0.3.8",

‎yarn.lock‎

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3038,19 +3038,14 @@ jquery-ui-sass@^0.0.1:
30383038
resolved "https://registry.yarnpkg.com/jquery-ui-sass/-/jquery-ui-sass-0.0.1.tgz#d117eb1a82fbf5072e6797e370c21b2446fb0861"
30393039
integrity sha512-O+59acNrMie/z/5xZghZ/JJ2cs2MUX1oUXP/z5ukyJuub4RKWrt34MywoYH9VECcduT39c8PgRR1YXbEy/A0Ng==
30403040

3041-
jquery-ui@^1.12.1:
3042-
version "1.14.2"
3043-
resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.14.2.tgz#515288b5c730b720acca6e53a0366827ad834053"
3044-
integrity sha512-1gSl7PUjyipa2adSr780Ujk16faicrV7PjPPzPtvWk7tTqBnsqp67NNV9jZK2+BIxUPXWSnIUU/LBCgwgGZE+Q==
3041+
jquery-ui@1.13.3:
3042+
version "1.13.3"
3043+
resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.13.3.tgz#d9f5292b2857fa1f2fdbbe8f2e66081664eb9bc5"
3044+
integrity sha512-D2YJfswSJRh/B8M/zCowDpNFfwsDmtfnMPwjJTyvl+CBqzpYwQ+gFYIbUUlzijy/Qvoy30H1YhoSui4MNYpRwA==
30453045
dependencies:
3046-
jquery ">=1.12.0 <5.0.0"
3046+
jquery ">=1.8.0 <4.0.0"
30473047

3048-
"jquery@>=1.12.0 <5.0.0":
3049-
version "4.0.0"
3050-
resolved "https://registry.yarnpkg.com/jquery/-/jquery-4.0.0.tgz#95c33ac29005ff72ec444c5ba1cf457e61404fbb"
3051-
integrity sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==
3052-
3053-
jquery@^3.5.1:
3048+
"jquery@>=1.8.0 <4.0.0", jquery@^3.5.1:
30543049
version "3.7.1"
30553050
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de"
30563051
integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==

0 commit comments

Comments
 (0)