@aryth/rand
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -61,11 +61,2 @@ 'use strict'; | ||
const STR_ASC = (a, b) => a.localeCompare(b); | ||
const STR_DESC = (a, b) => b.localeCompare(a); | ||
const NUM_ASC = (a, b) => a - b; | ||
const NUM_DESC = (a, b) => b - a; | ||
exports.NUM_ASC = NUM_ASC; | ||
exports.NUM_DESC = NUM_DESC; | ||
exports.STR_ASC = STR_ASC; | ||
exports.STR_DESC = STR_DESC; | ||
exports.Shuffler = Shuffler; | ||
@@ -72,0 +63,0 @@ exports.flop = flop; |
@@ -57,7 +57,2 @@ const { | ||
const STR_ASC = (a, b) => a.localeCompare(b); | ||
const STR_DESC = (a, b) => b.localeCompare(a); | ||
const NUM_ASC = (a, b) => a - b; | ||
const NUM_DESC = (a, b) => b - a; | ||
export { NUM_ASC, NUM_DESC, STR_ASC, STR_DESC, Shuffler, flop, flopIndex, rand, randInt, randIntBetw, shuffle }; | ||
export { Shuffler, flop, flopIndex, rand, randInt, randIntBetw, shuffle }; |
{ | ||
"name": "@aryth/rand", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A math util library", | ||
@@ -32,3 +32,3 @@ "main": "dist/index.cjs.js", | ||
"homepage": "https://github.com/hoyeungw/aryth#readme", | ||
"gitHead": "a0f279c5cf3791fb7e1380779dba0d44fff03a67" | ||
"gitHead": "5cc52040b4edbfcc90829f3d621d258b3d48aad8" | ||
} |
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
6061
102