@sveltejs/adapter-netlify 1.0.0-next.68 → 1.0.0-next.69
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/cjs/shims.js +7 -4
- package/files/esm/shims.js +7 -4
- package/index.d.ts +1 -0
- package/package.json +4 -4
package/files/cjs/shims.js
CHANGED
|
@@ -10408,7 +10408,7 @@ function requireFetch () {
|
|
|
10408
10408
|
}
|
|
10409
10409
|
|
|
10410
10410
|
// https://fetch.spec.whatwg.org/#finalize-and-report-timing
|
|
10411
|
-
function finalizeAndReportTiming (response, initiatorType) {
|
|
10411
|
+
function finalizeAndReportTiming (response, initiatorType = 'other') {
|
|
10412
10412
|
// 1. If response is an aborted network error, then return.
|
|
10413
10413
|
if (response.type === 'error' && response.aborted) {
|
|
10414
10414
|
return
|
|
@@ -11572,7 +11572,10 @@ function requireFetch () {
|
|
|
11572
11572
|
// 2. Let forwardResponse be the result of running HTTP-network fetch
|
|
11573
11573
|
// given httpFetchParams, includeCredentials, and isNewConnectionFetch.
|
|
11574
11574
|
const forwardResponse = await httpNetworkFetch(
|
|
11575
|
-
httpFetchParams
|
|
11575
|
+
httpFetchParams,
|
|
11576
|
+
includeCredentials,
|
|
11577
|
+
isNewConnectionFetch
|
|
11578
|
+
);
|
|
11576
11579
|
|
|
11577
11580
|
// 3. If httpRequest’s method is unsafe and forwardResponse’s status is
|
|
11578
11581
|
// in the range 200 to 399, inclusive, invalidate appropriate stored
|
|
@@ -11674,8 +11677,8 @@ function requireFetch () {
|
|
|
11674
11677
|
// https://fetch.spec.whatwg.org/#http-network-fetch
|
|
11675
11678
|
async function httpNetworkFetch (
|
|
11676
11679
|
fetchParams,
|
|
11677
|
-
includeCredentials,
|
|
11678
|
-
forceNewConnection
|
|
11680
|
+
includeCredentials = false,
|
|
11681
|
+
forceNewConnection = false
|
|
11679
11682
|
) {
|
|
11680
11683
|
assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed);
|
|
11681
11684
|
|
package/files/esm/shims.js
CHANGED
|
@@ -10390,7 +10390,7 @@ function requireFetch () {
|
|
|
10390
10390
|
}
|
|
10391
10391
|
|
|
10392
10392
|
// https://fetch.spec.whatwg.org/#finalize-and-report-timing
|
|
10393
|
-
function finalizeAndReportTiming (response, initiatorType) {
|
|
10393
|
+
function finalizeAndReportTiming (response, initiatorType = 'other') {
|
|
10394
10394
|
// 1. If response is an aborted network error, then return.
|
|
10395
10395
|
if (response.type === 'error' && response.aborted) {
|
|
10396
10396
|
return
|
|
@@ -11554,7 +11554,10 @@ function requireFetch () {
|
|
|
11554
11554
|
// 2. Let forwardResponse be the result of running HTTP-network fetch
|
|
11555
11555
|
// given httpFetchParams, includeCredentials, and isNewConnectionFetch.
|
|
11556
11556
|
const forwardResponse = await httpNetworkFetch(
|
|
11557
|
-
httpFetchParams
|
|
11557
|
+
httpFetchParams,
|
|
11558
|
+
includeCredentials,
|
|
11559
|
+
isNewConnectionFetch
|
|
11560
|
+
);
|
|
11558
11561
|
|
|
11559
11562
|
// 3. If httpRequest’s method is unsafe and forwardResponse’s status is
|
|
11560
11563
|
// in the range 200 to 399, inclusive, invalidate appropriate stored
|
|
@@ -11656,8 +11659,8 @@ function requireFetch () {
|
|
|
11656
11659
|
// https://fetch.spec.whatwg.org/#http-network-fetch
|
|
11657
11660
|
async function httpNetworkFetch (
|
|
11658
11661
|
fetchParams,
|
|
11659
|
-
includeCredentials,
|
|
11660
|
-
forceNewConnection
|
|
11662
|
+
includeCredentials = false,
|
|
11663
|
+
forceNewConnection = false
|
|
11661
11664
|
) {
|
|
11662
11665
|
assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed);
|
|
11663
11666
|
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltejs/adapter-netlify",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.69",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/sveltejs/kit",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@iarna/toml": "^2.2.5",
|
|
27
|
-
"esbuild": "^0.14.
|
|
27
|
+
"esbuild": "^0.14.48",
|
|
28
28
|
"set-cookie-parser": "^2.4.8",
|
|
29
29
|
"tiny-glob": "^0.2.9"
|
|
30
30
|
},
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@rollup/plugin-commonjs": "^22.0.1",
|
|
34
34
|
"@rollup/plugin-json": "^4.1.0",
|
|
35
35
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
36
|
-
"@sveltejs/kit": "1.0.0-next.
|
|
36
|
+
"@sveltejs/kit": "1.0.0-next.373",
|
|
37
37
|
"@types/node": "^16.11.36",
|
|
38
38
|
"@types/set-cookie-parser": "^2.4.2",
|
|
39
39
|
"rimraf": "^3.0.2",
|
|
40
|
-
"rollup": "^2.75.
|
|
40
|
+
"rollup": "^2.75.7",
|
|
41
41
|
"typescript": "^4.7.4",
|
|
42
42
|
"uvu": "^0.5.3"
|
|
43
43
|
},
|