Skip to content

Commit c94f95a

Browse files
Upgrade packages in both package.json files.
Remove all the resolutions and upgrade packages, as no vulnerable versions are found by removing resolutions.
1 parent 9584920 commit c94f95a

File tree

6 files changed

+2518
-2066
lines changed

6 files changed

+2518
-2066
lines changed

.github/workflows/frontend-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [20.16.0, 22]
14+
node-version: [20.19.2, 22]
1515
steps:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3

Dockerfile.ci

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/node:20.16.0 AS builder
1+
FROM docker.io/library/node:20.19.2 AS builder
22

33
ARG PLUGIN=odf
44

@@ -14,7 +14,7 @@ RUN BUILD_SCRIPT=build; \
1414
NODE_OPTIONS="--max-old-space-size=1024" yarn "${BUILD_SCRIPT}" && \
1515
mv /app/plugins/${PLUGIN}/dist /dist
1616

17-
FROM docker.io/library/node:20.16.0
17+
FROM docker.io/library/node:20.19.2
1818

1919
RUN yarn global add http-server
2020
COPY --from=builder /dist /app

locales/en/plugin__odf-console.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,6 +1755,7 @@
17551755
"Only lowercase letters, numbers, non-consecutive periods, or hyphens": "Only lowercase letters, numbers, non-consecutive periods, or hyphens",
17561756
"Cannot be used before": "Cannot be used before",
17571757
"Cannot be used before within the same namespace": "Cannot be used before within the same namespace",
1758+
"Cannot be empty": "Cannot be empty",
17581759
"Not enough usage data": "Not enough usage data",
17591760
"Total requests: ": "Total requests: ",
17601761
"used": "used",
@@ -1803,6 +1804,9 @@
18031804
"No resources available": "No resources available",
18041805
"Select {{resourceLabel}}": "Select {{resourceLabel}}",
18051806
"Error Loading": "Error Loading",
1807+
"no results": "no results",
1808+
"No results found for {{ filterValue }}": "No results found for {{ filterValue }}",
1809+
"Clear selected value": "Clear selected value",
18061810
"Loading empty page": "Loading empty page",
18071811
"You are not authorized to complete this action. See your cluster administrator for role-based access control information.": "You are not authorized to complete this action. See your cluster administrator for role-based access control information.",
18081812
"Not Authorized": "Not Authorized",
@@ -1866,6 +1870,7 @@
18661870
"Infrastructures": "Infrastructures",
18671871
"Subscriptions": "Subscriptions",
18681872
"Project": "Project",
1873+
"Suspended": "Suspended",
18691874
"Composable table": "Composable table",
18701875
"Selectable table": "Selectable table",
18711876
"Select all": "Select all",
@@ -1920,10 +1925,5 @@
19201925
"Cannot change resource name (original: \"{{name}}\", updated: \"{{newName}}\").": "Cannot change resource name (original: \"{{name}}\", updated: \"{{newName}}\").",
19211926
"Cannot change resource namespace (original: \"{{namespace}}\", updated: \"{{newNamespace}}\").": "Cannot change resource namespace (original: \"{{namespace}}\", updated: \"{{newNamespace}}\").",
19221927
"Cannot change resource kind (original: \"{{original}}\", updated: \"{{updated}}\").": "Cannot change resource kind (original: \"{{original}}\", updated: \"{{updated}}\").",
1923-
"Cannot change API group (original: \"{{apiGroup}}\", updated: \"{{newAPIGroup}}\").": "Cannot change API group (original: \"{{apiGroup}}\", updated: \"{{newAPIGroup}}\").",
1924-
"Cannot be empty": "Cannot be empty",
1925-
"no results": "no results",
1926-
"No results found for {{ filterValue }}": "No results found for {{ filterValue }}",
1927-
"Clear selected value": "Clear selected value",
1928-
"Suspended": "Suspended"
1928+
"Cannot change API group (original: \"{{apiGroup}}\", updated: \"{{newAPIGroup}}\").": "Cannot change API group (original: \"{{apiGroup}}\", updated: \"{{newAPIGroup}}\")."
19291929
}

package.json

Lines changed: 41 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -64,33 +64,11 @@
6464
"*": "prettier --ignore-unknown --write",
6565
"**/package.json": "npx --yes [email protected]"
6666
},
67-
"resolutions": {
68-
"**/@typescript-eslint/typescript-estree/semver": "^7.7.1",
69-
"**/cypress/semver": "^7.7.1",
70-
"@babel/runtime": "^7.27.0",
71-
"async": "^3.2.6",
72-
"braces": "^3.0.3",
73-
"cache-loader/loader-utils": "^1.4.2",
74-
"cache-loader/loader-utils/json5": "^1.0.2",
75-
"cross-spawn": "^7.0.6",
76-
"eslint-plugin-import/tsconfig-paths/json5": "^1.0.2",
77-
"loader-utils": "^2.0.4",
78-
"micromatch": "^4.0.8",
79-
"minimatch": "^3.0.5",
80-
"minimist": "^1.2.8",
81-
"nanoid": "^3.3.8",
82-
"postcss": "^8.4.49",
83-
"tough-cookie": "^4.1.3",
84-
"underscore.string": "^3.3.6",
85-
"undici": "^6.21.1",
86-
"webpack": "^5.97.1",
87-
"webpack-bundle-analyzer/ws": "^7.5.10",
88-
"webpack-dev-server/express": "^4.21.0"
89-
},
67+
"resolutions": {},
9068
"dependencies": {
91-
"@aws-sdk/client-s3": "3.667.0",
92-
"@aws-sdk/lib-storage": "3.501.0",
93-
"@aws-sdk/s3-request-presigner": "3.614.0",
69+
"@aws-sdk/client-s3": "3.823.0",
70+
"@aws-sdk/lib-storage": "3.823.0",
71+
"@aws-sdk/s3-request-presigner": "3.823.0",
9472
"@openshift-console/dynamic-plugin-sdk": "1.8.0",
9573
"@openshift-console/dynamic-plugin-sdk-internal": "1.0.0",
9674
"@openshift-console/dynamic-plugin-sdk-webpack": "1.3.0",
@@ -106,105 +84,105 @@
10684
"cache-loader": "^4.1.0",
10785
"circular-dependency-plugin": "^5.2.2",
10886
"classnames": "^2.5.1",
109-
"copy-webpack-plugin": "^12.0.2",
87+
"copy-webpack-plugin": "^13.0.0",
11088
"css-loader": "^7.1.2",
11189
"file-loader": "^6.2.0",
112-
"fork-ts-checker-webpack-plugin": "^9.0.2",
90+
"fork-ts-checker-webpack-plugin": "^9.1.0",
11391
"fuzzysearch": "^1.0.3",
114-
"i18next": "^24.2.2",
92+
"i18next": "^25.2.1",
11593
"i18next-conv": "^15.1.1",
11694
"immer": "^10.1.1",
11795
"is-ip": "^5.0.1",
11896
"js-base64": "^3.7.7",
11997
"js-yaml": "^4.1.0",
12098
"lodash-es": "^4.17.21",
121-
"luxon": "^3.5.0",
122-
"mobx": "^6.13.6",
99+
"luxon": "^3.6.1",
100+
"mobx": "^6.13.7",
123101
"mobx-react-lite": "^4.1.0",
124102
"murmurhash-js": "^1.0.0",
125103
"react": "^17.0.1",
126104
"react-copy-to-clipboard": "5.x",
127105
"react-dnd": "^15.1.1",
128106
"react-dnd-html5-backend": "^15.1.2",
129107
"react-dom": "^17.0.1",
130-
"react-dropzone": "^14.2.9",
108+
"react-dropzone": "^14.3.8",
131109
"react-helmet": "^6.1.0",
132-
"react-hook-form": "^7.42.1",
110+
"react-hook-form": "^7.56.4",
133111
"react-i18next": "^11.11.4",
134112
"react-linkify": "^0.2.2",
135113
"react-redux": "7.2.2",
136114
"react-router-dom-v5-compat": "^6.28.2",
137-
"react-tagsinput": "^3.19.0",
138-
"react-virtualized-auto-sizer": "^1.0.24",
139-
"react-window": "^1.8.10",
115+
"react-tagsinput": "^3.20.3",
116+
"react-virtualized-auto-sizer": "^1.0.26",
117+
"react-window": "^1.8.11",
140118
"redux": "4.0.1",
141119
"resolve-url-loader": "^5.0.0",
142-
"sass": "^1.85.1",
120+
"sass": "^1.89.0",
143121
"sass-loader": "^16.0.5",
144-
"semver": "^6.3.1",
122+
"semver": "^7.7.2",
145123
"style-loader": "^3.3.4",
146-
"swr": "2.3.2",
124+
"swr": "2.3.3",
147125
"thread-loader": "^4.0.4",
148126
"ts-loader": "^9.5.2",
149-
"tsx": "^4.19.2",
127+
"tsx": "^4.19.4",
150128
"typesafe-actions": "^5.1.0",
151-
"typescript": "^5.7.3",
129+
"typescript": "^5.8.3",
152130
"victory-core": "^37.3.6",
153131
"webpack": "^5.97.1",
154132
"webpack-bundle-analyzer": "^4.10.2",
155133
"webpack-cli": "^6.0.1",
156134
"yup": "^0.32.11"
157135
},
158136
"devDependencies": {
159-
"@cypress/webpack-preprocessor": "^6.0.2",
137+
"@cypress/webpack-preprocessor": "^6.0.4",
160138
"@discoveryjs/json-ext": "^0.6.3",
161-
"@swc/core": "^1.10.11",
162-
"@swc/jest": "^0.2.37",
139+
"@swc/core": "^1.11.29",
140+
"@swc/jest": "^0.2.38",
163141
"@testing-library/jest-dom": "^6.6.3",
164-
"@testing-library/react": "^12.1.5",
142+
"@testing-library/react": "^16.3.0",
165143
"@testing-library/react-hooks": "^8.0.1",
166144
"@testing-library/user-event": "^14.6.1",
167145
"@types/jest": "^29.5.14",
168146
"@types/lodash-es": "^4.17.12",
169-
"@types/luxon": "^3.4.2",
147+
"@types/luxon": "^3.6.2",
170148
"@types/react-helmet": "^6.1.11",
171149
"@types/react-window": "^1.8.8",
172-
"@typescript-eslint/eslint-plugin": "^8.12.2",
173-
"@typescript-eslint/parser": "^8.17.0",
174-
"cypress": "^14.0.0",
175-
"cypress-multi-reporters": "^2.0.4",
176-
"eslint": "^8.57.1",
150+
"@typescript-eslint/eslint-plugin": "^8.32.1",
151+
"@typescript-eslint/parser": "^8.32.1",
152+
"cypress": "^14.4.0",
153+
"cypress-multi-reporters": "^2.0.5",
154+
"eslint": "^9.27.0",
177155
"eslint-config-airbnb": "^19.0.4",
178-
"eslint-config-prettier": "^9.1.0",
156+
"eslint-config-prettier": "^10.1.5",
179157
"eslint-plugin-chai-friendly": "^1.0.1",
180-
"eslint-plugin-cypress": "^4.1.0",
158+
"eslint-plugin-cypress": "^4.3.0",
181159
"eslint-plugin-import": "^2.31.0",
182-
"eslint-plugin-jest": "^28.11.0",
160+
"eslint-plugin-jest": "^28.12.0",
183161
"eslint-plugin-jest-dom": "^5.5.0",
184162
"eslint-plugin-jsx-a11y": "^6.10.2",
185163
"eslint-plugin-mobx": "^0.0.13",
186-
"eslint-plugin-react": "^7.37.2",
187-
"eslint-plugin-react-hooks": "^4.6.2",
164+
"eslint-plugin-react": "^7.37.5",
165+
"eslint-plugin-react-hooks": "^6.0.0",
188166
"eslint-plugin-testing-library": "^7.0.0",
189167
"http-server": "^14.1.1",
190168
"husky": "^9.1.7",
191169
"i18next-parser": "^9.3.0",
192170
"identity-obj-proxy": "^3.0.0",
193171
"jest": "^29.7.0",
194172
"jest-environment-jsdom": "^29.7.0",
195-
"jest-html-reporter": "^3.10.2",
173+
"jest-html-reporter": "^4.1.0",
196174
"jest-silent-reporter": "^0.6.0",
197175
"mocha-junit-reporter": "^2.2.1",
198176
"mochawesome": "^7.1.3",
199177
"mochawesome-merge": "^4.4.1",
200-
"prettier": "^3.5.2",
201-
"stylelint": "^16.14.1",
178+
"prettier": "^3.5.3",
179+
"stylelint": "^16.19.1",
202180
"stylelint-config-sass-guidelines": "^12.1.0",
203-
"stylelint-config-standard": "^37.0.0",
204-
"stylelint-order": "^6.0.4",
205-
"webpack-dev-server": "^5.2.0"
181+
"stylelint-config-standard": "^38.0.0",
182+
"stylelint-order": "^7.0.0",
183+
"webpack-dev-server": "^5.2.1"
206184
},
207185
"engines": {
208-
"node": ">=20.x"
186+
"node": ">=20.19.2"
209187
}
210188
}

packages/shared/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@patternfly/react-topology": "5.4.1",
3030
"classnames": "^2.5.1",
3131
"fuzzysearch": "^1.0.3",
32-
"i18next-parser": "9.1.0",
32+
"i18next-parser": "9.3.0",
3333
"js-base64": "^3.7.7",
3434
"js-yaml": "^4.1.0",
3535
"lodash-es": "^4.17.21",
@@ -38,19 +38,19 @@
3838
"react-dnd": "^15.1.1",
3939
"react-dnd-html5-backend": "^15.1.2",
4040
"react-helmet": "^6.1.0",
41-
"react-hook-form": "^7.42.1",
41+
"react-hook-form": "^7.56.4",
4242
"react-linkify": "^0.2.2",
43-
"react-tagsinput": "^3.19.0",
43+
"react-tagsinput": "^3.20.3",
4444
"resolve-url-loader": "^5.0.0",
45-
"sass": "^1.85.1",
46-
"typescript": "^5.7.3",
45+
"sass": "^1.89.0",
46+
"typescript": "^5.8.3",
4747
"victory-core": "^37.3.6",
4848
"yup": "^0.32.11"
4949
},
5050
"peerDependencies": {
5151
"@openshift-console/dynamic-plugin-sdk": "1.8.0",
5252
"@openshift-console/dynamic-plugin-sdk-internal": "1.0.0",
53-
"i18next": "^24.2.2",
53+
"i18next": "^25.2.1",
5454
"react": "^17.0.1",
5555
"react-dom": "^17.0.1",
5656
"react-i18next": "^11.11.4",

0 commit comments

Comments
 (0)