@budibase/server 2.6.19-alpha.15 → 2.6.19-alpha.17

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.6.19-alpha.15",
4
+ "version": "2.6.19-alpha.17",
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.6.19-alpha.15",
49
- "@budibase/client": "2.6.19-alpha.15",
50
- "@budibase/pro": "2.6.19-alpha.15",
51
- "@budibase/shared-core": "2.6.19-alpha.15",
52
- "@budibase/string-templates": "2.6.19-alpha.15",
53
- "@budibase/types": "2.6.19-alpha.15",
48
+ "@budibase/backend-core": "2.6.19-alpha.17",
49
+ "@budibase/client": "2.6.19-alpha.17",
50
+ "@budibase/pro": "2.6.19-alpha.17",
51
+ "@budibase/shared-core": "2.6.19-alpha.17",
52
+ "@budibase/string-templates": "2.6.19-alpha.17",
53
+ "@budibase/types": "2.6.19-alpha.17",
54
54
  "@bull-board/api": "3.7.0",
55
55
  "@bull-board/koa": "3.9.4",
56
56
  "@elastic/elasticsearch": "7.10.0",
@@ -193,5 +193,5 @@
193
193
  }
194
194
  }
195
195
  },
196
- "gitHead": "5c850745f8ecf0dba719b357b98c7ee7672f3212"
196
+ "gitHead": "49f38f9904a503f7cc877135731255e9b5d07c0a"
197
197
  }
@@ -25,9 +25,8 @@ export async function runView(
25
25
  }))
26
26
  )
27
27
  let fn = (doc: Document, emit: any) => emit(doc._id)
28
- ;(0, eval)(
29
- "fn = " + view?.map?.replace("function (doc)", "function (doc, emit)")
30
- )
28
+ // BUDI-7060 -> indirect eval call appears to cause issues in cloud
29
+ eval("fn = " + view?.map?.replace("function (doc)", "function (doc, emit)"))
31
30
  const queryFns: any = {
32
31
  meta: view.meta,
33
32
  map: fn,