Skip to content

Commit 5a0857c

Browse files
authored
chore(deps): upgrade form-data dep (#5449)
* chore(deps): upgrade form-data dep and other fixes * f
1 parent f0f326f commit 5a0857c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+381
-713
lines changed

web/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@
2222
"@babel/core": "^7.28.0",
2323
"@babel/eslint-parser": "^7.28.0",
2424
"@babel/helper-get-function-arity": "^7.16.7",
25-
"@babel/plugin-transform-class-properties": "^7.27.1",
2625
"@babel/plugin-proposal-decorators": "^7.28.0",
26+
"@babel/plugin-transform-class-properties": "^7.27.1",
2727
"@babel/plugin-transform-object-rest-spread": "^7.27.1",
2828
"@babel/plugin-transform-optional-chaining": "^7.27.1",
2929
"@babel/preset-env": "^7.28.0",
3030
"@babel/preset-react": "^7.27.1",
3131
"@babel/preset-typescript": "^7.27.1",
3232
"@pact-foundation/pact": "^15.0.1",
33-
"@pact-foundation/pact-node": "^10.18.0",
3433
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
3534
"@testing-library/jest-dom": "^6.6.3",
3635
"@testing-library/react": "^15.0.7",

web/src/components/shared/DiffEditor.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ export default class DiffEditor extends Component {
1818
this.setState(lineChanges);
1919
}
2020

21+
componentWillUnmount() {
22+
if (this.monacoDiffEditor) {
23+
this.monacoDiffEditor.dispose();
24+
this.monacoDiffEditor = null;
25+
}
26+
}
27+
2128
render() {
2229
const { addedLines, removedLines, changes } = this.state;
2330
const { original, value, specKey } = this.props;
@@ -49,7 +56,7 @@ export default class DiffEditor extends Component {
4956
<div className="flex-column u-width--full u-overflow--hidden">
5057
<div className="flex-column flex flex1">
5158
<MonacoDiffEditor
52-
ref={(editor) => {
59+
onMount={(editor) => {
5360
this.monacoDiffEditor = editor;
5461
}}
5562
width="100%"

web/src/scss/components/DebugInfo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../variables.scss";
1+
@use "../variables.scss";
22

33
.node-status {
44
width: 8px;

web/src/scss/components/Login.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../variables.scss";
1+
@use "../variables.scss";
22

33
.Login-wrapper {
44
position: relative;
@@ -37,7 +37,7 @@
3737
.traditional-auth-wrapper,
3838
.scm-form-wrapper {
3939
padding: 40px;
40-
background-color: $sub-nav-color;
40+
background-color: variables.$sub-nav-color;
4141
box-shadow: inset 4px 0 4px -4px rgba(0, 0, 0, 0.16);
4242

4343
.success-wrapper {

web/src/scss/components/PreflightCheckPage.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../variables.scss";
1+
@use "../variables.scss";
22

33
.PreflightChecks--wrapper {
44
max-width: 1000px;

web/src/scss/components/RestoreSnapshotRow.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
@import "../variables.scss";
1+
@use "../variables.scss";
22

33
.RestoreSnapshotRow--wrapper {
44
background: #ffffff;
5-
border: 1px solid $border-color;
5+
border: 1px solid variables.$border-color;
66
box-sizing: border-box;
77
border-radius: 6px;
88
padding: 15px;
99
margin-top: 10px;
1010

1111
&.backupSelected {
12-
background: $primary-light-color;
13-
border: 1px solid $border-color;
12+
background: variables.$primary-light-color;
13+
border: 1px solid variables.$border-color;
1414
box-sizing: border-box;
1515
}
1616
}

web/src/scss/components/UploadLicenseFile.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
@import "../variables.scss";
1+
@use "../variables.scss";
22

33
.UploadLicenseFile--wrapper {
44
position: relative;
55

66
.FileUpload-wrapper {
77
cursor: default;
88
border-radius: 4px;
9-
border: 1px dashed $border-color;
9+
border: 1px dashed variables.$border-color;
1010
padding: 20px 15px 18px;
1111
margin-bottom: 10px;
1212

web/src/scss/components/apps/AppLicense.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../variables.scss";
1+
@use "../../variables.scss";
22

33
.CommunityLicense--wrapper {
44
box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
@@ -10,7 +10,7 @@
1010
}
1111

1212
.License--wrapper {
13-
background: $sub-nav-color;
13+
background: variables.$sub-nav-color;
1414
border-radius: 6px;
1515
padding: 15px;
1616
width: 100%;
@@ -21,7 +21,7 @@
2121
.FileUpload-wrapper {
2222
cursor: default;
2323
border-radius: 4px;
24-
border: 1px dashed $border-color;
24+
border: 1px dashed variables.$border-color;
2525
padding: 20px 15px 18px;
2626
margin-bottom: 20px;
2727

@@ -97,7 +97,7 @@
9797
line-height: 1.7;
9898
font-weight: 500;
9999
font-size: 12px;
100-
color: $text-color-secondary;
100+
color: variables.$text-color-secondary;
101101

102102
& > span {
103103
margin-top: 12px;

web/src/scss/components/apps/AppVersionHistory.scss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../variables.scss";
1+
@use "../../variables.scss";
22
$cell-width: 140px;
33

44
.VersionHistoryRowWrapper {
@@ -47,7 +47,7 @@ $cell-width: 140px;
4747
}
4848

4949
.upstream-version-box-wrapper {
50-
background: $sub-nav-color;
50+
background: variables.$sub-nav-color;
5151
border-radius: 6px;
5252
padding: 15px;
5353
width: 100%;
@@ -69,7 +69,7 @@ $cell-width: 140px;
6969
}
7070

7171
.info-box {
72-
background-color: $primary-light-color;
72+
background-color: variables.$primary-light-color;
7373
border-radius: 4px;
7474
padding: 12px;
7575
text-align: center;
@@ -104,7 +104,7 @@ $cell-width: 140px;
104104

105105
.ActiveRelease-wrapper {
106106
.no-current-version {
107-
background-color: $primary-light-color;
107+
background-color: variables.$primary-light-color;
108108
margin-top: 16px;
109109
border-radius: 4px;
110110
padding: 16px 12px;
@@ -116,8 +116,8 @@ $cell-width: 140px;
116116
margin-left: 15px;
117117
border-width: 1px;
118118
border-style: solid;
119-
border-color: $secondary-color;
120-
color: $secondary-color;
119+
border-color: variables.$secondary-color;
120+
color: variables.$secondary-color;
121121
box-shadow: none;
122122
}
123123

@@ -144,20 +144,20 @@ $cell-width: 140px;
144144
.action-tab-bar .tab-item {
145145
font-size: 12px;
146146
font-weight: 500;
147-
color: $text-color-body-copy;
147+
color: variables.$text-color-body-copy;
148148
padding: 0 10px;
149-
border-right: 1px solid $border-color;
149+
border-right: 1px solid variables.$border-color;
150150
line-height: 15px;
151151
cursor: pointer;
152152
transition: color 0.2s;
153153
position: relative;
154154

155155
&:hover {
156-
color: $text-color-accent;
156+
color: variables.$text-color-accent;
157157
}
158158

159159
&.is-active {
160-
color: $text-color-secondary;
160+
color: variables.$text-color-secondary;
161161
font-weight: 600;
162162

163163
&::after {
@@ -169,15 +169,15 @@ $cell-width: 140px;
169169
height: 8px;
170170
transform: rotate(45deg);
171171
background-color: #ffffff;
172-
border-top: 1px solid $border-color;
173-
border-left: 1px solid $border-color;
172+
border-top: 1px solid variables.$border-color;
173+
border-left: 1px solid variables.$border-color;
174174
left: 50%;
175175
margin-left: -4px;
176176
}
177177
}
178178

179179
&.blue.is-active::after {
180-
background-color: $primary-light-color;
180+
background-color: variables.$primary-light-color;
181181
}
182182

183183
&:last-child {
@@ -231,7 +231,7 @@ $cell-width: 140px;
231231
bottom: -26px;
232232
transform: translateX(-50%);
233233
white-space: nowrap;
234-
color: $text-color-body-copy;
234+
color: variables.$text-color-body-copy;
235235

236236
&.err {
237237
color: var(--error-color);

web/src/scss/components/apps/EmbeddedClusterManagement.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../variables.scss";
1+
@use "../../variables.scss";
22

33
.EmbeddedClusterManagement--wrapper {
44
.BoxedCheckbox {
@@ -12,15 +12,15 @@
1212
border-top: 1px solid #dfdfdf;
1313

1414
&.is-expired {
15-
background-color: $sub-nav-color;
15+
background-color: variables.$sub-nav-color;
1616
}
1717

1818
&.is-deleting {
19-
background-color: $sub-nav-color;
19+
background-color: variables.$sub-nav-color;
2020
}
2121

2222
.nodeTag {
23-
background-color: $primary-light-color;
23+
background-color: variables.$primary-light-color;
2424
font-size: 12px;
2525
line-height: 12px;
2626
color: #73a3cd;

0 commit comments

Comments
 (0)