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

alea-deck

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alea-deck - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

index.js

@@ -12,3 +12,3 @@ var Alea = require('alea');

throw new TypeError('Must be an Array or an Object');
};
}

@@ -71,3 +71,3 @@ return reduce(keys(module.exports), function(acc, name) {

return keyz[i];
};
}
}

@@ -83,3 +83,3 @@ throw new Error('Exceeded threshold. Something is very wrong.');

if (!isPlainObject(weights)) {
throw 'Not an Object'
throw 'Not an Object';
}

@@ -111,3 +111,3 @@

}, {});
};
}

@@ -114,0 +114,0 @@ module.exports = deck;

{
"name": "alea-deck",
"version": "1.1.0",
"version": "1.1.1",
"description": "Uniform and weighted shuffling and sampling with Alea",

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

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