Move @netlify/functions to be a dep (#6090)

* Move @netlify/functions to be a de

* Adding a changeset
This commit is contained in:
Matthew Phillips 2023-02-01 14:33:37 -05:00
parent a84e934d21
commit af4dc9ffe2
3 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/netlify': patch
---
Fix Netlify Function regression

View file

@ -35,6 +35,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/webapi": "^2.0.0", "@astrojs/webapi": "^2.0.0",
"@netlify/functions": "^1.0.0",
"esbuild": "^0.15.18" "esbuild": "^0.15.18"
}, },
"peerDependencies": { "peerDependencies": {
@ -42,7 +43,6 @@
}, },
"devDependencies": { "devDependencies": {
"@netlify/edge-handler-types": "^0.34.1", "@netlify/edge-handler-types": "^0.34.1",
"@netlify/functions": "^1.0.0",
"@types/node": "^14.18.20", "@types/node": "^14.18.20",
"astro": "workspace:*", "astro": "workspace:*",
"astro-scripts": "workspace:*", "astro-scripts": "workspace:*",

View file

@ -3024,10 +3024,10 @@ importers:
vite: ^4.0.3 vite: ^4.0.3
dependencies: dependencies:
'@astrojs/webapi': link:../../webapi '@astrojs/webapi': link:../../webapi
'@netlify/functions': 1.4.0
esbuild: 0.15.18 esbuild: 0.15.18
devDependencies: devDependencies:
'@netlify/edge-handler-types': 0.34.1 '@netlify/edge-handler-types': 0.34.1
'@netlify/functions': 1.4.0
'@types/node': 14.18.36 '@types/node': 14.18.36
astro: link:../../astro astro: link:../../astro
astro-scripts: link:../../../scripts astro-scripts: link:../../../scripts
@ -6389,7 +6389,7 @@ packages:
engines: {node: '>=8.3.0'} engines: {node: '>=8.3.0'}
dependencies: dependencies:
is-promise: 4.0.0 is-promise: 4.0.0
dev: true dev: false
/@nodelib/fs.scandir/2.1.5: /@nodelib/fs.scandir/2.1.5:
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
@ -10839,7 +10839,7 @@ packages:
/is-promise/4.0.0: /is-promise/4.0.0:
resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
dev: true dev: false
/is-reference/3.0.1: /is-reference/3.0.1:
resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==}