+1
-1
@@ -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(); |
+1
-1
@@ -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
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2799379
0.01%62494
0.01%