houdini-svelte 1.2.21 → 1.2.23-next.0
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.
|
@@ -78598,7 +78598,8 @@ __export2(conventions_exports, {
|
|
|
78598
78598
|
router_index_path: () => router_index_path,
|
|
78599
78599
|
router_path: () => router_path,
|
|
78600
78600
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
78601
|
-
server_adapter_path: () => server_adapter_path
|
|
78601
|
+
server_adapter_path: () => server_adapter_path,
|
|
78602
|
+
vite_render_path: () => vite_render_path
|
|
78602
78603
|
});
|
|
78603
78604
|
function router_path(config22) {
|
|
78604
78605
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -78612,6 +78613,9 @@ function server_adapter_path(config22, base) {
|
|
|
78612
78613
|
function adapter_config_path(config22, base) {
|
|
78613
78614
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
78614
78615
|
}
|
|
78616
|
+
function vite_render_path(config22, base) {
|
|
78617
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
78618
|
+
}
|
|
78615
78619
|
function app_component_path(config22, base) {
|
|
78616
78620
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
78617
78621
|
}
|
|
@@ -144103,7 +144107,8 @@ __export3(conventions_exports2, {
|
|
|
144103
144107
|
router_index_path: () => router_index_path2,
|
|
144104
144108
|
router_path: () => router_path2,
|
|
144105
144109
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
144106
|
-
server_adapter_path: () => server_adapter_path2
|
|
144110
|
+
server_adapter_path: () => server_adapter_path2,
|
|
144111
|
+
vite_render_path: () => vite_render_path2
|
|
144107
144112
|
});
|
|
144108
144113
|
function router_path2(config4) {
|
|
144109
144114
|
return path_exports2.join(base_dir2(config4), "Router.jsx");
|
|
@@ -144117,6 +144122,9 @@ function server_adapter_path2(config4, base) {
|
|
|
144117
144122
|
function adapter_config_path2(config4, base) {
|
|
144118
144123
|
return path_exports2.join(units_dir2(config4, base), "render", "config.js");
|
|
144119
144124
|
}
|
|
144125
|
+
function vite_render_path2(config4, base) {
|
|
144126
|
+
return path_exports2.join(units_dir2(config4, base), "render", "vite.js");
|
|
144127
|
+
}
|
|
144120
144128
|
function app_component_path2(config4, base) {
|
|
144121
144129
|
return path_exports2.join(units_dir2(config4, base), "render", "App.jsx");
|
|
144122
144130
|
}
|
|
@@ -78589,7 +78589,8 @@ __export(conventions_exports, {
|
|
|
78589
78589
|
router_index_path: () => router_index_path,
|
|
78590
78590
|
router_path: () => router_path,
|
|
78591
78591
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
78592
|
-
server_adapter_path: () => server_adapter_path
|
|
78592
|
+
server_adapter_path: () => server_adapter_path,
|
|
78593
|
+
vite_render_path: () => vite_render_path
|
|
78593
78594
|
});
|
|
78594
78595
|
function router_path(config22) {
|
|
78595
78596
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -78603,6 +78604,9 @@ function server_adapter_path(config22, base) {
|
|
|
78603
78604
|
function adapter_config_path(config22, base) {
|
|
78604
78605
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
78605
78606
|
}
|
|
78607
|
+
function vite_render_path(config22, base) {
|
|
78608
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
78609
|
+
}
|
|
78606
78610
|
function app_component_path(config22, base) {
|
|
78607
78611
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
78608
78612
|
}
|
|
@@ -144093,7 +144097,8 @@ __export2(conventions_exports2, {
|
|
|
144093
144097
|
router_index_path: () => router_index_path2,
|
|
144094
144098
|
router_path: () => router_path2,
|
|
144095
144099
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
144096
|
-
server_adapter_path: () => server_adapter_path2
|
|
144100
|
+
server_adapter_path: () => server_adapter_path2,
|
|
144101
|
+
vite_render_path: () => vite_render_path2
|
|
144097
144102
|
});
|
|
144098
144103
|
function router_path2(config4) {
|
|
144099
144104
|
return path_exports2.join(base_dir2(config4), "Router.jsx");
|
|
@@ -144107,6 +144112,9 @@ function server_adapter_path2(config4, base) {
|
|
|
144107
144112
|
function adapter_config_path2(config4, base) {
|
|
144108
144113
|
return path_exports2.join(units_dir2(config4, base), "render", "config.js");
|
|
144109
144114
|
}
|
|
144115
|
+
function vite_render_path2(config4, base) {
|
|
144116
|
+
return path_exports2.join(units_dir2(config4, base), "render", "vite.js");
|
|
144117
|
+
}
|
|
144110
144118
|
function app_component_path2(config4, base) {
|
|
144111
144119
|
return path_exports2.join(units_dir2(config4, base), "render", "App.jsx");
|
|
144112
144120
|
}
|
|
@@ -82692,7 +82692,8 @@ __export2(conventions_exports, {
|
|
|
82692
82692
|
router_index_path: () => router_index_path,
|
|
82693
82693
|
router_path: () => router_path,
|
|
82694
82694
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
82695
|
-
server_adapter_path: () => server_adapter_path
|
|
82695
|
+
server_adapter_path: () => server_adapter_path,
|
|
82696
|
+
vite_render_path: () => vite_render_path
|
|
82696
82697
|
});
|
|
82697
82698
|
function router_path(config22) {
|
|
82698
82699
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -82706,6 +82707,9 @@ function server_adapter_path(config22, base) {
|
|
|
82706
82707
|
function adapter_config_path(config22, base) {
|
|
82707
82708
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
82708
82709
|
}
|
|
82710
|
+
function vite_render_path(config22, base) {
|
|
82711
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
82712
|
+
}
|
|
82709
82713
|
function app_component_path(config22, base) {
|
|
82710
82714
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
82711
82715
|
}
|
|
@@ -175802,7 +175806,8 @@ __export3(conventions_exports2, {
|
|
|
175802
175806
|
router_index_path: () => router_index_path2,
|
|
175803
175807
|
router_path: () => router_path2,
|
|
175804
175808
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
175805
|
-
server_adapter_path: () => server_adapter_path2
|
|
175809
|
+
server_adapter_path: () => server_adapter_path2,
|
|
175810
|
+
vite_render_path: () => vite_render_path2
|
|
175806
175811
|
});
|
|
175807
175812
|
function router_path2(config42) {
|
|
175808
175813
|
return path_exports2.join(base_dir2(config42), "Router.jsx");
|
|
@@ -175816,6 +175821,9 @@ function server_adapter_path2(config42, base) {
|
|
|
175816
175821
|
function adapter_config_path2(config42, base) {
|
|
175817
175822
|
return path_exports2.join(units_dir2(config42, base), "render", "config.js");
|
|
175818
175823
|
}
|
|
175824
|
+
function vite_render_path2(config42, base) {
|
|
175825
|
+
return path_exports2.join(units_dir2(config42, base), "render", "vite.js");
|
|
175826
|
+
}
|
|
175819
175827
|
function app_component_path2(config42, base) {
|
|
175820
175828
|
return path_exports2.join(units_dir2(config42, base), "render", "App.jsx");
|
|
175821
175829
|
}
|
|
@@ -82685,7 +82685,8 @@ __export(conventions_exports, {
|
|
|
82685
82685
|
router_index_path: () => router_index_path,
|
|
82686
82686
|
router_path: () => router_path,
|
|
82687
82687
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
82688
|
-
server_adapter_path: () => server_adapter_path
|
|
82688
|
+
server_adapter_path: () => server_adapter_path,
|
|
82689
|
+
vite_render_path: () => vite_render_path
|
|
82689
82690
|
});
|
|
82690
82691
|
function router_path(config22) {
|
|
82691
82692
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -82699,6 +82700,9 @@ function server_adapter_path(config22, base) {
|
|
|
82699
82700
|
function adapter_config_path(config22, base) {
|
|
82700
82701
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
82701
82702
|
}
|
|
82703
|
+
function vite_render_path(config22, base) {
|
|
82704
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
82705
|
+
}
|
|
82702
82706
|
function app_component_path(config22, base) {
|
|
82703
82707
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
82704
82708
|
}
|
|
@@ -175794,7 +175798,8 @@ __export2(conventions_exports2, {
|
|
|
175794
175798
|
router_index_path: () => router_index_path2,
|
|
175795
175799
|
router_path: () => router_path2,
|
|
175796
175800
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
175797
|
-
server_adapter_path: () => server_adapter_path2
|
|
175801
|
+
server_adapter_path: () => server_adapter_path2,
|
|
175802
|
+
vite_render_path: () => vite_render_path2
|
|
175798
175803
|
});
|
|
175799
175804
|
function router_path2(config42) {
|
|
175800
175805
|
return path_exports2.join(base_dir2(config42), "Router.jsx");
|
|
@@ -175808,6 +175813,9 @@ function server_adapter_path2(config42, base) {
|
|
|
175808
175813
|
function adapter_config_path2(config42, base) {
|
|
175809
175814
|
return path_exports2.join(units_dir2(config42, base), "render", "config.js");
|
|
175810
175815
|
}
|
|
175816
|
+
function vite_render_path2(config42, base) {
|
|
175817
|
+
return path_exports2.join(units_dir2(config42, base), "render", "vite.js");
|
|
175818
|
+
}
|
|
175811
175819
|
function app_component_path2(config42, base) {
|
|
175812
175820
|
return path_exports2.join(units_dir2(config42, base), "render", "App.jsx");
|
|
175813
175821
|
}
|
package/build/test-cjs/index.js
CHANGED
|
@@ -78601,7 +78601,8 @@ __export2(conventions_exports, {
|
|
|
78601
78601
|
router_index_path: () => router_index_path,
|
|
78602
78602
|
router_path: () => router_path,
|
|
78603
78603
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
78604
|
-
server_adapter_path: () => server_adapter_path
|
|
78604
|
+
server_adapter_path: () => server_adapter_path,
|
|
78605
|
+
vite_render_path: () => vite_render_path
|
|
78605
78606
|
});
|
|
78606
78607
|
function router_path(config22) {
|
|
78607
78608
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -78615,6 +78616,9 @@ function server_adapter_path(config22, base) {
|
|
|
78615
78616
|
function adapter_config_path(config22, base) {
|
|
78616
78617
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
78617
78618
|
}
|
|
78619
|
+
function vite_render_path(config22, base) {
|
|
78620
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
78621
|
+
}
|
|
78618
78622
|
function app_component_path(config22, base) {
|
|
78619
78623
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
78620
78624
|
}
|
|
@@ -136359,7 +136363,23 @@ function withArguments(config22, node2) {
|
|
|
136359
136363
|
if (!withDirectives || withDirectives.length === 0) {
|
|
136360
136364
|
return [];
|
|
136361
136365
|
}
|
|
136362
|
-
return withDirectives.flatMap((directive) => directive.arguments || []);
|
|
136366
|
+
return withDirectives.flatMap((directive) => removeLocKey(directive.arguments) || []);
|
|
136367
|
+
}
|
|
136368
|
+
function removeLocKey(value2) {
|
|
136369
|
+
if (typeof value2 !== "object" || value2 === null) {
|
|
136370
|
+
return value2;
|
|
136371
|
+
}
|
|
136372
|
+
if (Array.isArray(value2)) {
|
|
136373
|
+
return value2.map(removeLocKey);
|
|
136374
|
+
}
|
|
136375
|
+
return Object.fromEntries(
|
|
136376
|
+
Object.entries(value2).map(([key, fieldValue]) => {
|
|
136377
|
+
if (key === "loc") {
|
|
136378
|
+
return [];
|
|
136379
|
+
}
|
|
136380
|
+
return [key, removeLocKey(fieldValue)];
|
|
136381
|
+
})
|
|
136382
|
+
);
|
|
136363
136383
|
}
|
|
136364
136384
|
function fragmentArguments(config22, filepath, definition) {
|
|
136365
136385
|
const directives = definition.directives?.filter(
|
|
@@ -136450,6 +136470,7 @@ function collectWithArguments(config22, filepath, node2, scope2 = {}) {
|
|
|
136450
136470
|
}
|
|
136451
136471
|
value2 = scope2[value2.name.value];
|
|
136452
136472
|
}
|
|
136473
|
+
value2.loc = void 0;
|
|
136453
136474
|
args[arg.name.value] = {
|
|
136454
136475
|
...value2,
|
|
136455
136476
|
loc: void 0
|
|
@@ -136559,9 +136580,7 @@ function serializeValue(value2) {
|
|
|
136559
136580
|
}
|
|
136560
136581
|
if (typeof value2 === "object" && value2 !== null) {
|
|
136561
136582
|
return AST4.objectExpression(
|
|
136562
|
-
Object.entries(value2).filter(
|
|
136563
|
-
([key, value22]) => typeof value22 !== "undefined" && key !== "prev" && key !== "next"
|
|
136564
|
-
).map(([key, val]) => {
|
|
136583
|
+
Object.entries(value2).filter(([key, value22]) => typeof value22 !== "undefined").map(([key, val]) => {
|
|
136565
136584
|
return AST4.objectProperty(AST4.stringLiteral(key), serializeValue(val));
|
|
136566
136585
|
})
|
|
136567
136586
|
);
|
|
@@ -264437,7 +264456,8 @@ __export5(conventions_exports2, {
|
|
|
264437
264456
|
router_index_path: () => router_index_path2,
|
|
264438
264457
|
router_path: () => router_path2,
|
|
264439
264458
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
264440
|
-
server_adapter_path: () => server_adapter_path2
|
|
264459
|
+
server_adapter_path: () => server_adapter_path2,
|
|
264460
|
+
vite_render_path: () => vite_render_path2
|
|
264441
264461
|
});
|
|
264442
264462
|
function router_path2(config42) {
|
|
264443
264463
|
return path_exports4.join(base_dir2(config42), "Router.jsx");
|
|
@@ -264451,6 +264471,9 @@ function server_adapter_path2(config42, base) {
|
|
|
264451
264471
|
function adapter_config_path2(config42, base) {
|
|
264452
264472
|
return path_exports4.join(units_dir2(config42, base), "render", "config.js");
|
|
264453
264473
|
}
|
|
264474
|
+
function vite_render_path2(config42, base) {
|
|
264475
|
+
return path_exports4.join(units_dir2(config42, base), "render", "vite.js");
|
|
264476
|
+
}
|
|
264454
264477
|
function app_component_path2(config42, base) {
|
|
264455
264478
|
return path_exports4.join(units_dir2(config42, base), "render", "App.jsx");
|
|
264456
264479
|
}
|
package/build/test-esm/index.js
CHANGED
|
@@ -78589,7 +78589,8 @@ __export(conventions_exports, {
|
|
|
78589
78589
|
router_index_path: () => router_index_path,
|
|
78590
78590
|
router_path: () => router_path,
|
|
78591
78591
|
serialized_manifest_path: () => serialized_manifest_path,
|
|
78592
|
-
server_adapter_path: () => server_adapter_path
|
|
78592
|
+
server_adapter_path: () => server_adapter_path,
|
|
78593
|
+
vite_render_path: () => vite_render_path
|
|
78593
78594
|
});
|
|
78594
78595
|
function router_path(config22) {
|
|
78595
78596
|
return path_exports.join(base_dir(config22), "Router.jsx");
|
|
@@ -78603,6 +78604,9 @@ function server_adapter_path(config22, base) {
|
|
|
78603
78604
|
function adapter_config_path(config22, base) {
|
|
78604
78605
|
return path_exports.join(units_dir(config22, base), "render", "config.js");
|
|
78605
78606
|
}
|
|
78607
|
+
function vite_render_path(config22, base) {
|
|
78608
|
+
return path_exports.join(units_dir(config22, base), "render", "vite.js");
|
|
78609
|
+
}
|
|
78606
78610
|
function app_component_path(config22, base) {
|
|
78607
78611
|
return path_exports.join(units_dir(config22, base), "render", "App.jsx");
|
|
78608
78612
|
}
|
|
@@ -136346,7 +136350,23 @@ function withArguments(config22, node2) {
|
|
|
136346
136350
|
if (!withDirectives || withDirectives.length === 0) {
|
|
136347
136351
|
return [];
|
|
136348
136352
|
}
|
|
136349
|
-
return withDirectives.flatMap((directive) => directive.arguments || []);
|
|
136353
|
+
return withDirectives.flatMap((directive) => removeLocKey(directive.arguments) || []);
|
|
136354
|
+
}
|
|
136355
|
+
function removeLocKey(value2) {
|
|
136356
|
+
if (typeof value2 !== "object" || value2 === null) {
|
|
136357
|
+
return value2;
|
|
136358
|
+
}
|
|
136359
|
+
if (Array.isArray(value2)) {
|
|
136360
|
+
return value2.map(removeLocKey);
|
|
136361
|
+
}
|
|
136362
|
+
return Object.fromEntries(
|
|
136363
|
+
Object.entries(value2).map(([key, fieldValue]) => {
|
|
136364
|
+
if (key === "loc") {
|
|
136365
|
+
return [];
|
|
136366
|
+
}
|
|
136367
|
+
return [key, removeLocKey(fieldValue)];
|
|
136368
|
+
})
|
|
136369
|
+
);
|
|
136350
136370
|
}
|
|
136351
136371
|
function fragmentArguments(config22, filepath, definition) {
|
|
136352
136372
|
const directives = definition.directives?.filter(
|
|
@@ -136437,6 +136457,7 @@ function collectWithArguments(config22, filepath, node2, scope2 = {}) {
|
|
|
136437
136457
|
}
|
|
136438
136458
|
value2 = scope2[value2.name.value];
|
|
136439
136459
|
}
|
|
136460
|
+
value2.loc = void 0;
|
|
136440
136461
|
args[arg.name.value] = {
|
|
136441
136462
|
...value2,
|
|
136442
136463
|
loc: void 0
|
|
@@ -136546,9 +136567,7 @@ function serializeValue(value2) {
|
|
|
136546
136567
|
}
|
|
136547
136568
|
if (typeof value2 === "object" && value2 !== null) {
|
|
136548
136569
|
return AST4.objectExpression(
|
|
136549
|
-
Object.entries(value2).filter(
|
|
136550
|
-
([key, value22]) => typeof value22 !== "undefined" && key !== "prev" && key !== "next"
|
|
136551
|
-
).map(([key, val]) => {
|
|
136570
|
+
Object.entries(value2).filter(([key, value22]) => typeof value22 !== "undefined").map(([key, val]) => {
|
|
136552
136571
|
return AST4.objectProperty(AST4.stringLiteral(key), serializeValue(val));
|
|
136553
136572
|
})
|
|
136554
136573
|
);
|
|
@@ -264422,7 +264441,8 @@ __export4(conventions_exports2, {
|
|
|
264422
264441
|
router_index_path: () => router_index_path2,
|
|
264423
264442
|
router_path: () => router_path2,
|
|
264424
264443
|
serialized_manifest_path: () => serialized_manifest_path2,
|
|
264425
|
-
server_adapter_path: () => server_adapter_path2
|
|
264444
|
+
server_adapter_path: () => server_adapter_path2,
|
|
264445
|
+
vite_render_path: () => vite_render_path2
|
|
264426
264446
|
});
|
|
264427
264447
|
function router_path2(config42) {
|
|
264428
264448
|
return path_exports4.join(base_dir2(config42), "Router.jsx");
|
|
@@ -264436,6 +264456,9 @@ function server_adapter_path2(config42, base) {
|
|
|
264436
264456
|
function adapter_config_path2(config42, base) {
|
|
264437
264457
|
return path_exports4.join(units_dir2(config42, base), "render", "config.js");
|
|
264438
264458
|
}
|
|
264459
|
+
function vite_render_path2(config42, base) {
|
|
264460
|
+
return path_exports4.join(units_dir2(config42, base), "render", "vite.js");
|
|
264461
|
+
}
|
|
264439
264462
|
function app_component_path2(config42, base) {
|
|
264440
264463
|
return path_exports4.join(units_dir2(config42, base), "render", "App.jsx");
|
|
264441
264464
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23-next.0",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"rollup": "^3.7.4",
|
|
33
33
|
"svelte": "^3.57.0",
|
|
34
34
|
"vite": "^4.1.1",
|
|
35
|
-
"houdini": "^1.2.
|
|
35
|
+
"houdini": "^1.2.23-next.0"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"build"
|