From 76f4bed9675e5199c68800431420863e2c04289b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 15 Sep 2024 09:35:05 +0000 Subject: [PATCH] fix: upgrade express-openapi-validator from 5.3.1 to 5.3.3 Snyk has created this PR to upgrade express-openapi-validator from 5.3.1 to 5.3.3. See this package in npm: express-openapi-validator See this project in Snyk: https://app.snyk.io/org/karol.preiskorn/project/efd160dc-7879-45fd-87ca-1a7aed1f0404?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 37 +++++++++++++++++++++++++++++++------ package.json | 2 +- 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3fda627..5d2c91f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,11 @@ "cors": "^2.8.5", "date-fns": "^3.6.0", "dotenv": "^16.4.5", + "eslint-formatter-codeframe": "^7.32.1", + "eslint-plugin-jest": "^27.9.0", "express": "^4.19.2", "express-async-errors": "^3.1.1", - "express-openapi-validator": "^5.3.1", + "express-openapi-validator": "^5.3.3", "express-session": "1.18.0", "figlet": "^1.7.0", "fs": "^0.0.2", @@ -4999,6 +5001,28 @@ "eslint": ">=7.0.0" } }, + "node_modules/eslint-formatter-codeframe": { + "version": "7.32.1", + "resolved": "https://registry.npmjs.org/eslint-formatter-codeframe/-/eslint-formatter-codeframe-7.32.1.tgz", + "integrity": "sha512-DK/3Q3+zVKq/7PdSYiCxPrsDF8H/TRMK5n8Hziwr4IMkMy+XiKSwbpj25AdajS63I/B61Snetq4uVvX9fOLyAg==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "7.12.11", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/eslint-formatter-codeframe/node_modules/@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "license": "MIT", + "dependencies": { + "@babel/highlight": "^7.10.4" + } + }, "node_modules/eslint-plugin-jest": { "version": "28.8.0", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.0.tgz", @@ -5319,13 +5343,14 @@ } }, "node_modules/express-openapi-validator": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/express-openapi-validator/-/express-openapi-validator-5.3.1.tgz", - "integrity": "sha512-Mlo3N1yvaZJlIs/nX0ig4xSu4g1CmLK/InRuqrXPmiqijfHa5qx/5ng92kq2dfTKd77XE7e9sPJqkI79asqNlQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/express-openapi-validator/-/express-openapi-validator-5.3.3.tgz", + "integrity": "sha512-WolpeQTubIlPOjKZiMmFL+pvztAq4bpL/ylvKjs2v7JN/8qC2J2k21MuYcz0o5vQBt4cdIg2cZ2I1Ik2R3FG6w==", + "license": "MIT", "dependencies": { - "@apidevtools/json-schema-ref-parser": "^11.6.4", + "@apidevtools/json-schema-ref-parser": "^11.7.0", "@types/multer": "^1.4.11", - "ajv": "^8.15.0", + "ajv": "^8.17.1", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", "content-type": "^1.0.5", diff --git a/package.json b/package.json index 48788ab..7344a57 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "express": "^4.19.2", "express-async-errors": "^3.1.1", - "express-openapi-validator": "^5.3.1", + "express-openapi-validator": "^5.3.3", "express-session": "1.18.0", "figlet": "^1.7.0", "fs": "^0.0.2",