Socket
Socket
Sign inDemoInstall

chance

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chance - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

2

bower.json
{
"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")
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc