@crowdin/app-project-module 0.76.1 → 0.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -532,7 +532,7 @@ class MySQLStorage {
532
532
  const updateParams = [Date.now().toString()];
533
533
  if (progress) {
534
534
  updateFields.push('progress = ?');
535
- updateParams.push(progress);
535
+ updateParams.push(Math.round(progress));
536
536
  if (progress >= 100) {
537
537
  updateFields.push('finished_at = ?');
538
538
  updateParams.push(Date.now().toString());
@@ -577,7 +577,7 @@ class PostgreStorage {
577
577
  if (progress) {
578
578
  parametersPointer++;
579
579
  updateFields.push('progress = $' + parametersPointer);
580
- updateParams.push(progress);
580
+ updateParams.push(Math.round(progress));
581
581
  if (progress >= 100) {
582
582
  parametersPointer++;
583
583
  updateFields.push('finished_at = $' + parametersPointer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.76.1",
3
+ "version": "0.77.0",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  "out/**/*"
20
20
  ],
21
21
  "dependencies": {
22
- "@aws-sdk/client-s3": "^3.606.0",
23
- "@aws-sdk/s3-request-presigner": "^3.701.0",
22
+ "@aws-sdk/client-s3": "^3.744.0",
23
+ "@aws-sdk/s3-request-presigner": "^3.744.0",
24
24
  "@crowdin/crowdin-apps-functions": "^0.10.0",
25
25
  "@crowdin/logs-formatter": "^2.1.7",
26
26
  "@godaddy/terminus": "^4.12.1",
@@ -42,15 +42,15 @@
42
42
  "uuid": "^8.3.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@babel/preset-react": "^7.24.7",
45
+ "@babel/preset-react": "^7.26.3",
46
46
  "@emotion/react": "^11.14.0",
47
47
  "@emotion/styled": "^11.14.0",
48
48
  "@mui/icons-material": "^5.16.14",
49
49
  "@mui/material": "^5.16.14",
50
- "@rjsf/core": "^5.24.2",
51
- "@rjsf/mui": "^5.24.2",
52
- "@rjsf/utils": "^5.23.2",
53
- "@rjsf/validator-ajv8": "^5.24.2",
50
+ "@rjsf/core": "^5.24.3",
51
+ "@rjsf/mui": "^5.24.3",
52
+ "@rjsf/utils": "^5.24.3",
53
+ "@rjsf/validator-ajv8": "^5.24.3",
54
54
  "@rollup/plugin-babel": "^6.0.4",
55
55
  "@rollup/plugin-commonjs": "^24.1.0",
56
56
  "@rollup/plugin-json": "^6.1.0",
@@ -62,14 +62,14 @@
62
62
  "@types/crypto-js": "^4.2.2",
63
63
  "@types/express": "4.17.21",
64
64
  "@types/express-handlebars": "^5.3.1",
65
- "@types/jest": "^29.5.12",
65
+ "@types/jest": "^29.5.14",
66
66
  "@types/lodash.get": "^4.4.9",
67
67
  "@types/lodash.isstring": "^4.0.9",
68
68
  "@types/lodash.snakecase": "^4.1.9",
69
69
  "@types/lodash.uniqby": "^4.7.9",
70
- "@types/node": "^16.18.112",
70
+ "@types/node": "^16.18.126",
71
71
  "@types/node-cron": "^3.0.11",
72
- "@types/pg": "^8.11.10",
72
+ "@types/pg": "^8.11.11",
73
73
  "@types/swagger-jsdoc": "^6.0.4",
74
74
  "@types/uuid": "^9.0.7",
75
75
  "@typescript-eslint/eslint-plugin": "^2.3.1",