svelte 4.2.15 → 4.2.16
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
|
@@ -43607,7 +43607,7 @@ function is_used_as_reference(node, parent) {
|
|
|
43607
43607
|
* https://svelte.dev/docs/svelte-compiler#svelte-version
|
|
43608
43608
|
* @type {string}
|
|
43609
43609
|
*/
|
|
43610
|
-
const VERSION = '4.2.
|
|
43610
|
+
const VERSION = '4.2.16';
|
|
43611
43611
|
|
|
43612
43612
|
const regex_leading_directory_separator = /^[/\\]/;
|
|
43613
43613
|
const regex_starts_with_term_export = /^Export/;
|
package/package.json
CHANGED
|
@@ -335,7 +335,7 @@ if (typeof HTMLElement === 'function') {
|
|
|
335
335
|
this.$$cn = false;
|
|
336
336
|
// In a microtask, because this could be a move within the DOM
|
|
337
337
|
Promise.resolve().then(() => {
|
|
338
|
-
if (!this.$$cn) {
|
|
338
|
+
if (!this.$$cn && this.$$c) {
|
|
339
339
|
this.$$c.$destroy();
|
|
340
340
|
this.$$c = undefined;
|
|
341
341
|
}
|
package/src/shared/version.js
CHANGED