🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

svelte

Package Overview
Dependencies
Maintainers
3
Versions
1083
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte - npm Package Compare versions

Comparing version
5.55.7
to
5.55.8
+1
-1
package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "5.55.7",
"version": "5.55.8",
"type": "module",

@@ -8,0 +8,0 @@ "types": "./types/index.d.ts",

@@ -250,3 +250,3 @@ /** @import { AST } from '#compiler'; */

Percentage(node, context) {
context.write(`${node.value}%`);
context.write(node.value);
},

@@ -421,2 +421,3 @@

child_node.type === 'Component' ||
child_node.type === 'SvelteBody' ||
child_node.type === 'SvelteHead' ||

@@ -826,2 +827,6 @@ child_node.type === 'SvelteFragment' ||

SvelteBody(node, context) {
base_element(node, context, comments);
},
SvelteBoundary(node, context) {

@@ -828,0 +833,0 @@ base_element(node, context, comments);

@@ -35,3 +35,3 @@ export const EACH_ITEM_REACTIVE = 1;

export const UNINITIALIZED = Symbol();
export const UNINITIALIZED = Symbol('uninitialized');

@@ -38,0 +38,0 @@ // Dev-time component properties

@@ -306,11 +306,17 @@ /** @import { Blocker, Effect, Value } from '#client' */

if (errored) {
throw errored.error;
}
try {
if (errored) {
throw errored.error;
}
if (aborted(active)) {
throw STALE_REACTION;
if (aborted(active)) {
throw STALE_REACTION;
}
return fn();
} finally {
// We gotta unset context directly in case the function returns a promise, in which case
// unset_context in .finally() would be too late ...
unset_context();
}
return fn();
})

@@ -324,2 +330,3 @@ .catch(handle_error);

blocker.settled = true;
// ... but we also need it after such a promise has resolved in case it restores our context
unset_context();

@@ -326,0 +333,0 @@ });

@@ -341,3 +341,8 @@ /** @import { Derived, Effect, Reaction, Source, Value } from '#client' */

if (!is_destroying_effect && parent !== null && (parent.f & (DESTROYED | INERT)) !== 0) {
if (
!is_destroying_effect &&
parent !== null &&
derived.v !== UNINITIALIZED && // if it was never evaluated before, it's guaranteed to fail downstream, so we try to execute instead
(parent.f & (DESTROYED | INERT)) !== 0
) {
w.derived_inert();

@@ -451,4 +456,4 @@

// of a teardown function is what determines whether the
// effect runs again during unfreezing
e.teardown = noop;
// effect runs again during unfreezing (but not for teardown-only effects)
if (e.fn !== null) e.teardown = noop;
e.ac = null;

@@ -471,3 +476,3 @@

// of a teardown function — unfreeze it
if (e.teardown) {
if (e.teardown && e.fn !== null) {
update_effect(e);

@@ -474,0 +479,0 @@ }

@@ -24,3 +24,3 @@ /** @import { StoreReferencesContainer } from '#client' */

let IS_UNMOUNTED = Symbol();
let IS_UNMOUNTED = Symbol('unmounted');

@@ -27,0 +27,0 @@ /**

@@ -7,3 +7,3 @@ import { DEV } from 'esm-env';

export const REPLACE = Symbol();
export const REPLACE = Symbol('replace');

@@ -10,0 +10,0 @@ /**

@@ -7,3 +7,3 @@ // generated during release, do not modify

*/
export const VERSION = '5.55.7';
export const VERSION = '5.55.8';
export const PUBLIC_VERSION = '5';

Sorry, the diff of this file is too big to display