diff --git a/README.md b/README.md index f8da4799..2c48af7c 100644 --- a/README.md +++ b/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; diff --git a/package.json b/package.json index cc3516e1..ca6880f7 100644 --- a/package.json +++ b/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": {