houdini 0.19.2 → 0.19.3
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/vite-cjs/index.js +11 -2
- package/build/vite-esm/index.js +11 -2
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -77733,8 +77733,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
77733
77733
|
}
|
|
77734
77734
|
packageJSON.devDependencies = {
|
|
77735
77735
|
...packageJSON.devDependencies,
|
|
77736
|
-
houdini: "^0.19.
|
|
77737
|
-
"houdini-svelte": "^0.19.
|
|
77736
|
+
houdini: "^0.19.3",
|
|
77737
|
+
"houdini-svelte": "^0.19.3",
|
|
77738
77738
|
graphql: "^15.8.0"
|
|
77739
77739
|
};
|
|
77740
77740
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -77738,8 +77738,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
77738
77738
|
}
|
|
77739
77739
|
packageJSON.devDependencies = {
|
|
77740
77740
|
...packageJSON.devDependencies,
|
|
77741
|
-
houdini: "^0.19.
|
|
77742
|
-
"houdini-svelte": "^0.19.
|
|
77741
|
+
houdini: "^0.19.3",
|
|
77742
|
+
"houdini-svelte": "^0.19.3",
|
|
77743
77743
|
graphql: "^15.8.0"
|
|
77744
77744
|
};
|
|
77745
77745
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -74264,7 +74264,9 @@ function find_insert_index(script) {
|
|
|
74264
74264
|
return insert_index;
|
|
74265
74265
|
}
|
|
74266
74266
|
function find_exported_fn(body, name2) {
|
|
74267
|
+
console.log(body);
|
|
74267
74268
|
for (const statement of body) {
|
|
74269
|
+
console.log(statement);
|
|
74268
74270
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
74269
74271
|
continue;
|
|
74270
74272
|
}
|
|
@@ -74280,8 +74282,15 @@ function find_exported_fn(body, name2) {
|
|
|
74280
74282
|
continue;
|
|
74281
74283
|
}
|
|
74282
74284
|
const declaration = value.declarations[0];
|
|
74283
|
-
|
|
74284
|
-
|
|
74285
|
+
let { init } = declaration;
|
|
74286
|
+
if (!init) {
|
|
74287
|
+
continue;
|
|
74288
|
+
}
|
|
74289
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
74290
|
+
init = init.expression;
|
|
74291
|
+
}
|
|
74292
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
74293
|
+
return init;
|
|
74285
74294
|
}
|
|
74286
74295
|
} else {
|
|
74287
74296
|
continue;
|
package/build/vite-esm/index.js
CHANGED
|
@@ -74258,7 +74258,9 @@ function find_insert_index(script) {
|
|
|
74258
74258
|
return insert_index;
|
|
74259
74259
|
}
|
|
74260
74260
|
function find_exported_fn(body, name2) {
|
|
74261
|
+
console.log(body);
|
|
74261
74262
|
for (const statement of body) {
|
|
74263
|
+
console.log(statement);
|
|
74262
74264
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
74263
74265
|
continue;
|
|
74264
74266
|
}
|
|
@@ -74274,8 +74276,15 @@ function find_exported_fn(body, name2) {
|
|
|
74274
74276
|
continue;
|
|
74275
74277
|
}
|
|
74276
74278
|
const declaration = value.declarations[0];
|
|
74277
|
-
|
|
74278
|
-
|
|
74279
|
+
let { init } = declaration;
|
|
74280
|
+
if (!init) {
|
|
74281
|
+
continue;
|
|
74282
|
+
}
|
|
74283
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
74284
|
+
init = init.expression;
|
|
74285
|
+
}
|
|
74286
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
74287
|
+
return init;
|
|
74279
74288
|
}
|
|
74280
74289
|
} else {
|
|
74281
74290
|
continue;
|