Comparing version 0.5.3 to 0.5.4
{ | ||
"name": "chance", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"main": "chance.js", | ||
@@ -5,0 +5,0 @@ "ignore": ["node_modules"], |
@@ -1,2 +0,2 @@ | ||
// Chance.js 0.5.3 | ||
// Chance.js 0.5.4 | ||
// http://chancejs.com | ||
@@ -764,2 +764,6 @@ // (c) 2013 Victor Quinn | ||
Chance.prototype.tv = function (options) { | ||
return this.radio(options); | ||
}; | ||
// Note: only returning US zip codes, internationalization will be a whole | ||
@@ -968,3 +972,7 @@ // other beast to tackle at some point. | ||
return '$' + dollar; | ||
if (dollar < 0) { | ||
return '-$' + dollar.replace('-', ''); | ||
} else { | ||
return '$' + dollar; | ||
} | ||
}; | ||
@@ -1049,3 +1057,3 @@ | ||
// The Version | ||
options.version + | ||
options.version + | ||
this.string({pool: guid_pool, length: 3}) + '-' + | ||
@@ -1094,3 +1102,3 @@ // The Variant | ||
Chance.prototype.VERSION = "0.5.3"; | ||
Chance.prototype.VERSION = "0.5.4"; | ||
@@ -1097,0 +1105,0 @@ // Mersenne Twister from https://gist.github.com/banksean/300494 |
@@ -5,6 +5,7 @@ { | ||
"description": "Minimalist generator of random strings, numbers, etc.", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"keywords": ["chance", "random", "generator", "test"], | ||
"scripts": "chance.js", | ||
"licence": "MIT" | ||
"main": "chance.js", | ||
"license": "MIT", | ||
"scripts": ["chance.js"] | ||
} |
{ | ||
"name": "chance", | ||
"main": "./chance.js", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Chance - Utility library to generate anything random", | ||
@@ -6,0 +6,0 @@ "homepage": "http://chancejs.com", |
@@ -123,1 +123,5 @@ # Chance | ||
This project is licensed under the [MIT License](http://en.wikipedia.org/wiki/MIT_License) so feel free to hack away :) | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/victorquinn/chancejs/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
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
117006
2392
127