diff --git a/package-lock.json b/package-lock.json index 567fa58576..042625d7d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40905,7 +40905,6 @@ "@overleaf/redis-wrapper": "*", "@overleaf/settings": "*", "async": "^3.2.5", - "body-parser": "^1.20.3", "bunyan": "^1.8.15", "express": "^4.21.0", "ioredis": "^4.16.1", @@ -40914,13 +40913,22 @@ "devDependencies": { "chai": "^4.3.6", "chai-as-promised": "^7.1.1", + "esmock": "^2.6.9", "mocha": "^10.2.0", "mongodb": "6.7.0", - "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", "typescript": "^5.0.4" } }, + "services/references/node_modules/esmock": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/esmock/-/esmock-2.6.9.tgz", + "integrity": "sha512-SJ5YnoWi8yuGghBrupScARmIcUh2A2a2gIfdVRtQ2MQpQo91wMWHx/fsN0ZDERLAUso1ea4Q/9CKCL88O5MEpg==", + "dev": true, + "engines": { + "node": ">=14.16.0" + } + }, "services/spelling": { "name": "@overleaf/spelling", "version": "0.1.4", @@ -50575,18 +50583,25 @@ "@overleaf/redis-wrapper": "*", "@overleaf/settings": "*", "async": "^3.2.5", - "body-parser": "^1.20.3", "bunyan": "^1.8.15", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", + "esmock": "^2.6.9", "express": "^4.21.0", "ioredis": "^4.16.1", "lodash": "^4.17.19", "mocha": "^10.2.0", "mongodb": "6.7.0", - "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", "typescript": "^5.0.4" + }, + "dependencies": { + "esmock": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/esmock/-/esmock-2.6.9.tgz", + "integrity": "sha512-SJ5YnoWi8yuGghBrupScARmIcUh2A2a2gIfdVRtQ2MQpQo91wMWHx/fsN0ZDERLAUso1ea4Q/9CKCL88O5MEpg==", + "dev": true + } } }, "@overleaf/settings": {