mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Updated changelog
This commit is contained in:
+1
-1
@@ -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
|
||||
---
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -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",
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user