houdini-svelte 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.
|
@@ -156433,7 +156433,9 @@ function find_insert_index(script) {
|
|
|
156433
156433
|
return insert_index;
|
|
156434
156434
|
}
|
|
156435
156435
|
function find_exported_fn(body, name2) {
|
|
156436
|
+
console.log(body);
|
|
156436
156437
|
for (const statement of body) {
|
|
156438
|
+
console.log(statement);
|
|
156437
156439
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
156438
156440
|
continue;
|
|
156439
156441
|
}
|
|
@@ -156449,8 +156451,15 @@ function find_exported_fn(body, name2) {
|
|
|
156449
156451
|
continue;
|
|
156450
156452
|
}
|
|
156451
156453
|
const declaration = value2.declarations[0];
|
|
156452
|
-
|
|
156453
|
-
|
|
156454
|
+
let { init } = declaration;
|
|
156455
|
+
if (!init) {
|
|
156456
|
+
continue;
|
|
156457
|
+
}
|
|
156458
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
156459
|
+
init = init.expression;
|
|
156460
|
+
}
|
|
156461
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
156462
|
+
return init;
|
|
156454
156463
|
}
|
|
156455
156464
|
} else {
|
|
156456
156465
|
continue;
|
|
@@ -156428,7 +156428,9 @@ function find_insert_index(script) {
|
|
|
156428
156428
|
return insert_index;
|
|
156429
156429
|
}
|
|
156430
156430
|
function find_exported_fn(body, name2) {
|
|
156431
|
+
console.log(body);
|
|
156431
156432
|
for (const statement of body) {
|
|
156433
|
+
console.log(statement);
|
|
156432
156434
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
156433
156435
|
continue;
|
|
156434
156436
|
}
|
|
@@ -156444,8 +156446,15 @@ function find_exported_fn(body, name2) {
|
|
|
156444
156446
|
continue;
|
|
156445
156447
|
}
|
|
156446
156448
|
const declaration = value2.declarations[0];
|
|
156447
|
-
|
|
156448
|
-
|
|
156449
|
+
let { init } = declaration;
|
|
156450
|
+
if (!init) {
|
|
156451
|
+
continue;
|
|
156452
|
+
}
|
|
156453
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
156454
|
+
init = init.expression;
|
|
156455
|
+
}
|
|
156456
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
156457
|
+
return init;
|
|
156449
156458
|
}
|
|
156450
156459
|
} else {
|
|
156451
156460
|
continue;
|
|
@@ -188221,7 +188221,9 @@ function find_insert_index(script) {
|
|
|
188221
188221
|
return insert_index;
|
|
188222
188222
|
}
|
|
188223
188223
|
function find_exported_fn(body, name2) {
|
|
188224
|
+
console.log(body);
|
|
188224
188225
|
for (const statement of body) {
|
|
188226
|
+
console.log(statement);
|
|
188225
188227
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
188226
188228
|
continue;
|
|
188227
188229
|
}
|
|
@@ -188237,8 +188239,15 @@ function find_exported_fn(body, name2) {
|
|
|
188237
188239
|
continue;
|
|
188238
188240
|
}
|
|
188239
188241
|
const declaration = value2.declarations[0];
|
|
188240
|
-
|
|
188241
|
-
|
|
188242
|
+
let { init } = declaration;
|
|
188243
|
+
if (!init) {
|
|
188244
|
+
continue;
|
|
188245
|
+
}
|
|
188246
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
188247
|
+
init = init.expression;
|
|
188248
|
+
}
|
|
188249
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
188250
|
+
return init;
|
|
188242
188251
|
}
|
|
188243
188252
|
} else {
|
|
188244
188253
|
continue;
|
|
@@ -188213,7 +188213,9 @@ function find_insert_index(script) {
|
|
|
188213
188213
|
return insert_index;
|
|
188214
188214
|
}
|
|
188215
188215
|
function find_exported_fn(body, name2) {
|
|
188216
|
+
console.log(body);
|
|
188216
188217
|
for (const statement of body) {
|
|
188218
|
+
console.log(statement);
|
|
188217
188219
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
188218
188220
|
continue;
|
|
188219
188221
|
}
|
|
@@ -188229,8 +188231,15 @@ function find_exported_fn(body, name2) {
|
|
|
188229
188231
|
continue;
|
|
188230
188232
|
}
|
|
188231
188233
|
const declaration = value2.declarations[0];
|
|
188232
|
-
|
|
188233
|
-
|
|
188234
|
+
let { init } = declaration;
|
|
188235
|
+
if (!init) {
|
|
188236
|
+
continue;
|
|
188237
|
+
}
|
|
188238
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
188239
|
+
init = init.expression;
|
|
188240
|
+
}
|
|
188241
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
188242
|
+
return init;
|
|
188234
188243
|
}
|
|
188235
188244
|
} else {
|
|
188236
188245
|
continue;
|
package/build/test-cjs/index.js
CHANGED
|
@@ -272944,7 +272944,9 @@ function find_insert_index(script) {
|
|
|
272944
272944
|
return insert_index;
|
|
272945
272945
|
}
|
|
272946
272946
|
function find_exported_fn(body, name2) {
|
|
272947
|
+
console.log(body);
|
|
272947
272948
|
for (const statement of body) {
|
|
272949
|
+
console.log(statement);
|
|
272948
272950
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
272949
272951
|
continue;
|
|
272950
272952
|
}
|
|
@@ -272960,8 +272962,15 @@ function find_exported_fn(body, name2) {
|
|
|
272960
272962
|
continue;
|
|
272961
272963
|
}
|
|
272962
272964
|
const declaration = value2.declarations[0];
|
|
272963
|
-
|
|
272964
|
-
|
|
272965
|
+
let { init } = declaration;
|
|
272966
|
+
if (!init) {
|
|
272967
|
+
continue;
|
|
272968
|
+
}
|
|
272969
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
272970
|
+
init = init.expression;
|
|
272971
|
+
}
|
|
272972
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
272973
|
+
return init;
|
|
272965
272974
|
}
|
|
272966
272975
|
} else {
|
|
272967
272976
|
continue;
|
package/build/test-esm/index.js
CHANGED
|
@@ -272933,7 +272933,9 @@ function find_insert_index(script) {
|
|
|
272933
272933
|
return insert_index;
|
|
272934
272934
|
}
|
|
272935
272935
|
function find_exported_fn(body, name2) {
|
|
272936
|
+
console.log(body);
|
|
272936
272937
|
for (const statement of body) {
|
|
272938
|
+
console.log(statement);
|
|
272937
272939
|
if (statement.type !== "ExportNamedDeclaration") {
|
|
272938
272940
|
continue;
|
|
272939
272941
|
}
|
|
@@ -272949,8 +272951,15 @@ function find_exported_fn(body, name2) {
|
|
|
272949
272951
|
continue;
|
|
272950
272952
|
}
|
|
272951
272953
|
const declaration = value2.declarations[0];
|
|
272952
|
-
|
|
272953
|
-
|
|
272954
|
+
let { init } = declaration;
|
|
272955
|
+
if (!init) {
|
|
272956
|
+
continue;
|
|
272957
|
+
}
|
|
272958
|
+
if (init.type === "TSSatisfiesExpression") {
|
|
272959
|
+
init = init.expression;
|
|
272960
|
+
}
|
|
272961
|
+
if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
|
|
272962
|
+
return init;
|
|
272954
272963
|
}
|
|
272955
272964
|
} else {
|
|
272956
272965
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"recast": "^0.23.1",
|
|
32
32
|
"svelte": "^3.55.0",
|
|
33
33
|
"vite": "^4.0.1",
|
|
34
|
-
"houdini": "^0.19.
|
|
34
|
+
"houdini": "^0.19.3"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"graphql": "^14.0.0 || ^15.0.0"
|