Comparing version 0.4.1 to 0.5.0
@@ -0,1 +1,6 @@ | ||
<a name="0.5.0"></a> | ||
# [0.5.0](https://github.com/mljs/random/compare/v0.4.1...v0.5.0) (2018-08-11) | ||
<a name="0.4.1"></a> | ||
@@ -2,0 +7,0 @@ ## [0.4.1](https://github.com/mljs/random/compare/v0.4.0...v0.4.1) (2018-05-23) |
// tslint:disable-next-line | ||
const XSAdd = require('ml-xsadd'); | ||
import XSAdd from 'ml-xsadd'; | ||
import choice from './choice'; | ||
@@ -4,0 +4,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// tslint:disable-next-line | ||
const XSAdd = require('ml-xsadd'); | ||
const ml_xsadd_1 = require("ml-xsadd"); | ||
const choice_1 = require("./choice"); | ||
@@ -15,3 +15,3 @@ /** | ||
if (typeof seedOrRandom === 'number') { | ||
const xsadd = new XSAdd(seedOrRandom); | ||
const xsadd = new ml_xsadd_1.default(seedOrRandom); | ||
this.randomGenerator = xsadd.random; | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "ml-random", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "choose randomly from a selection of elements", | ||
@@ -53,17 +53,17 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"ml-xsadd": "^1.0.0" | ||
"ml-xsadd": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^22.2.3", | ||
"@types/jest": "^23.3.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", | ||
"codecov": "^3.0.2", | ||
"jest": "^22.4.3", | ||
"codecov": "^3.0.4", | ||
"jest": "^23.5.0", | ||
"npm-run-all": "^4.1.3", | ||
"shx": "^0.2.2", | ||
"ts-jest": "^22.4.6", | ||
"tslint": "^5.10.0", | ||
"tslint-config-prettier": "^1.12.0", | ||
"shx": "^0.3.2", | ||
"ts-jest": "^23.1.3", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.14.0", | ||
"typedoc": "^0.11.1", | ||
"typescript": "^2.8.3" | ||
"typescript": "^3.0.1" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import * as XSAdd from 'ml-xsadd'; | ||
import XSAdd from 'ml-xsadd'; | ||
import Random from '..'; | ||
@@ -3,0 +3,0 @@ |
// tslint:disable-next-line | ||
const XSAdd = require('ml-xsadd'); | ||
import XSAdd from 'ml-xsadd'; | ||
import choice from './choice'; | ||
@@ -4,0 +4,0 @@ import { IChoiceOptions } from './Options'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25460
+ Addedml-xsadd@2.0.0(transitive)
- Removedml-xsadd@1.0.0(transitive)
Updatedml-xsadd@^2.0.0