Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

svelte

Package Overview
Dependencies
Maintainers
3
Versions
1058
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.53.0
to
5.53.1
+1
-1
package.json

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

"license": "MIT",
"version": "5.53.0",
"version": "5.53.1",
"type": "module",

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

@@ -1104,3 +1104,6 @@ /** @import { BinaryOperator, ClassDeclaration, Expression, FunctionDeclaration, Identifier, ImportDeclaration, MemberExpression, LogicalOperator, Node, Pattern, UnaryOperator, VariableDeclarator, Super, SimpleLiteral, FunctionExpression, ArrowFunctionExpression } from 'estree' */

if (node.id) scope.declare(node.id, 'normal', 'function');
if (node.id) {
scopes.set(node.id, state.scope); // so that declarations within with the same name are not confused with the function name
scope.declare(node.id, 'normal', 'function');
}

@@ -1112,3 +1115,6 @@ add_params(scope, node.params);

FunctionDeclaration(node, { state, next }) {
if (node.id) state.scope.declare(node.id, 'normal', 'function', node);
if (node.id) {
scopes.set(node.id, state.scope); // so that declarations within with the same name are not confused with the function name
state.scope.declare(node.id, 'normal', 'function', node);
}

@@ -1115,0 +1121,0 @@ const scope = state.scope.child();

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

*/
export const VERSION = '5.53.0';
export const VERSION = '5.53.1';
export const PUBLIC_VERSION = '5';

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