diff --git a/functions/newsletter/package-lock.json b/functions/newsletter/package-lock.json index 995d045a..ed084d64 100644 --- a/functions/newsletter/package-lock.json +++ b/functions/newsletter/package-lock.json @@ -5,13 +5,28 @@ "requires": true, "dependencies": { "@netlify/functions": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.6.0.tgz", - "integrity": "sha512-6G92AlcpFrQG72XU8YH8pg94eDnq7+Q0YJhb8x4qNpdGsvuzvrfHWBmqFGp/Yshmv4wex9lpsTRZOocdrA2erQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-2.0.2.tgz", + "integrity": "sha512-goWRtaIPUK/q47qLYtfGGj7HgJIRaT0snw7zZ0yeoNTfQfCRwQwvRrMAsXkCsCtq2N2Oo81L26SpkMxEQMk9hg==", "requires": { + "@netlify/serverless-functions-api": "1.7.3", "is-promise": "^4.0.0" } }, + "@netlify/node-cookies": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz", + "integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==" + }, + "@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==", + "requires": { + "@netlify/node-cookies": "^0.1.0", + "urlpattern-polyfill": "8.0.2" + } + }, "@types/node": { "version": "20.5.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.3.tgz", @@ -64,6 +79,11 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==" }, + "urlpattern-polyfill": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz", + "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==" + }, "web-streams-polyfill": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", diff --git a/functions/newsletter/package.json b/functions/newsletter/package.json index b6e5fe03..30bca9fd 100644 --- a/functions/newsletter/package.json +++ b/functions/newsletter/package.json @@ -14,7 +14,7 @@ "author": "Netlify", "license": "MIT", "dependencies": { - "@netlify/functions": "^1.6.0", + "@netlify/functions": "^2.0.2", "@types/node": "^20.5.3", "node-fetch": "^3.3.0", "typescript": "^5.1.3"