@budibase/server 2.4.33 → 2.4.35

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.
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.ed93eb23.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.02be8ad9.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.b0e3aca6.css">
15
15
  </head>
16
16
  <body id="app">
@@ -44,6 +44,7 @@ const utilities_1 = require("../utilities");
44
44
  const perf_hooks_1 = require("perf_hooks");
45
45
  const form_data_1 = __importDefault(require("form-data"));
46
46
  const url_1 = require("url");
47
+ const backend_core_1 = require("@budibase/backend-core");
47
48
  const BodyTypes = {
48
49
  NONE: "none",
49
50
  FORM_DATA: "form",
@@ -356,6 +357,9 @@ class RestIntegration {
356
357
  }
357
358
  this.startTimeMs = perf_hooks_1.performance.now();
358
359
  const url = this.getUrl(path, queryString, pagination, paginationValues);
360
+ if (yield backend_core_1.blacklist.isBlacklisted(url)) {
361
+ throw new Error("Cannot connect to URL.");
362
+ }
359
363
  const response = yield (0, node_fetch_1.default)(url, input);
360
364
  return yield this.parseResponse(response, pagination);
361
365
  });
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.4.32",
4
+ "version": "2.4.34",
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.4.32",
47
- "@budibase/client": "^2.4.32",
48
- "@budibase/pro": "2.4.32",
49
- "@budibase/shared-core": "^2.4.32",
50
- "@budibase/string-templates": "^2.4.32",
51
- "@budibase/types": "^2.4.32",
46
+ "@budibase/backend-core": "^2.4.34",
47
+ "@budibase/client": "^2.4.34",
48
+ "@budibase/pro": "2.4.34",
49
+ "@budibase/shared-core": "^2.4.34",
50
+ "@budibase/string-templates": "^2.4.34",
51
+ "@budibase/types": "^2.4.34",
52
52
  "@bull-board/api": "3.7.0",
53
53
  "@bull-board/koa": "3.9.4",
54
54
  "@elastic/elasticsearch": "7.10.0",