@sveltejs/adapter-netlify 1.0.0-next.35 → 1.0.0-next.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files/entry.js +2 -2
- package/package.json +4 -3
package/files/entry.js
CHANGED
|
@@ -32,9 +32,9 @@ export async function handler(event) {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
if (rendered.body instanceof Uint8Array) {
|
|
35
|
-
// Function responses should
|
|
35
|
+
// Function responses should be strings (or undefined), and responses with binary
|
|
36
36
|
// content should be base64 encoded and set isBase64Encoded to true.
|
|
37
|
-
// https://github.com/netlify/functions/blob/main/src/function/response.
|
|
37
|
+
// https://github.com/netlify/functions/blob/main/src/function/response.ts
|
|
38
38
|
return {
|
|
39
39
|
...partial_response,
|
|
40
40
|
isBase64Encoded: true,
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltejs/adapter-netlify",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.36",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/sveltejs/kit",
|
|
7
7
|
"directory": "packages/adapter-netlify"
|
|
8
8
|
},
|
|
9
|
+
"license": "MIT",
|
|
9
10
|
"homepage": "https://kit.svelte.dev",
|
|
10
11
|
"type": "module",
|
|
11
12
|
"exports": {
|
|
@@ -22,10 +23,10 @@
|
|
|
22
23
|
],
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"@iarna/toml": "^2.2.5",
|
|
25
|
-
"esbuild": "^0.13.
|
|
26
|
+
"esbuild": "^0.13.15"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@sveltejs/kit": "1.0.0-next.
|
|
29
|
+
"@sveltejs/kit": "1.0.0-next.202"
|
|
29
30
|
},
|
|
30
31
|
"scripts": {
|
|
31
32
|
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,svelte}\" && npm run check-format",
|