From 78505c20a48034ef77b103e967a1da5d95806150 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:27:50 +0000 Subject: [PATCH 1/3] Bump cross-spawn from 7.0.3 to 7.0.6 in /examples/nextjs-api-sales Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] --- examples/nextjs-api-sales/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/nextjs-api-sales/yarn.lock b/examples/nextjs-api-sales/yarn.lock index 9acbdfdeb6..867835a6b7 100644 --- a/examples/nextjs-api-sales/yarn.lock +++ b/examples/nextjs-api-sales/yarn.lock @@ -423,9 +423,9 @@ core-js-pure@^3.20.2: integrity sha512-12VZfFIu+wyVbBebyHmRTuEE/tZrB4tJToWcwAMcsp3h4+sHR+fMJWbKpYiCRWlhFBq+KNyO8rIV9rTkeVmznQ== cross-spawn@^7.0.2: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" From 1fe5bffe0a2c527b70b887093f1cee3ca658d3a4 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 19 Nov 2024 14:43:48 +0000 Subject: [PATCH 2/3] Bump version to 3.2.7 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 3aac13e6d7..bd7509fcb3 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.2.6", + "version": "3.2.7", "npmClient": "yarn", "packages": [ "packages/*", From 19b219a8a8a692859f4b7fd5376462734ca5869a Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 19 Nov 2024 15:20:40 +0000 Subject: [PATCH 3/3] Remove bson call from worker. --- packages/worker/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/worker/src/index.ts b/packages/worker/src/index.ts index 8a26a69dde..0547afab38 100644 --- a/packages/worker/src/index.ts +++ b/packages/worker/src/index.ts @@ -24,7 +24,6 @@ import { db.init() import koaBody from "koa-body" import http from "http" -import bson from "bson" import api from "./api" const koaSession = require("koa-session") @@ -101,10 +100,6 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => { } console.log(startupLog) - if (coreEnv.BSON_BUFFER_SIZE) { - bson.setInternalBufferSize(coreEnv.BSON_BUFFER_SIZE) - } - await initPro() await redis.clients.init() features.init()