@budibase/worker 3.2.6 → 3.2.11

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "3.2.6",
4
+ "version": "3.2.11",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -16,6 +16,7 @@
16
16
  "build": "node ../../scripts/build.js",
17
17
  "postbuild": "copyfiles -f ../../yarn.lock ./dist/",
18
18
  "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020",
19
+ "check:dependencies": "node ../../scripts/depcheck.js",
19
20
  "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
20
21
  "run:docker": "node dist/index.js",
21
22
  "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
@@ -37,22 +38,24 @@
37
38
  "author": "Budibase",
38
39
  "license": "GPL-3.0",
39
40
  "dependencies": {
40
- "@budibase/backend-core": "3.2.6",
41
- "@budibase/pro": "3.2.6",
42
- "@budibase/string-templates": "3.2.6",
43
- "@budibase/types": "3.2.6",
44
- "@koa/router": "8.0.8",
41
+ "@budibase/backend-core": "3.2.11",
42
+ "@budibase/pro": "3.2.11",
43
+ "@budibase/shared-core": "3.2.11",
44
+ "@budibase/string-templates": "3.2.11",
45
+ "@budibase/types": "3.2.11",
46
+ "@koa/router": "13.1.0",
45
47
  "@techpass/passport-openidconnect": "0.3.3",
46
48
  "@types/global-agent": "2.1.1",
47
- "aws-sdk": "2.1030.0",
49
+ "aws-sdk": "2.1692.0",
48
50
  "bcrypt": "5.1.0",
49
51
  "bcryptjs": "2.4.3",
50
52
  "bull": "4.10.1",
51
- "dd-trace": "5.2.0",
53
+ "dd-trace": "5.23.0",
52
54
  "dotenv": "8.6.0",
53
55
  "global-agent": "3.0.0",
54
56
  "ical-generator": "4.1.0",
55
57
  "joi": "17.6.0",
58
+ "jsonwebtoken": "9.0.2",
56
59
  "knex": "2.4.2",
57
60
  "koa": "2.13.4",
58
61
  "koa-body": "4.2.0",
@@ -69,16 +72,19 @@
69
72
  "passport-local": "1.0.0",
70
73
  "pouchdb": "7.3.0",
71
74
  "pouchdb-all-dbs": "1.1.1",
72
- "server-destroy": "1.0.1"
75
+ "server-destroy": "1.0.1",
76
+ "uuid": "^8.3.2"
73
77
  },
74
78
  "devDependencies": {
79
+ "@jest/types": "^29.6.3",
75
80
  "@swc/core": "1.3.71",
76
81
  "@swc/jest": "0.2.27",
77
82
  "@types/jest": "29.5.5",
78
83
  "@types/jsonwebtoken": "9.0.3",
79
84
  "@types/koa": "2.13.4",
80
- "@types/koa__router": "8.0.8",
85
+ "@types/koa__router": "12.0.4",
81
86
  "@types/lodash": "4.14.200",
87
+ "@types/node": "^22.9.0",
82
88
  "@types/node-fetch": "2.6.4",
83
89
  "@types/server-destroy": "1.0.1",
84
90
  "@types/supertest": "2.0.14",
@@ -87,6 +93,7 @@
87
93
  "nock": "^13.5.4",
88
94
  "nodemon": "2.0.15",
89
95
  "rimraf": "3.0.2",
96
+ "superagent": "^10.1.1",
90
97
  "supertest": "6.3.3",
91
98
  "timekeeper": "2.2.0",
92
99
  "typescript": "5.5.2",
@@ -107,5 +114,5 @@
107
114
  }
108
115
  }
109
116
  },
110
- "gitHead": "4b9c088e1a3550a500613b3f24a15d046689abe3"
117
+ "gitHead": "08870e9d4f826eb91577c623d9e609178dfe70c7"
111
118
  }
@@ -40,6 +40,7 @@ import {
40
40
  import { checkAnyUserExists } from "../../../utilities/users"
41
41
  import { isEmailConfigured } from "../../../utilities/email"
42
42
  import { BpmStatusKey, BpmStatusValue, utils } from "@budibase/shared-core"
43
+ import crypto from "crypto"
43
44
 
44
45
  const MAX_USERS_UPLOAD_LIMIT = 1000
45
46
 
package/src/index.ts CHANGED
@@ -99,6 +99,7 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
99
99
  startupLog = `${startupLog} - environment: "${env.BUDIBASE_ENVIRONMENT}"`
100
100
  }
101
101
  console.log(startupLog)
102
+
102
103
  await initPro()
103
104
  await redis.clients.init()
104
105
  features.init()