gulp-javascript-obfuscator
gulp-javascript-obfuscator copied to clipboard
Gulp plugin for javascript-obfuscator package.
When using these options: `{ compact: false, identifierNamesGenerator: 'mangled', stringArray: true, stringArrayEncoding: 'base64' }` This code: `main(); function main() { alert("Hello world!") }` Obfuscates as the following code, which fails...
Relevant gulp options below: ``` { compact: true, controlFlowFlattening: false, deadCodeInjection: false, debugProtection: true, debugProtectionInterval: false, disableConsoleOutput: true, identifierNamesGenerator: 'mangled', log: false, renameGlobals: true, selfDefending: false, splitStrings: true, splitStringsChunkLength: 3,...
``` C:\projects\myApp\node_modules\javascript-obfuscator\dist\webpack:\JavaScriptObfuscator\src\EspreeFacade.ts:82 throw new Error(errorMessage); ^ Error: Cannot read property 'ecmaFeatures' of undefined ``` Any thoughts on this? Used to work fine and I can't find anything that's changed.
Just for some hours now, our gulp build process stopped working due to an error in `gulp-javascript-obfuscator`: ``` C:\...\node_modules\gulp-javascript-obfuscator\ node_modules\javascript-obfuscator\dist\webpack:\JavaScriptObfuscator\src\node\N odeUtils.ts:237 throw new ReferenceError('`parentNode`property of given node is `un defined`');...
Hi, I updated obfuscator but still have this error. 
gulp.task('task3', function () { return gulp.src('./src/inject/temp2-min.js') .pipe(javascriptObfuscator()) .pipe(concat('temp3-min.js')) .pipe(gulp.dest('./src/inject')); }); C:\Users\myuser\AppData\Roaming\npm\node_modules\gulp-javascript-obfuscator\src\index.ts:100 return getFromContainer(Validator).validateSync(schemaNameOrObject as Object, objectOrValidationOptions as ValidatorOptions); ^ TypeError: Cannot read property 'validateSync' of undefined at Object.validateSync (C:\Users\myuser\AppData\Roaming\npm\node_modules\gulp-javascript-obfuscator\src\index.ts:100:43) at...