From 3368afb94c38f715d0063eb41d7d2dc6f9a59b7c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 23 Aug 2024 04:14:53 +0000 Subject: [PATCH] fix: upgrade @netlify/functions from 2.0.2 to 2.8.1 Snyk has created this PR to upgrade @netlify/functions from 2.0.2 to 2.8.1. See this package in npm: @netlify/functions See this project in Snyk: https://app.snyk.io/org/marymkohn/project/8846e144-67a3-448d-bf51-fa4c29eddbe9?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 28 +++++++++++++--------------- package.json | 2 +- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7783639..856cb81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,19 +8,19 @@ "name": "quote-generator", "version": "1.0.0", "dependencies": { - "@netlify/functions": "github:netlify/functions", + "@netlify/functions": "^2.8.1", "axios": "^1.5.0", "dotenv": "^16.3.1", "typed.js": "^2.0.132" } }, "node_modules/@netlify/functions": { - "version": "2.0.2", - "resolved": "git+ssh://git@github.com/netlify/functions.git#ad630c05bb6abf66a2b73dd52e3ed20f3ce4a641", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-2.8.1.tgz", + "integrity": "sha512-+6wtYdoz0yE06dSa9XkP47tw5zm6g13QMeCwM3MmHx1vn8hzwFa51JtmfraprdkL7amvb7gaNM+OOhQU1h6T8A==", "license": "MIT", "dependencies": { - "@netlify/serverless-functions-api": "1.7.3", - "is-promise": "^4.0.0" + "@netlify/serverless-functions-api": "1.19.1" }, "engines": { "node": ">=14.0.0" @@ -30,20 +30,22 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz", "integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==", + "license": "MIT", "engines": { "node": "^14.16.0 || >=16.0.0" } }, "node_modules/@netlify/serverless-functions-api": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.7.3.tgz", - "integrity": "sha512-n6/7cJlSWvvbBlUOEAbkGyEld80S6KbG/ldQI9OhLfe1lTatgKmrTNIgqVNpaWpUdTgP2OHWFjmFBzkxxBWs5w==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.19.1.tgz", + "integrity": "sha512-2KYkyluThg1AKfd0JWI7FzpS4A/fzVVGYIf6AM4ydWyNj8eI/86GQVLeRgDoH7CNOxt243R5tutWlmHpVq0/Ew==", + "license": "MIT", "dependencies": { "@netlify/node-cookies": "^0.1.0", "urlpattern-polyfill": "8.0.2" }, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": ">=18.0.0" } }, "node_modules/asynckit": { @@ -123,11 +125,6 @@ "node": ">= 6" } }, - "node_modules/is-promise": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", - "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==" - }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -160,7 +157,8 @@ "node_modules/urlpattern-polyfill": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz", - "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==" + "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==", + "license": "MIT" } } } diff --git a/package.json b/package.json index d3e9b21..b841a09 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "quote-generator", "version": "1.0.0", "dependencies": { - "@netlify/functions": "github:netlify/functions", + "@netlify/functions": "2.8.1", "axios": "^1.5.0", "dotenv": "^16.3.1", "typed.js": "^2.0.132"