diff --git a/packages/h5p-express/package-lock.json b/packages/h5p-express/package-lock.json index ce01f2ba79..9f7e463710 100644 --- a/packages/h5p-express/package-lock.json +++ b/packages/h5p-express/package-lock.json @@ -16,13 +16,13 @@ "@types/express": "4.17.21", "@types/express-fileupload": "1.5.0", "@types/express-serve-static-core": "4.19.3", - "@types/supertest": "2.0.16", + "@types/supertest": "6.0.2", "axios": "1.7.2", "axios-mock-adapter": "1.22.0", "body-parser": "1.20.2", "express-fileupload": "1.5.0", "fs-extra": "11.2.0", - "supertest": "6.3.3", + "supertest": "6.3.4", "tmp-promise": "3.0.3" } }, @@ -199,12 +199,14 @@ } }, "node_modules/@types/supertest": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.16.tgz", - "integrity": "sha512-6c2ogktZ06tr2ENoZivgm7YnprnhYE4ZoXGMY+oA7IuAf17M8FWvujXZGmxLv8y0PTyts4x5A+erSwVUFA8XSg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-6.0.2.tgz", + "integrity": "sha512-137ypx2lk/wTQbW6An6safu9hXmajAifU/s7szAHLN/FeIm5w7yR0Wkl9fdJMRSHwOn4HLAI0DaB2TOORuhPDg==", "dev": true, + "license": "MIT", "dependencies": { - "@types/superagent": "*" + "@types/methods": "^1.1.4", + "@types/superagent": "^8.1.0" } }, "node_modules/accepts": { @@ -1746,13 +1748,14 @@ } }, "node_modules/supertest": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.3.tgz", - "integrity": "sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA==", + "version": "6.3.4", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.4.tgz", + "integrity": "sha512-erY3HFDG0dPnhw4U+udPfrzXa4xhSG+n4rxfRuZWCUvjFWwKl+OxWf/7zk50s84/fAAs7vf5QAb9uRa0cCykxw==", "dev": true, + "license": "MIT", "dependencies": { "methods": "^1.1.2", - "superagent": "^8.0.5" + "superagent": "^8.1.2" }, "engines": { "node": ">=6.4.0" diff --git a/packages/h5p-express/package.json b/packages/h5p-express/package.json index 107b872ec6..647a15740b 100644 --- a/packages/h5p-express/package.json +++ b/packages/h5p-express/package.json @@ -52,13 +52,13 @@ "@types/express-fileupload": "1.5.0", "@types/express-serve-static-core": "4.19.3", "@types/express": "4.17.21", - "@types/supertest": "2.0.16", + "@types/supertest": "6.0.2", "axios-mock-adapter": "1.22.0", "axios": "1.7.2", "body-parser": "1.20.2", "express-fileupload": "1.5.0", "fs-extra": "11.2.0", - "supertest": "6.3.3", + "supertest": "6.3.4", "tmp-promise": "3.0.3" } }