Skip to content

Commit c8ea238

Browse files
committedFeb 21, 2017
up deps
1 parent b3184a2 commit c8ea238

11 files changed

+26
-26
lines changed
 

‎lib/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/sort/bubblesort.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/sort/fordjohnson.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/sort/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/sort/insertionsort.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/sort/selectionsort.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/utils/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/utils/issorted.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/utils/whole.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@
2424
},
2525
"dependencies": {},
2626
"devDependencies": {
27-
"@aureooms/js-array": "^3.1.0",
27+
"@aureooms/js-array": "^4.0.0",
2828
"@aureooms/js-compare": "^1.4.5",
2929
"@aureooms/js-functools": "^2.0.3",
30-
"@aureooms/js-in-situ-sort-spec": "^7.0.0",
31-
"@aureooms/js-itertools": "^3.0.0",
32-
"@aureooms/js-random": "^1.0.2",
30+
"@aureooms/js-in-situ-sort-spec": "^7.0.2",
31+
"@aureooms/js-itertools": "^3.1.1",
32+
"@aureooms/js-random": "^2.0.0",
3333
"@aureooms/js-search": "^0.0.4",
34-
"ava": "^0.18.1",
35-
"babel-cli": "^6.18.0",
36-
"babel-polyfill": "^6.16.0",
37-
"babel-preset-latest": "^6.16.0",
38-
"codeclimate-test-reporter": "^0.4.0",
39-
"coveralls": "^2.11.14",
40-
"esdoc": "^0.5.0",
41-
"nyc": "^10.0.0"
34+
"ava": "^0.18.2",
35+
"babel-cli": "^6.23.0",
36+
"babel-polyfill": "^6.23.0",
37+
"babel-preset-latest": "^6.22.0",
38+
"codeclimate-test-reporter": "^0.4.1",
39+
"coveralls": "^2.11.16",
40+
"esdoc": "^0.5.2",
41+
"nyc": "^10.1.2"
4242
},
4343
"homepage": "http://aureooms.github.io/js-sort/",
4444
"keywords": [

‎test/src/whole.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import test from 'ava' ;
22

3-
import array from "@aureooms/js-array" ;
3+
import { iota , swap } from "@aureooms/js-array" ;
44
import search from "@aureooms/js-search" ;
5-
import random from "@aureooms/js-random" ;
5+
import { shuffle } from "@aureooms/js-random" ;
66
import compare from "@aureooms/js-compare" ;
77
import * as itertools from "@aureooms/js-itertools" ;
88
import functools from "@aureooms/js-functools" ;
@@ -19,10 +19,10 @@ function check ( sortname, arraysort, ctor, n, comparename, compare ) {
1919

2020
// SETUP ARRAY
2121
const a = new ctor(n);
22-
array.iota( a, 0, n, 0 );
22+
iota( a, 0, n, 0 );
2323

2424
// SORT ARRAY
25-
random.shuffle( a, 0, n );
25+
shuffle( a, 0, n );
2626
arraysort( compare, a );
2727

2828
t.is( sort.issorted( compare , a , 0 , n ) , n , "check sorted" );
@@ -55,7 +55,7 @@ itertools.product( [
5555
[ "bubblesort", sort.bubblesort ],
5656
[ "fordjohnson" , function ( compare , a , i , j ) {
5757

58-
sort._fordjohnson( search.binarysearch )( compare , array.swap , a , i , j ) ;
58+
sort._fordjohnson( search.binarysearch )( compare , swap , a , i , j ) ;
5959

6060
} ]
6161

0 commit comments

Comments
 (0)
Please sign in to comment.