Selaa lähdekoodia

Dependencies update

sanex3339 7 vuotta sitten
vanhempi
commit
cc216f4345
3 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 2 2
      package.json
  2. 2 2
      src/utils/RandomGenerator.ts
  3. 3 3
      yarn.lock

+ 2 - 2
package.json

@@ -20,7 +20,7 @@
   },
   "dependencies": {
     "@babel/runtime": "7.0.0-beta.40",
-    "chalk": "2.3.1",
+    "chalk": "2.3.2",
     "chance": "1.0.13",
     "class-validator": "0.8.1",
     "commander": "2.14.1",
@@ -44,7 +44,7 @@
     "@babel/plugin-transform-runtime": "7.0.0-beta.40",
     "@babel/preset-env": "7.0.0-beta.40",
     "@types/chai": "4.1.2",
-    "@types/chance": "0.7.36",
+    "@types/chance": "1.0.0",
     "@types/escodegen": "0.0.6",
     "@types/esprima": "4.0.1",
     "@types/estraverse": "0.0.6",

+ 2 - 2
src/utils/RandomGenerator.ts

@@ -24,10 +24,10 @@ export class RandomGenerator implements IRandomGenerator, IInitializable {
     private readonly options: IOptions;
 
     /**
-     * @type {Chance.Chance | Chance.SeededChance}
+     * @type {Chance.Chance}
      */
     @initializable()
-    private randomGenerator!: Chance.Chance | Chance.SeededChance;
+    private randomGenerator!: Chance.Chance;
 
     /**
      * @type {number}

+ 3 - 3
yarn.lock

@@ -458,9 +458,9 @@
   version "4.1.2"
   resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.2.tgz#f1af664769cfb50af805431c407425ed619daa21"
 
-"@types/chance@0.7.36":
-  version "0.7.36"
-  resolved "https://registry.yarnpkg.com/@types/chance/-/chance-0.7.36.tgz#1c3e14b9b11463d454182393ebcd8e977f1daff5"
+"@types/chance@1.0.0":
+  version "1.0.0"
+  resolved "https://registry.yarnpkg.com/@types/chance/-/chance-1.0.0.tgz#f9afc0fea03a24025dfd40396d62e9e152211c8e"
 
 "@types/[email protected]":
   version "0.0.6"