Comparing version 1.5.10 to 1.5.11
{ | ||
"name": "casual", | ||
"version": "1.5.10", | ||
"version": "1.5.11", | ||
"description": "Fake data generator", | ||
@@ -5,0 +5,0 @@ "main": "src/casual.js", |
@@ -137,2 +137,3 @@ ## Fake data generator [![Build Status](https://travis-ci.org/boo1ean/casual.svg?branch=master)](https://travis-ci.org/boo1ean/casual) | ||
casual.boolean // true | ||
casual.uuid // '2f4dc6ba-bd25-4e66-b369-43a13e0cf150' | ||
@@ -139,0 +140,0 @@ // Colors |
@@ -0,1 +1,3 @@ | ||
var number = require('./number'); | ||
var provider = { | ||
@@ -1524,2 +1526,16 @@ language_codes: ['cn', 'de', 'en', 'es', 'fr', 'it', 'pt', 'ru'], | ||
return this.coin_flip; | ||
}, | ||
uuid: function() { | ||
return (b = function (_b) { | ||
function b(_x) { | ||
return _b.apply(this, arguments); | ||
} | ||
b.toString = function () { | ||
return _b.toString(); | ||
}; | ||
return b; | ||
}(function (a) { | ||
return a ? (a ^ number.random() * 16 >> a / 4).toString(16) : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, b); | ||
}))(); | ||
} | ||
@@ -1526,0 +1542,0 @@ }; |
@@ -121,3 +121,4 @@ var casual = require('../'); | ||
'file_extension', | ||
'boolean' | ||
'boolean', | ||
'uuid' | ||
]; | ||
@@ -124,0 +125,0 @@ |
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
282561
4537
370