Skip to content

Commit 6135f64

Browse files
Боровский ДмитрийБоровский Дмитрий
authored andcommitted
chore(*): update some dependecies
1 parent c57a380 commit 6135f64

16 files changed

Lines changed: 6444 additions & 3554 deletions

File tree

.changeset/funky-turkeys-hear.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@alfalab/scripts-modules': major
3+
'@alfalab/scripts-server': major
4+
'@alfalab/client-event-bus': major
5+
'arui-scripts': major
6+
---
7+
8+
обновление зависимостей

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"packages/*"
55
],
66
"devDependencies": {
7-
"@changesets/changelog-github": "^0.4.8",
8-
"@changesets/cli": "^2.26.2",
7+
"@changesets/changelog-github": "^0.7.0",
8+
"@changesets/cli": "^2.31.0",
99
"arui-presets-lint": "8.8.1",
1010
"conventional-changelog-cli": "3.0.0",
11-
"turbo": "2.9.14"
11+
"turbo": "2.10.4"
1212
},
1313
"scripts": {
1414
"publish-packages": "yarn test && changeset version && yarn npm-publish",

packages/arui-scripts-modules/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@
3030
},
3131
"devDependencies": {
3232
"@testing-library/dom": "^10.4.1",
33-
"@testing-library/react": "^16.3.0",
33+
"@testing-library/react": "^16.3.2",
3434
"@types/react": "18.3.24",
35-
"@types/uuid": "^9.0.5",
36-
"jest": "28.1.3",
37-
"jest-environment-jsdom": "^29.6.2",
35+
"@types/uuid": "^9.0.8",
36+
"jest": "29.7.0",
37+
"jest-environment-jsdom": "^29.7.0",
3838
"react": "18.3.1",
3939
"react-dom": "18.3.1",
4040
"ts-jest": "28.0.8",
41-
"typescript": "6.0.2"
41+
"typescript": "6.0.3"
4242
},
4343
"dependencies": {
44-
"abortcontroller-polyfill": "^1.7.5",
45-
"uuid": "^9.0.1"
44+
"abortcontroller-polyfill": "^1.7.8",
45+
"uuid": "^14.0.1"
4646
}
4747
}

packages/arui-scripts-modules/src/module-loader/__tests__/execute-module-factory.tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('executeModuleFactory', () => {
7272
expect(result).toBe('result');
7373
});
7474

75-
it('should throw an error when module has no default export, factory field or is a function', () => {
75+
it('should throw an error when module has no default export, factory field or is a function', async () => {
7676
const mockModule = {};
7777

7878
const res = executeModuleFactory(
@@ -81,6 +81,6 @@ describe('executeModuleFactory', () => {
8181
'runParams',
8282
);
8383

84-
expect(res).rejects.toThrowError();
84+
await expect(res).rejects.toThrow();
8585
});
8686
});

packages/arui-scripts-server/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
},
2525
"devDependencies": {
2626
"@alfalab/scripts-modules": "workspace:*",
27-
"@types/express": "^4.17.17",
27+
"@types/express": "^4.17.25",
2828
"@types/hapi16": "npm:@types/hapi@16.1.12",
2929
"@types/hapi20": "npm:@types/hapi__hapi@20",
30-
"express": "^4.20.0",
31-
"jest": "28.1.3",
30+
"express": "^4.22.2",
31+
"jest": "30.4.2",
3232
"ts-jest": "28.0.8",
33-
"typescript": "6.0.2"
33+
"typescript": "6.0.3"
3434
},
3535
"peerDependencies": {
3636
"@hapi/hapi": ">20.0.0",

packages/arui-scripts-server/src/__tests__/read-assets-manifest.tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('readAssetsManifest', () => {
1111
(readFile as unknown as jest.Mock).mockImplementationOnce(() => {
1212
throw new Error('File not found');
1313
});
14-
await expect(readAssetsManifest(['vendor', 'main'])).rejects.toThrowError();
14+
await expect(readAssetsManifest(['vendor', 'main'])).rejects.toThrow();
1515
});
1616

1717
it('should return js and css assets', async () => {

packages/arui-scripts-server/src/modules/__tests__/create-get-modules-method.tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('createGetModulesMethod', () => {
1919

2020
await expect(
2121
handler({ moduleId: 'test', hostAppId: 'test', params: undefined }),
22-
).rejects.toThrowError('Module test not found');
22+
).rejects.toThrow('Module test not found');
2323
});
2424

2525
it('should return correct response for compat module', async () => {
@@ -56,7 +56,7 @@ describe('createGetModulesMethod', () => {
5656
appName: 'module-app-name',
5757
});
5858

59-
expect(getModuleState).toBeCalledWith({ moduleId: 'test', hostAppId: 'test' });
59+
expect(getModuleState).toHaveBeenCalledWith({ moduleId: 'test', hostAppId: 'test' });
6060
});
6161

6262
it('should return correct response for default module', async () => {
@@ -88,6 +88,6 @@ describe('createGetModulesMethod', () => {
8888
appName: 'module-app-name',
8989
});
9090

91-
expect(getModuleState).toBeCalledWith({ moduleId: 'test', hostAppId: 'test' });
91+
expect(getModuleState).toHaveBeenCalledWith({ moduleId: 'test', hostAppId: 'test' });
9292
});
9393
});

packages/arui-scripts/package.json

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,38 @@
2222
"bin": "./build/bin/index.js",
2323
"dependencies": {
2424
"@alfalab/postcss-custom-properties": "^9.1.2",
25-
"@babel/core": "7.22.10",
26-
"@babel/plugin-proposal-decorators": "^7.23.7",
27-
"@babel/plugin-proposal-export-default-from": "^7.23.3",
25+
"@babel/core": "7.29.7",
26+
"@babel/plugin-proposal-decorators": "7.29.7",
27+
"@babel/plugin-proposal-export-default-from": "7.29.7",
2828
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
29-
"@babel/plugin-transform-class-properties": "^7.23.3",
30-
"@babel/plugin-transform-export-namespace-from": "^7.23.4",
31-
"@babel/plugin-transform-modules-commonjs": "7.22.5",
32-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
33-
"@babel/plugin-transform-numeric-separator": "^7.23.4",
34-
"@babel/plugin-transform-object-rest-spread": "^7.23.4",
35-
"@babel/plugin-transform-optional-chaining": "^7.23.4",
36-
"@babel/plugin-transform-private-methods": "^7.23.3",
37-
"@babel/plugin-transform-private-property-in-object": "^7.23.4",
38-
"@babel/plugin-transform-proto-to-assign": "^7.23.3",
39-
"@babel/plugin-transform-react-constant-elements": "^7.23.3",
40-
"@babel/plugin-transform-react-inline-elements": "^7.23.3",
41-
"@babel/plugin-transform-runtime": "^7.23.7",
42-
"@babel/preset-env": "^7.23.8",
43-
"@babel/preset-react": "^7.23.3",
44-
"@babel/preset-typescript": "^7.23.3",
45-
"@babel/runtime": "^7.26.10",
46-
"@module-federation/runtime-tools": "^2.0.0",
29+
"@babel/plugin-transform-class-properties": "7.29.7",
30+
"@babel/plugin-transform-export-namespace-from": "7.29.7",
31+
"@babel/plugin-transform-modules-commonjs": "7.29.7",
32+
"@babel/plugin-transform-nullish-coalescing-operator": "7.29.7",
33+
"@babel/plugin-transform-numeric-separator": "7.29.7",
34+
"@babel/plugin-transform-object-rest-spread": "7.29.7",
35+
"@babel/plugin-transform-optional-chaining": "7.29.7",
36+
"@babel/plugin-transform-private-methods": "7.29.7",
37+
"@babel/plugin-transform-private-property-in-object": "7.29.7",
38+
"@babel/plugin-transform-proto-to-assign": "7.29.7",
39+
"@babel/plugin-transform-react-constant-elements": "7.29.7",
40+
"@babel/plugin-transform-react-inline-elements": "7.29.7",
41+
"@babel/plugin-transform-runtime": "7.29.7",
42+
"@babel/preset-env": "7.29.7",
43+
"@babel/preset-react": "7.29.7",
44+
"@babel/preset-typescript": "7.29.7",
45+
"@babel/runtime": "7.29.7",
46+
"@module-federation/runtime-tools": "^2.7.0",
4747
"@pmmmwh/react-refresh-webpack-plugin": "0.6.2",
48-
"@rsdoctor/rspack-plugin": "1.5.9",
49-
"@rspack/cli": "2.0.0",
50-
"@rspack/core": "2.0.0",
51-
"@rspack/dev-server": "2.0.0",
52-
"@rspack/plugin-react-refresh": "2.0.0",
53-
"@swc/core": "1.15.1",
48+
"@rsdoctor/rspack-plugin": "1.5.18",
49+
"@rspack/cli": "2.1.3",
50+
"@rspack/core": "2.1.3",
51+
"@rspack/dev-server": "2.1.0",
52+
"@rspack/plugin-react-refresh": "2.0.2",
53+
"@swc/core": "1.15.43",
5454
"@swc/jest": "0.2.39",
5555
"assets-webpack-plugin": "7.1.1",
56-
"autoprefixer": "^10.3.16",
56+
"autoprefixer": "^10.5.2",
5757
"babel-core": "^7.0.0-bridge.0",
5858
"babel-jest": "28.1.3",
5959
"babel-loader": "9.2.1",
@@ -62,25 +62,25 @@
6262
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
6363
"brotli-dict": "^1.1.4",
6464
"case-sensitive-paths-webpack-plugin": "2.4.0",
65-
"chalk": "^2.4.2",
65+
"chalk": "^5.6.2",
6666
"compression-webpack-plugin": "9.2.0",
67-
"core-js": "3.32.0",
68-
"css-loader": "6.8.1",
69-
"css-minimizer-webpack-plugin": "5.0.0",
67+
"core-js": "3.49.0",
68+
"css-loader": "6.11.0",
69+
"css-minimizer-webpack-plugin": "5.0.1",
7070
"expose-loader": "3.1.0",
71-
"filesize": "^6.4.0",
72-
"fs-extra": "6.0.1",
71+
"filesize": "^11.0.22",
72+
"fs-extra": "11.3.6",
7373
"get-port": "7.2.0",
74-
"html-webpack-plugin": "^5.6.0",
75-
"image-minimizer-webpack-plugin": "^3.8.3",
76-
"imagemin": "^8.0.1",
74+
"html-webpack-plugin": "^5.6.7",
75+
"image-minimizer-webpack-plugin": "^5.0.0",
76+
"imagemin": "^9.0.1",
7777
"imagemin-svgo": "^12.0.0",
7878
"jest": "^29.7.0",
7979
"jest-config": "^29.7.0",
8080
"jest-resolve": "^29.7.0",
8181
"jest-snapshot-serializer-class-name-to-string": "1.0.0",
8282
"lodash.merge": "4.6.2",
83-
"mini-css-extract-plugin": "2.7.6",
83+
"mini-css-extract-plugin": "2.10.2",
8484
"mini-svg-data-uri": "^1.4.4",
8585
"null-loader": "0.1.1",
8686
"postcss": "^8.5.10",
@@ -97,54 +97,54 @@
9797
"postcss-inherit": "^4.0.0",
9898
"postcss-loader": "^7.0.0",
9999
"postcss-media-query-parser": "^0.2.3",
100-
"postcss-mixins": "^9.0.0",
101-
"postcss-nested": "^6.0.0",
102-
"postcss-omit-import-tilde": "^1.0.0",
100+
"postcss-mixins": "^9.0.4",
101+
"postcss-nested": "^6.2.0",
102+
"postcss-omit-import-tilde": "^1.0.1",
103103
"postcss-remove-root": "^0.0.2",
104-
"postcss-strip-units": "^2.0.0",
105-
"postcss-url": "^10.0.0",
104+
"postcss-strip-units": "^2.0.1",
105+
"postcss-url": "^10.1.4",
106106
"react-refresh": "0.10.0",
107-
"react-refresh-typescript": "2.0.2",
107+
"react-refresh-typescript": "2.0.12",
108108
"rimraf": "^2.7.1",
109-
"rspack-manifest-plugin": "5.2.1",
110-
"run-script-webpack-plugin": "0.0.11",
111-
"semver": "^7.5.4",
112-
"serialize-javascript": "^7.0.5",
113-
"shelljs": "0.8.5",
114-
"strip-ansi": "6.0.1",
115-
"style-loader": "3.3.3",
116-
"swc-loader": "^0.2.6",
109+
"rspack-manifest-plugin": "5.2.2",
110+
"run-script-webpack-plugin": "0.2.3",
111+
"semver": "^7.8.5",
112+
"serialize-javascript": "^7.0.7",
113+
"shelljs": "0.10.0",
114+
"strip-ansi": "7.2.0",
115+
"style-loader": "3.3.4",
116+
"swc-loader": "^0.2.7",
117117
"swc-plugin-coverage-instrument": "0.0.32",
118-
"tar": "7.5.16",
119-
"terser-webpack-plugin": "5.3.14",
120-
"ts-checker-rspack-plugin": "^1.3.0",
121-
"ts-jest": "29.1.0",
122-
"ts-loader": "9.4.4",
118+
"tar": "7.5.20",
119+
"terser-webpack-plugin": "5.6.1",
120+
"ts-checker-rspack-plugin": "^1.5.2",
121+
"ts-jest": "29.4.11",
122+
"ts-loader": "9.6.2",
123123
"ts-node": "10.9.2",
124124
"vite-tsconfig-paths": "^6.1.1",
125-
"vitest": "^4.1.5",
126-
"webpack-bundle-analyzer": "4.10.2",
125+
"vitest": "^4.1.10",
126+
"webpack-bundle-analyzer": "5.3.0",
127127
"webpack-deduplication-plugin": "^0.0.8",
128128
"webpack-node-externals": "3.0.0"
129129
},
130130
"devDependencies": {
131-
"@types/assets-webpack-plugin": "6.1.2",
132-
"@types/case-sensitive-paths-webpack-plugin": "2.1.6",
131+
"@types/assets-webpack-plugin": "7.1.6",
132+
"@types/case-sensitive-paths-webpack-plugin": "2.1.9",
133133
"@types/compression-webpack-plugin": "4.0.1",
134134
"@types/fs-extra": "^9.0.13",
135135
"@types/jest": "^29.5.14",
136-
"@types/lodash.merge": "^4.6.7",
137-
"@types/node": "^20.19.0",
136+
"@types/lodash.merge": "^4.6.9",
137+
"@types/node": "^22.20.1",
138138
"@types/postcss-media-query-parser": "0.2.4",
139-
"@types/semver": "^7.5.0",
139+
"@types/semver": "^7.7.1",
140140
"@types/serialize-javascript": "^5.0.4",
141141
"@types/shelljs": "^0.8.12",
142142
"@types/tar": "^4.0.5",
143143
"@types/webpack-bundle-analyzer": "4.7.0",
144144
"@types/webpack-node-externals": "^3.0.0",
145145
"babel-plugin-transform-import-meta": "^2.3.3",
146-
"type-fest": "2.19.0",
147-
"typescript": "6.0.2"
146+
"type-fest": "5.8.0",
147+
"typescript": "6.0.3"
148148
},
149149
"engines": {
150150
"node": "^20.19.0 || >=22.12.0"

packages/arui-scripts/src/commands/util/client-assets-sizes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import path from 'path';
22

33
import { type Stats } from '@rspack/core';
44
import chalk from 'chalk';
5-
import filesize from 'filesize';
5+
import { filesize } from 'filesize';
66

77
import { configs } from '../../configs/app-configs';
88

packages/arui-scripts/src/configs/app-configs/__tests__/update-with-env.tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('update-with-env', () => {
3434

3535
expect(() => {
3636
updateWithEnv(baseConfig);
37-
}).toThrowError();
37+
}).toThrow();
3838
});
3939

4040
it('should update config keys with values from env', () => {

0 commit comments

Comments
 (0)