@hestia-earth/api 0.25.46 → 0.25.47

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/api",
3
- "version": "0.25.46",
3
+ "version": "0.25.47",
4
4
  "description": "Hestia API definitions",
5
5
  "main": "dist/models.js",
6
6
  "typings": "dist/models.d.ts",
@@ -14,8 +14,8 @@
14
14
  "watch": "tsc --watch",
15
15
  "lint": "eslint \"src/**/*.ts\"",
16
16
  "lint:fix": "npm run lint -- --fix",
17
- "test": "CORS_WHITELIST=http://localhost ELASTICSEARCH_URL=http://localhost:9200 nyc mocha \"src/**/*.spec.ts\"",
18
- "test:watch": "npm run test -- --watch ",
17
+ "test": "jest --runInBand --coverage",
18
+ "test:watch": "jest --watch",
19
19
  "pre-release": "standard-version --prerelease && git push origin develop --follow-tags",
20
20
  "release": "standard-version",
21
21
  "postrelease": "git push origin master --follow-tags"
@@ -30,6 +30,9 @@
30
30
  ],
31
31
  "author": "Guillaume Royer <guillaumeroyer.mail@gmail.com>",
32
32
  "license": "UNLICENSED",
33
+ "engines": {
34
+ "node": ">=22"
35
+ },
33
36
  "dependencies": {
34
37
  "@hestia-earth/json-schema": ">=33.0.0",
35
38
  "@hestia-earth/schema": ">=33.0.0",
@@ -37,48 +40,55 @@
37
40
  "passport-gitlab2": "^5.0.0"
38
41
  },
39
42
  "devDependencies": {
43
+ "@aws-sdk/client-cloudwatch": "^3.0.0",
44
+ "@aws-sdk/client-cloudwatch-logs": "^3.0.0",
45
+ "@aws-sdk/client-cost-explorer": "^3.1014.0",
46
+ "@aws-sdk/client-ec2": "^3.0.0",
47
+ "@aws-sdk/client-lambda": "^3.0.0",
48
+ "@aws-sdk/client-s3": "^3.0.0",
49
+ "@aws-sdk/client-ses": "^3.0.0",
50
+ "@aws-sdk/client-sqs": "^3.0.0",
51
+ "@aws-sdk/lib-storage": "^3.0.0",
52
+ "@aws-sdk/s3-request-presigner": "^3.0.0",
40
53
  "@commitlint/cli": "^16.2.4",
41
54
  "@commitlint/config-conventional": "^16.2.4",
42
55
  "@elastic/elasticsearch": "7.13.0",
43
56
  "@hestia-earth/eslint-config": "^0.1.0",
44
57
  "@hestia-earth/schema-convert": "^33.7.11",
45
58
  "@hestia-earth/schema-validation": "^33.7.11",
46
- "@sentry/node": "^7.61.1",
47
- "@sentry/serverless": "^7.61.1",
48
- "@sentry/tracing": "^7.61.1",
59
+ "@sentry/node": "^7.114.0",
60
+ "@sentry/serverless": "^7.114.0",
61
+ "@sentry/tracing": "^7.114.0",
49
62
  "@slack/web-api": "^6.7.0",
50
63
  "@sokratis/passport-linkedin-oauth2": "^2.1.0",
51
- "@types/chai": "^4.3.0",
52
64
  "@types/compression": "^1.7.2",
53
65
  "@types/cors": "^2.8.12",
54
- "@types/express": "4.17.6",
55
- "@types/express-serve-static-core": "4.17.5",
66
+ "@types/express": "^4.17.21",
67
+ "@types/express-serve-static-core": "^4.17.41",
68
+ "@types/jest": "^30.0.0",
56
69
  "@types/jsonwebtoken": "^9.0.6",
57
70
  "@types/lodash.get": "^4.4.6",
58
71
  "@types/lodash.orderby": "^4.6.6",
59
72
  "@types/lodash.pick": "^4.4.6",
60
- "@types/mocha": "^10.0.1",
61
73
  "@types/mongoose": "^5.11.97",
62
74
  "@types/morgan": "^1.9.3",
63
75
  "@types/multer": "^1.4.7",
64
- "@types/node": "^14.18.12",
76
+ "@types/node": "^22.0.0",
65
77
  "@types/orientjs": "^3.0.12",
66
78
  "@types/request": "^2.48.8",
67
79
  "@types/request-promise-native": "^1.0.18",
68
80
  "@types/winston": "^2.4.4",
69
81
  "@typescript-eslint/eslint-plugin": "^5.23.0",
70
82
  "@typescript-eslint/parser": "^5.23.0",
71
- "aws-sdk": "^2.1092.0",
72
83
  "axios": "^1.12.2",
73
84
  "body-parser": "^1.19.2",
74
85
  "capitalize": "^2.0.4",
75
- "chai": "^4.3.6",
76
86
  "compression": "^1.7.4",
77
87
  "cors": "^2.8.4",
78
88
  "dotenv": "^6.0.0",
79
89
  "eslint": "^7.32.0",
80
90
  "eslint-plugin-jsdoc": "^30.7.13",
81
- "express": "^4.17.3",
91
+ "express": "^4.21.2",
82
92
  "express-async-errors": "^3.1.1",
83
93
  "express-recaptcha": "^5.1.0",
84
94
  "express-redis-cache": "^1.1.3",
@@ -87,18 +97,17 @@
87
97
  "gitlab": "^14.2.2",
88
98
  "http2-express-bridge": "^1.0.7",
89
99
  "husky": "^4.3.8",
100
+ "jest": "^30.3.0",
90
101
  "js-levenshtein": "^1.1.6",
91
102
  "jsonwebtoken": "^9.0.2",
92
103
  "lodash.get": "^4.4.2",
93
104
  "lodash.orderby": "^4.6.0",
94
105
  "lodash.pick": "^4.4.0",
95
- "mocha": "^11.7.2",
96
106
  "mongoose": "^5.13.14",
97
107
  "mongoose-bcrypt": "^1.9.0",
98
108
  "morgan": "^1.10.0",
99
109
  "multer": "^1.4.4",
100
- "multer-s3": "^2.10.0",
101
- "nyc": "^15.1.0",
110
+ "multer-s3": "^3.0.1",
102
111
  "orientjs": "^3.0.11",
103
112
  "passport": "^0.4.1",
104
113
  "passport-google-oauth20": "^2.0.0",
@@ -108,16 +117,16 @@
108
117
  "redis": "^3.1.2",
109
118
  "request": "^2.88.2",
110
119
  "request-promise-native": "^1.0.9",
111
- "sinon": "^15.2.0",
112
120
  "source-map-support": "^0.5.21",
113
121
  "standard-version": "^9.3.2",
114
122
  "supertest": "^3.4.2",
115
123
  "swagger-jsdoc": "^4.3.2",
116
124
  "swagger-ui-dist": "^4.6.2",
117
125
  "swagger-ui-express": "^4.3.0",
126
+ "ts-jest": "^29.4.6",
118
127
  "ts-node": "^10.9.1",
119
128
  "ts-node-dev": "^2.0.0",
120
- "typescript": "^4.9.4",
129
+ "typescript": "^5.7.3",
121
130
  "uid-generator": "^2.0.0",
122
131
  "winston": "^3.6.0"
123
132
  },