🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

allalgorithms

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allalgorithms - npm Package Compare versions

Comparing version

to
0.0.3

src/sorting/bogo-sort.js

31

changelog.md

@@ -1,20 +0,17 @@

<div align="left">
<h1><img src="https://cdn.abranhe.com/projects/algorithms/algorithms.svg" alt="Algorithms" height="30px">
<img src="https://cdn.abranhe.com/projects/algorithms/logos/javascript.svg" width="30px">
Changelog
</h1>
<div>
n.n.n / 2019-02-21
==================
# `0.0.2`
* Merge pull request #2 from christianbender/add_bogo_sort
- Fix installing issue
* changed according to xo-tool
* added bogo sort
* package.json
* Merge pull request #1 from abranhe/donotdisturb
* no more notifications
* remove comma (,)
# `0.0.1`
Date: October 29, 2018
> Algorithms:
- **Sorting**
- Bubble Sort
- Merge Sort
0.0.2 / 2018-10-29
==================
* fix install issue && jump to 0.0.2
* init
module.exports = {
sorting: require('./src/sorting'),
sorting: require('./src/sorting')
};
{
"name": "allalgorithms",
"version": "0.0.2",
"version": "0.0.3",
"description": "A collection of All ▲lgorithms implemented in JavaScript",

@@ -14,4 +14,4 @@ "main": "index.js",

"files": [
"index.js",
"src/"
"index.js",
"src/"
],

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

module.exports = {
bogoSort: require('./sorting/bogo-sort'),
bubbleSort: require('./sorting/bubble-sort'),
mergeSort: require('./sorting/merge-sort')
};

@@ -15,1 +15,6 @@ import test from 'ava';

});
test('Testing Bogo Sort', t => {
t.deepEqual(expected, sorting.bogoSort(array));
});