Skip to content

Commit 1b4fb46

Browse files
committed
FEATURE EXTPLESK-9225 Update dependencies
1 parent cbaa9a5 commit 1b4fb46

File tree

7 files changed

+5135
-5983
lines changed

7 files changed

+5135
-5983
lines changed

.eslintrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
2+
3+
import js from '@eslint/js';
4+
import pleskConfig from '@plesk/eslint-config';
5+
6+
export default [
7+
js.configs.recommended,
8+
pleskConfig,
9+
{
10+
rules: {
11+
'jest/no-test-return-statement': 'off',
12+
'no-console': 'off',
13+
},
14+
settings: {
15+
react: {
16+
pragma: 'createElement',
17+
},
18+
},
19+
},
20+
];

lib/.eslintrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/commands/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 1999-2018. Plesk International GmbH. All rights reserved.
22

3-
// eslint-disable-next-line jest/no-jest-import
43
const jest = require('jest');
54
const createConfig = require('../jest/createConfig');
65

lib/eslint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
2+
3+
import { defineConfig } from 'eslint/config';
4+
5+
export default defineConfig([{
6+
rules: {
7+
'no-console': 'off',
8+
},
9+
}]);

package.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,38 @@
2525
"src"
2626
],
2727
"dependencies": {
28-
"@babel/core": "^7.0.0",
29-
"@babel/plugin-proposal-class-properties": "^7.17.12",
30-
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
31-
"@babel/plugin-transform-runtime": "^7.18.2",
32-
"@babel/preset-env": "^7.18.2",
33-
"@babel/preset-react": "^7.17.12",
34-
"@plesk/eslint-config": "^2.0.0",
35-
"@plesk/ui-library": "1.1.5",
28+
"@babel/core": "^7.28.3",
29+
"@babel/plugin-proposal-class-properties": "^7.18.6",
30+
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
31+
"@babel/plugin-transform-runtime": "^7.28.3",
32+
"@babel/preset-env": "^7.28.3",
33+
"@babel/preset-react": "^7.27.1",
34+
"@plesk/eslint-config": "^4.0.0",
35+
"@plesk/ui-library": "3.45.0",
3636
"babel-core": "^7.0.0-bridge.0",
37-
"babel-loader": "^8.0.0",
38-
"chalk": "^2.4.1",
37+
"babel-loader": "^10.0.0",
38+
"chalk": "^5.6.0",
3939
"clean-webpack-plugin": "^4.0.0",
40-
"eslint": "^7.28.0",
41-
"eslint-plugin-jest": "^24.3.6",
42-
"fs-extra": "^6.0.1",
43-
"html-webpack-plugin": "^5.5.0",
44-
"jest": "^25.5.4",
45-
"pug": "^3.0.2",
40+
"eslint": "^9.34.0",
41+
"eslint-plugin-jest": "^29.0.1",
42+
"fs-extra": "^11.3.1",
43+
"html-webpack-plugin": "^5.6.4",
44+
"jest": "^30.1.1",
45+
"pug": "^3.0.3",
4646
"pug-loader": "^2.4.0",
47-
"qs": "^6.5.2",
48-
"react-router-dom": "^4.3.1",
49-
"webpack": "^5.72.1",
50-
"webpack-virtual-modules": "^0.4.3",
51-
"yargs": "^12.0.1"
47+
"qs": "^6.14.0",
48+
"react-router-dom": "^7.8.2",
49+
"webpack": "^5.101.3",
50+
"webpack-virtual-modules": "^0.6.2",
51+
"yargs": "^18.0.0"
5252
},
5353
"devDependencies": {
54-
"enzyme": "^3.5.0",
55-
"enzyme-adapter-react-16": "^1.4.0",
54+
"cheerio": "^1.1.2",
55+
"enzyme": "^3.11.0",
56+
"enzyme-adapter-react-16": "^1.15.8",
5657
"enzyme-to-json": "^3.6.2",
57-
"remark-cli": "^5.0.0",
58-
"remark-validate-links": "^7.1.0"
58+
"remark-cli": "^12.0.1",
59+
"remark-validate-links": "^13.1.0"
5960
},
6061
"jest": {
6162
"testMatch": [

0 commit comments

Comments
 (0)