houdini 1.2.52 → 1.2.54
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/cmd-cjs/index.js +2 -2
- package/build/cmd-esm/index.js +2 -2
- package/build/lib-cjs/index.js +4 -6
- package/build/lib-esm/index.js +4 -6
- package/build/runtime-cjs/client/plugins/fetch.js +4 -1
- package/build/runtime-cjs/client/plugins/fetchParams.js +0 -5
- package/build/runtime-esm/client/plugins/fetch.js +4 -1
- package/build/runtime-esm/client/plugins/fetchParams.js +0 -5
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -78330,12 +78330,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
78330
78330
|
}
|
|
78331
78331
|
packageJSON2.devDependencies = {
|
|
78332
78332
|
...packageJSON2.devDependencies,
|
|
78333
|
-
houdini: "^1.2.
|
|
78333
|
+
houdini: "^1.2.54"
|
|
78334
78334
|
};
|
|
78335
78335
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
78336
78336
|
packageJSON2.devDependencies = {
|
|
78337
78337
|
...packageJSON2.devDependencies,
|
|
78338
|
-
"houdini-svelte": "^1.2.
|
|
78338
|
+
"houdini-svelte": "^1.2.54"
|
|
78339
78339
|
};
|
|
78340
78340
|
} else {
|
|
78341
78341
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -78335,12 +78335,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
78335
78335
|
}
|
|
78336
78336
|
packageJSON2.devDependencies = {
|
|
78337
78337
|
...packageJSON2.devDependencies,
|
|
78338
|
-
houdini: "^1.2.
|
|
78338
|
+
houdini: "^1.2.54"
|
|
78339
78339
|
};
|
|
78340
78340
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
78341
78341
|
packageJSON2.devDependencies = {
|
|
78342
78342
|
...packageJSON2.devDependencies,
|
|
78343
|
-
"houdini-svelte": "^1.2.
|
|
78343
|
+
"houdini-svelte": "^1.2.54"
|
|
78344
78344
|
};
|
|
78345
78345
|
} else {
|
|
78346
78346
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -66094,8 +66094,11 @@ var fetch2 = (target) => {
|
|
|
66094
66094
|
name: ctx.name,
|
|
66095
66095
|
text: ctx.text,
|
|
66096
66096
|
hash: ctx.hash,
|
|
66097
|
-
variables: marshalVariables2(ctx)
|
|
66097
|
+
variables: { ...marshalVariables2(ctx) }
|
|
66098
66098
|
};
|
|
66099
|
+
for (const variable of ctx.artifact.stripVariables) {
|
|
66100
|
+
delete fetchParams2.variables[variable];
|
|
66101
|
+
}
|
|
66099
66102
|
let fetchFn = defaultFetch(client2.url, ctx.fetchParams);
|
|
66100
66103
|
if (target) {
|
|
66101
66104
|
if (typeof target === "string") {
|
|
@@ -66647,11 +66650,6 @@ var defaultErrorFn = async (errors) => new Error(errors.map((error) => error.mes
|
|
|
66647
66650
|
// src/runtime/client/plugins/fetchParams.ts
|
|
66648
66651
|
var fetchParams = (fn = () => ({})) => () => ({
|
|
66649
66652
|
start(ctx, { next, marshalVariables: marshalVariables2 }) {
|
|
66650
|
-
if (ctx.variables) {
|
|
66651
|
-
for (const variable of ctx.artifact.stripVariables) {
|
|
66652
|
-
delete ctx.variables[variable];
|
|
66653
|
-
}
|
|
66654
|
-
}
|
|
66655
66653
|
next({
|
|
66656
66654
|
...ctx,
|
|
66657
66655
|
fetchParams: fn({
|
package/build/lib-esm/index.js
CHANGED
|
@@ -66010,8 +66010,11 @@ var fetch2 = (target) => {
|
|
|
66010
66010
|
name: ctx.name,
|
|
66011
66011
|
text: ctx.text,
|
|
66012
66012
|
hash: ctx.hash,
|
|
66013
|
-
variables: marshalVariables2(ctx)
|
|
66013
|
+
variables: { ...marshalVariables2(ctx) }
|
|
66014
66014
|
};
|
|
66015
|
+
for (const variable of ctx.artifact.stripVariables) {
|
|
66016
|
+
delete fetchParams2.variables[variable];
|
|
66017
|
+
}
|
|
66015
66018
|
let fetchFn = defaultFetch(client2.url, ctx.fetchParams);
|
|
66016
66019
|
if (target) {
|
|
66017
66020
|
if (typeof target === "string") {
|
|
@@ -66563,11 +66566,6 @@ var defaultErrorFn = async (errors) => new Error(errors.map((error) => error.mes
|
|
|
66563
66566
|
// src/runtime/client/plugins/fetchParams.ts
|
|
66564
66567
|
var fetchParams = (fn = () => ({})) => () => ({
|
|
66565
66568
|
start(ctx, { next, marshalVariables: marshalVariables2 }) {
|
|
66566
|
-
if (ctx.variables) {
|
|
66567
|
-
for (const variable of ctx.artifact.stripVariables) {
|
|
66568
|
-
delete ctx.variables[variable];
|
|
66569
|
-
}
|
|
66570
|
-
}
|
|
66571
66569
|
next({
|
|
66572
66570
|
...ctx,
|
|
66573
66571
|
fetchParams: fn({
|
|
@@ -36,8 +36,11 @@ const fetch = (target) => {
|
|
|
36
36
|
name: ctx.name,
|
|
37
37
|
text: ctx.text,
|
|
38
38
|
hash: ctx.hash,
|
|
39
|
-
variables: marshalVariables(ctx)
|
|
39
|
+
variables: { ...marshalVariables(ctx) }
|
|
40
40
|
};
|
|
41
|
+
for (const variable of ctx.artifact.stripVariables) {
|
|
42
|
+
delete fetchParams.variables[variable];
|
|
43
|
+
}
|
|
41
44
|
let fetchFn = defaultFetch(client.url, ctx.fetchParams);
|
|
42
45
|
if (target) {
|
|
43
46
|
if (typeof target === "string") {
|
|
@@ -23,11 +23,6 @@ __export(fetchParams_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(fetchParams_exports);
|
|
24
24
|
const fetchParams = (fn = () => ({})) => () => ({
|
|
25
25
|
start(ctx, { next, marshalVariables }) {
|
|
26
|
-
if (ctx.variables) {
|
|
27
|
-
for (const variable of ctx.artifact.stripVariables) {
|
|
28
|
-
delete ctx.variables[variable];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
26
|
next({
|
|
32
27
|
...ctx,
|
|
33
28
|
fetchParams: fn({
|
|
@@ -11,8 +11,11 @@ const fetch = (target) => {
|
|
|
11
11
|
name: ctx.name,
|
|
12
12
|
text: ctx.text,
|
|
13
13
|
hash: ctx.hash,
|
|
14
|
-
variables: marshalVariables(ctx)
|
|
14
|
+
variables: { ...marshalVariables(ctx) }
|
|
15
15
|
};
|
|
16
|
+
for (const variable of ctx.artifact.stripVariables) {
|
|
17
|
+
delete fetchParams.variables[variable];
|
|
18
|
+
}
|
|
16
19
|
let fetchFn = defaultFetch(client.url, ctx.fetchParams);
|
|
17
20
|
if (target) {
|
|
18
21
|
if (typeof target === "string") {
|