Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte

Package Overview
Dependencies
Maintainers
3
Versions
769
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.234 to 5.0.0-next.235

2

package.json

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

"license": "MIT",
"version": "5.0.0-next.234",
"version": "5.0.0-next.235",
"type": "module",

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

@@ -68,6 +68,2 @@ /** @import { Program } from 'estree' */

if (attribute.value === true || !is_text_attribute(attribute)) {
throw new Error('TODO');
}
if (attribute.value.length !== 1 || attribute.value[0].type !== 'Text') {
e.script_invalid_context(attribute);

@@ -74,0 +70,0 @@ }

@@ -49,11 +49,16 @@ /** @import { Effect, TemplateNode } from '#client' */

/** @type {Effect | null} */
/** @type {Effect | undefined} */
var effect;
block(() => {
if (value === (value = get_value())) return;
if (value === (value = get_value())) {
if (hydrating) {
hydrate_next();
}
return;
}
if (effect) {
if (effect !== undefined) {
destroy_effect(effect);
effect = null;
effect = undefined;
}

@@ -60,0 +65,0 @@

/** @import { Raf } from '#client' */
import { noop } from '../shared/utils.js';
const is_client = typeof window !== 'undefined';
import { BROWSER } from 'esm-env';
const request_animation_frame = is_client ? requestAnimationFrame : noop;
const request_animation_frame = BROWSER ? requestAnimationFrame : noop;
const now = is_client ? () => performance.now() : () => Date.now();
const now = BROWSER ? () => performance.now() : () => Date.now();

@@ -10,0 +10,0 @@ /** @type {Raf} */

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

*/
export const VERSION = '5.0.0-next.234';
export const VERSION = '5.0.0-next.235';
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