houdini-svelte 0.17.13 → 0.17.14
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/build/plugin-cjs/index.js +10 -7
- package/build/plugin-esm/index.js +10 -7
- package/build/test-cjs/index.js +10 -7
- package/build/test-esm/index.js +10 -7
- package/package.json +3 -3
|
@@ -30803,10 +30803,10 @@ var require_main5 = __commonJS({
|
|
|
30803
30803
|
}
|
|
30804
30804
|
});
|
|
30805
30805
|
|
|
30806
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30806
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js
|
|
30807
30807
|
var HttpError, Redirect, ValidationError;
|
|
30808
30808
|
var init_control = __esm({
|
|
30809
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30809
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js"() {
|
|
30810
30810
|
HttpError = class {
|
|
30811
30811
|
constructor(status, body) {
|
|
30812
30812
|
this.status = status;
|
|
@@ -30837,7 +30837,7 @@ var init_control = __esm({
|
|
|
30837
30837
|
}
|
|
30838
30838
|
});
|
|
30839
30839
|
|
|
30840
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30840
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js
|
|
30841
30841
|
var exports_exports = {};
|
|
30842
30842
|
__export(exports_exports, {
|
|
30843
30843
|
error: () => error2,
|
|
@@ -30846,10 +30846,13 @@ __export(exports_exports, {
|
|
|
30846
30846
|
redirect: () => redirect
|
|
30847
30847
|
});
|
|
30848
30848
|
function error2(status, message) {
|
|
30849
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 400 || status > 599)) {
|
|
30850
|
+
throw new Error(`HTTP error status codes must be between 400 and 599 \u2014 ${status} is invalid`);
|
|
30851
|
+
}
|
|
30849
30852
|
return new HttpError(status, message);
|
|
30850
30853
|
}
|
|
30851
30854
|
function redirect(status, location) {
|
|
30852
|
-
if (isNaN(status) || status < 300 || status > 308) {
|
|
30855
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 300 || status > 308)) {
|
|
30853
30856
|
throw new Error("Invalid status code");
|
|
30854
30857
|
}
|
|
30855
30858
|
return new Redirect(status, location);
|
|
@@ -30868,7 +30871,7 @@ function invalid(status, data2) {
|
|
|
30868
30871
|
return new ValidationError(status, data2);
|
|
30869
30872
|
}
|
|
30870
30873
|
var init_exports = __esm({
|
|
30871
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30874
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js"() {
|
|
30872
30875
|
init_control();
|
|
30873
30876
|
}
|
|
30874
30877
|
});
|
|
@@ -181488,7 +181491,7 @@ var HoudiniSveltePlugin = async () => ({
|
|
|
181488
181491
|
return content.replace("HOUDINI_CLIENT_PATH", relativePath);
|
|
181489
181492
|
},
|
|
181490
181493
|
"adapter.js": ({ content }) => {
|
|
181491
|
-
const sveltekit_adapter = `import { browser,
|
|
181494
|
+
const sveltekit_adapter = `import { browser, building } from '$app/environment'
|
|
181492
181495
|
import { error as svelteKitError } from '@sveltejs/kit'
|
|
181493
181496
|
|
|
181494
181497
|
export const isBrowser = browser
|
|
@@ -181499,7 +181502,7 @@ export function setClientStarted() {
|
|
|
181499
181502
|
clientStarted = true
|
|
181500
181503
|
}
|
|
181501
181504
|
|
|
181502
|
-
export const isPrerender =
|
|
181505
|
+
export const isPrerender = building
|
|
181503
181506
|
|
|
181504
181507
|
export const error = svelteKitError
|
|
181505
181508
|
`;
|
|
@@ -30808,10 +30808,10 @@ var require_main5 = __commonJS({
|
|
|
30808
30808
|
}
|
|
30809
30809
|
});
|
|
30810
30810
|
|
|
30811
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30811
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js
|
|
30812
30812
|
var HttpError, Redirect, ValidationError;
|
|
30813
30813
|
var init_control = __esm({
|
|
30814
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30814
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js"() {
|
|
30815
30815
|
HttpError = class {
|
|
30816
30816
|
constructor(status, body) {
|
|
30817
30817
|
this.status = status;
|
|
@@ -30842,7 +30842,7 @@ var init_control = __esm({
|
|
|
30842
30842
|
}
|
|
30843
30843
|
});
|
|
30844
30844
|
|
|
30845
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30845
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js
|
|
30846
30846
|
var exports_exports = {};
|
|
30847
30847
|
__export(exports_exports, {
|
|
30848
30848
|
error: () => error2,
|
|
@@ -30851,10 +30851,13 @@ __export(exports_exports, {
|
|
|
30851
30851
|
redirect: () => redirect
|
|
30852
30852
|
});
|
|
30853
30853
|
function error2(status, message) {
|
|
30854
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 400 || status > 599)) {
|
|
30855
|
+
throw new Error(`HTTP error status codes must be between 400 and 599 \u2014 ${status} is invalid`);
|
|
30856
|
+
}
|
|
30854
30857
|
return new HttpError(status, message);
|
|
30855
30858
|
}
|
|
30856
30859
|
function redirect(status, location) {
|
|
30857
|
-
if (isNaN(status) || status < 300 || status > 308) {
|
|
30860
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 300 || status > 308)) {
|
|
30858
30861
|
throw new Error("Invalid status code");
|
|
30859
30862
|
}
|
|
30860
30863
|
return new Redirect(status, location);
|
|
@@ -30873,7 +30876,7 @@ function invalid(status, data2) {
|
|
|
30873
30876
|
return new ValidationError(status, data2);
|
|
30874
30877
|
}
|
|
30875
30878
|
var init_exports = __esm({
|
|
30876
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30879
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js"() {
|
|
30877
30880
|
init_control();
|
|
30878
30881
|
}
|
|
30879
30882
|
});
|
|
@@ -181484,7 +181487,7 @@ var HoudiniSveltePlugin = async () => ({
|
|
|
181484
181487
|
return content.replace("HOUDINI_CLIENT_PATH", relativePath);
|
|
181485
181488
|
},
|
|
181486
181489
|
"adapter.js": ({ content }) => {
|
|
181487
|
-
const sveltekit_adapter = `import { browser,
|
|
181490
|
+
const sveltekit_adapter = `import { browser, building } from '$app/environment'
|
|
181488
181491
|
import { error as svelteKitError } from '@sveltejs/kit'
|
|
181489
181492
|
|
|
181490
181493
|
export const isBrowser = browser
|
|
@@ -181495,7 +181498,7 @@ export function setClientStarted() {
|
|
|
181495
181498
|
clientStarted = true
|
|
181496
181499
|
}
|
|
181497
181500
|
|
|
181498
|
-
export const isPrerender =
|
|
181501
|
+
export const isPrerender = building
|
|
181499
181502
|
|
|
181500
181503
|
export const error = svelteKitError
|
|
181501
181504
|
`;
|
package/build/test-cjs/index.js
CHANGED
|
@@ -30803,10 +30803,10 @@ var require_main7 = __commonJS({
|
|
|
30803
30803
|
}
|
|
30804
30804
|
});
|
|
30805
30805
|
|
|
30806
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30806
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js
|
|
30807
30807
|
var HttpError, Redirect, ValidationError;
|
|
30808
30808
|
var init_control = __esm({
|
|
30809
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30809
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js"() {
|
|
30810
30810
|
HttpError = class {
|
|
30811
30811
|
constructor(status, body) {
|
|
30812
30812
|
this.status = status;
|
|
@@ -30837,7 +30837,7 @@ var init_control = __esm({
|
|
|
30837
30837
|
}
|
|
30838
30838
|
});
|
|
30839
30839
|
|
|
30840
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30840
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js
|
|
30841
30841
|
var exports_exports = {};
|
|
30842
30842
|
__export(exports_exports, {
|
|
30843
30843
|
error: () => error2,
|
|
@@ -30846,10 +30846,13 @@ __export(exports_exports, {
|
|
|
30846
30846
|
redirect: () => redirect
|
|
30847
30847
|
});
|
|
30848
30848
|
function error2(status, message) {
|
|
30849
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 400 || status > 599)) {
|
|
30850
|
+
throw new Error(`HTTP error status codes must be between 400 and 599 \u2014 ${status} is invalid`);
|
|
30851
|
+
}
|
|
30849
30852
|
return new HttpError(status, message);
|
|
30850
30853
|
}
|
|
30851
30854
|
function redirect(status, location) {
|
|
30852
|
-
if (isNaN(status) || status < 300 || status > 308) {
|
|
30855
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 300 || status > 308)) {
|
|
30853
30856
|
throw new Error("Invalid status code");
|
|
30854
30857
|
}
|
|
30855
30858
|
return new Redirect(status, location);
|
|
@@ -30868,7 +30871,7 @@ function invalid(status, data2) {
|
|
|
30868
30871
|
return new ValidationError(status, data2);
|
|
30869
30872
|
}
|
|
30870
30873
|
var init_exports = __esm({
|
|
30871
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30874
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js"() {
|
|
30872
30875
|
init_control();
|
|
30873
30876
|
}
|
|
30874
30877
|
});
|
|
@@ -296143,7 +296146,7 @@ var HoudiniSveltePlugin = async () => ({
|
|
|
296143
296146
|
return content.replace("HOUDINI_CLIENT_PATH", relativePath);
|
|
296144
296147
|
},
|
|
296145
296148
|
"adapter.js": ({ content }) => {
|
|
296146
|
-
const sveltekit_adapter = `import { browser,
|
|
296149
|
+
const sveltekit_adapter = `import { browser, building } from '$app/environment'
|
|
296147
296150
|
import { error as svelteKitError } from '@sveltejs/kit'
|
|
296148
296151
|
|
|
296149
296152
|
export const isBrowser = browser
|
|
@@ -296154,7 +296157,7 @@ export function setClientStarted() {
|
|
|
296154
296157
|
clientStarted = true
|
|
296155
296158
|
}
|
|
296156
296159
|
|
|
296157
|
-
export const isPrerender =
|
|
296160
|
+
export const isPrerender = building
|
|
296158
296161
|
|
|
296159
296162
|
export const error = svelteKitError
|
|
296160
296163
|
`;
|
package/build/test-esm/index.js
CHANGED
|
@@ -30808,10 +30808,10 @@ var require_main7 = __commonJS({
|
|
|
30808
30808
|
}
|
|
30809
30809
|
});
|
|
30810
30810
|
|
|
30811
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30811
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js
|
|
30812
30812
|
var HttpError, Redirect, ValidationError;
|
|
30813
30813
|
var init_control = __esm({
|
|
30814
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30814
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/runtime/control.js"() {
|
|
30815
30815
|
HttpError = class {
|
|
30816
30816
|
constructor(status, body) {
|
|
30817
30817
|
this.status = status;
|
|
@@ -30842,7 +30842,7 @@ var init_control = __esm({
|
|
|
30842
30842
|
}
|
|
30843
30843
|
});
|
|
30844
30844
|
|
|
30845
|
-
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30845
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js
|
|
30846
30846
|
var exports_exports = {};
|
|
30847
30847
|
__export(exports_exports, {
|
|
30848
30848
|
error: () => error2,
|
|
@@ -30851,10 +30851,13 @@ __export(exports_exports, {
|
|
|
30851
30851
|
redirect: () => redirect
|
|
30852
30852
|
});
|
|
30853
30853
|
function error2(status, message) {
|
|
30854
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 400 || status > 599)) {
|
|
30855
|
+
throw new Error(`HTTP error status codes must be between 400 and 599 \u2014 ${status} is invalid`);
|
|
30856
|
+
}
|
|
30854
30857
|
return new HttpError(status, message);
|
|
30855
30858
|
}
|
|
30856
30859
|
function redirect(status, location) {
|
|
30857
|
-
if (isNaN(status) || status < 300 || status > 308) {
|
|
30860
|
+
if ((!__SVELTEKIT_BROWSER__ || __SVELTEKIT_DEV__) && (isNaN(status) || status < 300 || status > 308)) {
|
|
30858
30861
|
throw new Error("Invalid status code");
|
|
30859
30862
|
}
|
|
30860
30863
|
return new Redirect(status, location);
|
|
@@ -30873,7 +30876,7 @@ function invalid(status, data2) {
|
|
|
30873
30876
|
return new ValidationError(status, data2);
|
|
30874
30877
|
}
|
|
30875
30878
|
var init_exports = __esm({
|
|
30876
|
-
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.
|
|
30879
|
+
"../../node_modules/.pnpm/@sveltejs+kit@1.0.0-next.561_svelte@3.52.0+vite@3.2.4/node_modules/@sveltejs/kit/src/exports/index.js"() {
|
|
30877
30880
|
init_control();
|
|
30878
30881
|
}
|
|
30879
30882
|
});
|
|
@@ -296132,7 +296135,7 @@ var HoudiniSveltePlugin = async () => ({
|
|
|
296132
296135
|
return content.replace("HOUDINI_CLIENT_PATH", relativePath);
|
|
296133
296136
|
},
|
|
296134
296137
|
"adapter.js": ({ content }) => {
|
|
296135
|
-
const sveltekit_adapter = `import { browser,
|
|
296138
|
+
const sveltekit_adapter = `import { browser, building } from '$app/environment'
|
|
296136
296139
|
import { error as svelteKitError } from '@sveltejs/kit'
|
|
296137
296140
|
|
|
296138
296141
|
export const isBrowser = browser
|
|
@@ -296143,7 +296146,7 @@ export function setClientStarted() {
|
|
|
296143
296146
|
clientStarted = true
|
|
296144
296147
|
}
|
|
296145
296148
|
|
|
296146
|
-
export const isPrerender =
|
|
296149
|
+
export const isPrerender = building
|
|
296147
296150
|
|
|
296148
296151
|
export const error = svelteKitError
|
|
296149
296152
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.14",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"type": "module",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@kitql/helper": "^0.5.0",
|
|
22
|
-
"@sveltejs/kit": "1.0.0-next.
|
|
22
|
+
"@sveltejs/kit": "1.0.0-next.561",
|
|
23
23
|
"ast-types": "^0.15.1",
|
|
24
24
|
"estree-walker": "^3.0.1",
|
|
25
25
|
"graphql": "^15.8.0",
|
|
26
26
|
"minimatch": "^5.1.0",
|
|
27
27
|
"recast": "^0.21.5",
|
|
28
28
|
"svelte": "^3.52.0",
|
|
29
|
-
"houdini": "^0.17.
|
|
29
|
+
"houdini": "^0.17.14"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/minimatch": "^5.1.2",
|