Socket
Socket
Sign inDemoInstall

@aryth/rand

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aryth/rand - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

9

dist/index.cjs.js

@@ -61,2 +61,11 @@ '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;

@@ -63,0 +72,0 @@ exports.flop = flop;

7

dist/index.esm.js

@@ -57,2 +57,7 @@ const {

export { Shuffler, flop, flopIndex, rand, randInt, randIntBetw, shuffle };
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 };

4

package.json
{
"name": "@aryth/rand",
"version": "0.0.1",
"version": "0.0.2",
"description": "A math util library",

@@ -32,3 +32,3 @@ "main": "dist/index.cjs.js",

"homepage": "https://github.com/hoyeungw/aryth#readme",
"gitHead": "0d0fef5cdf5a14fb177a30ecffe1bcecda21c4f2"
"gitHead": "51f3570a8b0b6766c85f722777a8a1fad270320c"
}

@@ -1,2 +0,2 @@

# @aryth/rank
# @aryth/rand

@@ -33,3 +33,3 @@ [![npm version][badge-npm-version]][url-npm]

```console
$ npm install @aryth/rank
$ npm install @aryth/rand
```

@@ -36,0 +36,0 @@

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