Skip to content

Commit

Permalink
Move to node-fetch for fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bray committed Feb 28, 2022
1 parent f50ad28 commit 373c91d
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 20 deletions.
219 changes: 201 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yarbsemaj/adapter-lambda",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",
"description": "An adapter for [SvelteKit](https://kit.svelte.dev/) for AWS Lambda via Lambda Proxy and API Gateway. [Serverless](https://www.serverless.com/) deployment.",
"repository": {
Expand Down Expand Up @@ -31,6 +31,7 @@
"@silvermine/serverless-plugin-cloudfront-lambda-edge": "^2.2.3",
"esbuild": "0.10.1",
"fs-extra": "^10.0.0",
"node-fetch": "^3.2.0",
"serverless": "^2.0.0",
"serverless-s3-deploy": "^0.10.1"
}
Expand Down
4 changes: 3 additions & 1 deletion src/shims.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { fetch, Response, Request, Headers } from '@sveltejs/kit/install-fetch';
import fetch from 'node-fetch';
import {Response, Request, Headers } from 'node-fetch';
export {fetch, Response, Request, Headers }

0 comments on commit 373c91d

Please sign in to comment.