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.10';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "description": "Cybernetically enhanced web apps",
5
5
  "type": "module",
6
6
  "module": "src/runtime/index.js",
@@ -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) {
@@ -6,5 +6,5 @@
6
6
  * https://svelte.dev/docs/svelte-compiler#svelte-version
7
7
  * @type {string}
8
8
  */
9
- export const VERSION = '4.2.10';
9
+ export const VERSION = '4.2.11';
10
10
  export const PUBLIC_VERSION = '4';