8000 Update incorrect 'ignoreRequireImports' to 'ignoreImports' (#1086) · sec-js/javascript-obfuscator@88bfc0e · GitHub
[go: up one dir, main page]

Skip to content

Commit 88bfc0e

Browse files
authored
Update incorrect 'ignoreRequireImports' to 'ignoreImports' (javascript-obfuscator#1086)
Introduced by PR#1010
1 parent ce5ab51 commit 88bfc0e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Following options are available for the JS Obfuscator:
355355
identifierNamesGenerator: 'hexadecimal',
356356
identifiersDictionary: [],
357357
identifiersPrefix: '',
358-
ignoreRequireImports: false,
358+
ignoreImports: false,
359359
inputFileName: '',
360360
log: false,
361361
numbersToExpressions: false,
@@ -836,7 +836,7 @@ Sets prefix for all global identifiers.
836836

837837
Use this option when you want to obfuscate multiple files. This option helps to avoid conflicts between global identifiers of these files. Prefix should be different for every file.
838838

839-
### `ignoreRequireImports`
839+
### `ignoreImports`
840840
Type: `boolean` Default: `false`
841841

842842
Prevents obfuscation of `require` imports. Could be helpful in some cases when for some reason runtime environment requires these imports with static strings only.

test/dev/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"stringArrayThreshold": 0,
3333
"transformObjectKeys": true,
3434
"unicodeEscapeSequence": false,
35-
"ignoreRequireImports": false
35+
"ignoreImports": false
3636
}
3737
).getObfuscatedCode();
3838

0 commit comments

Comments
 (0)
0