@budibase/server 2.5.6-alpha.22 → 2.5.6-alpha.24
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/builder/assets/{index.34394b18.js → index.919ee825.js} +1 -1
- package/builder/index.html +1 -1
- package/dist/api/controllers/application.js +2 -3
- package/dist/api/controllers/dev.js +1 -1
- package/dist/api/controllers/row/ExternalRequest.js +21 -14
- package/dist/api/index.js +1 -2
- package/dist/integrations/base/sqlTable.js +9 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/rowProcessor/utils.js +4 -5
- package/package.json +7 -7
- package/src/api/controllers/application.ts +3 -3
- package/src/api/controllers/dev.ts +2 -2
- package/src/api/controllers/row/ExternalRequest.ts +21 -12
- package/src/api/index.ts +2 -3
- package/src/integration-test/postgres.spec.ts +2 -0
- package/src/integrations/base/sqlTable.ts +9 -2
- package/src/utilities/rowProcessor/utils.ts +9 -10
- package/tsconfig.build.json +3 -5
- package/tsconfig.json +2 -1
- package/dist/package.json +0 -180
|
@@ -46,17 +46,16 @@ function processFormulas(table, rows, { dynamic, contextRows } = { dynamic: true
|
|
|
46
46
|
for (let [column, schema] of Object.entries(table.schema)) {
|
|
47
47
|
const isStatic = schema.formulaType === constants_1.FormulaTypes.STATIC;
|
|
48
48
|
if (schema.type !== constants_1.FieldTypes.FORMULA ||
|
|
49
|
+
schema.formula == null ||
|
|
49
50
|
(dynamic && isStatic) ||
|
|
50
51
|
(!dynamic && !isStatic)) {
|
|
51
52
|
continue;
|
|
52
53
|
}
|
|
53
54
|
// iterate through rows and process formula
|
|
54
55
|
for (let i = 0; i < rowArray.length; i++) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
rowArray[i] = Object.assign(Object.assign({}, row), { [column]: (0, string_templates_1.processStringSync)(schema.formula, context) });
|
|
59
|
-
}
|
|
56
|
+
let row = rowArray[i];
|
|
57
|
+
let context = contextRows ? contextRows[i] : row;
|
|
58
|
+
rowArray[i] = Object.assign(Object.assign({}, row), { [column]: (0, string_templates_1.processStringSync)(schema.formula, context) });
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
return single ? rowArray[0] : rowArray;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.5.6-alpha.
|
|
4
|
+
"version": "2.5.6-alpha.24",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"license": "GPL-3.0",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@apidevtools/swagger-parser": "10.0.3",
|
|
48
|
-
"@budibase/backend-core": "2.5.6-alpha.
|
|
49
|
-
"@budibase/client": "2.5.6-alpha.
|
|
48
|
+
"@budibase/backend-core": "2.5.6-alpha.24",
|
|
49
|
+
"@budibase/client": "2.5.6-alpha.24",
|
|
50
50
|
"@budibase/pro": "2.5.6-alpha.20",
|
|
51
|
-
"@budibase/shared-core": "2.5.6-alpha.
|
|
52
|
-
"@budibase/string-templates": "2.5.6-alpha.
|
|
53
|
-
"@budibase/types": "2.5.6-alpha.
|
|
51
|
+
"@budibase/shared-core": "2.5.6-alpha.24",
|
|
52
|
+
"@budibase/string-templates": "2.5.6-alpha.24",
|
|
53
|
+
"@budibase/types": "2.5.6-alpha.24",
|
|
54
54
|
"@bull-board/api": "3.7.0",
|
|
55
55
|
"@bull-board/koa": "3.9.4",
|
|
56
56
|
"@elastic/elasticsearch": "7.10.0",
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"optionalDependencies": {
|
|
177
177
|
"oracledb": "5.3.0"
|
|
178
178
|
},
|
|
179
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "0dde2b68cca70b0088f7fb037f3c6949d7a3618a"
|
|
180
180
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import env from "../../environment"
|
|
2
|
-
import packageJson from "../../../package.json"
|
|
3
2
|
import {
|
|
4
3
|
createLinkView,
|
|
5
4
|
createRoutingView,
|
|
@@ -24,6 +23,7 @@ import {
|
|
|
24
23
|
migrations,
|
|
25
24
|
objectStore,
|
|
26
25
|
ErrorCode,
|
|
26
|
+
env as envCore,
|
|
27
27
|
} from "@budibase/backend-core"
|
|
28
28
|
import { USERS_TABLE_SCHEMA } from "../../constants"
|
|
29
29
|
import { buildDefaultDocs } from "../../db/defaultData/datasource_bb_default"
|
|
@@ -264,7 +264,7 @@ async function performAppCreate(ctx: UserCtx) {
|
|
|
264
264
|
_rev: undefined,
|
|
265
265
|
appId,
|
|
266
266
|
type: "app",
|
|
267
|
-
version:
|
|
267
|
+
version: envCore.VERSION,
|
|
268
268
|
componentLibraries: ["@budibase/standard-components"],
|
|
269
269
|
name: name,
|
|
270
270
|
url: url,
|
|
@@ -433,7 +433,7 @@ export async function updateClient(ctx: UserCtx) {
|
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
// Update versions in app package
|
|
436
|
-
const updatedToVersion =
|
|
436
|
+
const updatedToVersion = envCore.VERSION
|
|
437
437
|
const appPackageUpdates = {
|
|
438
438
|
version: updatedToVersion,
|
|
439
439
|
revertableVersion: currentVersion,
|
|
@@ -4,7 +4,7 @@ import { checkSlashesInUrl } from "../../utilities"
|
|
|
4
4
|
import { request } from "../../utilities/workerRequests"
|
|
5
5
|
import { clearLock as redisClearLock } from "../../utilities/redis"
|
|
6
6
|
import { DocumentType } from "../../db/utils"
|
|
7
|
-
import { context } from "@budibase/backend-core"
|
|
7
|
+
import { context, env as envCore } from "@budibase/backend-core"
|
|
8
8
|
import { events, db as dbCore, cache } from "@budibase/backend-core"
|
|
9
9
|
|
|
10
10
|
async function redirect(ctx: any, method: string, path: string = "global") {
|
|
@@ -121,7 +121,7 @@ export async function revert(ctx: any) {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export async function getBudibaseVersion(ctx: any) {
|
|
124
|
-
const version =
|
|
124
|
+
const version = envCore.VERSION
|
|
125
125
|
ctx.body = {
|
|
126
126
|
version,
|
|
127
127
|
}
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Datasource,
|
|
3
|
+
FieldSchema,
|
|
4
|
+
FieldType,
|
|
2
5
|
FilterType,
|
|
3
6
|
IncludeRelationship,
|
|
4
7
|
Operation,
|
|
5
8
|
PaginationJson,
|
|
6
9
|
RelationshipsJson,
|
|
10
|
+
RelationshipTypes,
|
|
11
|
+
Row,
|
|
7
12
|
SearchFilters,
|
|
8
13
|
SortJson,
|
|
9
|
-
Datasource,
|
|
10
|
-
FieldSchema,
|
|
11
|
-
Row,
|
|
12
|
-
Table,
|
|
13
|
-
RelationshipTypes,
|
|
14
|
-
FieldType,
|
|
15
14
|
SortType,
|
|
15
|
+
Table,
|
|
16
16
|
} from "@budibase/types"
|
|
17
17
|
import {
|
|
18
|
+
breakExternalTableId,
|
|
18
19
|
breakRowIdField,
|
|
20
|
+
convertRowId,
|
|
19
21
|
generateRowIdField,
|
|
20
22
|
isRowId,
|
|
21
|
-
|
|
23
|
+
isSQL,
|
|
22
24
|
} from "../../../integrations/utils"
|
|
23
25
|
import { getDatasourceAndQuery } from "./utils"
|
|
24
26
|
import { FieldTypes } from "../../../constants"
|
|
25
|
-
import { breakExternalTableId, isSQL } from "../../../integrations/utils"
|
|
26
27
|
import { processObjectSync } from "@budibase/string-templates"
|
|
27
28
|
import { cloneDeep } from "lodash/fp"
|
|
28
|
-
import {
|
|
29
|
+
import { processDates, processFormulas } from "../../../utilities/rowProcessor"
|
|
29
30
|
import { db as dbCore } from "@budibase/backend-core"
|
|
30
31
|
import sdk from "../../../sdk"
|
|
31
32
|
|
|
@@ -382,10 +383,18 @@ export class ExternalRequest {
|
|
|
382
383
|
}
|
|
383
384
|
const display = linkedTable.primaryDisplay
|
|
384
385
|
for (let key of Object.keys(row[relationship.column])) {
|
|
385
|
-
|
|
386
|
+
let relatedRow: Row = row[relationship.column][key]
|
|
387
|
+
// add this row as context for the relationship
|
|
388
|
+
for (let col of Object.values(linkedTable.schema)) {
|
|
389
|
+
if (col.type === FieldType.LINK && col.tableId === table._id) {
|
|
390
|
+
relatedRow[col.name] = [row]
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
relatedRow = processFormulas(linkedTable, relatedRow)
|
|
394
|
+
const relatedDisplay = display ? relatedRow[display] : undefined
|
|
386
395
|
row[relationship.column][key] = {
|
|
387
|
-
primaryDisplay:
|
|
388
|
-
_id:
|
|
396
|
+
primaryDisplay: relatedDisplay || "Invalid display column",
|
|
397
|
+
_id: relatedRow._id,
|
|
389
398
|
}
|
|
390
399
|
}
|
|
391
400
|
}
|
package/src/api/index.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import Router from "@koa/router"
|
|
2
|
-
import { auth, middleware } from "@budibase/backend-core"
|
|
2
|
+
import { auth, middleware, env as envCore } from "@budibase/backend-core"
|
|
3
3
|
import currentApp from "../middleware/currentapp"
|
|
4
4
|
import zlib from "zlib"
|
|
5
5
|
import { mainRoutes, staticRoutes, publicRoutes } from "./routes"
|
|
6
|
-
import pkg from "../../package.json"
|
|
7
6
|
import { middleware as pro } from "@budibase/pro"
|
|
8
7
|
export { shutdown } from "./routes/public"
|
|
9
8
|
const compress = require("koa-compress")
|
|
@@ -11,7 +10,7 @@ const compress = require("koa-compress")
|
|
|
11
10
|
export const router: Router = new Router()
|
|
12
11
|
|
|
13
12
|
router.get("/health", ctx => (ctx.status = 200))
|
|
14
|
-
router.get("/version", ctx => (ctx.body =
|
|
13
|
+
router.get("/version", ctx => (ctx.body = envCore.VERSION))
|
|
15
14
|
|
|
16
15
|
router.use(middleware.errorHandling)
|
|
17
16
|
|
|
@@ -921,6 +921,7 @@ describe("row api - postgres", () => {
|
|
|
921
921
|
[m2mFieldName]: [
|
|
922
922
|
{
|
|
923
923
|
_id: row._id,
|
|
924
|
+
primaryDisplay: "Invalid display column",
|
|
924
925
|
},
|
|
925
926
|
],
|
|
926
927
|
})
|
|
@@ -929,6 +930,7 @@ describe("row api - postgres", () => {
|
|
|
929
930
|
[m2mFieldName]: [
|
|
930
931
|
{
|
|
931
932
|
_id: row._id,
|
|
933
|
+
primaryDisplay: "Invalid display column",
|
|
932
934
|
},
|
|
933
935
|
],
|
|
934
936
|
})
|
|
@@ -79,10 +79,17 @@ function generateSchema(
|
|
|
79
79
|
if (!relatedTable) {
|
|
80
80
|
throw "Referenced table doesn't exist"
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
const relatedPrimary = relatedTable.primary[0]
|
|
83
|
+
const externalType = relatedTable.schema[relatedPrimary].externalType
|
|
84
|
+
if (externalType) {
|
|
85
|
+
schema.specificType(column.foreignKey, externalType)
|
|
86
|
+
} else {
|
|
87
|
+
schema.integer(column.foreignKey).unsigned()
|
|
88
|
+
}
|
|
89
|
+
|
|
83
90
|
schema
|
|
84
91
|
.foreign(column.foreignKey)
|
|
85
|
-
.references(`${tableName}.${
|
|
92
|
+
.references(`${tableName}.${relatedPrimary}`)
|
|
86
93
|
}
|
|
87
94
|
break
|
|
88
95
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
FieldTypes,
|
|
3
|
-
FormulaTypes,
|
|
4
2
|
AutoFieldDefaultNames,
|
|
5
3
|
AutoFieldSubTypes,
|
|
4
|
+
FieldTypes,
|
|
5
|
+
FormulaTypes,
|
|
6
6
|
} from "../../constants"
|
|
7
7
|
import { processStringSync } from "@budibase/string-templates"
|
|
8
|
-
import { FieldSchema,
|
|
8
|
+
import { FieldSchema, FieldType, Row, Table } from "@budibase/types"
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* If the subtype has been lost for any reason this works out what
|
|
@@ -50,6 +50,7 @@ export function processFormulas(
|
|
|
50
50
|
const isStatic = schema.formulaType === FormulaTypes.STATIC
|
|
51
51
|
if (
|
|
52
52
|
schema.type !== FieldTypes.FORMULA ||
|
|
53
|
+
schema.formula == null ||
|
|
53
54
|
(dynamic && isStatic) ||
|
|
54
55
|
(!dynamic && !isStatic)
|
|
55
56
|
) {
|
|
@@ -57,13 +58,11 @@ export function processFormulas(
|
|
|
57
58
|
}
|
|
58
59
|
// iterate through rows and process formula
|
|
59
60
|
for (let i = 0; i < rowArray.length; i++) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
[column]: processStringSync(schema.formula, context),
|
|
66
|
-
}
|
|
61
|
+
let row = rowArray[i]
|
|
62
|
+
let context = contextRows ? contextRows[i] : row
|
|
63
|
+
rowArray[i] = {
|
|
64
|
+
...row,
|
|
65
|
+
[column]: processStringSync(schema.formula, context),
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
}
|
package/tsconfig.build.json
CHANGED
|
@@ -8,13 +8,11 @@
|
|
|
8
8
|
"esModuleInterop": true,
|
|
9
9
|
"resolveJsonModule": true,
|
|
10
10
|
"incremental": true,
|
|
11
|
-
"types": [
|
|
12
|
-
"outDir": "dist",
|
|
11
|
+
"types": ["node", "jest"],
|
|
12
|
+
"outDir": "dist/src",
|
|
13
13
|
"skipLibCheck": true
|
|
14
14
|
},
|
|
15
|
-
"include": [
|
|
16
|
-
"src/**/*"
|
|
17
|
-
],
|
|
15
|
+
"include": ["src/**/*"],
|
|
18
16
|
"exclude": [
|
|
19
17
|
"node_modules",
|
|
20
18
|
"dist",
|
package/tsconfig.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"declaration": true,
|
|
6
6
|
"sourceMap": true,
|
|
7
7
|
"baseUrl": ".",
|
|
8
|
+
"outDir": "dist",
|
|
8
9
|
"paths": {
|
|
9
10
|
"@budibase/types": ["../types/src"],
|
|
10
11
|
"@budibase/backend-core": ["../backend-core/src"],
|
|
@@ -23,6 +24,6 @@
|
|
|
23
24
|
{ "path": "../shared-core" },
|
|
24
25
|
{ "path": "../../../budibase-pro/packages/pro" }
|
|
25
26
|
],
|
|
26
|
-
"include": ["src/**/*", "specs"
|
|
27
|
+
"include": ["src/**/*", "specs"],
|
|
27
28
|
"exclude": ["node_modules", "dist"]
|
|
28
29
|
}
|
package/dist/package.json
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@budibase/server",
|
|
3
|
-
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.5.6-alpha.21",
|
|
5
|
-
"description": "Budibase Web Server",
|
|
6
|
-
"main": "src/index.ts",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://github.com/Budibase/budibase.git"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"prebuild": "rimraf dist/",
|
|
13
|
-
"build": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/",
|
|
14
|
-
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
|
15
|
-
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
|
|
16
|
-
"postbuild": "copyfiles -u 1 src/**/*.svelte dist/ && copyfiles -u 1 src/**/*.hbs dist/ && copyfiles -u 1 src/**/*.json dist/",
|
|
17
|
-
"test": "bash scripts/test.sh",
|
|
18
|
-
"test:memory": "jest --maxWorkers=2 --logHeapUsage --forceExit",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
|
|
21
|
-
"build:docker": "yarn run predocker && docker build . -t app-service --label version=$BUDIBASE_RELEASE_VERSION",
|
|
22
|
-
"build:docs": "node ./scripts/docs/generate.js open",
|
|
23
|
-
"run:docker": "node dist/index.js",
|
|
24
|
-
"run:docker:cluster": "pm2-runtime start pm2.config.js",
|
|
25
|
-
"dev:stack:up": "node scripts/dev/manage.js up",
|
|
26
|
-
"dev:stack:down": "node scripts/dev/manage.js down",
|
|
27
|
-
"dev:stack:nuke": "node scripts/dev/manage.js nuke",
|
|
28
|
-
"dev:builder": "yarn run dev:stack:up && nodemon",
|
|
29
|
-
"dev:built": "yarn run dev:stack:up && yarn run run:docker",
|
|
30
|
-
"specs": "ts-node specs/generate.ts && openapi-typescript specs/openapi.yaml --output src/definitions/openapi.ts",
|
|
31
|
-
"initialise": "node scripts/initialise.js",
|
|
32
|
-
"env:multi:enable": "node scripts/multiTenancy.js enable",
|
|
33
|
-
"env:multi:disable": "node scripts/multiTenancy.js disable",
|
|
34
|
-
"env:selfhost:enable": "node scripts/selfhost.js enable",
|
|
35
|
-
"env:selfhost:disable": "node scripts/selfhost.js disable",
|
|
36
|
-
"env:localdomain:enable": "node scripts/localdomain.js enable",
|
|
37
|
-
"env:localdomain:disable": "node scripts/localdomain.js disable",
|
|
38
|
-
"env:account:enable": "node scripts/account.js enable",
|
|
39
|
-
"env:account:disable": "node scripts/account.js disable"
|
|
40
|
-
},
|
|
41
|
-
"keywords": [
|
|
42
|
-
"budibase"
|
|
43
|
-
],
|
|
44
|
-
"author": "Budibase",
|
|
45
|
-
"license": "GPL-3.0",
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"@apidevtools/swagger-parser": "10.0.3",
|
|
48
|
-
"@budibase/backend-core": "2.5.6-alpha.21",
|
|
49
|
-
"@budibase/client": "2.5.6-alpha.21",
|
|
50
|
-
"@budibase/pro": "2.5.6-alpha.20",
|
|
51
|
-
"@budibase/shared-core": "2.5.6-alpha.21",
|
|
52
|
-
"@budibase/string-templates": "2.5.6-alpha.21",
|
|
53
|
-
"@budibase/types": "2.5.6-alpha.21",
|
|
54
|
-
"@bull-board/api": "3.7.0",
|
|
55
|
-
"@bull-board/koa": "3.9.4",
|
|
56
|
-
"@elastic/elasticsearch": "7.10.0",
|
|
57
|
-
"@google-cloud/firestore": "5.0.2",
|
|
58
|
-
"@koa/router": "8.0.8",
|
|
59
|
-
"@sendgrid/mail": "7.1.1",
|
|
60
|
-
"@sentry/node": "6.17.7",
|
|
61
|
-
"airtable": "0.10.1",
|
|
62
|
-
"arangojs": "7.2.0",
|
|
63
|
-
"aws-sdk": "2.1030.0",
|
|
64
|
-
"bcryptjs": "2.4.3",
|
|
65
|
-
"bull": "4.10.1",
|
|
66
|
-
"chmodr": "1.2.0",
|
|
67
|
-
"chokidar": "3.5.3",
|
|
68
|
-
"cookies": "0.8.0",
|
|
69
|
-
"csvtojson": "2.0.10",
|
|
70
|
-
"curlconverter": "3.21.0",
|
|
71
|
-
"dd-trace": "3.13.2",
|
|
72
|
-
"dotenv": "8.2.0",
|
|
73
|
-
"download": "8.0.0",
|
|
74
|
-
"elastic-apm-node": "3.38.0",
|
|
75
|
-
"fix-path": "3.0.0",
|
|
76
|
-
"form-data": "4.0.0",
|
|
77
|
-
"fs-extra": "8.1.0",
|
|
78
|
-
"global-agent": "3.0.0",
|
|
79
|
-
"google-auth-library": "7.12.0",
|
|
80
|
-
"google-spreadsheet": "3.2.0",
|
|
81
|
-
"jimp": "0.16.1",
|
|
82
|
-
"joi": "17.6.0",
|
|
83
|
-
"js-yaml": "4.1.0",
|
|
84
|
-
"jsonschema": "1.4.0",
|
|
85
|
-
"knex": "2.4.0",
|
|
86
|
-
"koa": "2.13.4",
|
|
87
|
-
"koa-body": "4.2.0",
|
|
88
|
-
"koa-compress": "4.0.1",
|
|
89
|
-
"koa-connect": "2.1.0",
|
|
90
|
-
"koa-send": "5.0.0",
|
|
91
|
-
"koa-session": "5.12.0",
|
|
92
|
-
"koa-static": "5.0.0",
|
|
93
|
-
"koa-useragent": "^4.1.0",
|
|
94
|
-
"koa2-ratelimit": "1.1.1",
|
|
95
|
-
"lodash": "4.17.21",
|
|
96
|
-
"memorystream": "0.3.1",
|
|
97
|
-
"mongodb": "4.9",
|
|
98
|
-
"mssql": "6.2.3",
|
|
99
|
-
"mysql2": "2.3.3",
|
|
100
|
-
"node-fetch": "2.6.7",
|
|
101
|
-
"open": "8.4.0",
|
|
102
|
-
"pg": "8.5.1",
|
|
103
|
-
"posthog-node": "1.3.0",
|
|
104
|
-
"pouchdb": "7.3.0",
|
|
105
|
-
"pouchdb-adapter-memory": "7.2.2",
|
|
106
|
-
"pouchdb-all-dbs": "1.0.2",
|
|
107
|
-
"pouchdb-find": "7.2.2",
|
|
108
|
-
"pouchdb-replication-stream": "1.2.9",
|
|
109
|
-
"redis": "4",
|
|
110
|
-
"server-destroy": "1.0.1",
|
|
111
|
-
"snowflake-promise": "^4.5.0",
|
|
112
|
-
"socket.io": "4.6.1",
|
|
113
|
-
"svelte": "3.49.0",
|
|
114
|
-
"swagger-parser": "10.0.3",
|
|
115
|
-
"tar": "6.1.11",
|
|
116
|
-
"to-json-schema": "0.2.5",
|
|
117
|
-
"uuid": "3.3.2",
|
|
118
|
-
"validate.js": "0.13.1",
|
|
119
|
-
"vm2": "3.9.17",
|
|
120
|
-
"worker-farm": "1.7.0",
|
|
121
|
-
"xml2js": "0.5.0",
|
|
122
|
-
"yargs": "13.2.4"
|
|
123
|
-
},
|
|
124
|
-
"devDependencies": {
|
|
125
|
-
"@babel/core": "7.17.4",
|
|
126
|
-
"@babel/preset-env": "7.16.11",
|
|
127
|
-
"@budibase/standard-components": "^0.9.139",
|
|
128
|
-
"@jest/test-sequencer": "29.5.0",
|
|
129
|
-
"@swc/core": "^1.3.25",
|
|
130
|
-
"@swc/jest": "^0.2.24",
|
|
131
|
-
"@trendyol/jest-testcontainers": "^2.1.1",
|
|
132
|
-
"@types/apidoc": "0.50.0",
|
|
133
|
-
"@types/bson": "4.2.0",
|
|
134
|
-
"@types/global-agent": "2.1.1",
|
|
135
|
-
"@types/google-spreadsheet": "3.1.5",
|
|
136
|
-
"@types/ioredis": "4.28.10",
|
|
137
|
-
"@types/jest": "29.5.0",
|
|
138
|
-
"@types/koa": "2.13.4",
|
|
139
|
-
"@types/koa__router": "8.0.8",
|
|
140
|
-
"@types/lodash": "4.14.180",
|
|
141
|
-
"@types/node": "14.18.20",
|
|
142
|
-
"@types/node-fetch": "2.6.1",
|
|
143
|
-
"@types/oracledb": "5.2.2",
|
|
144
|
-
"@types/pouchdb": "6.4.0",
|
|
145
|
-
"@types/redis": "4.0.11",
|
|
146
|
-
"@types/server-destroy": "1.0.1",
|
|
147
|
-
"@types/supertest": "2.0.12",
|
|
148
|
-
"@types/tar": "6.1.3",
|
|
149
|
-
"@typescript-eslint/parser": "5.45.0",
|
|
150
|
-
"apidoc": "0.50.4",
|
|
151
|
-
"babel-jest": "29.5.0",
|
|
152
|
-
"copyfiles": "2.4.1",
|
|
153
|
-
"docker-compose": "0.23.17",
|
|
154
|
-
"eslint": "6.8.0",
|
|
155
|
-
"ioredis-mock": "7.2.0",
|
|
156
|
-
"is-wsl": "2.2.0",
|
|
157
|
-
"jest": "29.5.0",
|
|
158
|
-
"jest-openapi": "0.14.2",
|
|
159
|
-
"jest-runner": "29.5.0",
|
|
160
|
-
"jest-serial-runner": "^1.2.1",
|
|
161
|
-
"nodemon": "2.0.15",
|
|
162
|
-
"openapi-types": "9.3.1",
|
|
163
|
-
"openapi-typescript": "5.2.0",
|
|
164
|
-
"path-to-regexp": "6.2.0",
|
|
165
|
-
"prettier": "2.5.1",
|
|
166
|
-
"rimraf": "3.0.2",
|
|
167
|
-
"supertest": "6.2.2",
|
|
168
|
-
"swagger-jsdoc": "6.1.0",
|
|
169
|
-
"timekeeper": "2.2.0",
|
|
170
|
-
"ts-jest": "29.0.5",
|
|
171
|
-
"ts-node": "10.8.1",
|
|
172
|
-
"tsconfig-paths": "4.0.0",
|
|
173
|
-
"typescript": "4.7.3",
|
|
174
|
-
"update-dotenv": "1.1.1"
|
|
175
|
-
},
|
|
176
|
-
"optionalDependencies": {
|
|
177
|
-
"oracledb": "5.3.0"
|
|
178
|
-
},
|
|
179
|
-
"gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc"
|
|
180
|
-
}
|