@budibase/worker 3.2.7 → 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 +18 -11
- package/src/api/controllers/global/users.ts +1 -0
- package/src/index.ts +0 -5
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.
|
|
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.
|
|
41
|
-
"@budibase/pro": "3.2.
|
|
42
|
-
"@budibase/
|
|
43
|
-
"@budibase/
|
|
44
|
-
"@
|
|
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.
|
|
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.
|
|
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": "
|
|
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": "
|
|
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
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
db.init()
|
|
25
25
|
import koaBody from "koa-body"
|
|
26
26
|
import http from "http"
|
|
27
|
-
import bson from "bson"
|
|
28
27
|
import api from "./api"
|
|
29
28
|
|
|
30
29
|
const koaSession = require("koa-session")
|
|
@@ -101,10 +100,6 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
|
|
|
101
100
|
}
|
|
102
101
|
console.log(startupLog)
|
|
103
102
|
|
|
104
|
-
if (coreEnv.BSON_BUFFER_SIZE) {
|
|
105
|
-
bson.setInternalBufferSize(coreEnv.BSON_BUFFER_SIZE)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
103
|
await initPro()
|
|
109
104
|
await redis.clients.init()
|
|
110
105
|
features.init()
|