Skip to content

Update Dependencies, Require Node 22+, and Improve Consistent Styling#4

Merged
ctrl-escp merged 4 commits intomainfrom
update-deps
Mar 20, 2026
Merged

Update Dependencies, Require Node 22+, and Improve Consistent Styling#4
ctrl-escp merged 4 commits intomainfrom
update-deps

Conversation

@ctrl-escp
Copy link
Owner

@ctrl-escp ctrl-escp commented Mar 20, 2026

This PR updates key runtime/dev dependencies, including upgrading isolated-vm, which raises the minimum supported Node.js version from 20 to 22. It also includes a broader readability refactor across the project.

  • Bumped flast
  • Updated ESLint/Babel-related dev dependencies
  • Simplified the ESLint flat config
  • Mostly reformatted source files for consistency and readability
  • Updated tests to match current formatting/output behavior
  • Upgraded isolated-vm, which raises the minimum supported Node.js version from 20 to 22
  • Updated documentation to reflect the new Node.js 22+ requirement
  • CI targets newer Node versions (22.x, 24.x)

…ity and consistency

- Enhanced ESLint configuration by restructuring rules and adding detailed comments for better organization.
- Updated test cases in `modules.safe.test.js` to improve readability and maintainability, ensuring consistent formatting and structure across all tests.
- Adjusted expected results in tests to align with updated code logic.
- Upgrade 'flast' to version 2.2.8 and 'isolated-vm' to version 6.1.2.
- Bump development dependencies: '@babel/eslint-parser' to 7.28.6, '@babel/plugin-syntax-import-assertions' to 7.27.6, 'eslint' to 9.39.4, and 'globals' to 17.4.0
…ility

- Removed unnecessary ESLint rules for cleaner configuration.
- Enhanced the deobfuscate.js script by restructuring the argument parsing logic for clarity and improved user experience.
- Updated the REstringer class and related modules to streamline the deobfuscation process, ensuring better organization and maintainability.
- Refactored multiple modules to separate matching and transformation logic, enhancing code clarity and performance.
- Improved documentation across various modules for better understanding of functionality and usage.
@ctrl-escp ctrl-escp self-assigned this Mar 20, 2026
- Changed Node.js version requirement in README.md and CONTRIBUTING.md from v20+ to v22+ for clarity and consistency.
- Updated GitHub Actions workflow to support Node.js versions 22.x and 24.x, ensuring compatibility with the latest releases.
@ctrl-escp ctrl-escp changed the title Update Dependencies and Refactor Deobfuscation Pipeline for Readability Update Dependencies, Require Node 22+, and Improve Consistent Styling Mar 20, 2026
@ctrl-escp ctrl-escp merged commit dc1bde6 into main Mar 20, 2026
2 checks passed
@ctrl-escp ctrl-escp deleted the update-deps branch March 20, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant