Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 1.1.9 to 1.1.10

docs/miscellaneous/fileWithContent.md

2

bower.json
{
"name": "chance",
"version": "1.1.9",
"version": "1.1.10",
"main": "chance.js",

@@ -5,0 +5,0 @@ "ignore": [

@@ -62,4 +62,3 @@ # date

Note, month is 0-indexed. This is a carryover from the core JavaScript
[Date][Date] object which we use internally to generate the date. We
considered
[Date][Date] object which we use internally to generate the date.

@@ -66,0 +65,0 @@ [Date]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date

@@ -6,3 +6,3 @@ const gulp = require('gulp')

const sourcemaps = require('gulp-sourcemaps')
const uglify = require('gulp-uglify')
const uglify = require('gulp-uglify-es').default
const pump = require('pump')

@@ -9,0 +9,0 @@

{
"name": "chance",
"main": "./chance.js",
"version": "1.1.9",
"version": "1.1.10",
"description": "Chance - Utility library to generate anything random",

@@ -31,3 +31,2 @@ "homepage": "http://chancejs.com",

"gulp-sourcemaps": "^2.6.1",
"gulp-uglify": "^3.0.0",
"jshint-stylish": "^2.2.1",

@@ -82,3 +81,6 @@ "lodash": "^4.17.4",

]
},
"dependencies": {
"gulp-uglify-es": "^3.0.0"
}
}

@@ -499,1 +499,10 @@ import test from 'ava'

})
test('zodiac() return a random zodiac symbol', t => {
_.times(1000, () => {
const zodiacSymbols = ["Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn","Aquarius","Pisces"];
let symbol = chance.zodiac()
t.true(_.isString(symbol))
t.true(zodiacSymbols.includes(symbol))
})
})

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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