@vigla/svelte 5.57.8 → 5.57.10
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/compiler/index.js
CHANGED
|
@@ -19718,6 +19718,7 @@ function exportProperties(context, name, local) {
|
|
|
19718
19718
|
}
|
|
19719
19719
|
function client(analysis, options) {
|
|
19720
19720
|
const names = new Names(analysis.names);
|
|
19721
|
+
const name = names.unique(options.name);
|
|
19721
19722
|
const id$4 = id(names.unique("$"));
|
|
19722
19723
|
const anchor = id(names.unique("$$anchor"));
|
|
19723
19724
|
const props = id(names.unique("$$props"));
|
|
@@ -19822,9 +19823,9 @@ function client(analysis, options) {
|
|
|
19822
19823
|
properties: deferred?.properties ?? exposed
|
|
19823
19824
|
}] : [])
|
|
19824
19825
|
});
|
|
19825
|
-
const trailer = options.dev ? [statement(runtime$2(context, "componentSource", id(
|
|
19826
|
+
const trailer = options.dev ? [statement(runtime$2(context, "componentSource", id(name), literal$4(options.filename)))] : [];
|
|
19826
19827
|
if (context.events.size > 0) trailer.push(statement(runtime$2(context, "delegate", ...[...context.events].map((type) => literal$4(type)))));
|
|
19827
|
-
trailer.push(...customElement$2(context,
|
|
19828
|
+
trailer.push(...customElement$2(context, name, exported, options.hmr));
|
|
19828
19829
|
const hash = options.scoping.hash === "" ? null : options.scoping.hash;
|
|
19829
19830
|
return program([
|
|
19830
19831
|
namespaceImport(id$4.name, options.runtime),
|
|
@@ -19832,7 +19833,7 @@ function client(analysis, options) {
|
|
|
19832
19833
|
...context.moduleSetup,
|
|
19833
19834
|
...level,
|
|
19834
19835
|
...context.hoisted,
|
|
19835
|
-
...options.hmr ? hotComponent(id$4,
|
|
19836
|
+
...options.hmr ? hotComponent(id$4, name, [anchor, props], body, hash) : [exportDefaultFunction(name, [anchor, props], body)],
|
|
19836
19837
|
...trailer
|
|
19837
19838
|
]);
|
|
19838
19839
|
}
|
|
@@ -24669,6 +24670,7 @@ function topLevelAwaits(analysis) {
|
|
|
24669
24670
|
}
|
|
24670
24671
|
function server(analysis, options) {
|
|
24671
24672
|
const names = new Names(analysis.names);
|
|
24673
|
+
const name = names.unique(options.name);
|
|
24672
24674
|
const id$1 = id(names.unique("$"));
|
|
24673
24675
|
const out = id(names.unique("$$out"));
|
|
24674
24676
|
const props = id(names.unique("$$props"));
|
|
@@ -24767,7 +24769,7 @@ function server(analysis, options) {
|
|
|
24767
24769
|
namespaceImport(id$1.name, options.runtime),
|
|
24768
24770
|
...imports,
|
|
24769
24771
|
...hoisted,
|
|
24770
|
-
exportDefaultFunction(
|
|
24772
|
+
exportDefaultFunction(name, [out, props], body)
|
|
24771
24773
|
]);
|
|
24772
24774
|
}
|
|
24773
24775
|
function serverModule(analysis, options) {
|
|
@@ -43086,7 +43088,7 @@ async function preprocess(source, preprocessor, options) {
|
|
|
43086
43088
|
}
|
|
43087
43089
|
//#endregion
|
|
43088
43090
|
//#region src/compiler/index.ts
|
|
43089
|
-
const VERSION = "5.57.
|
|
43091
|
+
const VERSION = "5.57.10";
|
|
43090
43092
|
const stores = ["svelte/store"];
|
|
43091
43093
|
const runtime = {
|
|
43092
43094
|
client: "svelte/internal/client",
|