-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Expected Behavior
javascript-obfuscator ./resources/js --output ./resources/public/js should keep the original sources in resources/js unchaged and write the obfuscated files into ./resources/public/js
Current Behavior
If the output directory is not a subdirectory of the sources directory, the original sources are overwritten.
Steps to Reproduce
JavaScript Obfuscator Edition
- JavaScript Obfuscator Open Source
Your Environment
- Obfuscator version used:
- Node version used:
$ npm --version
10.2.4
$ javascript-obfuscator --version
5.1.0_2025-12-13T15:46:00.693Z