Skip to content

Commit eff342a

Browse files
⬆️ deps: Upgrade xo to v0.47.0.
1 parent d1b9ca1 commit eff342a

File tree

8 files changed

+1616
-4602
lines changed

8 files changed

+1616
-4602
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"pinst": "2.1.6",
9393
"power-assert": "1.6.1",
9494
"regenerator-runtime": "0.13.9",
95-
"xo": "0.39.1"
95+
"xo": "0.47.0"
9696
},
9797
"ava": {
9898
"files": [

src/api/randfloat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import random from './random.js';
21
import _randfloat from '../kernel/_randfloat.js';
2+
import random from './random.js';
33

44
/**
55
* Returns a double in interval [i, j[ (i included, j excluded)

src/api/randint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import random from './random.js';
21
import _randint from '../kernel/_randint.js';
2+
import random from './random.js';
33

44
/**
55
* Returns an integer in interval [i, j[ (i included, j excluded)

test/src/choice.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import test from 'ava';
2-
import {choice, _choice, randint} from '../../src/index.js';
3-
42
import {range} from '@iterable-iterator/range';
3+
import {choice, _choice, randint} from '../../src/index.js';
54

65
const macro = (t, type, _, choice, n, i, j) => {
76
const a = type.from(range(n));

test/src/sample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import test from 'ava';
2-
import {sample, _fisheryates, randint} from '../../src/index.js';
32

43
import {range} from '@iterable-iterator/range';
54
import {increasing} from '@total-order/primitive';
5+
import {sample, _fisheryates, randint} from '../../src/index.js';
66

77
const macro = (t, type, _, sample, n, k, i, j) => {
88
const a = type.from(range(n));

test/src/shuffle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import test from 'ava';
2+
3+
import {range} from '@iterable-iterator/range';
4+
import {increasing} from '@total-order/primitive';
25
import {
36
shuffle,
47
_shuffle,
@@ -7,9 +10,6 @@ import {
710
randint,
811
} from '../../src/index.js';
912

10-
import {range} from '@iterable-iterator/range';
11-
import {increasing} from '@total-order/primitive';
12-
1313
const macro = (t, type, _, shuffle, n, i, j) => {
1414
const a = type.from(range(n));
1515
const b = type.from(a);

test/src/shuffled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import test from 'ava';
2-
import {shuffled, _fisheryates_inside_out, randint} from '../../src/index.js';
32

43
import {list} from '@iterable-iterator/list';
54
import {range} from '@iterable-iterator/range';
65
import {sorted} from '@iterable-iterator/sorted';
76
import {increasing} from '@total-order/primitive';
7+
import {shuffled, _fisheryates_inside_out, randint} from '../../src/index.js';
88

99
const macro = (t, _, shuffle, i, j) => {
1010
const input = list(range(i, j));

yarn.lock

Lines changed: 1607 additions & 4592 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)