Socket
Socket
Sign inDemoInstall

svelte

Package Overview
Dependencies
18
Maintainers
3
Versions
616
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-next.86 to 5.0.0-next.87

2

package.json

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

"license": "MIT",
"version": "5.0.0-next.86",
"version": "5.0.0-next.87",
"type": "module",

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

@@ -280,2 +280,4 @@ import {

var to_destroy = [];
/** @type {Array<import('#client').EachItem>} */
var to_animate = [];

@@ -292,2 +294,6 @@ // Step 1 — trim common suffix

}
if (is_animated) {
item.a?.measure();
to_animate.push(item);
}
}

@@ -304,2 +310,6 @@

}
if (is_animated) {
item.a?.measure();
to_animate.push(item);
}

@@ -336,4 +346,2 @@ start += 1;

/** @type {Array<import('#client').EachItem>} */
var to_animate = [];
if (is_animated) {

@@ -402,16 +410,16 @@ // for all items that were in both the old and the new list,

}
}
if (to_animate.length > 0) {
// TODO we need to briefly take any outroing elements out of the flow, so that
// we can figure out the eventual destination of the animating elements
// - https://github.com/sveltejs/svelte/pull/10798#issuecomment-2013681778
// - https://svelte.dev/repl/6e891305e9644a7ca7065fa95c79d2d2?version=4.2.9
effect(() => {
untrack(() => {
for (item of to_animate) {
item.a?.apply();
}
});
if (to_animate.length > 0) {
// TODO we need to briefly take any outroing elements out of the flow, so that
// we can figure out the eventual destination of the animating elements
// - https://github.com/sveltejs/svelte/pull/10798#issuecomment-2013681778
// - https://svelte.dev/repl/6e891305e9644a7ca7065fa95c79d2d2?version=4.2.9
effect(() => {
untrack(() => {
for (item of to_animate) {
item.a?.apply();
}
});
}
});
}

@@ -418,0 +426,0 @@

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

*/
export const VERSION = '5.0.0-next.86';
export const VERSION = '5.0.0-next.87';
export const PUBLIC_VERSION = '5';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc