소스 검색

Changed version, fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/252

sanex3339 7 년 전
부모
커밋
cedc54f5e2
6개의 변경된 파일17개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 0
      CHANGELOG.md
  2. 0 0
      dist/index.cli.js
  3. 0 0
      dist/index.js
  4. 0 0
      dist/index.web.js
  5. 1 1
      package.json
  6. 15 6
      src/cli/JavaScriptObfuscatorCLI.ts

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@ Change Log
 v0.17.0
 ---
 * **Web version**: Added web version dist
+* Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/252
 * Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/247
 
 v0.16.0

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.cli.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.web.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "javascript-obfuscator",
-  "version": "0.16.0",
+  "version": "0.17.0-dev.0",
   "description": "JavaScript obfuscator",
   "keywords": [
     "obfuscator",

+ 15 - 6
src/cli/JavaScriptObfuscatorCLI.ts

@@ -247,7 +247,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 ArraySanitizer
             )
             .option(
-                '--identifier-names-generator <string> [hexadecimal, mangled]', 'Sets identifier names generator (Default: hexadecimal)',
+                '--identifier-names-generator <string>',
+                'Sets identifier names generator. ' +
+                'Values: hexadecimal, mangled. ' +
+                'Default: hexadecimal',
                 IdentifierNamesGeneratorSanitizer
             )
             .option(
@@ -295,8 +298,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 'Sets file name for output source map when `--source-map-mode=separate`'
             )
             .option(
-                '--source-map-mode <string> [inline, separate]',
-                'Specify source map output mode',
+                '--source-map-mode <string>',
+                'Specify source map output mode. ' +
+                'Values: inline, separate. ' +
+                'Default: separate',
                 SourceMapModeSanitizer
             )
             .option(
@@ -305,8 +310,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 BooleanSanitizer
             )
             .option(
-                '--string-array-encoding <string|boolean> [true, false, base64, rc4]',
-                'Encodes all strings in strings array using base64 or rc4 (this option can slow down your code speed',
+                '--string-array-encoding <string|boolean>',
+                'Encodes all strings in strings array using base64 or rc4 (this option can slow down your code speed. ' +
+                'Values: true, false, base64, rc4. ' +
+                'Default: false',
                 StringArrayEncodingSanitizer
             )
             .option(
@@ -316,7 +323,9 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
             )
             .option(
                 '--target <string>',
-                'Allows to set target environment for obfuscated code.',
+                'Allows to set target environment for obfuscated code. ' +
+                'Values: browser, browser-no-eval, node. ' +
+                'Default: browser',
                 ObfuscationTargetSanitizer
             )
             .option(

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.