Commit graph

9 commits

Author SHA1 Message Date
DosX
3e15fc3ac5 Add 'sg' file suffix to heuristic detection
Updated the MiniJavaScriptHeuristic to recognize files with the 'sg' suffix, improving detection for Detect It Easy modules.
2025-12-22 22:12:21 +03:00
DosX
bf5194d586 Update regex for minified code detection
Modified the regular expression to improve detection of minified or compiled JavaScript code by allowing for more flexible matching of equality and negation operators.
2025-12-15 19:31:07 +03:00
DosX
4aeb4c4225 Remove debug logging from segment processing loop
Eliminated a debug statement that logged segment formatting information within the main function's segment processing loop.
2025-12-15 19:24:06 +03:00
DosX
313e084a0a Improve JavaScript minification detection logic
Refactored the script to more accurately split code outside of string literals, handling escaped quotes and template literal expressions. The detection now processes code segments outside of strings, improving reliability when identifying minified or compiled JavaScript.
2025-12-15 19:23:51 +03:00
DosX
6ae41f5384 Refactor MiniJavaScriptHeuristic detect function
Changed 'detect' from a constant assignment to a function declaration and replaced string initializations with String() for clarity. These changes improve code readability and maintain consistency in variable initialization.
2025-09-18 13:08:37 +03:00
DosX
84c47bc6cc - 2025-03-23 12:41:20 +03:00
DosX
c898979208 Revert "Update file(s): 2024-10-07"
This reverts commit 120ee256d7.
2024-10-07 11:52:02 +03:00
horsicq
120ee256d7 Update file(s): 2024-10-07 2024-10-07 01:30:53 +02:00
DosX
17d2a19975 Database update 2024-10-04 23:26:26 +03:00