Socket
Socket
Sign inDemoInstall

svelte

Package Overview
Dependencies
Maintainers
3
Versions
732
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.0.0-next.214 to 5.0.0-next.215

2

package.json

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

"license": "MIT",
"version": "5.0.0-next.214",
"version": "5.0.0-next.215",
"type": "module",

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

import { createClassComponent } from '../../../../legacy/legacy-client.js';
import { destroy_effect, render_effect } from '../../reactivity/effects.js';
import { append } from '../template.js';
import { define_property, object_keys } from '../../../shared/utils.js';
import { define_property, get_descriptor, object_keys } from '../../../shared/utils.js';

@@ -308,3 +308,14 @@ /**

this.$$d[prop] = value;
this.$$c?.$set({ [prop]: value });
var component = this.$$c;
if (component) {
// // If the instance has an accessor, use that instead
var setter = get_descriptor(component, prop)?.get;
if (setter) {
component[prop] = value;
} else {
component.$set({ [prop]: value });
}
}
}

@@ -311,0 +322,0 @@ });

@@ -225,2 +225,4 @@ /** @import { AnimateFn, Animation, AnimationConfig, EachItem, Effect, Task, TransitionFn, TransitionManager } from '#client' */

dispatch_event(element, 'introend');
// Ensure we cancel the animation to prevent leaking
intro?.abort();
intro = current_options = undefined;

@@ -253,2 +255,4 @@ },

dispatch_event(element, 'outroend');
// Ensure we cancel the animation to prevent leaking
outro?.abort();
outro = current_options = undefined;

@@ -327,4 +331,6 @@ fn?.();

var a;
var aborted = false;
queue_micro_task(() => {
if (aborted) return;
var o = options({ direction: is_intro ? 'in' : 'out' });

@@ -337,3 +343,6 @@ a = animate(element, o, counterpart, t2, on_finish, on_abort);

return {
abort: () => a.abort(),
abort: () => {
aborted = true;
a?.abort();
},
deactivate: () => a.deactivate(),

@@ -340,0 +349,0 @@ reset: () => a.reset(),

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

*/
export const VERSION = '5.0.0-next.214';
export const VERSION = '5.0.0-next.215';
export const PUBLIC_VERSION = '5';

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc