sanex3339 9 лет назад
Родитель
Сommit
576690d900
2 измененных файлов с 5 добавлено и 3 удалено
  1. 2 0
      README.md
  2. 3 3
      package.json

+ 2 - 0
README.md

@@ -62,6 +62,8 @@ Returns `ObfuscationResult` object which contains two public methods:
 * `getObfuscatedCode()` - returns `string` with obfuscated code;
 * `getSourceMap()` - if `sourceMap` options is enable - returns `string` with source map or an empty string if `sourceMapMode` option is set as `inline`.
 
+Calling `toString()` for `ObfuscationResult` object will return `string` with obfuscated code.
+
 Method takes two parameters, `sourceCode` and `options` – the source code and the opitons respectively:
 
 * `sourceCode` (`string`, default: `null`) – any valid source code, passed as a string;

+ 3 - 3
package.json

@@ -42,9 +42,9 @@
     "ts-loader": "^0.8.2",
     "ts-node": "^0.9.3",
     "tslint": "^3.13.0",
-    "typescript": "^1.8.10",
-    "typings": "^1.3.0",
-    "webpack": "^2.1.0-beta.12",
+    "typescript": "^2.0.0",
+    "typings": "^1.3.1",
+    "webpack": "^2.1.0-beta.15",
     "webpack-node-externals": "^1.2.0"
   },
   "repository": {