diff --git a/.changeset/green-penguins-tease.md b/.changeset/green-penguins-tease.md new file mode 100644 index 000000000..b1b073f0b --- /dev/null +++ b/.changeset/green-penguins-tease.md @@ -0,0 +1,5 @@ +--- +'@astrojs/netlify': patch +--- + +Fix Netlify Function regression diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index ef999839a..03ed04648 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -35,6 +35,7 @@ }, "dependencies": { "@astrojs/webapi": "^2.0.0", + "@netlify/functions": "^1.0.0", "esbuild": "^0.15.18" }, "peerDependencies": { @@ -42,7 +43,6 @@ }, "devDependencies": { "@netlify/edge-handler-types": "^0.34.1", - "@netlify/functions": "^1.0.0", "@types/node": "^14.18.20", "astro": "workspace:*", "astro-scripts": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 975c958df..dab254385 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3024,10 +3024,10 @@ importers: vite: ^4.0.3 dependencies: '@astrojs/webapi': link:../../webapi + '@netlify/functions': 1.4.0 esbuild: 0.15.18 devDependencies: '@netlify/edge-handler-types': 0.34.1 - '@netlify/functions': 1.4.0 '@types/node': 14.18.36 astro: link:../../astro astro-scripts: link:../../../scripts @@ -6389,7 +6389,7 @@ packages: engines: {node: '>=8.3.0'} dependencies: is-promise: 4.0.0 - dev: true + dev: false /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -10839,7 +10839,7 @@ packages: /is-promise/4.0.0: resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} - dev: true + dev: false /is-reference/3.0.1: resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==}