Comparing version 5.0.0-next.233 to 5.0.0-next.234
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.0-next.233", | ||
"version": "5.0.0-next.234", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "types": "./types/index.d.ts", |
@@ -121,3 +121,3 @@ /** @import { Expression } from 'estree' */ | ||
skipped -= 1; | ||
state.init.push(b.stmt(get_node(false))); | ||
state.init.push(b.stmt(b.call('$.next', skipped !== 1 && b.literal(skipped)))); | ||
} | ||
@@ -124,0 +124,0 @@ } |
@@ -227,2 +227,3 @@ /** @import { EachItem, EachState, Effect, MaybeSource, Source, TemplateNode, TransitionManager, Value } from '#client' */ | ||
/** | ||
* Add, remove, or reorder items output by an each block as its input changes | ||
* @template V | ||
@@ -229,0 +230,0 @@ * @param {Array<V>} array |
@@ -69,5 +69,12 @@ /** @import { TemplateNode } from '#client' */ | ||
export function next() { | ||
export function next(count = 1) { | ||
if (hydrating) { | ||
hydrate_next(); | ||
var i = count; | ||
var node = hydrate_node; | ||
while (i--) { | ||
node = /** @type {TemplateNode} */ (get_next_sibling(node)); | ||
} | ||
hydrate_node = node; | ||
} | ||
@@ -74,0 +81,0 @@ } |
@@ -133,3 +133,3 @@ /** @import { Source } from './types.js' */ | ||
// Svelte 4 allowed for deletions on $$restProps | ||
if (target.exclude.includes(key)) return false; | ||
if (target.exclude.includes(key)) return true; | ||
target.exclude.push(key); | ||
@@ -136,0 +136,0 @@ update(target.version); |
@@ -9,3 +9,3 @@ // generated during release, do not modify | ||
*/ | ||
export const VERSION = '5.0.0-next.233'; | ||
export const VERSION = '5.0.0-next.234'; | ||
export const PUBLIC_VERSION = '5'; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2208732
48924