Updated changelog

This commit is contained in:
sanex3339
2017-06-29 18:49:40 +03:00
parent 5513279afd
commit 91cb585cc2
4 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ v0.10.0
* added support for async functions
* fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/54
* fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/57
* https://github.com/javascript-obfuscator/javascript-obfuscator/issues/58
* fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/58
v0.9.3
---
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -27,7 +27,7 @@
"esprima": "4.0.0",
"estraverse": "4.2.0",
"inversify": "4.1.1",
"md5": "^2.2.1",
"md5": "2.2.1",
"mkdirp": "0.5.1",
"opencollective": "1.0.3",
"reflect-metadata": "0.1.10",
@@ -43,7 +43,7 @@
"@types/esprima": "2.1.33",
"@types/estraverse": "0.0.6",
"@types/estree": "0.0.35",
"@types/md5": "^2.1.32",
"@types/md5": "2.1.32",
"@types/mkdirp": "0.3.29",
"@types/mocha": "2.2.41",
"@types/node": "8.0.5",
+3 -5
View File
@@ -58,11 +58,9 @@ export class RandomGenerator implements IRandomGenerator {
this.sourceCode = sourceCode;
this.options = options;
if (options.seed !== 0) {
this.randomGenerator = new Chance(this.getSeed());
} else {
this.randomGenerator = new Chance();
}
this.randomGenerator = options.seed === 0
? new Chance()
: new Chance(this.getSeed());
}
/**