svelte 4.2.10 → 4.2.11
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.cjs
CHANGED
|
@@ -43596,7 +43596,7 @@ function is_used_as_reference(node, parent) {
|
|
|
43596
43596
|
* https://svelte.dev/docs/svelte-compiler#svelte-version
|
|
43597
43597
|
* @type {string}
|
|
43598
43598
|
*/
|
|
43599
|
-
const VERSION = '4.2.
|
|
43599
|
+
const VERSION = '4.2.11';
|
|
43600
43600
|
|
|
43601
43601
|
const regex_leading_directory_separator = /^[/\\]/;
|
|
43602
43602
|
const regex_starts_with_term_export = /^Export/;
|
package/package.json
CHANGED
|
@@ -227,7 +227,7 @@ if (typeof HTMLElement === 'function') {
|
|
|
227
227
|
if (!this.$$c) {
|
|
228
228
|
// We wait one tick to let possible child slot elements be created/mounted
|
|
229
229
|
await Promise.resolve();
|
|
230
|
-
if (!this.$$cn) {
|
|
230
|
+
if (!this.$$cn || this.$$c) {
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
233
|
function create_slot(name) {
|
package/src/shared/version.js
CHANGED