diff --git a/vendor/user-agent.js b/vendor/user-agent.js index ee449bc7d..f7ef0fed5 100644 --- a/vendor/user-agent.js +++ b/vendor/user-agent.js @@ -25,6 +25,7 @@ The license for that script is as follows: wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Luka Pusic + */ function rnd(a, b) { @@ -33,6 +34,11 @@ function rnd(a, b) { b = b || 100; if (typeof b === 'number' && typeof a === 'number') { + + // 9/2018 - Added faker random to ensure mersenne and seed + var faker = require('../'); + return faker.random.number({ min: a, max: b}); + //rnd(int min, int max) returns integer between min, max return (function (min, max) { if (min > max) {