Update dependencies (#1327)

This commit is contained in:
Timofey Kachalov
2025-10-30 11:32:28 +04:00
committed by GitHub
parent d5497db9d6
commit 39f7ff43e6
7 changed files with 2452 additions and 1803 deletions
@@ -1,5 +1,6 @@
import { injectable, } from 'inversify';
import * as acorn from 'acorn';
import * as eslintScope from 'eslint-scope';
import * as estraverse from '@javascript-obfuscator/estraverse';
import { KEYS, VisitorKeys } from 'eslint-visitor-keys';
+1 -1
View File
@@ -404,7 +404,7 @@ export class NodeFactory {
* @returns {Literal}
*/
public static literalNode (value: boolean | number | string, raw?: string): ESTree.Literal {
raw = raw !== undefined ? raw : `'${value}'`;
raw = raw ?? `'${value}'`;
return {
type: NodeType.Literal,