Comparing version 1.1.9 to 1.1.10
{ | ||
"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
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
2026117
18
163
20510
1
+ Addedgulp-uglify-es@^3.0.0
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/source-map@0.3.6(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedansi-colors@1.1.0(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedclone-buffer@1.0.0(transitive)
+ Addedclone-stats@1.0.0(transitive)
+ Addedcloneable-readable@1.1.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedextend-shallow@3.0.2(transitive)
+ Addedgulp-uglify-es@3.0.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedo-stream@0.3.0(transitive)
+ Addedplugin-error@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedreplace-ext@1.0.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedsource-map-support@0.5.21(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedterser@5.36.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvinyl@2.2.1(transitive)
+ Addedvinyl-sourcemaps-apply@0.2.1(transitive)