@budibase/server 2.13.4 → 2.13.5

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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.13.4",
4
+ "version": "2.13.5",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,12 +43,12 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "2.13.4",
47
- "@budibase/client": "2.13.4",
48
- "@budibase/pro": "2.13.4",
49
- "@budibase/shared-core": "2.13.4",
50
- "@budibase/string-templates": "2.13.4",
51
- "@budibase/types": "2.13.4",
46
+ "@budibase/backend-core": "2.13.5",
47
+ "@budibase/client": "2.13.5",
48
+ "@budibase/pro": "2.13.5",
49
+ "@budibase/shared-core": "2.13.5",
50
+ "@budibase/string-templates": "2.13.5",
51
+ "@budibase/types": "2.13.5",
52
52
  "@bull-board/api": "3.7.0",
53
53
  "@bull-board/koa": "3.9.4",
54
54
  "@elastic/elasticsearch": "7.10.0",
@@ -184,5 +184,5 @@
184
184
  }
185
185
  }
186
186
  },
187
- "gitHead": "92db1cbf172c46f9498581dd0f079295e7c5db9c"
187
+ "gitHead": "102cee5498fa828d611e7cf0e31b732092dd1584"
188
188
  }
@@ -32,6 +32,7 @@ import {
32
32
  structures,
33
33
  } from "@budibase/backend-core/tests"
34
34
  import _ from "lodash"
35
+ import * as uuid from "uuid"
35
36
 
36
37
  const timestamp = new Date("2023-01-26T11:48:57.597Z").toISOString()
37
38
  tk.freeze(timestamp)
@@ -68,7 +69,7 @@ describe.each([
68
69
 
69
70
  const generateTableConfig: () => SaveTableRequest = () => {
70
71
  return {
71
- name: generator.word(),
72
+ name: uuid.v4(),
72
73
  type: "table",
73
74
  primary: ["id"],
74
75
  primaryDisplay: "name",
@@ -481,7 +482,7 @@ describe.each([
481
482
  })
482
483
 
483
484
  const createViewResponse = await config.createView({
484
- name: generator.word(),
485
+ name: uuid.v4(),
485
486
  schema: {
486
487
  Country: {
487
488
  visible: true,
@@ -816,7 +817,8 @@ describe.each([
816
817
  RelationshipType.ONE_TO_MANY,
817
818
  ["link"],
818
819
  {
819
- name: generator.word(),
820
+ // Making sure that the combined table name + column name is within postgres limits
821
+ name: uuid.v4().replace(/-/g, "").substring(0, 16),
820
822
  type: "table",
821
823
  primary: ["id"],
822
824
  primaryDisplay: "id",
@@ -949,7 +951,7 @@ describe.each([
949
951
  describe("view 2.0", () => {
950
952
  async function userTable(): Promise<Table> {
951
953
  return {
952
- name: `users_${generator.word()}`,
954
+ name: `users_${uuid.v4()}`,
953
955
  sourceId: INTERNAL_TABLE_SOURCE_ID,
954
956
  sourceType: TableSourceType.INTERNAL,
955
957
  type: "table",
@@ -1133,7 +1135,7 @@ describe.each([
1133
1135
  const viewSchema = { age: { visible: true }, name: { visible: true } }
1134
1136
  async function userTable(): Promise<Table> {
1135
1137
  return {
1136
- name: `users_${generator.word()}`,
1138
+ name: `users_${uuid.v4()}`,
1137
1139
  sourceId: INTERNAL_TABLE_SOURCE_ID,
1138
1140
  sourceType: TableSourceType.INTERNAL,
1139
1141
  type: "table",
@@ -1630,7 +1632,7 @@ describe.each([
1630
1632
  }),
1631
1633
  (tableId: string) =>
1632
1634
  config.api.row.save(tableId, {
1633
- name: generator.word(),
1635
+ name: uuid.v4(),
1634
1636
  description: generator.paragraph(),
1635
1637
  tableId,
1636
1638
  }),